diff --git a/examples/go.mod b/examples/go.mod index 086c03d62..8d4cb38f7 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-datadog/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.86.0 +require github.com/pulumi/pulumi/pkg/v3 v3.90.1 require ( cloud.google.com/go v0.110.4 // indirect @@ -13,12 +13,7 @@ require ( cloud.google.com/go/logging v1.7.0 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -29,7 +24,6 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/Microsoft/go-winio v0.5.2 // indirect github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect @@ -41,21 +35,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -71,7 +58,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/fatih/color v1.13.0 // indirect @@ -80,7 +66,6 @@ require ( github.com/go-git/go-git/v5 v5.6.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -111,25 +96,21 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.2 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect @@ -150,13 +131,13 @@ require ( github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/esc v0.5.6 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.90.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect @@ -166,7 +147,7 @@ require ( github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // 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 @@ -180,14 +161,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.9.0 // indirect - golang.org/x/mod v0.10.0 // indirect - golang.org/x/net v0.10.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.9.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index d9c09baf1..f278f9e55 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -93,8 +93,6 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waT contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -103,16 +101,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -156,7 +150,6 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -192,8 +185,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= @@ -511,8 +502,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -538,7 +527,6 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -560,8 +548,6 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -751,7 +737,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -993,8 +978,8 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0= -github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= @@ -1016,9 +1001,6 @@ github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= @@ -1026,8 +1008,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1115,8 +1095,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -1137,9 +1115,8 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= @@ -1147,7 +1124,6 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -1179,7 +1155,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1210,8 +1185,6 @@ github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lL github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -1390,7 +1363,6 @@ github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1462,10 +1434,12 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/pkg/v3 v3.90.1 h1:RFC/eqTbDfIvfeVQL8WaPmyQr1KzZhAGIIDGr9jj9y8= +github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1478,8 +1452,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1579,8 +1553,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1786,8 +1760,8 @@ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1798,6 +1772,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1828,8 +1804,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1912,8 +1888,8 @@ golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2104,8 +2080,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2114,8 +2090,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2127,8 +2103,8 @@ 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.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/provider/cmd/pulumi-resource-datadog/schema.json b/provider/cmd/pulumi-resource-datadog/schema.json index b26e72a70..e226f3f47 100644 --- a/provider/cmd/pulumi-resource-datadog/schema.json +++ b/provider/cmd/pulumi-resource-datadog/schema.json @@ -33054,7 +33054,7 @@ }, "resources": { "datadog:aws/integration:Integration": { - "description": "Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Create a new Datadog - Amazon Web Services integration\nconst sandbox = new datadog.aws.Integration(\"sandbox\", {\n accountId: \"1234567890\",\n accountSpecificNamespaceRules: {\n auto_scaling: false,\n opsworks: false,\n },\n excludedRegions: [\n \"us-east-1\",\n \"us-west-2\",\n ],\n filterTags: [\"key:value\"],\n hostTags: [\n \"key:value\",\n \"key2:value2\",\n ],\n roleName: \"DatadogAWSIntegrationRole\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Create a new Datadog - Amazon Web Services integration\nsandbox = datadog.aws.Integration(\"sandbox\",\n account_id=\"1234567890\",\n account_specific_namespace_rules={\n \"auto_scaling\": False,\n \"opsworks\": False,\n },\n excluded_regions=[\n \"us-east-1\",\n \"us-west-2\",\n ],\n filter_tags=[\"key:value\"],\n host_tags=[\n \"key:value\",\n \"key2:value2\",\n ],\n role_name=\"DatadogAWSIntegrationRole\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Datadog - Amazon Web Services integration\n var sandbox = new Datadog.Aws.Integration(\"sandbox\", new()\n {\n AccountId = \"1234567890\",\n AccountSpecificNamespaceRules = \n {\n { \"auto_scaling\", false },\n { \"opsworks\", false },\n },\n ExcludedRegions = new[]\n {\n \"us-east-1\",\n \"us-west-2\",\n },\n FilterTags = new[]\n {\n \"key:value\",\n },\n HostTags = new[]\n {\n \"key:value\",\n \"key2:value2\",\n },\n RoleName = \"DatadogAWSIntegrationRole\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := aws.NewIntegration(ctx, \"sandbox\", \u0026aws.IntegrationArgs{\n\t\t\tAccountId: pulumi.String(\"1234567890\"),\n\t\t\tAccountSpecificNamespaceRules: pulumi.AnyMap{\n\t\t\t\t\"auto_scaling\": pulumi.Any(false),\n\t\t\t\t\"opsworks\": pulumi.Any(false),\n\t\t\t},\n\t\t\tExcludedRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"us-east-1\"),\n\t\t\t\tpulumi.String(\"us-west-2\"),\n\t\t\t},\n\t\t\tFilterTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"key:value\"),\n\t\t\t},\n\t\t\tHostTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"key:value\"),\n\t\t\t\tpulumi.String(\"key2:value2\"),\n\t\t\t},\n\t\t\tRoleName: pulumi.String(\"DatadogAWSIntegrationRole\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.aws.Integration;\nimport com.pulumi.datadog.aws.IntegrationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Integration(\"sandbox\", IntegrationArgs.builder() \n .accountId(\"1234567890\")\n .accountSpecificNamespaceRules(Map.ofEntries(\n Map.entry(\"auto_scaling\", false),\n Map.entry(\"opsworks\", false)\n ))\n .excludedRegions( \n \"us-east-1\",\n \"us-west-2\")\n .filterTags(\"key:value\")\n .hostTags( \n \"key:value\",\n \"key2:value2\")\n .roleName(\"DatadogAWSIntegrationRole\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog - Amazon Web Services integration\n sandbox:\n type: datadog:aws:Integration\n properties:\n accountId: '1234567890'\n accountSpecificNamespaceRules:\n auto_scaling: false\n opsworks: false\n excludedRegions:\n - us-east-1\n - us-west-2\n filterTags:\n - key:value\n hostTags:\n - key:value\n - key2:value2\n roleName: DatadogAWSIntegrationRole\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAmazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID\n\n```sh\n $ pulumi import datadog:aws/integration:Integration EXTERNAL_ID=${external_id} datadog_integration_aws.test ${account_id}:${role_name}\n```\n\n ", + "description": "Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Create a new Datadog - Amazon Web Services integration\nconst sandbox = new datadog.aws.Integration(\"sandbox\", {\n accountId: \"1234567890\",\n accountSpecificNamespaceRules: {\n auto_scaling: false,\n opsworks: false,\n },\n excludedRegions: [\n \"us-east-1\",\n \"us-west-2\",\n ],\n filterTags: [\"key:value\"],\n hostTags: [\n \"key:value\",\n \"key2:value2\",\n ],\n roleName: \"DatadogAWSIntegrationRole\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Create a new Datadog - Amazon Web Services integration\nsandbox = datadog.aws.Integration(\"sandbox\",\n account_id=\"1234567890\",\n account_specific_namespace_rules={\n \"auto_scaling\": False,\n \"opsworks\": False,\n },\n excluded_regions=[\n \"us-east-1\",\n \"us-west-2\",\n ],\n filter_tags=[\"key:value\"],\n host_tags=[\n \"key:value\",\n \"key2:value2\",\n ],\n role_name=\"DatadogAWSIntegrationRole\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Datadog - Amazon Web Services integration\n var sandbox = new Datadog.Aws.Integration(\"sandbox\", new()\n {\n AccountId = \"1234567890\",\n AccountSpecificNamespaceRules = \n {\n { \"auto_scaling\", false },\n { \"opsworks\", false },\n },\n ExcludedRegions = new[]\n {\n \"us-east-1\",\n \"us-west-2\",\n },\n FilterTags = new[]\n {\n \"key:value\",\n },\n HostTags = new[]\n {\n \"key:value\",\n \"key2:value2\",\n },\n RoleName = \"DatadogAWSIntegrationRole\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := aws.NewIntegration(ctx, \"sandbox\", \u0026aws.IntegrationArgs{\n\t\t\tAccountId: pulumi.String(\"1234567890\"),\n\t\t\tAccountSpecificNamespaceRules: pulumi.Map{\n\t\t\t\t\"auto_scaling\": pulumi.Any(false),\n\t\t\t\t\"opsworks\": pulumi.Any(false),\n\t\t\t},\n\t\t\tExcludedRegions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"us-east-1\"),\n\t\t\t\tpulumi.String(\"us-west-2\"),\n\t\t\t},\n\t\t\tFilterTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"key:value\"),\n\t\t\t},\n\t\t\tHostTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"key:value\"),\n\t\t\t\tpulumi.String(\"key2:value2\"),\n\t\t\t},\n\t\t\tRoleName: pulumi.String(\"DatadogAWSIntegrationRole\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.aws.Integration;\nimport com.pulumi.datadog.aws.IntegrationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var sandbox = new Integration(\"sandbox\", IntegrationArgs.builder() \n .accountId(\"1234567890\")\n .accountSpecificNamespaceRules(Map.ofEntries(\n Map.entry(\"auto_scaling\", false),\n Map.entry(\"opsworks\", false)\n ))\n .excludedRegions( \n \"us-east-1\",\n \"us-west-2\")\n .filterTags(\"key:value\")\n .hostTags( \n \"key:value\",\n \"key2:value2\")\n .roleName(\"DatadogAWSIntegrationRole\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog - Amazon Web Services integration\n sandbox:\n type: datadog:aws:Integration\n properties:\n accountId: '1234567890'\n accountSpecificNamespaceRules:\n auto_scaling: false\n opsworks: false\n excludedRegions:\n - us-east-1\n - us-west-2\n filterTags:\n - key:value\n hostTags:\n - key:value\n - key2:value2\n roleName: DatadogAWSIntegrationRole\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAmazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID\n\n```sh\n $ pulumi import datadog:aws/integration:Integration EXTERNAL_ID=${external_id} datadog_integration_aws.test ${account_id}:${role_name}\n```\n\n ", "properties": { "accessKeyId": { "type": "string", @@ -38536,7 +38536,7 @@ } }, "datadog:index/syntheticsTest:SyntheticsTest": { - "description": "Provides a Datadog synthetics test resource. This can be used to create and manage Datadog synthetics test.\n\n#### *Warning*\nStarting from version 3.1.0+, the direct usage of global variables in the configuration is deprecated, in favor of\nlocal variables of type `global`. As an example, if you were previously using `{{ GLOBAL_VAR }}` directly in your\nconfiguration, add a `config_variable` of type `global` with the `id` matching the `id` of the global variable `GLOBAL_VAR`, which can be found in the Synthetics UI or from the output of the `datadog.SyntheticsGlobalVariable` resource. The name can be chosen freely. \n\nIn practice, it means going from (simplified configuration):\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\nto\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\nwhich you can now use in your request definition:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Example Usage (Synthetics API test)\n// Create a new Datadog Synthetics API/HTTP test on https://www.example.org\nconst testUptime = new datadog.SyntheticsTest(\"testUptime\", {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An Uptime test on example.org\",\n optionsList: {\n monitorOptions: {\n renotifyInterval: 120,\n },\n retry: {\n count: 2,\n interval: 300,\n },\n tickEvery: 900,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://www.example.org\",\n },\n requestHeaders: {\n \"Content-Type\": \"application/json\",\n },\n status: \"live\",\n subtype: \"http\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Authenticated API test)\n// Create a new Datadog Synthetics API/HTTP test on https://www.example.org\nconst testApi = new datadog.SyntheticsTest(\"testApi\", {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n monitorOptions: {\n renotifyInterval: 120,\n },\n retry: {\n count: 2,\n interval: 300,\n },\n tickEvery: 900,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://www.example.org\",\n },\n requestHeaders: {\n Authentication: \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n status: \"live\",\n subtype: \"http\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics SSL test)\n// Create a new Datadog Synthetics API/SSL test on example.org\nconst testSsl = new datadog.SyntheticsTest(\"testSsl\", {\n assertions: [{\n operator: \"isInMoreThan\",\n target: \"30\",\n type: \"certificate\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n acceptSelfSigned: true,\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n port: 443,\n },\n status: \"live\",\n subtype: \"ssl\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics TCP test)\n// Create a new Datadog Synthetics API/TCP test on example.org\nconst testTcp = new datadog.SyntheticsTest(\"testTcp\", {\n assertions: [{\n operator: \"lessThan\",\n target: \"2000\",\n type: \"responseTime\",\n }],\n configVariables: [{\n id: \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name: \"MY_GLOBAL_VAR\",\n type: \"global\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n port: 443,\n },\n status: \"live\",\n subtype: \"tcp\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics DNS test)\n// Create a new Datadog Synthetics API/DNS test on example.org\nconst testDns = new datadog.SyntheticsTest(\"testDns\", {\n assertions: [{\n operator: \"is\",\n property: \"A\",\n target: \"0.0.0.0\",\n type: \"recordSome\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n },\n status: \"live\",\n subtype: \"dns\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics Multistep API test)\n// Create a new Datadog Synthetics Multistep API test\nconst testMultiStep = new datadog.SyntheticsTest(\"testMultiStep\", {\n apiSteps: [\n {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n name: \"An API test on example.org\",\n requestDefinition: {\n method: \"GET\",\n url: \"https://example.org\",\n },\n requestHeaders: {\n Authentication: \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n subtype: \"http\",\n },\n {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n name: \"An API test on example.org\",\n requestDefinition: {\n method: \"GET\",\n url: \"http://example.org\",\n },\n subtype: \"http\",\n },\n ],\n locations: [\"aws:eu-central-1\"],\n name: \"Multistep API test\",\n optionsList: {\n acceptSelfSigned: true,\n tickEvery: 900,\n },\n status: \"live\",\n subtype: \"multi\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics Browser test)\n// Create a new Datadog Synthetics Browser test starting on https://www.example.org\nconst testBrowser = new datadog.SyntheticsTest(\"testBrowser\", {\n browserSteps: [{\n name: \"Check current url\",\n params: {\n check: \"contains\",\n value: \"datadoghq\",\n },\n type: \"assertCurrentUrl\",\n }],\n browserVariables: [\n {\n example: \"597\",\n name: \"MY_PATTERN_VAR\",\n pattern: \"{{numeric(3)}}\",\n type: \"text\",\n },\n {\n example: \"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n name: \"MY_EMAIL_VAR\",\n pattern: \"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n type: \"email\",\n },\n {\n id: \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name: \"MY_GLOBAL_VAR\",\n type: \"global\",\n },\n ],\n deviceIds: [\"laptop_large\"],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @qa\",\n name: \"A Browser test on example.org\",\n optionsList: {\n tickEvery: 3600,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://app.datadoghq.com\",\n },\n status: \"paused\",\n tags: [],\n type: \"browser\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Example Usage (Synthetics API test)\n# Create a new Datadog Synthetics API/HTTP test on https://www.example.org\ntest_uptime = datadog.SyntheticsTest(\"testUptime\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An Uptime test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(\n renotify_interval=120,\n ),\n retry=datadog.SyntheticsTestOptionsListRetryArgs(\n count=2,\n interval=300,\n ),\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://www.example.org\",\n ),\n request_headers={\n \"Content-Type\": \"application/json\",\n },\n status=\"live\",\n subtype=\"http\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Authenticated API test)\n# Create a new Datadog Synthetics API/HTTP test on https://www.example.org\ntest_api = datadog.SyntheticsTest(\"testApi\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(\n renotify_interval=120,\n ),\n retry=datadog.SyntheticsTestOptionsListRetryArgs(\n count=2,\n interval=300,\n ),\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://www.example.org\",\n ),\n request_headers={\n \"Authentication\": \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n status=\"live\",\n subtype=\"http\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics SSL test)\n# Create a new Datadog Synthetics API/SSL test on example.org\ntest_ssl = datadog.SyntheticsTest(\"testSsl\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"isInMoreThan\",\n target=\"30\",\n type=\"certificate\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n accept_self_signed=True,\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n port=443,\n ),\n status=\"live\",\n subtype=\"ssl\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics TCP test)\n# Create a new Datadog Synthetics API/TCP test on example.org\ntest_tcp = datadog.SyntheticsTest(\"testTcp\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"lessThan\",\n target=\"2000\",\n type=\"responseTime\",\n )],\n config_variables=[datadog.SyntheticsTestConfigVariableArgs(\n id=\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name=\"MY_GLOBAL_VAR\",\n type=\"global\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n port=443,\n ),\n status=\"live\",\n subtype=\"tcp\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics DNS test)\n# Create a new Datadog Synthetics API/DNS test on example.org\ntest_dns = datadog.SyntheticsTest(\"testDns\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n property=\"A\",\n target=\"0.0.0.0\",\n type=\"recordSome\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n ),\n status=\"live\",\n subtype=\"dns\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics Multistep API test)\n# Create a new Datadog Synthetics Multistep API test\ntest_multi_step = datadog.SyntheticsTest(\"testMultiStep\",\n api_steps=[\n datadog.SyntheticsTestApiStepArgs(\n assertions=[datadog.SyntheticsTestApiStepAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n name=\"An API test on example.org\",\n request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://example.org\",\n ),\n request_headers={\n \"Authentication\": \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n subtype=\"http\",\n ),\n datadog.SyntheticsTestApiStepArgs(\n assertions=[datadog.SyntheticsTestApiStepAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n name=\"An API test on example.org\",\n request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(\n method=\"GET\",\n url=\"http://example.org\",\n ),\n subtype=\"http\",\n ),\n ],\n locations=[\"aws:eu-central-1\"],\n name=\"Multistep API test\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n accept_self_signed=True,\n tick_every=900,\n ),\n status=\"live\",\n subtype=\"multi\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics Browser test)\n# Create a new Datadog Synthetics Browser test starting on https://www.example.org\ntest_browser = datadog.SyntheticsTest(\"testBrowser\",\n browser_steps=[datadog.SyntheticsTestBrowserStepArgs(\n name=\"Check current url\",\n params=datadog.SyntheticsTestBrowserStepParamsArgs(\n check=\"contains\",\n value=\"datadoghq\",\n ),\n type=\"assertCurrentUrl\",\n )],\n browser_variables=[\n datadog.SyntheticsTestBrowserVariableArgs(\n example=\"597\",\n name=\"MY_PATTERN_VAR\",\n pattern=\"{{numeric(3)}}\",\n type=\"text\",\n ),\n datadog.SyntheticsTestBrowserVariableArgs(\n example=\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n name=\"MY_EMAIL_VAR\",\n pattern=\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n type=\"email\",\n ),\n datadog.SyntheticsTestBrowserVariableArgs(\n id=\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name=\"MY_GLOBAL_VAR\",\n type=\"global\",\n ),\n ],\n device_ids=[\"laptop_large\"],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @qa\",\n name=\"A Browser test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=3600,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://app.datadoghq.com\",\n ),\n status=\"paused\",\n tags=[],\n type=\"browser\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Example Usage (Synthetics API test)\n // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n var testUptime = new Datadog.SyntheticsTest(\"testUptime\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An Uptime test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs\n {\n RenotifyInterval = 120,\n },\n Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs\n {\n Count = 2,\n Interval = 300,\n },\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://www.example.org\",\n },\n RequestHeaders = \n {\n { \"Content-Type\", \"application/json\" },\n },\n Status = \"live\",\n Subtype = \"http\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Authenticated API test)\n // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n var testApi = new Datadog.SyntheticsTest(\"testApi\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs\n {\n RenotifyInterval = 120,\n },\n Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs\n {\n Count = 2,\n Interval = 300,\n },\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://www.example.org\",\n },\n RequestHeaders = \n {\n { \"Authentication\", \"Token: 1234566789\" },\n { \"Content-Type\", \"application/json\" },\n },\n Status = \"live\",\n Subtype = \"http\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics SSL test)\n // Create a new Datadog Synthetics API/SSL test on example.org\n var testSsl = new Datadog.SyntheticsTest(\"testSsl\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"isInMoreThan\",\n Target = \"30\",\n Type = \"certificate\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n AcceptSelfSigned = true,\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n Port = 443,\n },\n Status = \"live\",\n Subtype = \"ssl\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics TCP test)\n // Create a new Datadog Synthetics API/TCP test on example.org\n var testTcp = new Datadog.SyntheticsTest(\"testTcp\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"lessThan\",\n Target = \"2000\",\n Type = \"responseTime\",\n },\n },\n ConfigVariables = new[]\n {\n new Datadog.Inputs.SyntheticsTestConfigVariableArgs\n {\n Id = \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n Name = \"MY_GLOBAL_VAR\",\n Type = \"global\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n Port = 443,\n },\n Status = \"live\",\n Subtype = \"tcp\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics DNS test)\n // Create a new Datadog Synthetics API/DNS test on example.org\n var testDns = new Datadog.SyntheticsTest(\"testDns\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Property = \"A\",\n Target = \"0.0.0.0\",\n Type = \"recordSome\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n },\n Status = \"live\",\n Subtype = \"dns\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics Multistep API test)\n // Create a new Datadog Synthetics Multistep API test\n var testMultiStep = new Datadog.SyntheticsTest(\"testMultiStep\", new()\n {\n ApiSteps = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepArgs\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Name = \"An API test on example.org\",\n RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://example.org\",\n },\n RequestHeaders = \n {\n { \"Authentication\", \"Token: 1234566789\" },\n { \"Content-Type\", \"application/json\" },\n },\n Subtype = \"http\",\n },\n new Datadog.Inputs.SyntheticsTestApiStepArgs\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Name = \"An API test on example.org\",\n RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"http://example.org\",\n },\n Subtype = \"http\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Name = \"Multistep API test\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n AcceptSelfSigned = true,\n TickEvery = 900,\n },\n Status = \"live\",\n Subtype = \"multi\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics Browser test)\n // Create a new Datadog Synthetics Browser test starting on https://www.example.org\n var testBrowser = new Datadog.SyntheticsTest(\"testBrowser\", new()\n {\n BrowserSteps = new[]\n {\n new Datadog.Inputs.SyntheticsTestBrowserStepArgs\n {\n Name = \"Check current url\",\n Params = new Datadog.Inputs.SyntheticsTestBrowserStepParamsArgs\n {\n Check = \"contains\",\n Value = \"datadoghq\",\n },\n Type = \"assertCurrentUrl\",\n },\n },\n BrowserVariables = new[]\n {\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Example = \"597\",\n Name = \"MY_PATTERN_VAR\",\n Pattern = \"{{numeric(3)}}\",\n Type = \"text\",\n },\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Example = \"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n Name = \"MY_EMAIL_VAR\",\n Pattern = \"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n Type = \"email\",\n },\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Id = \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n Name = \"MY_GLOBAL_VAR\",\n Type = \"global\",\n },\n },\n DeviceIds = new[]\n {\n \"laptop_large\",\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @qa\",\n Name = \"A Browser test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 3600,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://app.datadoghq.com\",\n },\n Status = \"paused\",\n Tags = new[] {},\n Type = \"browser\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.NewSyntheticsTest(ctx, \"testUptime\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An Uptime test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tMonitorOptions: \u0026datadog.SyntheticsTestOptionsListMonitorOptionsArgs{\n\t\t\t\t\tRenotifyInterval: pulumi.Int(120),\n\t\t\t\t},\n\t\t\t\tRetry: \u0026datadog.SyntheticsTestOptionsListRetryArgs{\n\t\t\t\t\tCount: pulumi.Int(2),\n\t\t\t\t\tInterval: pulumi.Int(300),\n\t\t\t\t},\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://www.example.org\"),\n\t\t\t},\n\t\t\tRequestHeaders: pulumi.AnyMap{\n\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testApi\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tMonitorOptions: \u0026datadog.SyntheticsTestOptionsListMonitorOptionsArgs{\n\t\t\t\t\tRenotifyInterval: pulumi.Int(120),\n\t\t\t\t},\n\t\t\t\tRetry: \u0026datadog.SyntheticsTestOptionsListRetryArgs{\n\t\t\t\t\tCount: pulumi.Int(2),\n\t\t\t\t\tInterval: pulumi.Int(300),\n\t\t\t\t},\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://www.example.org\"),\n\t\t\t},\n\t\t\tRequestHeaders: pulumi.AnyMap{\n\t\t\t\t\"Authentication\": pulumi.Any(\"Token: 1234566789\"),\n\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testSsl\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"isInMoreThan\"),\n\t\t\t\t\tTarget: pulumi.String(\"30\"),\n\t\t\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tAcceptSelfSigned: pulumi.Bool(true),\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t\tPort: pulumi.Int(443),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"ssl\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testTcp\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"lessThan\"),\n\t\t\t\t\tTarget: pulumi.String(\"2000\"),\n\t\t\t\t\tType: pulumi.String(\"responseTime\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tConfigVariables: datadog.SyntheticsTestConfigVariableArray{\n\t\t\t\t\u0026datadog.SyntheticsTestConfigVariableArgs{\n\t\t\t\t\tId: pulumi.String(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\"),\n\t\t\t\t\tName: pulumi.String(\"MY_GLOBAL_VAR\"),\n\t\t\t\t\tType: pulumi.String(\"global\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t\tPort: pulumi.Int(443),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"tcp\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testDns\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tProperty: pulumi.String(\"A\"),\n\t\t\t\t\tTarget: pulumi.String(\"0.0.0.0\"),\n\t\t\t\t\tType: pulumi.String(\"recordSome\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"dns\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testMultiStep\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tApiSteps: datadog.SyntheticsTestApiStepArray{\n\t\t\t\t\u0026datadog.SyntheticsTestApiStepArgs{\n\t\t\t\t\tAssertions: datadog.SyntheticsTestApiStepAssertionArray{\n\t\t\t\t\t\t\u0026datadog.SyntheticsTestApiStepAssertionArgs{\n\t\t\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestApiStepRequestDefinitionArgs{\n\t\t\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\t\t\tUrl: pulumi.String(\"https://example.org\"),\n\t\t\t\t\t},\n\t\t\t\t\tRequestHeaders: pulumi.AnyMap{\n\t\t\t\t\t\t\"Authentication\": pulumi.Any(\"Token: 1234566789\"),\n\t\t\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t\t\t},\n\t\t\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestApiStepArgs{\n\t\t\t\t\tAssertions: datadog.SyntheticsTestApiStepAssertionArray{\n\t\t\t\t\t\t\u0026datadog.SyntheticsTestApiStepAssertionArgs{\n\t\t\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestApiStepRequestDefinitionArgs{\n\t\t\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\t\t\tUrl: pulumi.String(\"http://example.org\"),\n\t\t\t\t\t},\n\t\t\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"Multistep API test\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tAcceptSelfSigned: pulumi.Bool(true),\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"multi\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testBrowser\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tBrowserSteps: datadog.SyntheticsTestBrowserStepArray{\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserStepArgs{\n\t\t\t\t\tName: pulumi.String(\"Check current url\"),\n\t\t\t\t\tParams: \u0026datadog.SyntheticsTestBrowserStepParamsArgs{\n\t\t\t\t\t\tCheck: pulumi.String(\"contains\"),\n\t\t\t\t\t\tValue: pulumi.String(\"datadoghq\"),\n\t\t\t\t\t},\n\t\t\t\t\tType: pulumi.String(\"assertCurrentUrl\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBrowserVariables: datadog.SyntheticsTestBrowserVariableArray{\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tExample: pulumi.String(\"597\"),\n\t\t\t\t\tName: pulumi.String(\"MY_PATTERN_VAR\"),\n\t\t\t\t\tPattern: pulumi.String(\"{{numeric(3)}}\"),\n\t\t\t\t\tType: pulumi.String(\"text\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tExample: pulumi.String(\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\"),\n\t\t\t\t\tName: pulumi.String(\"MY_EMAIL_VAR\"),\n\t\t\t\t\tPattern: pulumi.String(\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\"),\n\t\t\t\t\tType: pulumi.String(\"email\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tId: pulumi.String(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\"),\n\t\t\t\t\tName: pulumi.String(\"MY_GLOBAL_VAR\"),\n\t\t\t\t\tType: pulumi.String(\"global\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDeviceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"laptop_large\"),\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @qa\"),\n\t\t\tName: pulumi.String(\"A Browser test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(3600),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://app.datadoghq.com\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"paused\"),\n\t\t\tTags: pulumi.StringArray{},\n\t\t\tType: pulumi.String(\"browser\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.SyntheticsTest;\nimport com.pulumi.datadog.SyntheticsTestArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestAssertionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListMonitorOptionsArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListRetryArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestRequestDefinitionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestConfigVariableArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestApiStepArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestApiStepRequestDefinitionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserStepArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserStepParamsArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserVariableArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testUptime = new SyntheticsTest(\"testUptime\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An Uptime test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()\n .renotifyInterval(120)\n .build())\n .retry(SyntheticsTestOptionsListRetryArgs.builder()\n .count(2)\n .interval(300)\n .build())\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://www.example.org\")\n .build())\n .requestHeaders(Map.of(\"Content-Type\", \"application/json\"))\n .status(\"live\")\n .subtype(\"http\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testApi = new SyntheticsTest(\"testApi\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()\n .renotifyInterval(120)\n .build())\n .retry(SyntheticsTestOptionsListRetryArgs.builder()\n .count(2)\n .interval(300)\n .build())\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://www.example.org\")\n .build())\n .requestHeaders(Map.ofEntries(\n Map.entry(\"Authentication\", \"Token: 1234566789\"),\n Map.entry(\"Content-Type\", \"application/json\")\n ))\n .status(\"live\")\n .subtype(\"http\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testSsl = new SyntheticsTest(\"testSsl\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"isInMoreThan\")\n .target(30)\n .type(\"certificate\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .acceptSelfSigned(true)\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .port(443)\n .build())\n .status(\"live\")\n .subtype(\"ssl\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testTcp = new SyntheticsTest(\"testTcp\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"lessThan\")\n .target(2000)\n .type(\"responseTime\")\n .build())\n .configVariables(SyntheticsTestConfigVariableArgs.builder()\n .id(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\")\n .name(\"MY_GLOBAL_VAR\")\n .type(\"global\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .port(443)\n .build())\n .status(\"live\")\n .subtype(\"tcp\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testDns = new SyntheticsTest(\"testDns\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .property(\"A\")\n .target(\"0.0.0.0\")\n .type(\"recordSome\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .build())\n .status(\"live\")\n .subtype(\"dns\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testMultiStep = new SyntheticsTest(\"testMultiStep\", SyntheticsTestArgs.builder() \n .apiSteps( \n SyntheticsTestApiStepArgs.builder()\n .assertions(SyntheticsTestApiStepAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .name(\"An API test on example.org\")\n .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://example.org\")\n .build())\n .requestHeaders(Map.ofEntries(\n Map.entry(\"Authentication\", \"Token: 1234566789\"),\n Map.entry(\"Content-Type\", \"application/json\")\n ))\n .subtype(\"http\")\n .build(),\n SyntheticsTestApiStepArgs.builder()\n .assertions(SyntheticsTestApiStepAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .name(\"An API test on example.org\")\n .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"http://example.org\")\n .build())\n .subtype(\"http\")\n .build())\n .locations(\"aws:eu-central-1\")\n .name(\"Multistep API test\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .acceptSelfSigned(true)\n .tickEvery(900)\n .build())\n .status(\"live\")\n .subtype(\"multi\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testBrowser = new SyntheticsTest(\"testBrowser\", SyntheticsTestArgs.builder() \n .browserSteps(SyntheticsTestBrowserStepArgs.builder()\n .name(\"Check current url\")\n .params(SyntheticsTestBrowserStepParamsArgs.builder()\n .check(\"contains\")\n .value(\"datadoghq\")\n .build())\n .type(\"assertCurrentUrl\")\n .build())\n .browserVariables( \n SyntheticsTestBrowserVariableArgs.builder()\n .example(\"597\")\n .name(\"MY_PATTERN_VAR\")\n .pattern(\"{{numeric(3)}}\")\n .type(\"text\")\n .build(),\n SyntheticsTestBrowserVariableArgs.builder()\n .example(\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\")\n .name(\"MY_EMAIL_VAR\")\n .pattern(\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\")\n .type(\"email\")\n .build(),\n SyntheticsTestBrowserVariableArgs.builder()\n .id(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\")\n .name(\"MY_GLOBAL_VAR\")\n .type(\"global\")\n .build())\n .deviceIds(\"laptop_large\")\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @qa\")\n .name(\"A Browser test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(3600)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://app.datadoghq.com\")\n .build())\n .status(\"paused\")\n .tags()\n .type(\"browser\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Example Usage (Synthetics API test)\n # // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n testUptime:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n target: '200'\n type: statusCode\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An Uptime test on example.org\n optionsList:\n monitorOptions:\n renotifyInterval: 120\n retry:\n count: 2\n interval: 300\n tickEvery: 900\n requestDefinition:\n method: GET\n url: https://www.example.org\n requestHeaders:\n Content-Type: application/json\n status: live\n subtype: http\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Authenticated API test)\n # // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n testApi:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n target: '200'\n type: statusCode\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n monitorOptions:\n renotifyInterval: 120\n retry:\n count: 2\n interval: 300\n tickEvery: 900\n requestDefinition:\n method: GET\n url: https://www.example.org\n requestHeaders:\n Authentication: 'Token: 1234566789'\n Content-Type: application/json\n status: live\n subtype: http\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics SSL test)\n # // Create a new Datadog Synthetics API/SSL test on example.org\n testSsl:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: isInMoreThan\n target: 30\n type: certificate\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n acceptSelfSigned: true\n tickEvery: 900\n requestDefinition:\n host: example.org\n port: 443\n status: live\n subtype: ssl\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics TCP test)\n # // Create a new Datadog Synthetics API/TCP test on example.org\n testTcp:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: lessThan\n target: 2000\n type: responseTime\n configVariables:\n - id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2\n name: MY_GLOBAL_VAR\n type: global\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n tickEvery: 900\n requestDefinition:\n host: example.org\n port: 443\n status: live\n subtype: tcp\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics DNS test)\n # // Create a new Datadog Synthetics API/DNS test on example.org\n testDns:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n property: A\n target: 0.0.0.0\n type: recordSome\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n tickEvery: 900\n requestDefinition:\n host: example.org\n status: live\n subtype: dns\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics Multistep API test)\n # // Create a new Datadog Synthetics Multistep API test\n testMultiStep:\n type: datadog:SyntheticsTest\n properties:\n apiSteps:\n - assertions:\n - operator: is\n target: '200'\n type: statusCode\n name: An API test on example.org\n requestDefinition:\n method: GET\n url: https://example.org\n requestHeaders:\n Authentication: 'Token: 1234566789'\n Content-Type: application/json\n subtype: http\n - assertions:\n - operator: is\n target: '200'\n type: statusCode\n name: An API test on example.org\n requestDefinition:\n method: GET\n url: http://example.org\n subtype: http\n locations:\n - aws:eu-central-1\n name: Multistep API test\n optionsList:\n acceptSelfSigned: true\n tickEvery: 900\n status: live\n subtype: multi\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics Browser test)\n # // Create a new Datadog Synthetics Browser test starting on https://www.example.org\n testBrowser:\n type: datadog:SyntheticsTest\n properties:\n browserSteps:\n - name: Check current url\n params:\n check: contains\n value: datadoghq\n type: assertCurrentUrl\n browserVariables:\n - example: '597'\n name: MY_PATTERN_VAR\n pattern: '{{numeric(3)}}'\n type: text\n - example: jd8-afe-ydv.4546132139@synthetics.dtdg.co\n name: MY_EMAIL_VAR\n pattern: jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\n type: email\n - id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2\n name: MY_GLOBAL_VAR\n type: global\n deviceIds:\n - laptop_large\n locations:\n - aws:eu-central-1\n message: Notify @qa\n name: A Browser test on example.org\n optionsList:\n tickEvery: 3600\n requestDefinition:\n method: GET\n url: https://app.datadoghq.com\n status: paused\n tags: []\n type: browser\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSynthetics tests can be imported using their public string ID, e.g.\n\n```sh\n $ pulumi import datadog:index/syntheticsTest:SyntheticsTest fizz abc-123-xyz\n```\n\n ", + "description": "Provides a Datadog synthetics test resource. This can be used to create and manage Datadog synthetics test.\n\n#### *Warning*\nStarting from version 3.1.0+, the direct usage of global variables in the configuration is deprecated, in favor of\nlocal variables of type `global`. As an example, if you were previously using `{{ GLOBAL_VAR }}` directly in your\nconfiguration, add a `config_variable` of type `global` with the `id` matching the `id` of the global variable `GLOBAL_VAR`, which can be found in the Synthetics UI or from the output of the `datadog.SyntheticsGlobalVariable` resource. The name can be chosen freely. \n\nIn practice, it means going from (simplified configuration):\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\nto\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\nwhich you can now use in your request definition:\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\n```\n```python\nimport pulumi\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n }\n}\n```\n```yaml\n{}\n```\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Example Usage (Synthetics API test)\n// Create a new Datadog Synthetics API/HTTP test on https://www.example.org\nconst testUptime = new datadog.SyntheticsTest(\"testUptime\", {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An Uptime test on example.org\",\n optionsList: {\n monitorOptions: {\n renotifyInterval: 120,\n },\n retry: {\n count: 2,\n interval: 300,\n },\n tickEvery: 900,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://www.example.org\",\n },\n requestHeaders: {\n \"Content-Type\": \"application/json\",\n },\n status: \"live\",\n subtype: \"http\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Authenticated API test)\n// Create a new Datadog Synthetics API/HTTP test on https://www.example.org\nconst testApi = new datadog.SyntheticsTest(\"testApi\", {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n monitorOptions: {\n renotifyInterval: 120,\n },\n retry: {\n count: 2,\n interval: 300,\n },\n tickEvery: 900,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://www.example.org\",\n },\n requestHeaders: {\n Authentication: \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n status: \"live\",\n subtype: \"http\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics SSL test)\n// Create a new Datadog Synthetics API/SSL test on example.org\nconst testSsl = new datadog.SyntheticsTest(\"testSsl\", {\n assertions: [{\n operator: \"isInMoreThan\",\n target: \"30\",\n type: \"certificate\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n acceptSelfSigned: true,\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n port: 443,\n },\n status: \"live\",\n subtype: \"ssl\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics TCP test)\n// Create a new Datadog Synthetics API/TCP test on example.org\nconst testTcp = new datadog.SyntheticsTest(\"testTcp\", {\n assertions: [{\n operator: \"lessThan\",\n target: \"2000\",\n type: \"responseTime\",\n }],\n configVariables: [{\n id: \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name: \"MY_GLOBAL_VAR\",\n type: \"global\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n port: 443,\n },\n status: \"live\",\n subtype: \"tcp\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics DNS test)\n// Create a new Datadog Synthetics API/DNS test on example.org\nconst testDns = new datadog.SyntheticsTest(\"testDns\", {\n assertions: [{\n operator: \"is\",\n property: \"A\",\n target: \"0.0.0.0\",\n type: \"recordSome\",\n }],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @pagerduty\",\n name: \"An API test on example.org\",\n optionsList: {\n tickEvery: 900,\n },\n requestDefinition: {\n host: \"example.org\",\n },\n status: \"live\",\n subtype: \"dns\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics Multistep API test)\n// Create a new Datadog Synthetics Multistep API test\nconst testMultiStep = new datadog.SyntheticsTest(\"testMultiStep\", {\n apiSteps: [\n {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n name: \"An API test on example.org\",\n requestDefinition: {\n method: \"GET\",\n url: \"https://example.org\",\n },\n requestHeaders: {\n Authentication: \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n subtype: \"http\",\n },\n {\n assertions: [{\n operator: \"is\",\n target: \"200\",\n type: \"statusCode\",\n }],\n name: \"An API test on example.org\",\n requestDefinition: {\n method: \"GET\",\n url: \"http://example.org\",\n },\n subtype: \"http\",\n },\n ],\n locations: [\"aws:eu-central-1\"],\n name: \"Multistep API test\",\n optionsList: {\n acceptSelfSigned: true,\n tickEvery: 900,\n },\n status: \"live\",\n subtype: \"multi\",\n tags: [\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type: \"api\",\n});\n// Example Usage (Synthetics Browser test)\n// Create a new Datadog Synthetics Browser test starting on https://www.example.org\nconst testBrowser = new datadog.SyntheticsTest(\"testBrowser\", {\n browserSteps: [{\n name: \"Check current url\",\n params: {\n check: \"contains\",\n value: \"datadoghq\",\n },\n type: \"assertCurrentUrl\",\n }],\n browserVariables: [\n {\n example: \"597\",\n name: \"MY_PATTERN_VAR\",\n pattern: \"{{numeric(3)}}\",\n type: \"text\",\n },\n {\n example: \"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n name: \"MY_EMAIL_VAR\",\n pattern: \"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n type: \"email\",\n },\n {\n id: \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name: \"MY_GLOBAL_VAR\",\n type: \"global\",\n },\n ],\n deviceIds: [\"laptop_large\"],\n locations: [\"aws:eu-central-1\"],\n message: \"Notify @qa\",\n name: \"A Browser test on example.org\",\n optionsList: {\n tickEvery: 3600,\n },\n requestDefinition: {\n method: \"GET\",\n url: \"https://app.datadoghq.com\",\n },\n status: \"paused\",\n tags: [],\n type: \"browser\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Example Usage (Synthetics API test)\n# Create a new Datadog Synthetics API/HTTP test on https://www.example.org\ntest_uptime = datadog.SyntheticsTest(\"testUptime\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An Uptime test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(\n renotify_interval=120,\n ),\n retry=datadog.SyntheticsTestOptionsListRetryArgs(\n count=2,\n interval=300,\n ),\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://www.example.org\",\n ),\n request_headers={\n \"Content-Type\": \"application/json\",\n },\n status=\"live\",\n subtype=\"http\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Authenticated API test)\n# Create a new Datadog Synthetics API/HTTP test on https://www.example.org\ntest_api = datadog.SyntheticsTest(\"testApi\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(\n renotify_interval=120,\n ),\n retry=datadog.SyntheticsTestOptionsListRetryArgs(\n count=2,\n interval=300,\n ),\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://www.example.org\",\n ),\n request_headers={\n \"Authentication\": \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n status=\"live\",\n subtype=\"http\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics SSL test)\n# Create a new Datadog Synthetics API/SSL test on example.org\ntest_ssl = datadog.SyntheticsTest(\"testSsl\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"isInMoreThan\",\n target=\"30\",\n type=\"certificate\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n accept_self_signed=True,\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n port=443,\n ),\n status=\"live\",\n subtype=\"ssl\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics TCP test)\n# Create a new Datadog Synthetics API/TCP test on example.org\ntest_tcp = datadog.SyntheticsTest(\"testTcp\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"lessThan\",\n target=\"2000\",\n type=\"responseTime\",\n )],\n config_variables=[datadog.SyntheticsTestConfigVariableArgs(\n id=\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name=\"MY_GLOBAL_VAR\",\n type=\"global\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n port=443,\n ),\n status=\"live\",\n subtype=\"tcp\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics DNS test)\n# Create a new Datadog Synthetics API/DNS test on example.org\ntest_dns = datadog.SyntheticsTest(\"testDns\",\n assertions=[datadog.SyntheticsTestAssertionArgs(\n operator=\"is\",\n property=\"A\",\n target=\"0.0.0.0\",\n type=\"recordSome\",\n )],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @pagerduty\",\n name=\"An API test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=900,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n host=\"example.org\",\n ),\n status=\"live\",\n subtype=\"dns\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics Multistep API test)\n# Create a new Datadog Synthetics Multistep API test\ntest_multi_step = datadog.SyntheticsTest(\"testMultiStep\",\n api_steps=[\n datadog.SyntheticsTestApiStepArgs(\n assertions=[datadog.SyntheticsTestApiStepAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n name=\"An API test on example.org\",\n request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://example.org\",\n ),\n request_headers={\n \"Authentication\": \"Token: 1234566789\",\n \"Content-Type\": \"application/json\",\n },\n subtype=\"http\",\n ),\n datadog.SyntheticsTestApiStepArgs(\n assertions=[datadog.SyntheticsTestApiStepAssertionArgs(\n operator=\"is\",\n target=\"200\",\n type=\"statusCode\",\n )],\n name=\"An API test on example.org\",\n request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(\n method=\"GET\",\n url=\"http://example.org\",\n ),\n subtype=\"http\",\n ),\n ],\n locations=[\"aws:eu-central-1\"],\n name=\"Multistep API test\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n accept_self_signed=True,\n tick_every=900,\n ),\n status=\"live\",\n subtype=\"multi\",\n tags=[\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n ],\n type=\"api\")\n# Example Usage (Synthetics Browser test)\n# Create a new Datadog Synthetics Browser test starting on https://www.example.org\ntest_browser = datadog.SyntheticsTest(\"testBrowser\",\n browser_steps=[datadog.SyntheticsTestBrowserStepArgs(\n name=\"Check current url\",\n params=datadog.SyntheticsTestBrowserStepParamsArgs(\n check=\"contains\",\n value=\"datadoghq\",\n ),\n type=\"assertCurrentUrl\",\n )],\n browser_variables=[\n datadog.SyntheticsTestBrowserVariableArgs(\n example=\"597\",\n name=\"MY_PATTERN_VAR\",\n pattern=\"{{numeric(3)}}\",\n type=\"text\",\n ),\n datadog.SyntheticsTestBrowserVariableArgs(\n example=\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n name=\"MY_EMAIL_VAR\",\n pattern=\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n type=\"email\",\n ),\n datadog.SyntheticsTestBrowserVariableArgs(\n id=\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n name=\"MY_GLOBAL_VAR\",\n type=\"global\",\n ),\n ],\n device_ids=[\"laptop_large\"],\n locations=[\"aws:eu-central-1\"],\n message=\"Notify @qa\",\n name=\"A Browser test on example.org\",\n options_list=datadog.SyntheticsTestOptionsListArgs(\n tick_every=3600,\n ),\n request_definition=datadog.SyntheticsTestRequestDefinitionArgs(\n method=\"GET\",\n url=\"https://app.datadoghq.com\",\n ),\n status=\"paused\",\n tags=[],\n type=\"browser\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Example Usage (Synthetics API test)\n // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n var testUptime = new Datadog.SyntheticsTest(\"testUptime\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An Uptime test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs\n {\n RenotifyInterval = 120,\n },\n Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs\n {\n Count = 2,\n Interval = 300,\n },\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://www.example.org\",\n },\n RequestHeaders = \n {\n { \"Content-Type\", \"application/json\" },\n },\n Status = \"live\",\n Subtype = \"http\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Authenticated API test)\n // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n var testApi = new Datadog.SyntheticsTest(\"testApi\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs\n {\n RenotifyInterval = 120,\n },\n Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs\n {\n Count = 2,\n Interval = 300,\n },\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://www.example.org\",\n },\n RequestHeaders = \n {\n { \"Authentication\", \"Token: 1234566789\" },\n { \"Content-Type\", \"application/json\" },\n },\n Status = \"live\",\n Subtype = \"http\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics SSL test)\n // Create a new Datadog Synthetics API/SSL test on example.org\n var testSsl = new Datadog.SyntheticsTest(\"testSsl\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"isInMoreThan\",\n Target = \"30\",\n Type = \"certificate\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n AcceptSelfSigned = true,\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n Port = 443,\n },\n Status = \"live\",\n Subtype = \"ssl\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics TCP test)\n // Create a new Datadog Synthetics API/TCP test on example.org\n var testTcp = new Datadog.SyntheticsTest(\"testTcp\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"lessThan\",\n Target = \"2000\",\n Type = \"responseTime\",\n },\n },\n ConfigVariables = new[]\n {\n new Datadog.Inputs.SyntheticsTestConfigVariableArgs\n {\n Id = \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n Name = \"MY_GLOBAL_VAR\",\n Type = \"global\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n Port = 443,\n },\n Status = \"live\",\n Subtype = \"tcp\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics DNS test)\n // Create a new Datadog Synthetics API/DNS test on example.org\n var testDns = new Datadog.SyntheticsTest(\"testDns\", new()\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestAssertionArgs\n {\n Operator = \"is\",\n Property = \"A\",\n Target = \"0.0.0.0\",\n Type = \"recordSome\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @pagerduty\",\n Name = \"An API test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 900,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Host = \"example.org\",\n },\n Status = \"live\",\n Subtype = \"dns\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics Multistep API test)\n // Create a new Datadog Synthetics Multistep API test\n var testMultiStep = new Datadog.SyntheticsTest(\"testMultiStep\", new()\n {\n ApiSteps = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepArgs\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Name = \"An API test on example.org\",\n RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://example.org\",\n },\n RequestHeaders = \n {\n { \"Authentication\", \"Token: 1234566789\" },\n { \"Content-Type\", \"application/json\" },\n },\n Subtype = \"http\",\n },\n new Datadog.Inputs.SyntheticsTestApiStepArgs\n {\n Assertions = new[]\n {\n new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs\n {\n Operator = \"is\",\n Target = \"200\",\n Type = \"statusCode\",\n },\n },\n Name = \"An API test on example.org\",\n RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"http://example.org\",\n },\n Subtype = \"http\",\n },\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Name = \"Multistep API test\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n AcceptSelfSigned = true,\n TickEvery = 900,\n },\n Status = \"live\",\n Subtype = \"multi\",\n Tags = new[]\n {\n \"foo:bar\",\n \"foo\",\n \"env:test\",\n },\n Type = \"api\",\n });\n\n // Example Usage (Synthetics Browser test)\n // Create a new Datadog Synthetics Browser test starting on https://www.example.org\n var testBrowser = new Datadog.SyntheticsTest(\"testBrowser\", new()\n {\n BrowserSteps = new[]\n {\n new Datadog.Inputs.SyntheticsTestBrowserStepArgs\n {\n Name = \"Check current url\",\n Params = new Datadog.Inputs.SyntheticsTestBrowserStepParamsArgs\n {\n Check = \"contains\",\n Value = \"datadoghq\",\n },\n Type = \"assertCurrentUrl\",\n },\n },\n BrowserVariables = new[]\n {\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Example = \"597\",\n Name = \"MY_PATTERN_VAR\",\n Pattern = \"{{numeric(3)}}\",\n Type = \"text\",\n },\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Example = \"jd8-afe-ydv.4546132139@synthetics.dtdg.co\",\n Name = \"MY_EMAIL_VAR\",\n Pattern = \"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\",\n Type = \"email\",\n },\n new Datadog.Inputs.SyntheticsTestBrowserVariableArgs\n {\n Id = \"76636cd1-82e2-4aeb-9cfe-51366a8198a2\",\n Name = \"MY_GLOBAL_VAR\",\n Type = \"global\",\n },\n },\n DeviceIds = new[]\n {\n \"laptop_large\",\n },\n Locations = new[]\n {\n \"aws:eu-central-1\",\n },\n Message = \"Notify @qa\",\n Name = \"A Browser test on example.org\",\n OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs\n {\n TickEvery = 3600,\n },\n RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs\n {\n Method = \"GET\",\n Url = \"https://app.datadoghq.com\",\n },\n Status = \"paused\",\n Tags = new[] {},\n Type = \"browser\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.NewSyntheticsTest(ctx, \"testUptime\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An Uptime test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tMonitorOptions: \u0026datadog.SyntheticsTestOptionsListMonitorOptionsArgs{\n\t\t\t\t\tRenotifyInterval: pulumi.Int(120),\n\t\t\t\t},\n\t\t\t\tRetry: \u0026datadog.SyntheticsTestOptionsListRetryArgs{\n\t\t\t\t\tCount: pulumi.Int(2),\n\t\t\t\t\tInterval: pulumi.Int(300),\n\t\t\t\t},\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://www.example.org\"),\n\t\t\t},\n\t\t\tRequestHeaders: pulumi.Map{\n\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testApi\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tMonitorOptions: \u0026datadog.SyntheticsTestOptionsListMonitorOptionsArgs{\n\t\t\t\t\tRenotifyInterval: pulumi.Int(120),\n\t\t\t\t},\n\t\t\t\tRetry: \u0026datadog.SyntheticsTestOptionsListRetryArgs{\n\t\t\t\t\tCount: pulumi.Int(2),\n\t\t\t\t\tInterval: pulumi.Int(300),\n\t\t\t\t},\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://www.example.org\"),\n\t\t\t},\n\t\t\tRequestHeaders: pulumi.Map{\n\t\t\t\t\"Authentication\": pulumi.Any(\"Token: 1234566789\"),\n\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testSsl\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"isInMoreThan\"),\n\t\t\t\t\tTarget: pulumi.String(\"30\"),\n\t\t\t\t\tType: pulumi.String(\"certificate\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tAcceptSelfSigned: pulumi.Bool(true),\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t\tPort: pulumi.Int(443),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"ssl\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testTcp\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"lessThan\"),\n\t\t\t\t\tTarget: pulumi.String(\"2000\"),\n\t\t\t\t\tType: pulumi.String(\"responseTime\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tConfigVariables: datadog.SyntheticsTestConfigVariableArray{\n\t\t\t\t\u0026datadog.SyntheticsTestConfigVariableArgs{\n\t\t\t\t\tId: pulumi.String(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\"),\n\t\t\t\t\tName: pulumi.String(\"MY_GLOBAL_VAR\"),\n\t\t\t\t\tType: pulumi.String(\"global\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t\tPort: pulumi.Int(443),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"tcp\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testDns\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tAssertions: datadog.SyntheticsTestAssertionArray{\n\t\t\t\t\u0026datadog.SyntheticsTestAssertionArgs{\n\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\tProperty: pulumi.String(\"A\"),\n\t\t\t\t\tTarget: pulumi.String(\"0.0.0.0\"),\n\t\t\t\t\tType: pulumi.String(\"recordSome\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @pagerduty\"),\n\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tHost: pulumi.String(\"example.org\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"dns\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testMultiStep\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tApiSteps: datadog.SyntheticsTestApiStepArray{\n\t\t\t\t\u0026datadog.SyntheticsTestApiStepArgs{\n\t\t\t\t\tAssertions: datadog.SyntheticsTestApiStepAssertionArray{\n\t\t\t\t\t\t\u0026datadog.SyntheticsTestApiStepAssertionArgs{\n\t\t\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestApiStepRequestDefinitionArgs{\n\t\t\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\t\t\tUrl: pulumi.String(\"https://example.org\"),\n\t\t\t\t\t},\n\t\t\t\t\tRequestHeaders: pulumi.Map{\n\t\t\t\t\t\t\"Authentication\": pulumi.Any(\"Token: 1234566789\"),\n\t\t\t\t\t\t\"Content-Type\": pulumi.Any(\"application/json\"),\n\t\t\t\t\t},\n\t\t\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestApiStepArgs{\n\t\t\t\t\tAssertions: datadog.SyntheticsTestApiStepAssertionArray{\n\t\t\t\t\t\t\u0026datadog.SyntheticsTestApiStepAssertionArgs{\n\t\t\t\t\t\t\tOperator: pulumi.String(\"is\"),\n\t\t\t\t\t\t\tTarget: pulumi.String(\"200\"),\n\t\t\t\t\t\t\tType: pulumi.String(\"statusCode\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"An API test on example.org\"),\n\t\t\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestApiStepRequestDefinitionArgs{\n\t\t\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\t\t\tUrl: pulumi.String(\"http://example.org\"),\n\t\t\t\t\t},\n\t\t\t\t\tSubtype: pulumi.String(\"http\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"Multistep API test\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tAcceptSelfSigned: pulumi.Bool(true),\n\t\t\t\tTickEvery: pulumi.Int(900),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"live\"),\n\t\t\tSubtype: pulumi.String(\"multi\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"foo:bar\"),\n\t\t\t\tpulumi.String(\"foo\"),\n\t\t\t\tpulumi.String(\"env:test\"),\n\t\t\t},\n\t\t\tType: pulumi.String(\"api\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSyntheticsTest(ctx, \"testBrowser\", \u0026datadog.SyntheticsTestArgs{\n\t\t\tBrowserSteps: datadog.SyntheticsTestBrowserStepArray{\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserStepArgs{\n\t\t\t\t\tName: pulumi.String(\"Check current url\"),\n\t\t\t\t\tParams: \u0026datadog.SyntheticsTestBrowserStepParamsArgs{\n\t\t\t\t\t\tCheck: pulumi.String(\"contains\"),\n\t\t\t\t\t\tValue: pulumi.String(\"datadoghq\"),\n\t\t\t\t\t},\n\t\t\t\t\tType: pulumi.String(\"assertCurrentUrl\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBrowserVariables: datadog.SyntheticsTestBrowserVariableArray{\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tExample: pulumi.String(\"597\"),\n\t\t\t\t\tName: pulumi.String(\"MY_PATTERN_VAR\"),\n\t\t\t\t\tPattern: pulumi.String(\"{{numeric(3)}}\"),\n\t\t\t\t\tType: pulumi.String(\"text\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tExample: pulumi.String(\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\"),\n\t\t\t\t\tName: pulumi.String(\"MY_EMAIL_VAR\"),\n\t\t\t\t\tPattern: pulumi.String(\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\"),\n\t\t\t\t\tType: pulumi.String(\"email\"),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.SyntheticsTestBrowserVariableArgs{\n\t\t\t\t\tId: pulumi.String(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\"),\n\t\t\t\t\tName: pulumi.String(\"MY_GLOBAL_VAR\"),\n\t\t\t\t\tType: pulumi.String(\"global\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDeviceIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"laptop_large\"),\n\t\t\t},\n\t\t\tLocations: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws:eu-central-1\"),\n\t\t\t},\n\t\t\tMessage: pulumi.String(\"Notify @qa\"),\n\t\t\tName: pulumi.String(\"A Browser test on example.org\"),\n\t\t\tOptionsList: \u0026datadog.SyntheticsTestOptionsListArgs{\n\t\t\t\tTickEvery: pulumi.Int(3600),\n\t\t\t},\n\t\t\tRequestDefinition: \u0026datadog.SyntheticsTestRequestDefinitionArgs{\n\t\t\t\tMethod: pulumi.String(\"GET\"),\n\t\t\t\tUrl: pulumi.String(\"https://app.datadoghq.com\"),\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"paused\"),\n\t\t\tTags: pulumi.StringArray{},\n\t\t\tType: pulumi.String(\"browser\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.SyntheticsTest;\nimport com.pulumi.datadog.SyntheticsTestArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestAssertionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListMonitorOptionsArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestOptionsListRetryArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestRequestDefinitionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestConfigVariableArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestApiStepArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestApiStepRequestDefinitionArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserStepArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserStepParamsArgs;\nimport com.pulumi.datadog.inputs.SyntheticsTestBrowserVariableArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testUptime = new SyntheticsTest(\"testUptime\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An Uptime test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()\n .renotifyInterval(120)\n .build())\n .retry(SyntheticsTestOptionsListRetryArgs.builder()\n .count(2)\n .interval(300)\n .build())\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://www.example.org\")\n .build())\n .requestHeaders(Map.of(\"Content-Type\", \"application/json\"))\n .status(\"live\")\n .subtype(\"http\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testApi = new SyntheticsTest(\"testApi\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()\n .renotifyInterval(120)\n .build())\n .retry(SyntheticsTestOptionsListRetryArgs.builder()\n .count(2)\n .interval(300)\n .build())\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://www.example.org\")\n .build())\n .requestHeaders(Map.ofEntries(\n Map.entry(\"Authentication\", \"Token: 1234566789\"),\n Map.entry(\"Content-Type\", \"application/json\")\n ))\n .status(\"live\")\n .subtype(\"http\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testSsl = new SyntheticsTest(\"testSsl\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"isInMoreThan\")\n .target(30)\n .type(\"certificate\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .acceptSelfSigned(true)\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .port(443)\n .build())\n .status(\"live\")\n .subtype(\"ssl\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testTcp = new SyntheticsTest(\"testTcp\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"lessThan\")\n .target(2000)\n .type(\"responseTime\")\n .build())\n .configVariables(SyntheticsTestConfigVariableArgs.builder()\n .id(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\")\n .name(\"MY_GLOBAL_VAR\")\n .type(\"global\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .port(443)\n .build())\n .status(\"live\")\n .subtype(\"tcp\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testDns = new SyntheticsTest(\"testDns\", SyntheticsTestArgs.builder() \n .assertions(SyntheticsTestAssertionArgs.builder()\n .operator(\"is\")\n .property(\"A\")\n .target(\"0.0.0.0\")\n .type(\"recordSome\")\n .build())\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @pagerduty\")\n .name(\"An API test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(900)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .host(\"example.org\")\n .build())\n .status(\"live\")\n .subtype(\"dns\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testMultiStep = new SyntheticsTest(\"testMultiStep\", SyntheticsTestArgs.builder() \n .apiSteps( \n SyntheticsTestApiStepArgs.builder()\n .assertions(SyntheticsTestApiStepAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .name(\"An API test on example.org\")\n .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://example.org\")\n .build())\n .requestHeaders(Map.ofEntries(\n Map.entry(\"Authentication\", \"Token: 1234566789\"),\n Map.entry(\"Content-Type\", \"application/json\")\n ))\n .subtype(\"http\")\n .build(),\n SyntheticsTestApiStepArgs.builder()\n .assertions(SyntheticsTestApiStepAssertionArgs.builder()\n .operator(\"is\")\n .target(\"200\")\n .type(\"statusCode\")\n .build())\n .name(\"An API test on example.org\")\n .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"http://example.org\")\n .build())\n .subtype(\"http\")\n .build())\n .locations(\"aws:eu-central-1\")\n .name(\"Multistep API test\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .acceptSelfSigned(true)\n .tickEvery(900)\n .build())\n .status(\"live\")\n .subtype(\"multi\")\n .tags( \n \"foo:bar\",\n \"foo\",\n \"env:test\")\n .type(\"api\")\n .build());\n\n var testBrowser = new SyntheticsTest(\"testBrowser\", SyntheticsTestArgs.builder() \n .browserSteps(SyntheticsTestBrowserStepArgs.builder()\n .name(\"Check current url\")\n .params(SyntheticsTestBrowserStepParamsArgs.builder()\n .check(\"contains\")\n .value(\"datadoghq\")\n .build())\n .type(\"assertCurrentUrl\")\n .build())\n .browserVariables( \n SyntheticsTestBrowserVariableArgs.builder()\n .example(\"597\")\n .name(\"MY_PATTERN_VAR\")\n .pattern(\"{{numeric(3)}}\")\n .type(\"text\")\n .build(),\n SyntheticsTestBrowserVariableArgs.builder()\n .example(\"jd8-afe-ydv.4546132139@synthetics.dtdg.co\")\n .name(\"MY_EMAIL_VAR\")\n .pattern(\"jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\")\n .type(\"email\")\n .build(),\n SyntheticsTestBrowserVariableArgs.builder()\n .id(\"76636cd1-82e2-4aeb-9cfe-51366a8198a2\")\n .name(\"MY_GLOBAL_VAR\")\n .type(\"global\")\n .build())\n .deviceIds(\"laptop_large\")\n .locations(\"aws:eu-central-1\")\n .message(\"Notify @qa\")\n .name(\"A Browser test on example.org\")\n .optionsList(SyntheticsTestOptionsListArgs.builder()\n .tickEvery(3600)\n .build())\n .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()\n .method(\"GET\")\n .url(\"https://app.datadoghq.com\")\n .build())\n .status(\"paused\")\n .tags()\n .type(\"browser\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Example Usage (Synthetics API test)\n # // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n testUptime:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n target: '200'\n type: statusCode\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An Uptime test on example.org\n optionsList:\n monitorOptions:\n renotifyInterval: 120\n retry:\n count: 2\n interval: 300\n tickEvery: 900\n requestDefinition:\n method: GET\n url: https://www.example.org\n requestHeaders:\n Content-Type: application/json\n status: live\n subtype: http\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Authenticated API test)\n # // Create a new Datadog Synthetics API/HTTP test on https://www.example.org\n testApi:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n target: '200'\n type: statusCode\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n monitorOptions:\n renotifyInterval: 120\n retry:\n count: 2\n interval: 300\n tickEvery: 900\n requestDefinition:\n method: GET\n url: https://www.example.org\n requestHeaders:\n Authentication: 'Token: 1234566789'\n Content-Type: application/json\n status: live\n subtype: http\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics SSL test)\n # // Create a new Datadog Synthetics API/SSL test on example.org\n testSsl:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: isInMoreThan\n target: 30\n type: certificate\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n acceptSelfSigned: true\n tickEvery: 900\n requestDefinition:\n host: example.org\n port: 443\n status: live\n subtype: ssl\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics TCP test)\n # // Create a new Datadog Synthetics API/TCP test on example.org\n testTcp:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: lessThan\n target: 2000\n type: responseTime\n configVariables:\n - id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2\n name: MY_GLOBAL_VAR\n type: global\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n tickEvery: 900\n requestDefinition:\n host: example.org\n port: 443\n status: live\n subtype: tcp\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics DNS test)\n # // Create a new Datadog Synthetics API/DNS test on example.org\n testDns:\n type: datadog:SyntheticsTest\n properties:\n assertions:\n - operator: is\n property: A\n target: 0.0.0.0\n type: recordSome\n locations:\n - aws:eu-central-1\n message: Notify @pagerduty\n name: An API test on example.org\n optionsList:\n tickEvery: 900\n requestDefinition:\n host: example.org\n status: live\n subtype: dns\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics Multistep API test)\n # // Create a new Datadog Synthetics Multistep API test\n testMultiStep:\n type: datadog:SyntheticsTest\n properties:\n apiSteps:\n - assertions:\n - operator: is\n target: '200'\n type: statusCode\n name: An API test on example.org\n requestDefinition:\n method: GET\n url: https://example.org\n requestHeaders:\n Authentication: 'Token: 1234566789'\n Content-Type: application/json\n subtype: http\n - assertions:\n - operator: is\n target: '200'\n type: statusCode\n name: An API test on example.org\n requestDefinition:\n method: GET\n url: http://example.org\n subtype: http\n locations:\n - aws:eu-central-1\n name: Multistep API test\n optionsList:\n acceptSelfSigned: true\n tickEvery: 900\n status: live\n subtype: multi\n tags:\n - foo:bar\n - foo\n - env:test\n type: api\n # Example Usage (Synthetics Browser test)\n # // Create a new Datadog Synthetics Browser test starting on https://www.example.org\n testBrowser:\n type: datadog:SyntheticsTest\n properties:\n browserSteps:\n - name: Check current url\n params:\n check: contains\n value: datadoghq\n type: assertCurrentUrl\n browserVariables:\n - example: '597'\n name: MY_PATTERN_VAR\n pattern: '{{numeric(3)}}'\n type: text\n - example: jd8-afe-ydv.4546132139@synthetics.dtdg.co\n name: MY_EMAIL_VAR\n pattern: jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co\n type: email\n - id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2\n name: MY_GLOBAL_VAR\n type: global\n deviceIds:\n - laptop_large\n locations:\n - aws:eu-central-1\n message: Notify @qa\n name: A Browser test on example.org\n optionsList:\n tickEvery: 3600\n requestDefinition:\n method: GET\n url: https://app.datadoghq.com\n status: paused\n tags: []\n type: browser\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSynthetics tests can be imported using their public string ID, e.g.\n\n```sh\n $ pulumi import datadog:index/syntheticsTest:SyntheticsTest fizz abc-123-xyz\n```\n\n ", "properties": { "apiSteps": { "type": "array", diff --git a/provider/go.mod b/provider/go.mod index 6b4689c28..56cf95fdb 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,9 +3,9 @@ module github.com/pulumi/pulumi-datadog/provider/v4 go 1.21 require ( - github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 - github.com/pulumi/pulumi/sdk/v3 v3.86.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2-0.20231024203114-5fa5cbff9d08 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.1-0.20231024203114-5fa5cbff9d08 + github.com/pulumi/pulumi/sdk/v3 v3.90.1 github.com/terraform-providers/terraform-provider-datadog v0.0.0 ) @@ -27,15 +27,11 @@ require ( cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.9.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 // indirect - github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v0.8.1 // indirect github.com/BurntSushi/toml v1.2.1 // indirect github.com/DataDog/datadog-api-client-go/v2 v2.17.0 // indirect @@ -56,21 +52,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.4 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect github.com/aws/aws-sdk-go-v2/config v1.18.12 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.13.12 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.22 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.51 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.28 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.22 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.29 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.19 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.23 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.22 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.22 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.20.2 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.30.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.12.1 // indirect github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.1 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.18.3 // indirect @@ -89,7 +78,6 @@ require ( github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect @@ -106,7 +94,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/s2a-go v0.1.4 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect @@ -138,11 +126,11 @@ require ( github.com/hashicorp/hcl/v2 v2.18.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-plugin-framework v1.4.1 // indirect + github.com/hashicorp/terraform-plugin-framework v1.4.2 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 // indirect github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.2 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect @@ -150,13 +138,11 @@ require ( github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.16.0 // indirect github.com/kylelemons/godebug v1.1.0 // indirect @@ -165,7 +151,6 @@ require ( github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -193,14 +178,15 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.6 // indirect + github.com/pulumi/esc v0.5.6 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.90.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -214,7 +200,7 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // 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 @@ -233,16 +219,17 @@ require ( go.uber.org/atomic v1.10.0 // indirect gocloud.dev v0.29.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.13.0 // indirect - golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.13.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.10.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.12.0 // indirect - golang.org/x/term v0.12.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.9.3 // indirect + golang.org/x/tools v0.14.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect google.golang.org/appengine v1.6.7 // indirect diff --git a/provider/go.sum b/provider/go.sum index 9a7de60d8..7ff9532f3 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -634,8 +634,6 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -666,7 +664,6 @@ github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1/go.mod h1:9V2j0jn github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.2.0/go.mod h1:R6+0udeRV8iYSTVuT5RT7If4sc46K5Bz3ZKrmvZQF7U= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 h1:u/LLAOFgsMv7HmNL4Qufg58y+qElGOt5qv0z1mURkRY= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0/go.mod h1:2e8rMJtl2+2j+HXbTBwnyGpm5Nou7KhvSfxOq8JpTag= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -675,7 +672,6 @@ github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= @@ -697,7 +693,6 @@ github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSY github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= -github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= @@ -759,8 +754,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= @@ -1149,8 +1142,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -1201,8 +1192,6 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1510,8 +1499,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= @@ -1748,8 +1738,8 @@ github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= -github.com/hashicorp/terraform-plugin-framework v1.4.1 h1:ZC29MoB3Nbov6axHdgPbMz7799pT5H8kIrM8YAsaVrs= -github.com/hashicorp/terraform-plugin-framework v1.4.1/go.mod h1:XC0hPcQbBvlbxwmjxuV/8sn8SbZRg4XwGMs22f+kqV0= +github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI= +github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY= github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 h1:4L0tmy/8esP6OcvocVymw52lY0HyQ5OxB7VNl7k4bS0= github.com/hashicorp/terraform-plugin-framework-validators v0.10.0/go.mod h1:qdQJCdimB9JeX2YwOpItEu+IrfoJjWQ5PhLpAOMDQAE= github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= @@ -1784,9 +1774,6 @@ github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUq github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1799,8 +1786,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= @@ -1909,7 +1894,6 @@ github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+ github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= @@ -1987,7 +1971,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -2023,8 +2006,6 @@ github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182aff github.com/matttproud/golang_protobuf_extensions v1.0.2/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/microsoft/go-mssqldb v0.18.0/go.mod h1:ukJCBnnzLzpVF0qYRT+eg1e+eSwjeQ7IvenUv8QPook= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= @@ -2335,22 +2316,24 @@ github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/ github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6DDTUnn30= -github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= -github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0 h1:ygYjaQmmCAdxlzHbueJeS5jtEyyQ3MMG+S0dNqL/g8Q= -github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0/go.mod h1:h5+uTlLGVEGh6W4RTIbqVIhL3FSAi0VpImxUTYFM7tU= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2-0.20231024203114-5fa5cbff9d08 h1:SKBV0P5dS0ZPOfMYUZY0yKq+JwsIxxMZo9srf7sdE9M= +github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2-0.20231024203114-5fa5cbff9d08/go.mod h1:zcenVeodWeTJKXbskiPqrDYgiFi06gENP7ZyGo9SX8Q= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.1-0.20231024203114-5fa5cbff9d08 h1:Boe47lX2MAs6h0cDCy1ErHKybOSB9sSPI9O3nGabHr8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.1-0.20231024203114-5fa5cbff9d08/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 h1:uy8P3aaAbrOrGvytvCb2KsYqZMA9TJiY8IKeVQgNAJo= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6/go.mod h1:uw1IN0Mlvi5SL0cmWzmKqZ+ZDNueRIXkr9aE+XQkrug= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/pulumi/pkg/v3 v3.90.1 h1:RFC/eqTbDfIvfeVQL8WaPmyQr1KzZhAGIIDGr9jj9y8= +github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= 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= @@ -2371,8 +2354,9 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -2497,8 +2481,9 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -2777,8 +2762,9 @@ golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58 golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2796,6 +2782,8 @@ golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMk golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= golang.org/x/exp v0.0.0-20230108222341-4b8118a2686a/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -2840,8 +2828,9 @@ golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2944,8 +2933,9 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -3001,8 +2991,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3169,8 +3159,9 @@ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3186,8 +3177,9 @@ golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= -golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3317,8 +3309,8 @@ golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= -golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/sdk/dotnet/ApiKey.cs b/sdk/dotnet/ApiKey.cs index 7b46958df..201610a91 100644 --- a/sdk/dotnet/ApiKey.cs +++ b/sdk/dotnet/ApiKey.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog API Key - /// var foo = new Datadog.ApiKey("foo", new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/ApplicationKey.cs b/sdk/dotnet/ApplicationKey.cs index fa1c2fe11..d460446f4 100644 --- a/sdk/dotnet/ApplicationKey.cs +++ b/sdk/dotnet/ApplicationKey.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog Application Key - /// var foo = new Datadog.ApplicationKey("foo", new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/AuthnMapping.cs b/sdk/dotnet/AuthnMapping.cs index 40a329754..22fb53738 100644 --- a/sdk/dotnet/AuthnMapping.cs +++ b/sdk/dotnet/AuthnMapping.cs @@ -12,32 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var roRole = Datadog.GetRole.Invoke(new() - /// { - /// Filter = "Datadog Read Only Role", - /// }); - /// - /// // Create a new AuthN mapping - /// var devRoRoleMapping = new Datadog.AuthnMapping("devRoRoleMapping", new() - /// { - /// Key = "Member-of", - /// Value = "Development", - /// Role = roRole.Apply(getRoleResult => getRoleResult.Id), - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// AuthN mappings can be imported using their ID, e.g. diff --git a/sdk/dotnet/Aws/GetIntegrationNamespaceRules.cs b/sdk/dotnet/Aws/GetIntegrationNamespaceRules.cs index a4bc0f2d0..dcf9a13fc 100644 --- a/sdk/dotnet/Aws/GetIntegrationNamespaceRules.cs +++ b/sdk/dotnet/Aws/GetIntegrationNamespaceRules.cs @@ -13,50 +13,12 @@ public static class GetIntegrationNamespaceRules { /// /// Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var rules = Datadog.Aws.GetIntegrationNamespaceRules.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:aws/getIntegrationNamespaceRules:getIntegrationNamespaceRules", InvokeArgs.Empty, options.WithDefaults()); /// /// Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var rules = Datadog.Aws.GetIntegrationNamespaceRules.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:aws/getIntegrationNamespaceRules:getIntegrationNamespaceRules", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/Aws/Integration.cs b/sdk/dotnet/Aws/Integration.cs index fb5759dc8..2620a7c3d 100644 --- a/sdk/dotnet/Aws/Integration.cs +++ b/sdk/dotnet/Aws/Integration.cs @@ -12,45 +12,6 @@ namespace Pulumi.Datadog.Aws /// /// Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog - Amazon Web Services integration - /// var sandbox = new Datadog.Aws.Integration("sandbox", new() - /// { - /// AccountId = "1234567890", - /// AccountSpecificNamespaceRules = - /// { - /// { "auto_scaling", false }, - /// { "opsworks", false }, - /// }, - /// ExcludedRegions = new[] - /// { - /// "us-east-1", - /// "us-west-2", - /// }, - /// FilterTags = new[] - /// { - /// "key:value", - /// }, - /// HostTags = new[] - /// { - /// "key:value", - /// "key2:value2", - /// }, - /// RoleName = "DatadogAWSIntegrationRole", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID diff --git a/sdk/dotnet/Aws/IntegrationLambdaArn.cs b/sdk/dotnet/Aws/IntegrationLambdaArn.cs index c81382378..dd78eb196 100644 --- a/sdk/dotnet/Aws/IntegrationLambdaArn.cs +++ b/sdk/dotnet/Aws/IntegrationLambdaArn.cs @@ -14,26 +14,6 @@ namespace Pulumi.Datadog.Aws /// /// Update operations are currently not supported with datadog API so any change forces a new resource. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog - Amazon Web Services integration Lambda ARN - /// var mainCollector = new Datadog.Aws.IntegrationLambdaArn("mainCollector", new() - /// { - /// AccountId = "1234567890", - /// LambdaArn = "arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `). diff --git a/sdk/dotnet/Aws/IntegrationLogCollection.cs b/sdk/dotnet/Aws/IntegrationLogCollection.cs index 09d122389..b36330e17 100644 --- a/sdk/dotnet/Aws/IntegrationLogCollection.cs +++ b/sdk/dotnet/Aws/IntegrationLogCollection.cs @@ -12,29 +12,6 @@ namespace Pulumi.Datadog.Aws /// /// Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog - Amazon Web Services integration log collection - /// var main = new Datadog.Aws.IntegrationLogCollection("main", new() - /// { - /// AccountId = "1234567890", - /// Services = new[] - /// { - /// "lambda", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Amazon Web Services log collection integrations can be imported using the `account ID`. diff --git a/sdk/dotnet/Aws/IntegrationTagFilter.cs b/sdk/dotnet/Aws/IntegrationTagFilter.cs index 7f3448fdf..22709e8fb 100644 --- a/sdk/dotnet/Aws/IntegrationTagFilter.cs +++ b/sdk/dotnet/Aws/IntegrationTagFilter.cs @@ -12,27 +12,6 @@ namespace Pulumi.Datadog.Aws /// /// Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog - Amazon Web Services integration tag filter - /// var foo = new Datadog.Aws.IntegrationTagFilter("foo", new() - /// { - /// AccountId = "123456789010", - /// Namespace = "sqs", - /// TagFilterStr = "key:value", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:). diff --git a/sdk/dotnet/Azure/Integration.cs b/sdk/dotnet/Azure/Integration.cs index b4922b6ab..438739a45 100644 --- a/sdk/dotnet/Azure/Integration.cs +++ b/sdk/dotnet/Azure/Integration.cs @@ -12,32 +12,6 @@ namespace Pulumi.Datadog.Azure /// /// Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog - Microsoft Azure integration - /// var sandbox = new Datadog.Azure.Integration("sandbox", new() - /// { - /// AppServicePlanFilters = "examplefilter:true,example:another", - /// Automute = true, - /// ClientId = "<azure_client_id>", - /// ClientSecret = "<azure_client_secret_key>", - /// CspmEnabled = true, - /// CustomMetricsEnabled = false, - /// HostFilters = "examplefilter:true,example:true", - /// TenantName = "<azure_tenant_name>", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`). diff --git a/sdk/dotnet/ChildOrganization.cs b/sdk/dotnet/ChildOrganization.cs index e0a080d23..8a34248b6 100644 --- a/sdk/dotnet/ChildOrganization.cs +++ b/sdk/dotnet/ChildOrganization.cs @@ -11,25 +11,6 @@ namespace Pulumi.Datadog { /// /// Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `datadog.OrganizationSettings`. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog Child Organization - /// var organization = new Datadog.ChildOrganization("organization", new() - /// { - /// Name = "foo-organization", - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:index/childOrganization:ChildOrganization")] public partial class ChildOrganization : global::Pulumi.CustomResource diff --git a/sdk/dotnet/CloudConfigurationRule.cs b/sdk/dotnet/CloudConfigurationRule.cs index e28b7e057..713bf82d1 100644 --- a/sdk/dotnet/CloudConfigurationRule.cs +++ b/sdk/dotnet/CloudConfigurationRule.cs @@ -12,67 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Cloud Configuration Rule resource. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myrule = new Datadog.CloudConfigurationRule("myrule", new() - /// { - /// Enabled = true, - /// GroupBies = new[] - /// { - /// "@resource", - /// }, - /// Message = "Rule has triggered", - /// Name = "My cloud configuration rule", - /// Notifications = new[] - /// { - /// "@channel", - /// }, - /// Policy = @" package datadog - /// - /// import data.datadog.output as dd_output - /// - /// import future.keywords.contains - /// import future.keywords.if - /// import future.keywords.in - /// - /// eval(resource) = ""skip"" if { - /// # Logic that evaluates to true if the resource should be skipped - /// true - /// } else = ""pass"" { - /// # Logic that evaluates to true if the resource is compliant - /// true - /// } else = ""fail"" { - /// # Logic that evaluates to true if the resource is not compliant - /// true - /// } - /// - /// # This part remains unchanged for all rules - /// results contains result if { - /// some resource in input.resources[input.main_resource_type] - /// result := dd_output.format(resource, eval(resource)) - /// } - /// - /// ", - /// RelatedResourceTypes = new[] {}, - /// ResourceType = "aws_s3_bucket", - /// Severity = "high", - /// Tags = new[] - /// { - /// "some:tag", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/dotnet/CloudWorkloadSecurityAgentRule.cs b/sdk/dotnet/CloudWorkloadSecurityAgentRule.cs index 91993ad78..a1416ade7 100644 --- a/sdk/dotnet/CloudWorkloadSecurityAgentRule.cs +++ b/sdk/dotnet/CloudWorkloadSecurityAgentRule.cs @@ -12,27 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myAgentRule = new Datadog.CloudWorkloadSecurityAgentRule("myAgentRule", new() - /// { - /// Description = "My agent rule", - /// Enabled = true, - /// Expression = "exec.file.name == \"java\"", - /// Name = "my_agent_rule", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Cloud Workload Security Agent rules can be imported using ID, e.g. diff --git a/sdk/dotnet/Cloudflare/IntegrationAccount.cs b/sdk/dotnet/Cloudflare/IntegrationAccount.cs index ea539854e..e9a0c9e15 100644 --- a/sdk/dotnet/Cloudflare/IntegrationAccount.cs +++ b/sdk/dotnet/Cloudflare/IntegrationAccount.cs @@ -12,26 +12,6 @@ namespace Pulumi.Datadog.Cloudflare /// /// Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.Cloudflare.IntegrationAccount("foo", new() - /// { - /// ApiKey = "12345678910abc", - /// Email = "test-email@example.com", - /// Name = "test-name", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Confluent/IntegrationAccount.cs b/sdk/dotnet/Confluent/IntegrationAccount.cs index 48fc66efb..007b1ef0c 100644 --- a/sdk/dotnet/Confluent/IntegrationAccount.cs +++ b/sdk/dotnet/Confluent/IntegrationAccount.cs @@ -12,30 +12,6 @@ namespace Pulumi.Datadog.Confluent /// /// Provides a Datadog IntegrationConfluentAccount resource. This can be used to create and manage Datadog integration_confluent_account. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.Confluent.IntegrationAccount("foo", new() - /// { - /// ApiKey = "TESTAPIKEY123", - /// ApiSecret = "test-api-secret-123", - /// Tags = new[] - /// { - /// "mytag", - /// "mytag2:myvalue", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Confluent/IntegrationResource.cs b/sdk/dotnet/Confluent/IntegrationResource.cs index 8bfef9f37..47616c575 100644 --- a/sdk/dotnet/Confluent/IntegrationResource.cs +++ b/sdk/dotnet/Confluent/IntegrationResource.cs @@ -12,43 +12,6 @@ namespace Pulumi.Datadog.Confluent /// /// Provides a Datadog IntegrationConfluentResource resource. This can be used to create and manage Datadog integration_confluent_resource. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fooIntegrationAccount = new Datadog.Confluent.IntegrationAccount("fooIntegrationAccount", new() - /// { - /// ApiKey = "TESTAPIKEY123", - /// ApiSecret = "test-api-secret-123", - /// Tags = new[] - /// { - /// "mytag", - /// "mytag2:myvalue", - /// }, - /// }); - /// - /// // Create new integration_confluent_resource resource - /// var fooIntegrationResource = new Datadog.Confluent.IntegrationResource("fooIntegrationResource", new() - /// { - /// AccountId = fooIntegrationAccount.Id, - /// ResourceId = "123456", - /// ResourceType = "kafka", - /// Tags = new[] - /// { - /// "mytag", - /// "mytag2:myvalue", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/DashboardJson.cs b/sdk/dotnet/DashboardJson.cs index 92cb8fa1f..451e2d0a0 100644 --- a/sdk/dotnet/DashboardJson.cs +++ b/sdk/dotnet/DashboardJson.cs @@ -12,511 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog dashboard JSON resource. This can be used to create and manage Datadog dashboards using the JSON definition. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Example Dashboard JSON - /// var dashboardJson = new Datadog.DashboardJson("dashboardJson", new() - /// { - /// Dashboard = @"{ - /// ""title"":""Ordered Layout Dashboard"", - /// ""description"":""Created using the Datadog provider in Terraform"", - /// ""widgets"":[ - /// { - /// ""id"":719369537777170, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""alert_graph"", - /// ""alert_id"":""895605"", - /// ""viz_type"":""timeseries"" - /// } - /// }, - /// { - /// ""id"":2306240030393868, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""alert_value"", - /// ""alert_id"":""895605"", - /// ""unit"":""b"", - /// ""text_align"":""center"", - /// ""precision"":3 - /// } - /// }, - /// { - /// ""id"":6990998850881326, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""alert_value"", - /// ""alert_id"":""895605"", - /// ""unit"":""b"", - /// ""text_align"":""center"", - /// ""precision"":3 - /// } - /// }, - /// { - /// ""id"":3351284044659007, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""change"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.load.1{env:staging} by {account}"", - /// ""compare_to"":""week_before"", - /// ""change_type"":""absolute"", - /// ""order_dir"":""desc"", - /// ""increase_good"":true, - /// ""order_by"":""name"", - /// ""show_present"":true - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":6450290622996182, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""show_legend"":false, - /// ""type"":""distribution"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.load.1{env:staging} by {account}"", - /// ""style"":{ - /// ""palette"":""warm"" - /// } - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":4902842646291536, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""check_status"", - /// ""check"":""aws.ecs.agent_connected"", - /// ""grouping"":""cluster"", - /// ""group_by"":[ - /// ""account"", - /// ""cluster"" - /// ], - /// ""tags"":[ - /// ""account:demo"", - /// ""cluster:awseb-ruthebdog-env-8-dn3m6u3gvk"" - /// ] - /// } - /// }, - /// { - /// ""id"":6392349954822644, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""show_legend"":false, - /// ""type"":""heatmap"", - /// ""yaxis"":{ - /// ""scale"":""sqrt"", - /// ""include_zero"":true, - /// ""min"":""1"", - /// ""max"":""2"" - /// }, - /// ""requests"":[ - /// { - /// ""q"":""avg:system.load.1{env:staging} by {account}"", - /// ""style"":{ - /// ""palette"":""warm"" - /// } - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":5222961478940988, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""hostmap"", - /// ""requests"":{ - /// ""fill"":{ - /// ""q"":""avg:system.load.1{*} by {host}"" - /// }, - /// ""size"":{ - /// ""q"":""avg:memcache.uptime{*} by {host}"" - /// } - /// }, - /// ""node_type"":""container"", - /// ""no_metric_hosts"":true, - /// ""no_group_hosts"":true, - /// ""group"":[ - /// ""host"", - /// ""region"" - /// ], - /// ""scope"":[ - /// ""region:us-east-1"", - /// ""aws_account:727006795293"" - /// ], - /// ""style"":{ - /// ""palette"":""yellow_to_green"", - /// ""palette_flip"":true, - /// ""fill_min"":""10"", - /// ""fill_max"":""20"" - /// } - /// } - /// }, - /// { - /// ""id"":8121199734227072, - /// ""definition"":{ - /// ""type"":""note"", - /// ""content"":""note text"", - /// ""background_color"":""pink"", - /// ""font_size"":""14"", - /// ""text_align"":""center"", - /// ""show_tick"":true, - /// ""tick_pos"":""50%"", - /// ""tick_edge"":""left"" - /// } - /// }, - /// { - /// ""id"":1775856835833038, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""query_value"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.load.1{env:staging} by {account}"", - /// ""aggregator"":""sum"", - /// ""conditional_formats"":[ - /// { - /// ""hide_value"":false, - /// ""comparator"":""<"", - /// ""palette"":""white_on_green"", - /// ""value"":2 - /// }, - /// { - /// ""hide_value"":false, - /// ""comparator"":"">"", - /// ""palette"":""white_on_red"", - /// ""value"":2.2 - /// } - /// ] - /// } - /// ], - /// ""autoscale"":true, - /// ""custom_unit"":""xx"", - /// ""text_align"":""right"", - /// ""precision"":4 - /// } - /// }, - /// { - /// ""id"":8461455966625581, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""query_table"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.load.1{env:staging} by {account}"", - /// ""aggregator"":""sum"", - /// ""conditional_formats"":[ - /// { - /// ""hide_value"":false, - /// ""comparator"":""<"", - /// ""palette"":""white_on_green"", - /// ""value"":2 - /// }, - /// { - /// ""hide_value"":false, - /// ""comparator"":"">"", - /// ""palette"":""white_on_red"", - /// ""value"":2.2 - /// } - /// ], - /// ""limit"":10 - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":8660006349418736, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""scatterplot"", - /// ""requests"":{ - /// ""x"":{ - /// ""q"":""avg:system.cpu.user{*} by {service, account}"", - /// ""aggregator"":""max"" - /// }, - /// ""y"":{ - /// ""q"":""avg:system.mem.used{*} by {service, account}"", - /// ""aggregator"":""min"" - /// } - /// }, - /// ""xaxis"":{ - /// ""scale"":""pow"", - /// ""label"":""x"", - /// ""include_zero"":true, - /// ""min"":""1"", - /// ""max"":""2000"" - /// }, - /// ""yaxis"":{ - /// ""scale"":""log"", - /// ""label"":""y"", - /// ""include_zero"":false, - /// ""min"":""5"", - /// ""max"":""2222"" - /// }, - /// ""color_by_groups"":[ - /// ""account"", - /// ""apm-role-group"" - /// ] - /// } - /// }, - /// { - /// ""id"":1669590772917638, - /// ""definition"":{ - /// ""title"":""env: prod, datacenter:dc1, service: master-db"", - /// ""title_size"":""16"", - /// ""title_align"":""left"", - /// ""type"":""servicemap"", - /// ""service"":""master-db"", - /// ""filters"":[ - /// ""env:prod"", - /// ""datacenter:dc1"" - /// ] - /// } - /// }, - /// { - /// ""id"":2138829058361817, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""show_legend"":true, - /// ""legend_size"":""2"", - /// ""type"":""timeseries"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.cpu.user{app:general} by {env}"", - /// ""on_right_yaxis"":false, - /// ""metadata"":[ - /// { - /// ""expression"":""avg:system.cpu.user{app:general} by {env}"", - /// ""alias_name"":""Alpha"" - /// } - /// ], - /// ""style"":{ - /// ""palette"":""warm"", - /// ""line_type"":""dashed"", - /// ""line_width"":""thin"" - /// }, - /// ""display_type"":""line"" - /// }, - /// { - /// ""on_right_yaxis"":false, - /// ""log_query"":{ - /// ""index"":""mcnulty"", - /// ""search"":{ - /// ""query"":""status:info"" - /// }, - /// ""group_by"":[ - /// { - /// ""facet"":""host"", - /// ""sort"":{ - /// ""facet"":""@duration"", - /// ""aggregation"":""avg"", - /// ""order"":""desc"" - /// }, - /// ""limit"":10 - /// } - /// ], - /// ""compute"":{ - /// ""facet"":""@duration"", - /// ""interval"":5000, - /// ""aggregation"":""avg"" - /// } - /// }, - /// ""display_type"":""area"" - /// }, - /// { - /// ""on_right_yaxis"":false, - /// ""apm_query"":{ - /// ""index"":""apm-search"", - /// ""search"":{ - /// ""query"":""type:web"" - /// }, - /// ""group_by"":[ - /// { - /// ""facet"":""resource_name"", - /// ""sort"":{ - /// ""facet"":""@string_query.interval"", - /// ""aggregation"":""avg"", - /// ""order"":""desc"" - /// }, - /// ""limit"":50 - /// } - /// ], - /// ""compute"":{ - /// ""facet"":""@duration"", - /// ""interval"":5000, - /// ""aggregation"":""avg"" - /// } - /// }, - /// ""display_type"":""bars"" - /// }, - /// { - /// ""on_right_yaxis"":false, - /// ""process_query"":{ - /// ""search_by"":""error"", - /// ""metric"":""process.stat.cpu.total_pct"", - /// ""limit"":50, - /// ""filter_by"":[ - /// ""active"" - /// ] - /// }, - /// ""display_type"":""area"" - /// } - /// ], - /// ""yaxis"":{ - /// ""scale"":""log"", - /// ""include_zero"":false, - /// ""max"":""100"" - /// }, - /// ""events"":[ - /// { - /// ""q"":""sources:test tags:1"" - /// }, - /// { - /// ""q"":""sources:test tags:2"" - /// } - /// ], - /// ""markers"":[ - /// { - /// ""label"":"" z=6 "", - /// ""value"":""y = 4"", - /// ""display_type"":""error dashed"" - /// }, - /// { - /// ""label"":"" x=8 "", - /// ""value"":""10 < y < 999"", - /// ""display_type"":""ok solid"" - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":7307171374656551, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""toplist"", - /// ""requests"":[ - /// { - /// ""q"":""avg:system.cpu.user{app:general} by {env}"", - /// ""conditional_formats"":[ - /// { - /// ""hide_value"":false, - /// ""comparator"":""<"", - /// ""palette"":""white_on_green"", - /// ""value"":2 - /// }, - /// { - /// ""hide_value"":false, - /// ""comparator"":"">"", - /// ""palette"":""white_on_red"", - /// ""value"":2.2 - /// } - /// ] - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":7086674838553258, - /// ""definition"":{ - /// ""title"":""Group Widget"", - /// ""type"":""group"", - /// ""layout_type"":""ordered"", - /// ""widgets"":[ - /// { - /// ""id"":3726092277657502, - /// ""definition"":{ - /// ""type"":""note"", - /// ""content"":""cluster note widget"", - /// ""background_color"":""pink"", - /// ""font_size"":""14"", - /// ""text_align"":""center"", - /// ""show_tick"":true, - /// ""tick_pos"":""50%"", - /// ""tick_edge"":""left"" - /// } - /// }, - /// { - /// ""id"":6376384650558057, - /// ""definition"":{ - /// ""title"":""Alert Graph"", - /// ""type"":""alert_graph"", - /// ""alert_id"":""123"", - /// ""viz_type"":""toplist"" - /// } - /// } - /// ] - /// } - /// }, - /// { - /// ""id"":4668903563678912, - /// ""definition"":{ - /// ""title"":""Widget Title"", - /// ""type"":""slo"", - /// ""view_type"":""detail"", - /// ""time_windows"":[ - /// ""7d"", - /// ""previous_week"" - /// ], - /// ""slo_id"":""56789"", - /// ""show_error_budget"":true, - /// ""view_mode"":""overall"", - /// ""global_time_target"":""0"" - /// } - /// } - /// ], - /// ""template_variables"":[ - /// { - /// ""name"":""var_1"", - /// ""default"":""aws"", - /// ""prefix"":""host"" - /// }, - /// { - /// ""name"":""var_2"", - /// ""default"":""autoscaling"", - /// ""prefix"":""service_name"" - /// } - /// ], - /// ""layout_type"":""ordered"", - /// ""is_read_only"":true, - /// ""notify_list"":[ - /// - /// ], - /// ""template_variable_presets"":[ - /// { - /// ""name"":""preset_1"", - /// ""template_variables"":[ - /// { - /// ""name"":""var_1"", - /// ""value"":""host.dc"" - /// }, - /// { - /// ""name"":""var_2"", - /// ""value"":""my_service"" - /// } - /// ] - /// } - /// ] - /// } - /// - /// ", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/DashboardList.cs b/sdk/dotnet/DashboardList.cs index 9c60b9696..95a0c4888 100644 --- a/sdk/dotnet/DashboardList.cs +++ b/sdk/dotnet/DashboardList.cs @@ -12,96 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog dashboard_list resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var time = new Datadog.Dashboard("time", new() - /// { - /// Title = "TF Test Layout Dashboard", - /// Description = "Created using the Datadog provider", - /// LayoutType = "ordered", - /// IsReadOnly = true, - /// Widgets = new[] - /// { - /// new Datadog.Inputs.DashboardWidgetArgs - /// { - /// AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs - /// { - /// AlertId = "1234", - /// VizType = "timeseries", - /// Title = "Widget Title", - /// LiveSpan = "1h", - /// }, - /// }, - /// }, - /// }); - /// - /// var screen = new Datadog.Dashboard("screen", new() - /// { - /// Title = "TF Test Free Layout Dashboard", - /// Description = "Created using the Datadog provider", - /// LayoutType = "free", - /// IsReadOnly = false, - /// Widgets = new[] - /// { - /// new Datadog.Inputs.DashboardWidgetArgs - /// { - /// EventStreamDefinition = new Datadog.Inputs.DashboardWidgetEventStreamDefinitionArgs - /// { - /// Query = "*", - /// EventSize = "l", - /// Title = "Widget Title", - /// TitleSize = "16", - /// TitleAlign = "left", - /// LiveSpan = "1h", - /// }, - /// WidgetLayout = new Datadog.Inputs.DashboardWidgetWidgetLayoutArgs - /// { - /// Height = 43, - /// Width = 32, - /// X = 5, - /// Y = 5, - /// }, - /// }, - /// }, - /// }); - /// - /// // Create a new Dashboard List with two Dashboards - /// var newList = new Datadog.DashboardList("newList", new() - /// { - /// Name = "Automated Created List", - /// DashItems = new[] - /// { - /// new Datadog.Inputs.DashboardListDashItemArgs - /// { - /// Type = "custom_timeboard", - /// DashId = time.Id, - /// }, - /// new Datadog.Inputs.DashboardListDashItemArgs - /// { - /// Type = "custom_screenboard", - /// DashId = screen.Id, - /// }, - /// }, - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// screen, - /// time, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Downtime.cs b/sdk/dotnet/Downtime.cs index e2eff8193..fa279a7d8 100644 --- a/sdk/dotnet/Downtime.cs +++ b/sdk/dotnet/Downtime.cs @@ -12,36 +12,6 @@ namespace Pulumi.Datadog /// /// This resource is deprecated — use the `datadog.DowntimeSchedule resource` instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Example: downtime for all monitors - /// // Create a new daily 1700-0900 Datadog downtime for all monitors - /// var foo = new Datadog.Downtime("foo", new() - /// { - /// End = 1483365600, - /// Recurrence = new Datadog.Inputs.DowntimeRecurrenceArgs - /// { - /// Period = 1, - /// Type = "days", - /// }, - /// Scopes = new[] - /// { - /// "*", - /// }, - /// Start = 1483308000, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Fastly/IntegrationAccount.cs b/sdk/dotnet/Fastly/IntegrationAccount.cs index 395906be7..df509b246 100644 --- a/sdk/dotnet/Fastly/IntegrationAccount.cs +++ b/sdk/dotnet/Fastly/IntegrationAccount.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog.Fastly /// /// Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.Fastly.IntegrationAccount("foo", new() - /// { - /// ApiKey = "ABCDEFG123", - /// Name = "test-name", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Fastly/IntegrationService.cs b/sdk/dotnet/Fastly/IntegrationService.cs index 1fa3ce92f..1e5a66916 100644 --- a/sdk/dotnet/Fastly/IntegrationService.cs +++ b/sdk/dotnet/Fastly/IntegrationService.cs @@ -12,37 +12,6 @@ namespace Pulumi.Datadog.Fastly /// /// Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fooIntegrationAccount = new Datadog.Fastly.IntegrationAccount("fooIntegrationAccount", new() - /// { - /// ApiKey = "ABCDEFG123", - /// Name = "test-name", - /// }); - /// - /// // Create new integration_fastly_service resource - /// var fooIntegrationService = new Datadog.Fastly.IntegrationService("fooIntegrationService", new() - /// { - /// AccountId = fooIntegrationAccount.Id, - /// Tags = new[] - /// { - /// "mytag", - /// "mytag2:myvalue", - /// }, - /// ServiceId = "my-service-id", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/GetApiKey.cs b/sdk/dotnet/GetApiKey.cs index 1507024e1..d293c0367 100644 --- a/sdk/dotnet/GetApiKey.cs +++ b/sdk/dotnet/GetApiKey.cs @@ -13,56 +13,12 @@ public static class GetApiKey { /// /// Use this data source to retrieve information about an existing api key. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetApiKey.Invoke(new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetApiKeyArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getApiKey:getApiKey", args ?? new GetApiKeyArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing api key. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetApiKey.Invoke(new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetApiKeyInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getApiKey:getApiKey", args ?? new GetApiKeyInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetApplicationKey.cs b/sdk/dotnet/GetApplicationKey.cs index 09806f933..cbf09c518 100644 --- a/sdk/dotnet/GetApplicationKey.cs +++ b/sdk/dotnet/GetApplicationKey.cs @@ -13,56 +13,12 @@ public static class GetApplicationKey { /// /// Use this data source to retrieve information about an existing application key. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetApplicationKey.Invoke(new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetApplicationKeyArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getApplicationKey:getApplicationKey", args ?? new GetApplicationKeyArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing application key. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetApplicationKey.Invoke(new() - /// { - /// Name = "foo-application", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetApplicationKeyInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getApplicationKey:getApplicationKey", args ?? new GetApplicationKeyInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetCloudWorkloadSecurityAgentRules.cs b/sdk/dotnet/GetCloudWorkloadSecurityAgentRules.cs index e2f7d950c..76c96c31a 100644 --- a/sdk/dotnet/GetCloudWorkloadSecurityAgentRules.cs +++ b/sdk/dotnet/GetCloudWorkloadSecurityAgentRules.cs @@ -13,50 +13,12 @@ public static class GetCloudWorkloadSecurityAgentRules { /// /// Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetCloudWorkloadSecurityAgentRules.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules", InvokeArgs.Empty, options.WithDefaults()); /// /// Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetCloudWorkloadSecurityAgentRules.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetDashboard.cs b/sdk/dotnet/GetDashboard.cs index dfb6b096d..6e608e741 100644 --- a/sdk/dotnet/GetDashboard.cs +++ b/sdk/dotnet/GetDashboard.cs @@ -13,56 +13,12 @@ public static class GetDashboard { /// /// Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetDashboard.Invoke(new() - /// { - /// Name = "My super dashboard", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetDashboardArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getDashboard:getDashboard", args ?? new GetDashboardArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetDashboard.Invoke(new() - /// { - /// Name = "My super dashboard", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetDashboardInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getDashboard:getDashboard", args ?? new GetDashboardInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetDashboardList.cs b/sdk/dotnet/GetDashboardList.cs index 361998a94..a9802474e 100644 --- a/sdk/dotnet/GetDashboardList.cs +++ b/sdk/dotnet/GetDashboardList.cs @@ -13,108 +13,12 @@ public static class GetDashboardList { /// /// Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetDashboardList.Invoke(new() - /// { - /// Name = "My super list", - /// }); - /// - /// // Create a dashboard and register it in the list above. - /// var time = new Datadog.Dashboard("time", new() - /// { - /// DashboardLists = new[] - /// { - /// test.Apply(getDashboardListResult => getDashboardListResult.Id), - /// }, - /// Description = "Created using the Datadog provider in Terraform", - /// IsReadOnly = true, - /// LayoutType = "ordered", - /// Title = "TF Test Layout Dashboard", - /// Widgets = new[] - /// { - /// new Datadog.Inputs.DashboardWidgetArgs - /// { - /// AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs - /// { - /// AlertId = "1234", - /// LiveSpan = "1h", - /// Title = "Widget Title", - /// VizType = "timeseries", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetDashboardListArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getDashboardList:getDashboardList", args ?? new GetDashboardListArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetDashboardList.Invoke(new() - /// { - /// Name = "My super list", - /// }); - /// - /// // Create a dashboard and register it in the list above. - /// var time = new Datadog.Dashboard("time", new() - /// { - /// DashboardLists = new[] - /// { - /// test.Apply(getDashboardListResult => getDashboardListResult.Id), - /// }, - /// Description = "Created using the Datadog provider in Terraform", - /// IsReadOnly = true, - /// LayoutType = "ordered", - /// Title = "TF Test Layout Dashboard", - /// Widgets = new[] - /// { - /// new Datadog.Inputs.DashboardWidgetArgs - /// { - /// AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs - /// { - /// AlertId = "1234", - /// LiveSpan = "1h", - /// Title = "Widget Title", - /// VizType = "timeseries", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetDashboardListInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getDashboardList:getDashboardList", args ?? new GetDashboardListInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetIpRanges.cs b/sdk/dotnet/GetIpRanges.cs index fe34efdae..c29a3cd85 100644 --- a/sdk/dotnet/GetIpRanges.cs +++ b/sdk/dotnet/GetIpRanges.cs @@ -13,50 +13,12 @@ public static class GetIpRanges { /// /// Use this data source to retrieve information about Datadog's IP addresses. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetIpRanges.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getIpRanges:getIpRanges", InvokeArgs.Empty, options.WithDefaults()); /// /// Use this data source to retrieve information about Datadog's IP addresses. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetIpRanges.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getIpRanges:getIpRanges", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetLogsIndexes.cs b/sdk/dotnet/GetLogsIndexes.cs index a72a86ab7..4c8e66d97 100644 --- a/sdk/dotnet/GetLogsIndexes.cs +++ b/sdk/dotnet/GetLogsIndexes.cs @@ -13,50 +13,12 @@ public static class GetLogsIndexes { /// /// Use this data source to list several existing logs indexes for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetLogsIndexes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getLogsIndexes:getLogsIndexes", InvokeArgs.Empty, options.WithDefaults()); /// /// Use this data source to list several existing logs indexes for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetLogsIndexes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getLogsIndexes:getLogsIndexes", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetLogsIndexesOrder.cs b/sdk/dotnet/GetLogsIndexesOrder.cs index b90836989..7932483b9 100644 --- a/sdk/dotnet/GetLogsIndexesOrder.cs +++ b/sdk/dotnet/GetLogsIndexesOrder.cs @@ -13,50 +13,12 @@ public static class GetLogsIndexesOrder { /// /// Get the current order of your log indexes. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetLogsIndexesOrder.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getLogsIndexesOrder:getLogsIndexesOrder", InvokeArgs.Empty, options.WithDefaults()); /// /// Get the current order of your log indexes. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetLogsIndexesOrder.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getLogsIndexesOrder:getLogsIndexesOrder", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetLogsPipelines.cs b/sdk/dotnet/GetLogsPipelines.cs index fc3fdf08f..fb8190b8c 100644 --- a/sdk/dotnet/GetLogsPipelines.cs +++ b/sdk/dotnet/GetLogsPipelines.cs @@ -13,70 +13,12 @@ public static class GetLogsPipelines { /// /// Use this data source to list all existing logs pipelines for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var pipelines = Datadog.GetLogsPipelines.Invoke(); - /// - /// // Using data source to set pipeline order - /// var lpo = new Datadog.LogsPipelineOrder("lpo", new() - /// { - /// Name = "lpo", - /// Pipelines = .Select(pipeline => - /// { - /// return pipeline.Id; - /// }).ToList(), - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetLogsPipelinesArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getLogsPipelines:getLogsPipelines", args ?? new GetLogsPipelinesArgs(), options.WithDefaults()); /// /// Use this data source to list all existing logs pipelines for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var pipelines = Datadog.GetLogsPipelines.Invoke(); - /// - /// // Using data source to set pipeline order - /// var lpo = new Datadog.LogsPipelineOrder("lpo", new() - /// { - /// Name = "lpo", - /// Pipelines = .Select(pipeline => - /// { - /// return pipeline.Id; - /// }).ToList(), - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetLogsPipelinesInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getLogsPipelines:getLogsPipelines", args ?? new GetLogsPipelinesInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetMonitor.cs b/sdk/dotnet/GetMonitor.cs index 1a0c85ec5..df269490a 100644 --- a/sdk/dotnet/GetMonitor.cs +++ b/sdk/dotnet/GetMonitor.cs @@ -13,64 +13,12 @@ public static class GetMonitor { /// /// Use this data source to retrieve information about an existing monitor for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetMonitor.Invoke(new() - /// { - /// MonitorTagsFilters = new[] - /// { - /// "foo:bar", - /// }, - /// NameFilter = "My awesome monitor", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetMonitorArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getMonitor:getMonitor", args ?? new GetMonitorArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing monitor for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetMonitor.Invoke(new() - /// { - /// MonitorTagsFilters = new[] - /// { - /// "foo:bar", - /// }, - /// NameFilter = "My awesome monitor", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetMonitorInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getMonitor:getMonitor", args ?? new GetMonitorInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetMonitorConfigPolicies.cs b/sdk/dotnet/GetMonitorConfigPolicies.cs index 1faf80a59..27bf8d75f 100644 --- a/sdk/dotnet/GetMonitorConfigPolicies.cs +++ b/sdk/dotnet/GetMonitorConfigPolicies.cs @@ -13,50 +13,12 @@ public static class GetMonitorConfigPolicies { /// /// Use this data source to list existing monitor config policies for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetMonitorConfigPolicies.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getMonitorConfigPolicies:getMonitorConfigPolicies", InvokeArgs.Empty, options.WithDefaults()); /// /// Use this data source to list existing monitor config policies for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetMonitorConfigPolicies.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getMonitorConfigPolicies:getMonitorConfigPolicies", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetPermissions.cs b/sdk/dotnet/GetPermissions.cs index cd0cc32a1..578b67de2 100644 --- a/sdk/dotnet/GetPermissions.cs +++ b/sdk/dotnet/GetPermissions.cs @@ -13,50 +13,12 @@ public static class GetPermissions { /// /// Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var permissions = Datadog.GetPermissions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetPermissionsArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getPermissions:getPermissions", args ?? new GetPermissionsArgs(), options.WithDefaults()); /// /// Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var permissions = Datadog.GetPermissions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetPermissionsInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getPermissions:getPermissions", args ?? new GetPermissionsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetRole.cs b/sdk/dotnet/GetRole.cs index 719c2da00..d7919026c 100644 --- a/sdk/dotnet/GetRole.cs +++ b/sdk/dotnet/GetRole.cs @@ -13,56 +13,12 @@ public static class GetRole { /// /// Use this data source to retrieve information about an existing role for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetRole.Invoke(new() - /// { - /// Filter = "Datadog Standard Role", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetRoleArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getRole:getRole", args ?? new GetRoleArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing role for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetRole.Invoke(new() - /// { - /// Filter = "Datadog Standard Role", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetRoleInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getRole:getRole", args ?? new GetRoleInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetRoles.cs b/sdk/dotnet/GetRoles.cs index 9a9107328..fc4662177 100644 --- a/sdk/dotnet/GetRoles.cs +++ b/sdk/dotnet/GetRoles.cs @@ -13,56 +13,12 @@ public static class GetRoles { /// /// Use this data source to retrieve information about multiple roles for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetRoles.Invoke(new() - /// { - /// Filter = "Datadog", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetRolesArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getRoles:getRoles", args ?? new GetRolesArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about multiple roles for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetRoles.Invoke(new() - /// { - /// Filter = "Datadog", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetRolesInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getRoles:getRoles", args ?? new GetRolesInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSecurityMonitoringFilters.cs b/sdk/dotnet/GetSecurityMonitoringFilters.cs index 5ad5bd702..c249d4ede 100644 --- a/sdk/dotnet/GetSecurityMonitoringFilters.cs +++ b/sdk/dotnet/GetSecurityMonitoringFilters.cs @@ -13,50 +13,12 @@ public static class GetSecurityMonitoringFilters { /// /// Use this data source to retrieve information about existing security monitoring filters for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetSecurityMonitoringFilters.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters", InvokeArgs.Empty, options.WithDefaults()); /// /// Use this data source to retrieve information about existing security monitoring filters for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetSecurityMonitoringFilters.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetSecurityMonitoringRules.cs b/sdk/dotnet/GetSecurityMonitoringRules.cs index 06ac09475..e811acb75 100644 --- a/sdk/dotnet/GetSecurityMonitoringRules.cs +++ b/sdk/dotnet/GetSecurityMonitoringRules.cs @@ -13,66 +13,12 @@ public static class GetSecurityMonitoringRules { /// /// Use this data source to retrieve information about existing security monitoring rules for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetSecurityMonitoringRules.Invoke(new() - /// { - /// DefaultOnlyFilter = true, - /// NameFilter = "attack", - /// TagsFilters = new[] - /// { - /// "foo:bar", - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetSecurityMonitoringRulesArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getSecurityMonitoringRules:getSecurityMonitoringRules", args ?? new GetSecurityMonitoringRulesArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about existing security monitoring rules for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetSecurityMonitoringRules.Invoke(new() - /// { - /// DefaultOnlyFilter = true, - /// NameFilter = "attack", - /// TagsFilters = new[] - /// { - /// "foo:bar", - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetSecurityMonitoringRulesInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getSecurityMonitoringRules:getSecurityMonitoringRules", args ?? new GetSecurityMonitoringRulesInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetSensitiveDataScannerGroupOrder.cs b/sdk/dotnet/GetSensitiveDataScannerGroupOrder.cs index 4b2d96897..241e6457b 100644 --- a/sdk/dotnet/GetSensitiveDataScannerGroupOrder.cs +++ b/sdk/dotnet/GetSensitiveDataScannerGroupOrder.cs @@ -13,60 +13,12 @@ public static class GetSensitiveDataScannerGroupOrder { /// /// Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetSensitiveDataScannerGroupOrder.Invoke(); - /// - /// var foobar = new Datadog.SensitiveDataScannerGroupOrder("foobar", new() - /// { - /// GroupIds = foo.Apply(getSensitiveDataScannerGroupOrderResult => getSensitiveDataScannerGroupOrderResult.GroupIds), - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getSensitiveDataScannerGroupOrder:getSensitiveDataScannerGroupOrder", InvokeArgs.Empty, options.WithDefaults()); /// /// Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetSensitiveDataScannerGroupOrder.Invoke(); - /// - /// var foobar = new Datadog.SensitiveDataScannerGroupOrder("foobar", new() - /// { - /// GroupIds = foo.Apply(getSensitiveDataScannerGroupOrderResult => getSensitiveDataScannerGroupOrderResult.GroupIds), - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getSensitiveDataScannerGroupOrder:getSensitiveDataScannerGroupOrder", InvokeArgs.Empty, options.WithDefaults()); diff --git a/sdk/dotnet/GetServiceLevelObjective.cs b/sdk/dotnet/GetServiceLevelObjective.cs index fb5f5055f..4c6cd3ddf 100644 --- a/sdk/dotnet/GetServiceLevelObjective.cs +++ b/sdk/dotnet/GetServiceLevelObjective.cs @@ -13,68 +13,12 @@ public static class GetServiceLevelObjective { /// /// Use this data source to retrieve information about an existing SLO for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetServiceLevelObjective.Invoke(new() - /// { - /// NameQuery = "My test SLO", - /// TagsQuery = "foo:bar", - /// }); - /// - /// var apiSlo = Datadog.GetServiceLevelObjective.Invoke(new() - /// { - /// Id = data.Terraform_remote_state.Api.Outputs.Slo, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetServiceLevelObjectiveArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getServiceLevelObjective:getServiceLevelObjective", args ?? new GetServiceLevelObjectiveArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing SLO for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetServiceLevelObjective.Invoke(new() - /// { - /// NameQuery = "My test SLO", - /// TagsQuery = "foo:bar", - /// }); - /// - /// var apiSlo = Datadog.GetServiceLevelObjective.Invoke(new() - /// { - /// Id = data.Terraform_remote_state.Api.Outputs.Slo, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetServiceLevelObjectiveInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getServiceLevelObjective:getServiceLevelObjective", args ?? new GetServiceLevelObjectiveInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetServiceLevelObjectives.cs b/sdk/dotnet/GetServiceLevelObjectives.cs index 8cb1a6875..9f79ad139 100644 --- a/sdk/dotnet/GetServiceLevelObjectives.cs +++ b/sdk/dotnet/GetServiceLevelObjectives.cs @@ -13,56 +13,12 @@ public static class GetServiceLevelObjectives { /// /// Use this data source to retrieve information about multiple SLOs for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ftFooSlos = Datadog.GetServiceLevelObjectives.Invoke(new() - /// { - /// TagsQuery = "owner:ft-foo", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetServiceLevelObjectivesArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getServiceLevelObjectives:getServiceLevelObjectives", args ?? new GetServiceLevelObjectivesArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about multiple SLOs for use in other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ftFooSlos = Datadog.GetServiceLevelObjectives.Invoke(new() - /// { - /// TagsQuery = "owner:ft-foo", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetServiceLevelObjectivesInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getServiceLevelObjectives:getServiceLevelObjectives", args ?? new GetServiceLevelObjectivesInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetTeam.cs b/sdk/dotnet/GetTeam.cs index e5d5cb694..525174c86 100644 --- a/sdk/dotnet/GetTeam.cs +++ b/sdk/dotnet/GetTeam.cs @@ -13,56 +13,12 @@ public static class GetTeam { /// /// Use this data source to retrieve information about an existing Datadog team. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetTeam.Invoke(new() - /// { - /// TeamId = "e6723c40-edb1-11ed-b816-da7ad0900002", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetTeamArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getTeam:getTeam", args ?? new GetTeamArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing Datadog team. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetTeam.Invoke(new() - /// { - /// TeamId = "e6723c40-edb1-11ed-b816-da7ad0900002", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetTeamInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getTeam:getTeam", args ?? new GetTeamInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetTeamMemberships.cs b/sdk/dotnet/GetTeamMemberships.cs index 5bc5f37c8..b59646ea3 100644 --- a/sdk/dotnet/GetTeamMemberships.cs +++ b/sdk/dotnet/GetTeamMemberships.cs @@ -13,58 +13,12 @@ public static class GetTeamMemberships { /// /// Use this data source to retrieve information about existing Datadog team memberships. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetTeamMemberships.Invoke(new() - /// { - /// FilterKeyword = "foo@example.com", - /// TeamId = "e6723c40-edb1-11ed-b816-da7ad0900002", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetTeamMembershipsArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getTeamMemberships:getTeamMemberships", args ?? new GetTeamMembershipsArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about existing Datadog team memberships. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = Datadog.GetTeamMemberships.Invoke(new() - /// { - /// FilterKeyword = "foo@example.com", - /// TeamId = "e6723c40-edb1-11ed-b816-da7ad0900002", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetTeamMembershipsInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getTeamMemberships:getTeamMemberships", args ?? new GetTeamMembershipsInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetUser.cs b/sdk/dotnet/GetUser.cs index 1de520728..f6dbadef1 100644 --- a/sdk/dotnet/GetUser.cs +++ b/sdk/dotnet/GetUser.cs @@ -13,56 +13,12 @@ public static class GetUser { /// /// Use this data source to retrieve information about an existing user to use it in an other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetUser.Invoke(new() - /// { - /// Filter = "user.name@company.com", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Task InvokeAsync(GetUserArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("datadog:index/getUser:getUser", args ?? new GetUserArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about an existing user to use it in an other resources. - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = Datadog.GetUser.Invoke(new() - /// { - /// Filter = "user.name@company.com", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} /// public static Output Invoke(GetUserInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("datadog:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/LogsArchive.cs b/sdk/dotnet/LogsArchive.cs index 1dd20f8ca..beab11c29 100644 --- a/sdk/dotnet/LogsArchive.cs +++ b/sdk/dotnet/LogsArchive.cs @@ -12,32 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Logs Archive API resource, which is used to create and manage Datadog logs archives. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myS3Archive = new Datadog.LogsArchive("myS3Archive", new() - /// { - /// Name = "my s3 archive", - /// Query = "service:myservice", - /// S3Archive = new Datadog.Inputs.LogsArchiveS3ArchiveArgs - /// { - /// AccountId = "001234567888", - /// Bucket = "my-bucket", - /// Path = "/path/foo", - /// RoleName = "my-role-name", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/LogsArchiveOrder.cs b/sdk/dotnet/LogsArchiveOrder.cs index d602ed1d9..04236cfab 100644 --- a/sdk/dotnet/LogsArchiveOrder.cs +++ b/sdk/dotnet/LogsArchiveOrder.cs @@ -12,28 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var sampleArchiveOrder = new Datadog.LogsArchiveOrder("sampleArchiveOrder", new() - /// { - /// ArchiveIds = new[] - /// { - /// datadog_logs_archive.Sample_archive_1.Id, - /// datadog_logs_archive.Sample_archive_2.Id, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order. diff --git a/sdk/dotnet/LogsIndex.cs b/sdk/dotnet/LogsIndex.cs index b14b91d7c..f57bbb37a 100644 --- a/sdk/dotnet/LogsIndex.cs +++ b/sdk/dotnet/LogsIndex.cs @@ -10,62 +10,6 @@ namespace Pulumi.Datadog { /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var sampleIndex = new Datadog.LogsIndex("sampleIndex", new() - /// { - /// DailyLimit = 200000, - /// ExclusionFilters = new[] - /// { - /// new Datadog.Inputs.LogsIndexExclusionFilterArgs - /// { - /// Filters = new[] - /// { - /// new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs - /// { - /// Query = "app:coredns", - /// SampleRate = 0.97, - /// }, - /// }, - /// IsEnabled = true, - /// Name = "Filter coredns logs", - /// }, - /// new Datadog.Inputs.LogsIndexExclusionFilterArgs - /// { - /// Filters = new[] - /// { - /// new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs - /// { - /// Query = "service:kube_apiserver", - /// SampleRate = 1, - /// }, - /// }, - /// IsEnabled = true, - /// Name = "Kubernetes apiserver", - /// }, - /// }, - /// Filters = new[] - /// { - /// new Datadog.Inputs.LogsIndexFilterArgs - /// { - /// Query = "*", - /// }, - /// }, - /// Name = "your index", - /// RetentionDays = 7, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/LogsIndexOrder.cs b/sdk/dotnet/LogsIndexOrder.cs index cfe62c56b..bc5f21830 100644 --- a/sdk/dotnet/LogsIndexOrder.cs +++ b/sdk/dotnet/LogsIndexOrder.cs @@ -12,28 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var sampleIndexOrder = new Datadog.LogsIndexOrder("sampleIndexOrder", new() - /// { - /// Name = "sample_index_order", - /// Indexes = new[] - /// { - /// datadog_logs_index.Sample_index.Id, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource `<name>` can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/dotnet/LogsIntegrationPipeline.cs b/sdk/dotnet/LogsIntegrationPipeline.cs index dc1f8f48b..42d3c850c 100644 --- a/sdk/dotnet/LogsIntegrationPipeline.cs +++ b/sdk/dotnet/LogsIntegrationPipeline.cs @@ -12,24 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Logs Pipeline API resource to manage the integrations. Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don't need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your `datadog.LogsPipelineOrder` resource. If you don't need the `pipeline_order` feature, this resource declaration can be omitted. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var python = new Datadog.LogsIntegrationPipeline("python", new() - /// { - /// IsEnabled = true, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// To find the pipeline ID, click the "view" button in the UI to open the pipeline details. The pipeline ID is the last part of the URL. diff --git a/sdk/dotnet/LogsMetric.cs b/sdk/dotnet/LogsMetric.cs index 4d5cdad35..72d9b275f 100644 --- a/sdk/dotnet/LogsMetric.cs +++ b/sdk/dotnet/LogsMetric.cs @@ -12,46 +12,6 @@ namespace Pulumi.Datadog /// /// Resource for interacting with the logs_metric API /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testingLogsMetric = new Datadog.LogsMetric("testingLogsMetric", new() - /// { - /// Compute = new Datadog.Inputs.LogsMetricComputeArgs - /// { - /// AggregationType = "distribution", - /// Path = "@duration", - /// }, - /// Filter = new Datadog.Inputs.LogsMetricFilterArgs - /// { - /// Query = "service:test", - /// }, - /// GroupBies = new[] - /// { - /// new Datadog.Inputs.LogsMetricGroupByArgs - /// { - /// Path = "@status", - /// TagName = "status", - /// }, - /// new Datadog.Inputs.LogsMetricGroupByArgs - /// { - /// Path = "@version", - /// TagName = "version", - /// }, - /// }, - /// Name = "testing.logs.metric", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/LogsPipelineOrder.cs b/sdk/dotnet/LogsPipelineOrder.cs index 809b17b02..51e575965 100644 --- a/sdk/dotnet/LogsPipelineOrder.cs +++ b/sdk/dotnet/LogsPipelineOrder.cs @@ -12,29 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var samplePipelineOrder = new Datadog.LogsPipelineOrder("samplePipelineOrder", new() - /// { - /// Name = "sample_pipeline_order", - /// Pipelines = new[] - /// { - /// datadog_logs_custom_pipeline.Sample_pipeline.Id, - /// datadog_logs_integration_pipeline.Python.Id, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation). diff --git a/sdk/dotnet/MetricMetadata.cs b/sdk/dotnet/MetricMetadata.cs index 114e78e56..706a54405 100644 --- a/sdk/dotnet/MetricMetadata.cs +++ b/sdk/dotnet/MetricMetadata.cs @@ -12,29 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog metric_metadata resource. This can be used to manage a metric's metadata. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Manage a Datadog metric's metadata - /// var requestTime = new Datadog.MetricMetadata("requestTime", new() - /// { - /// Description = "99th percentile request time in milliseconds", - /// Metric = "request.time", - /// ShortName = "Request time", - /// Type = "gauge", - /// Unit = "millisecond", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/MetricTagConfiguration.cs b/sdk/dotnet/MetricTagConfiguration.cs index ba38db38d..306faae06 100644 --- a/sdk/dotnet/MetricTagConfiguration.cs +++ b/sdk/dotnet/MetricTagConfiguration.cs @@ -12,57 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Manage a tag configuration for a Datadog distribution metric with/without percentiles - /// var exampleDistMetric = new Datadog.MetricTagConfiguration("exampleDistMetric", new() - /// { - /// IncludePercentiles = false, - /// MetricName = "example.terraform.dist.metric", - /// MetricType = "distribution", - /// Tags = new[] - /// { - /// "sport", - /// "datacenter", - /// }, - /// }); - /// - /// // Manage tag configurations for a Datadog count or gauge metric - /// var exampleCountMetric = new Datadog.MetricTagConfiguration("exampleCountMetric", new() - /// { - /// Aggregations = new[] - /// { - /// new Datadog.Inputs.MetricTagConfigurationAggregationArgs - /// { - /// Space = "min", - /// Time = "avg", - /// }, - /// new Datadog.Inputs.MetricTagConfigurationAggregationArgs - /// { - /// Space = "max", - /// Time = "avg", - /// }, - /// }, - /// MetricName = "example.terraform.count.metric", - /// MetricType = "count", - /// Tags = new[] - /// { - /// "sport", - /// "datacenter", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Monitor.cs b/sdk/dotnet/Monitor.cs index 2ccf94ed8..c383e33de 100644 --- a/sdk/dotnet/Monitor.cs +++ b/sdk/dotnet/Monitor.cs @@ -12,39 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.Monitor("foo", new() - /// { - /// EscalationMessage = "Escalation message @pagerduty", - /// IncludeTags = true, - /// Message = "Monitor triggered. Notify: @hipchat-channel", - /// MonitorThresholds = new Datadog.Inputs.MonitorMonitorThresholdsArgs - /// { - /// Critical = "4", - /// Warning = "2", - /// }, - /// Name = "Name for monitor foo", - /// Query = "avg(last_1h):avg:aws.ec2.cpu{environment:foo,host:foo} by {host} > 4", - /// Tags = new[] - /// { - /// "foo:bar", - /// "team:fooBar", - /// }, - /// Type = "metric alert", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/MonitorConfigPolicy.cs b/sdk/dotnet/MonitorConfigPolicy.cs index 46d37221a..08c758f8b 100644 --- a/sdk/dotnet/MonitorConfigPolicy.cs +++ b/sdk/dotnet/MonitorConfigPolicy.cs @@ -11,34 +11,6 @@ namespace Pulumi.Datadog { /// /// Provides a Datadog monitor config policy resource. This can be used to create and manage Datadog monitor config policies. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var test = new Datadog.MonitorConfigPolicy("test", new() - /// { - /// PolicyType = "tag", - /// TagPolicy = new Datadog.Inputs.MonitorConfigPolicyTagPolicyArgs - /// { - /// TagKey = "env", - /// TagKeyRequired = false, - /// ValidTagValues = new[] - /// { - /// "staging", - /// "prod", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:index/monitorConfigPolicy:MonitorConfigPolicy")] public partial class MonitorConfigPolicy : global::Pulumi.CustomResource diff --git a/sdk/dotnet/MonitorJson.cs b/sdk/dotnet/MonitorJson.cs index d15c082d9..133ca9a36 100644 --- a/sdk/dotnet/MonitorJson.cs +++ b/sdk/dotnet/MonitorJson.cs @@ -12,47 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var monitorJson = new Datadog.MonitorJson("monitorJson", new() - /// { - /// Monitor = @"{ - /// ""name"": ""Example monitor - service check"", - /// ""type"": ""service check"", - /// ""query"": ""\""ntp.in_sync\"".by(\""*\"").last(2).count_by_status()"", - /// ""message"": ""Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\n\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution."", - /// ""tags"": [], - /// ""multi"": true, - /// ""restricted_roles"": null, - /// ""options"": { - /// ""include_tags"": true, - /// ""locked"": false, - /// ""new_host_delay"": 150, - /// ""notify_audit"": false, - /// ""notify_no_data"": false, - /// ""thresholds"": { - /// ""warning"": 1, - /// ""ok"": 1, - /// ""critical"": 1 - /// } - /// }, - /// ""priority"": null, - /// ""classification"": ""custom"" - /// } - /// ", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/OpsGenie/ServiceObject.cs b/sdk/dotnet/OpsGenie/ServiceObject.cs index 734e5ec29..9edfa8b6d 100644 --- a/sdk/dotnet/OpsGenie/ServiceObject.cs +++ b/sdk/dotnet/OpsGenie/ServiceObject.cs @@ -11,33 +11,6 @@ namespace Pulumi.Datadog.OpsGenie { /// /// Resource for interacting with Datadog Opsgenie Service API. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fakeServiceName = new Datadog.OpsGenie.ServiceObject("fakeServiceName", new() - /// { - /// Name = "fake_service_name", - /// OpsgenieApiKey = "00000000-0000-0000-0000-000000000000", - /// Region = "us", - /// }); - /// - /// var fakeServiceName2 = new Datadog.OpsGenie.ServiceObject("fakeServiceName2", new() - /// { - /// Name = "fake_service_name_2", - /// OpsgenieApiKey = "11111111-1111-1111-1111-111111111111", - /// Region = "eu", - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:opsgenie/serviceObject:ServiceObject")] public partial class ServiceObject : global::Pulumi.CustomResource diff --git a/sdk/dotnet/OrganizationSettings.cs b/sdk/dotnet/OrganizationSettings.cs index b7cc354f9..f5e2f6fc8 100644 --- a/sdk/dotnet/OrganizationSettings.cs +++ b/sdk/dotnet/OrganizationSettings.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Organization resource. This can be used to manage your Datadog organization's settings. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Manage Datadog Organization - /// var organization = new Datadog.OrganizationSettings("organization", new() - /// { - /// Name = "foo-organization", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/PagerDuty/Integration.cs b/sdk/dotnet/PagerDuty/Integration.cs index a3177e24f..f2a3ade7e 100644 --- a/sdk/dotnet/PagerDuty/Integration.cs +++ b/sdk/dotnet/PagerDuty/Integration.cs @@ -11,54 +11,6 @@ namespace Pulumi.Datadog.PagerDuty { /// /// Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var pd = new Datadog.PagerDuty.Integration("pd", new() - /// { - /// ApiToken = "38457822378273432587234242874", - /// Schedules = new[] - /// { - /// "https://ddog.pagerduty.com/schedules/X123VF", - /// "https://ddog.pagerduty.com/schedules/X321XX", - /// }, - /// Subdomain = "ddog", - /// }); - /// - /// var testingFoo = new Datadog.PagerDuty.ServiceObject("testingFoo", new() - /// { - /// ServiceKey = "9876543210123456789", - /// ServiceName = "testing_foo", - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// "datadog_integration_pagerduty.pd", - /// }, - /// }); - /// - /// var testingBar = new Datadog.PagerDuty.ServiceObject("testingBar", new() - /// { - /// ServiceKey = "54321098765432109876", - /// ServiceName = "testing_bar", - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// "datadog_integration_pagerduty.pd", - /// }, - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:pagerduty/integration:Integration")] public partial class Integration : global::Pulumi.CustomResource diff --git a/sdk/dotnet/PagerDuty/ServiceObject.cs b/sdk/dotnet/PagerDuty/ServiceObject.cs index 2c9fe20b2..0437abe44 100644 --- a/sdk/dotnet/PagerDuty/ServiceObject.cs +++ b/sdk/dotnet/PagerDuty/ServiceObject.cs @@ -11,31 +11,6 @@ namespace Pulumi.Datadog.PagerDuty { /// /// Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testingFoo = new Datadog.PagerDuty.ServiceObject("testingFoo", new() - /// { - /// ServiceKey = "9876543210123456789", - /// ServiceName = "testing_foo", - /// }); - /// - /// var testingBar = new Datadog.PagerDuty.ServiceObject("testingBar", new() - /// { - /// ServiceKey = "54321098765432109876", - /// ServiceName = "testing_bar", - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:pagerduty/serviceObject:ServiceObject")] public partial class ServiceObject : global::Pulumi.CustomResource diff --git a/sdk/dotnet/RestrictionPolicy.cs b/sdk/dotnet/RestrictionPolicy.cs index 46566b0ef..2097b07a8 100644 --- a/sdk/dotnet/RestrictionPolicy.cs +++ b/sdk/dotnet/RestrictionPolicy.cs @@ -12,43 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog RestrictionPolicy resource. This can be used to create and manage Datadog restriction policies. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.RestrictionPolicy("foo", new() - /// { - /// Bindings = new[] - /// { - /// new Datadog.Inputs.RestrictionPolicyBindingArgs - /// { - /// Principals = new[] - /// { - /// "role:00000000-0000-1111-0000-000000000000", - /// }, - /// Relation = "editor", - /// }, - /// new Datadog.Inputs.RestrictionPolicyBindingArgs - /// { - /// Principals = new[] - /// { - /// "org:10000000-0000-1111-0000-000000000000", - /// }, - /// Relation = "viewer", - /// }, - /// }, - /// ResourceId = "security-rule:abc-def-ghi", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Role.cs b/sdk/dotnet/Role.cs index b05dde944..62be3d944 100644 --- a/sdk/dotnet/Role.cs +++ b/sdk/dotnet/Role.cs @@ -12,38 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog role resource. This can be used to create and manage Datadog roles. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var bar = Datadog.GetPermissions.Invoke(); - /// - /// // Create a new Datadog role - /// var foo = new Datadog.Role("foo", new() - /// { - /// Name = "foo", - /// Permissions = new[] - /// { - /// new Datadog.Inputs.RolePermissionArgs - /// { - /// Id = bar.Apply(getPermissionsResult => getPermissionsResult.Permissions?.MonitorsDowntime), - /// }, - /// new Datadog.Inputs.RolePermissionArgs - /// { - /// Id = bar.Apply(getPermissionsResult => getPermissionsResult.Permissions?.MonitorsWrite), - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Roles can be imported using their ID, e.g. diff --git a/sdk/dotnet/RumApplication.cs b/sdk/dotnet/RumApplication.cs index 762db97f8..5228145e0 100644 --- a/sdk/dotnet/RumApplication.cs +++ b/sdk/dotnet/RumApplication.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var rumApplication = new Datadog.RumApplication("rumApplication", new() - /// { - /// Name = "my-application", - /// Type = "browser", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/SecurityMonitoringDefaultRule.cs b/sdk/dotnet/SecurityMonitoringDefaultRule.cs index 3bb08ec49..05f4b9c50 100644 --- a/sdk/dotnet/SecurityMonitoringDefaultRule.cs +++ b/sdk/dotnet/SecurityMonitoringDefaultRule.cs @@ -12,35 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var adefaultrule = new Datadog.SecurityMonitoringDefaultRule("adefaultrule", new() - /// { - /// Cases = new[] - /// { - /// new Datadog.Inputs.SecurityMonitoringDefaultRuleCaseArgs - /// { - /// Notifications = new[] - /// { - /// "@me", - /// }, - /// Status = "high", - /// }, - /// }, - /// Enabled = true, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Default rules need to be imported using their ID before applying. resource "datadog_security_monitoring_default_rule" "adefaultrule" { } diff --git a/sdk/dotnet/SecurityMonitoringFilter.cs b/sdk/dotnet/SecurityMonitoringFilter.cs index 3b7275b87..1fe939207 100644 --- a/sdk/dotnet/SecurityMonitoringFilter.cs +++ b/sdk/dotnet/SecurityMonitoringFilter.cs @@ -12,39 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Security Monitoring Rule API resource for security filters. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myFilter = new Datadog.SecurityMonitoringFilter("myFilter", new() - /// { - /// ExclusionFilters = new[] - /// { - /// new Datadog.Inputs.SecurityMonitoringFilterExclusionFilterArgs - /// { - /// Name = "first", - /// Query = "exclude some logs", - /// }, - /// new Datadog.Inputs.SecurityMonitoringFilterExclusionFilterArgs - /// { - /// Name = "second", - /// Query = "exclude some other logs", - /// }, - /// }, - /// IsEnabled = true, - /// Name = "My filter", - /// Query = "The filter is filtering.", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Security monitoring filters can be imported using ID, e.g. diff --git a/sdk/dotnet/SecurityMonitoringRule.cs b/sdk/dotnet/SecurityMonitoringRule.cs index 30e0dfa02..48396b3f9 100644 --- a/sdk/dotnet/SecurityMonitoringRule.cs +++ b/sdk/dotnet/SecurityMonitoringRule.cs @@ -12,71 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use `datadog_security_default_rule` instead. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myrule = new Datadog.SecurityMonitoringRule("myrule", new() - /// { - /// Cases = new[] - /// { - /// new Datadog.Inputs.SecurityMonitoringRuleCaseArgs - /// { - /// Condition = "errors > 3 && warnings > 10", - /// Notifications = new[] - /// { - /// "@user", - /// }, - /// Status = "high", - /// }, - /// }, - /// Enabled = true, - /// Message = "The rule has triggered.", - /// Name = "My rule", - /// Options = new Datadog.Inputs.SecurityMonitoringRuleOptionsArgs - /// { - /// EvaluationWindow = 300, - /// KeepAlive = 600, - /// MaxSignalDuration = 900, - /// }, - /// Queries = new[] - /// { - /// new Datadog.Inputs.SecurityMonitoringRuleQueryArgs - /// { - /// Aggregation = "count", - /// GroupByFields = new[] - /// { - /// "host", - /// }, - /// Name = "errors", - /// Query = "status:error", - /// }, - /// new Datadog.Inputs.SecurityMonitoringRuleQueryArgs - /// { - /// Aggregation = "count", - /// GroupByFields = new[] - /// { - /// "host", - /// }, - /// Name = "warnings", - /// Query = "status:warning", - /// }, - /// }, - /// Tags = new[] - /// { - /// "type:dos", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/dotnet/SensitiveDataScannerGroup.cs b/sdk/dotnet/SensitiveDataScannerGroup.cs index 24bd4bab0..ebe2c069d 100644 --- a/sdk/dotnet/SensitiveDataScannerGroup.cs +++ b/sdk/dotnet/SensitiveDataScannerGroup.cs @@ -12,34 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Sensitive Data Scanner group resource. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var mygroup = new Datadog.SensitiveDataScannerGroup("mygroup", new() - /// { - /// Description = "A relevant description", - /// Filter = new Datadog.Inputs.SensitiveDataScannerGroupFilterArgs - /// { - /// Query = "service:my-service", - /// }, - /// IsEnabled = true, - /// Name = "My new scanning group", - /// ProductLists = new[] - /// { - /// "apm", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/SensitiveDataScannerGroupOrder.cs b/sdk/dotnet/SensitiveDataScannerGroupOrder.cs index 7838497dd..d68f9d73c 100644 --- a/sdk/dotnet/SensitiveDataScannerGroupOrder.cs +++ b/sdk/dotnet/SensitiveDataScannerGroupOrder.cs @@ -12,29 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Sensitive Data Scanner Group Order API resource. This can be used to manage the order of Datadog Sensitive Data Scanner Groups. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var mygrouporder = new Datadog.SensitiveDataScannerGroupOrder("mygrouporder", new() - /// { - /// GroupIds = new[] - /// { - /// "group-id-1", - /// "group-id-2", - /// "group-id-3", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/SensitiveDataScannerRule.cs b/sdk/dotnet/SensitiveDataScannerRule.cs index e8215e67a..7efd90b17 100644 --- a/sdk/dotnet/SensitiveDataScannerRule.cs +++ b/sdk/dotnet/SensitiveDataScannerRule.cs @@ -12,80 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group - /// var mygroup = new Datadog.SensitiveDataScannerGroup("mygroup", new() - /// { - /// Name = "My new scanning group", - /// Description = "A relevant description", - /// Filter = new Datadog.Inputs.SensitiveDataScannerGroupFilterArgs - /// { - /// Query = "service:my-service", - /// }, - /// IsEnabled = true, - /// ProductLists = new[] - /// { - /// "apm", - /// }, - /// }); - /// - /// var myrule = new Datadog.SensitiveDataScannerRule("myrule", new() - /// { - /// Name = "My new rule", - /// Description = "Another description", - /// GroupId = mygroup.Id, - /// ExcludedNamespaces = new[] - /// { - /// "username", - /// }, - /// IsEnabled = true, - /// Pattern = "myregex", - /// Tags = new[] - /// { - /// "sensitive_data:true", - /// }, - /// TextReplacement = new Datadog.Inputs.SensitiveDataScannerRuleTextReplacementArgs - /// { - /// NumberOfChars = 0, - /// ReplacementString = "", - /// Type = "hash", - /// }, - /// }); - /// - /// var awsSp = Datadog.GetSensitiveDataScannerStandardPattern.Invoke(new() - /// { - /// Filter = "AWS Access Key ID Scanner", - /// }); - /// - /// var mylibraryrule = new Datadog.SensitiveDataScannerRule("mylibraryrule", new() - /// { - /// Name = "My library rule", - /// Description = "A description", - /// GroupId = mygroup.Id, - /// StandardPatternId = awsSp.Apply(getSensitiveDataScannerStandardPatternResult => getSensitiveDataScannerStandardPatternResult.Id), - /// ExcludedNamespaces = new[] - /// { - /// "username", - /// }, - /// IsEnabled = true, - /// Tags = new[] - /// { - /// "sensitive_data:true", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/ServiceAccount.cs b/sdk/dotnet/ServiceAccount.cs index b959727f4..a41b851dd 100644 --- a/sdk/dotnet/ServiceAccount.cs +++ b/sdk/dotnet/ServiceAccount.cs @@ -12,35 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var roRole = Datadog.GetRole.Invoke(new() - /// { - /// Filter = "Datadog Read Only Role", - /// }); - /// - /// // Create a new Datadog service account - /// var bar = new Datadog.ServiceAccount("bar", new() - /// { - /// Email = "new@example.com", - /// Name = "Service Account Bar", - /// Roles = new[] - /// { - /// roRole.Apply(getRoleResult => getRoleResult.Id), - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/ServiceAccountApplicationKey.cs b/sdk/dotnet/ServiceAccountApplicationKey.cs index 271fdb186..75d3b8487 100644 --- a/sdk/dotnet/ServiceAccountApplicationKey.cs +++ b/sdk/dotnet/ServiceAccountApplicationKey.cs @@ -12,26 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog `service_account_application_key` resource. This can be used to create and manage Datadog service account application keys. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create new service_account_application_key resource - /// var foo = new Datadog.ServiceAccountApplicationKey("foo", new() - /// { - /// Name = "Application key for managing dashboards", - /// ServiceAccountId = "00000000-0000-1234-0000-000000000000", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Importing a service account's application key cannot import the value of the key. diff --git a/sdk/dotnet/ServiceDefinitionYaml.cs b/sdk/dotnet/ServiceDefinitionYaml.cs index 6b3d87f23..ed102c719 100644 --- a/sdk/dotnet/ServiceDefinitionYaml.cs +++ b/sdk/dotnet/ServiceDefinitionYaml.cs @@ -12,135 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog service definition resource. This can be used to create and manage Datadog service definitions in the service catalog using the YAML/JSON definition. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Service Definition with v2.1 Schema Definition - /// var serviceDefinitionV21 = new Datadog.ServiceDefinitionYaml("serviceDefinitionV21", new() - /// { - /// ServiceDefinition = @"schema-version: v2.1 - /// dd-service: shopping-cart - /// team: e-commerce-team - /// contacts: - /// - name: Support Email - /// type: email - /// contact: team@shopping.com - /// - name: Support Slack - /// type: slack - /// contact: https://www.slack.com/archives/shopping-cart - /// description: shopping cart service responsible for managing shopping carts - /// tier: high - /// lifecycle: production - /// application: e-commerce - /// links: - /// - name: shopping-cart runbook - /// type: runbook - /// url: https://runbook/shopping-cart - /// - name: shopping-cart architecture - /// type: doc - /// provider: gdoc - /// url: https://google.drive/shopping-cart-architecture - /// - name: shopping-cart service Wiki - /// type: doc - /// provider: wiki - /// url: https://wiki/shopping-cart - /// - name: shopping-cart source code - /// type: repo - /// provider: github - /// url: http://github/shopping-cart - /// tags: - /// - business-unit:retail - /// - cost-center:engineering - /// integrations: - /// pagerduty: - /// service-url: https://www.pagerduty.com/service-directory/Pshopping-cart - /// extensions: - /// mycompany.com/shopping-cart: - /// customField: customValue - /// - /// ", - /// }); - /// - /// // Service Definition with v2 Schema Definition - /// var serviceDefinitionV2 = new Datadog.ServiceDefinitionYaml("serviceDefinitionV2", new() - /// { - /// ServiceDefinition = @"schema-version: v2 - /// dd-service: shopping-cart - /// team: E Commerce - /// contacts: - /// - name: Support Email - /// type: email - /// contact: team@shopping.com - /// - name: Support Slack - /// type: slack - /// contact: https://www.slack.com/archives/shopping-cart - /// repos: - /// - name: shopping-cart source code - /// provider: github - /// url: http://github/shopping-cart - /// docs: - /// - name: shopping-cart architecture - /// provider: gdoc - /// url: https://google.drive/shopping-cart-architecture - /// - name: shopping-cart service Wiki - /// provider: wiki - /// url: https://wiki/shopping-cart - /// links: - /// - name: shopping-cart runbook - /// type: runbook - /// url: https://runbook/shopping-cart - /// tags: - /// - business-unit:retail - /// - cost-center:engineering - /// integrations: - /// pagerduty: https://www.pagerduty.com/service-directory/Pshopping-cart - /// extensions: - /// datadoghq.com/shopping-cart: - /// customField: customValue - /// - /// ", - /// }); - /// - /// // Service Definition with backstage.io Schema - /// var serviceDefinitionBackstage = new Datadog.ServiceDefinitionYaml("serviceDefinitionBackstage", new() - /// { - /// ServiceDefinition = @"apiVersion: backstage.io/v1alpha1 - /// kind: Component - /// metadata: - /// annotations: - /// backstage.io/techdocs-ref: http://a/b/c - /// some.annotation: value - /// namespace: default - /// name: shopping-cart - /// title: Shopping Cart - /// description: A shopping cart service - /// tags: [""taga:valuea"", ""tagb:valueb""] - /// links: - /// - title: Wiki - /// url: https://wiki/shopping-cart - /// icon: help - /// ignore-attribute: - /// id: 1 - /// value: ""value"" - /// spec: - /// type: service - /// lifecycle: production - /// owner: e-commerce - /// system: retail - /// - /// ", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/ServiceLevelObjective.cs b/sdk/dotnet/ServiceLevelObjective.cs index 61c6aeb1d..6fd7a87ec 100644 --- a/sdk/dotnet/ServiceLevelObjective.cs +++ b/sdk/dotnet/ServiceLevelObjective.cs @@ -12,94 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Metric-Based SLO - /// // Create a new Datadog service level objective - /// var foo = new Datadog.ServiceLevelObjective("foo", new() - /// { - /// Description = "My custom metric SLO", - /// Name = "Example Metric SLO", - /// Query = new Datadog.Inputs.ServiceLevelObjectiveQueryArgs - /// { - /// Denominator = "sum:my.custom.count.metric{*}.as_count()", - /// Numerator = "sum:my.custom.count.metric{type:good_events}.as_count()", - /// }, - /// Tags = new[] - /// { - /// "foo:bar", - /// "baz", - /// }, - /// TargetThreshold = 99.9, - /// Thresholds = new[] - /// { - /// new Datadog.Inputs.ServiceLevelObjectiveThresholdArgs - /// { - /// Target = 99.9, - /// Timeframe = "7d", - /// Warning = 99.99, - /// }, - /// new Datadog.Inputs.ServiceLevelObjectiveThresholdArgs - /// { - /// Target = 99.9, - /// Timeframe = "30d", - /// Warning = 99.99, - /// }, - /// }, - /// Timeframe = "30d", - /// Type = "metric", - /// WarningThreshold = 99.99, - /// }); - /// - /// // Monitor-Based SLO - /// // Create a new Datadog service level objective - /// var bar = new Datadog.ServiceLevelObjective("bar", new() - /// { - /// Description = "My custom monitor SLO", - /// MonitorIds = new[] - /// { - /// 1, - /// 2, - /// 3, - /// }, - /// Name = "Example Monitor SLO", - /// Tags = new[] - /// { - /// "foo:bar", - /// "baz", - /// }, - /// TargetThreshold = 99.9, - /// Thresholds = new[] - /// { - /// new Datadog.Inputs.ServiceLevelObjectiveThresholdArgs - /// { - /// Target = 99.9, - /// Timeframe = "7d", - /// Warning = 99.99, - /// }, - /// new Datadog.Inputs.ServiceLevelObjectiveThresholdArgs - /// { - /// Target = 99.9, - /// Timeframe = "30d", - /// Warning = 99.99, - /// }, - /// }, - /// Timeframe = "30d", - /// Type = "monitor", - /// WarningThreshold = 99.99, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Service Level Objectives can be imported using their string ID, e.g. diff --git a/sdk/dotnet/Slack/Channel.cs b/sdk/dotnet/Slack/Channel.cs index e182840e1..f722b3c6d 100644 --- a/sdk/dotnet/Slack/Channel.cs +++ b/sdk/dotnet/Slack/Channel.cs @@ -12,32 +12,6 @@ namespace Pulumi.Datadog.Slack /// /// Resource for interacting with the Datadog Slack channel API /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testChannel = new Datadog.Slack.Channel("testChannel", new() - /// { - /// AccountName = "foo", - /// ChannelName = "#test_channel", - /// Display = new Datadog.Slack.Inputs.ChannelDisplayArgs - /// { - /// Message = true, - /// Notified = false, - /// Snapshot = false, - /// Tags = true, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`). diff --git a/sdk/dotnet/SloCorrection.cs b/sdk/dotnet/SloCorrection.cs index abfa4fa48..df55d3161 100644 --- a/sdk/dotnet/SloCorrection.cs +++ b/sdk/dotnet/SloCorrection.cs @@ -12,66 +12,6 @@ namespace Pulumi.Datadog /// /// Resource for interacting with the slo_correction API. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog SLO correction. slo_id can be derived from slo resource or specify an slo id of an existing SLO. - /// var exampleSlo = new Datadog.ServiceLevelObjective("exampleSlo", new() - /// { - /// Name = "example slo", - /// Type = "metric", - /// Description = "some updated description about example_slo SLO", - /// Query = new Datadog.Inputs.ServiceLevelObjectiveQueryArgs - /// { - /// Numerator = "sum:my.metric{type:good}.as_count()", - /// Denominator = "sum:my.metric{type:good}.as_count() + sum:my.metric{type:bad}.as_count()", - /// }, - /// Thresholds = new[] - /// { - /// new Datadog.Inputs.ServiceLevelObjectiveThresholdArgs - /// { - /// Timeframe = "7d", - /// Target = 99.5, - /// Warning = 99.8, - /// }, - /// }, - /// Tags = new[] - /// { - /// "foo:bar", - /// }, - /// }); - /// - /// var exampleSloCorrection = new Datadog.SloCorrection("exampleSloCorrection", new() - /// { - /// Category = "Scheduled Maintenance", - /// Description = "correction example", - /// Start = 1735707000, - /// End = 1735718600, - /// SloId = exampleSlo.Id, - /// Timezone = "UTC", - /// }); - /// - /// var exampleSloCorrectionWithRecurrence = new Datadog.SloCorrection("exampleSloCorrectionWithRecurrence", new() - /// { - /// Category = "Scheduled Maintenance", - /// Description = "correction example with recurrence", - /// Start = 1735707000, - /// Rrule = "FREQ=DAILY;INTERVAL=3;COUNT=3", - /// Duration = 3600, - /// SloId = exampleSlo.Id, - /// Timezone = "UTC", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/SyntheticsConcurrencyCap.cs b/sdk/dotnet/SyntheticsConcurrencyCap.cs index 8107d75ab..0a6510c38 100644 --- a/sdk/dotnet/SyntheticsConcurrencyCap.cs +++ b/sdk/dotnet/SyntheticsConcurrencyCap.cs @@ -12,25 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Synthetics On Demand Concurrency Cap API resource. This can be used to manage the Concurrency Cap for Synthetic tests. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Example Usage (Synthetics Concurrency Cap Configuration) - /// var @this = new Datadog.SyntheticsConcurrencyCap("this", new() - /// { - /// OnDemandConcurrencyCap = 1, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// The Synthetics concurrency cap can be imported. <name> can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/dotnet/SyntheticsGlobalVariable.cs b/sdk/dotnet/SyntheticsGlobalVariable.cs index 81ed1ad64..e5c4fee07 100644 --- a/sdk/dotnet/SyntheticsGlobalVariable.cs +++ b/sdk/dotnet/SyntheticsGlobalVariable.cs @@ -12,31 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testVariable = new Datadog.SyntheticsGlobalVariable("testVariable", new() - /// { - /// Description = "Description of the variable", - /// Name = "EXAMPLE_VARIABLE", - /// Tags = new[] - /// { - /// "foo:bar", - /// "env:test", - /// }, - /// Value = "variable-value", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Synthetics global variables can be imported using their string ID, e.g. diff --git a/sdk/dotnet/SyntheticsPrivateLocation.cs b/sdk/dotnet/SyntheticsPrivateLocation.cs index e51da8945..713c7c0d2 100644 --- a/sdk/dotnet/SyntheticsPrivateLocation.cs +++ b/sdk/dotnet/SyntheticsPrivateLocation.cs @@ -12,30 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var privateLocation = new Datadog.SyntheticsPrivateLocation("privateLocation", new() - /// { - /// Description = "Description of the private location", - /// Name = "First private location", - /// Tags = new[] - /// { - /// "foo:bar", - /// "env:test", - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Synthetics private locations can be imported using their string ID, e.g. diff --git a/sdk/dotnet/SyntheticsTest.cs b/sdk/dotnet/SyntheticsTest.cs index 56e1c19c1..1bf3c8891 100644 --- a/sdk/dotnet/SyntheticsTest.cs +++ b/sdk/dotnet/SyntheticsTest.cs @@ -19,418 +19,9 @@ namespace Pulumi.Datadog /// /// In practice, it means going from (simplified configuration): /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// - /// return await Deployment.RunAsync(() => - /// { - /// }); - /// ``` - /// /// to /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// - /// return await Deployment.RunAsync(() => - /// { - /// }); - /// ``` - /// /// which you can now use in your request definition: - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// - /// return await Deployment.RunAsync(() => - /// { - /// }); - /// ``` - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Example Usage (Synthetics API test) - /// // Create a new Datadog Synthetics API/HTTP test on https://www.example.org - /// var testUptime = new Datadog.SyntheticsTest("testUptime", new() - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestAssertionArgs - /// { - /// Operator = "is", - /// Target = "200", - /// Type = "statusCode", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @pagerduty", - /// Name = "An Uptime test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs - /// { - /// RenotifyInterval = 120, - /// }, - /// Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs - /// { - /// Count = 2, - /// Interval = 300, - /// }, - /// TickEvery = 900, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Method = "GET", - /// Url = "https://www.example.org", - /// }, - /// RequestHeaders = - /// { - /// { "Content-Type", "application/json" }, - /// }, - /// Status = "live", - /// Subtype = "http", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Authenticated API test) - /// // Create a new Datadog Synthetics API/HTTP test on https://www.example.org - /// var testApi = new Datadog.SyntheticsTest("testApi", new() - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestAssertionArgs - /// { - /// Operator = "is", - /// Target = "200", - /// Type = "statusCode", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @pagerduty", - /// Name = "An API test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs - /// { - /// RenotifyInterval = 120, - /// }, - /// Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs - /// { - /// Count = 2, - /// Interval = 300, - /// }, - /// TickEvery = 900, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Method = "GET", - /// Url = "https://www.example.org", - /// }, - /// RequestHeaders = - /// { - /// { "Authentication", "Token: 1234566789" }, - /// { "Content-Type", "application/json" }, - /// }, - /// Status = "live", - /// Subtype = "http", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Synthetics SSL test) - /// // Create a new Datadog Synthetics API/SSL test on example.org - /// var testSsl = new Datadog.SyntheticsTest("testSsl", new() - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestAssertionArgs - /// { - /// Operator = "isInMoreThan", - /// Target = "30", - /// Type = "certificate", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @pagerduty", - /// Name = "An API test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// AcceptSelfSigned = true, - /// TickEvery = 900, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Host = "example.org", - /// Port = 443, - /// }, - /// Status = "live", - /// Subtype = "ssl", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Synthetics TCP test) - /// // Create a new Datadog Synthetics API/TCP test on example.org - /// var testTcp = new Datadog.SyntheticsTest("testTcp", new() - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestAssertionArgs - /// { - /// Operator = "lessThan", - /// Target = "2000", - /// Type = "responseTime", - /// }, - /// }, - /// ConfigVariables = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestConfigVariableArgs - /// { - /// Id = "76636cd1-82e2-4aeb-9cfe-51366a8198a2", - /// Name = "MY_GLOBAL_VAR", - /// Type = "global", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @pagerduty", - /// Name = "An API test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// TickEvery = 900, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Host = "example.org", - /// Port = 443, - /// }, - /// Status = "live", - /// Subtype = "tcp", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Synthetics DNS test) - /// // Create a new Datadog Synthetics API/DNS test on example.org - /// var testDns = new Datadog.SyntheticsTest("testDns", new() - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestAssertionArgs - /// { - /// Operator = "is", - /// Property = "A", - /// Target = "0.0.0.0", - /// Type = "recordSome", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @pagerduty", - /// Name = "An API test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// TickEvery = 900, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Host = "example.org", - /// }, - /// Status = "live", - /// Subtype = "dns", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Synthetics Multistep API test) - /// // Create a new Datadog Synthetics Multistep API test - /// var testMultiStep = new Datadog.SyntheticsTest("testMultiStep", new() - /// { - /// ApiSteps = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestApiStepArgs - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs - /// { - /// Operator = "is", - /// Target = "200", - /// Type = "statusCode", - /// }, - /// }, - /// Name = "An API test on example.org", - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs - /// { - /// Method = "GET", - /// Url = "https://example.org", - /// }, - /// RequestHeaders = - /// { - /// { "Authentication", "Token: 1234566789" }, - /// { "Content-Type", "application/json" }, - /// }, - /// Subtype = "http", - /// }, - /// new Datadog.Inputs.SyntheticsTestApiStepArgs - /// { - /// Assertions = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs - /// { - /// Operator = "is", - /// Target = "200", - /// Type = "statusCode", - /// }, - /// }, - /// Name = "An API test on example.org", - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs - /// { - /// Method = "GET", - /// Url = "http://example.org", - /// }, - /// Subtype = "http", - /// }, - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Name = "Multistep API test", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// AcceptSelfSigned = true, - /// TickEvery = 900, - /// }, - /// Status = "live", - /// Subtype = "multi", - /// Tags = new[] - /// { - /// "foo:bar", - /// "foo", - /// "env:test", - /// }, - /// Type = "api", - /// }); - /// - /// // Example Usage (Synthetics Browser test) - /// // Create a new Datadog Synthetics Browser test starting on https://www.example.org - /// var testBrowser = new Datadog.SyntheticsTest("testBrowser", new() - /// { - /// BrowserSteps = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestBrowserStepArgs - /// { - /// Name = "Check current url", - /// Params = new Datadog.Inputs.SyntheticsTestBrowserStepParamsArgs - /// { - /// Check = "contains", - /// Value = "datadoghq", - /// }, - /// Type = "assertCurrentUrl", - /// }, - /// }, - /// BrowserVariables = new[] - /// { - /// new Datadog.Inputs.SyntheticsTestBrowserVariableArgs - /// { - /// Example = "597", - /// Name = "MY_PATTERN_VAR", - /// Pattern = "{{numeric(3)}}", - /// Type = "text", - /// }, - /// new Datadog.Inputs.SyntheticsTestBrowserVariableArgs - /// { - /// Example = "jd8-afe-ydv.4546132139@synthetics.dtdg.co", - /// Name = "MY_EMAIL_VAR", - /// Pattern = "jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co", - /// Type = "email", - /// }, - /// new Datadog.Inputs.SyntheticsTestBrowserVariableArgs - /// { - /// Id = "76636cd1-82e2-4aeb-9cfe-51366a8198a2", - /// Name = "MY_GLOBAL_VAR", - /// Type = "global", - /// }, - /// }, - /// DeviceIds = new[] - /// { - /// "laptop_large", - /// }, - /// Locations = new[] - /// { - /// "aws:eu-central-1", - /// }, - /// Message = "Notify @qa", - /// Name = "A Browser test on example.org", - /// OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs - /// { - /// TickEvery = 3600, - /// }, - /// RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs - /// { - /// Method = "GET", - /// Url = "https://app.datadoghq.com", - /// }, - /// Status = "paused", - /// Tags = new[] {}, - /// Type = "browser", - /// }); - /// - /// }); - /// ``` /// /// ## Import /// diff --git a/sdk/dotnet/Team.cs b/sdk/dotnet/Team.cs index a3b8019d3..7639c6304 100644 --- a/sdk/dotnet/Team.cs +++ b/sdk/dotnet/Team.cs @@ -12,26 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog Team resource. This can be used to create and manage Datadog team. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.Team("foo", new() - /// { - /// Description = "Team description", - /// Handle = "example-team", - /// Name = "Example Team", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/TeamLink.cs b/sdk/dotnet/TeamLink.cs index a425e47e5..150da5cfb 100644 --- a/sdk/dotnet/TeamLink.cs +++ b/sdk/dotnet/TeamLink.cs @@ -12,35 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog TeamLink resource. This can be used to create and manage Datadog team_link. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fooTeam = new Datadog.Team("fooTeam", new() - /// { - /// Description = "Example team", - /// Handle = "example-team-updated", - /// Name = "Example Team-updated", - /// }); - /// - /// // Create new team_link resource - /// var fooTeamLink = new Datadog.TeamLink("fooTeamLink", new() - /// { - /// TeamId = fooTeam.Id, - /// Label = "Link label", - /// Position = "Example link", - /// Url = "https://example.com", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/TeamMembership.cs b/sdk/dotnet/TeamMembership.cs index 95ae8f06e..e2a350de5 100644 --- a/sdk/dotnet/TeamMembership.cs +++ b/sdk/dotnet/TeamMembership.cs @@ -12,39 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fooTeam = new Datadog.Team("fooTeam", new() - /// { - /// Description = "Example team", - /// Handle = "example-team-updated", - /// Name = "Example Team-updated", - /// }); - /// - /// var fooUser = new Datadog.User("fooUser", new() - /// { - /// Email = "new@example.com", - /// }); - /// - /// // Create new team_membership resource - /// var fooTeamMembership = new Datadog.TeamMembership("fooTeamMembership", new() - /// { - /// TeamId = fooTeam.Id, - /// UserId = fooUser.Id, - /// Role = "admin", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// This resource is imported using team_id and user_id seperated by `:`. diff --git a/sdk/dotnet/TeamPermissionSetting.cs b/sdk/dotnet/TeamPermissionSetting.cs index dd8e1ec29..99e47b0ac 100644 --- a/sdk/dotnet/TeamPermissionSetting.cs +++ b/sdk/dotnet/TeamPermissionSetting.cs @@ -11,33 +11,6 @@ namespace Pulumi.Datadog { /// /// Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var fooTeam = new Datadog.Team("fooTeam", new() - /// { - /// Description = "Example team", - /// Handle = "example-team-updated", - /// Name = "Example Team-updated", - /// }); - /// - /// var fooTeamPermissionSetting = new Datadog.TeamPermissionSetting("fooTeamPermissionSetting", new() - /// { - /// TeamId = fooTeam.Id, - /// Action = "manage_membership", - /// Value = "organization", - /// }); - /// - /// }); - /// ``` /// [DatadogResourceType("datadog:index/teamPermissionSetting:TeamPermissionSetting")] public partial class TeamPermissionSetting : global::Pulumi.CustomResource diff --git a/sdk/dotnet/User.cs b/sdk/dotnet/User.cs index cd3485e5c..577a8764d 100644 --- a/sdk/dotnet/User.cs +++ b/sdk/dotnet/User.cs @@ -12,34 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog user resource. This can be used to create and manage Datadog users. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var roRole = Datadog.GetRole.Invoke(new() - /// { - /// Filter = "Datadog Read Only Role", - /// }); - /// - /// // Create a new Datadog user - /// var foo = new Datadog.User("foo", new() - /// { - /// Email = "new@example.com", - /// Roles = new[] - /// { - /// roRole.Apply(getRoleResult => getRoleResult.Id), - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/Webhook.cs b/sdk/dotnet/Webhook.cs index 4653a2ad2..3bbb7ff51 100644 --- a/sdk/dotnet/Webhook.cs +++ b/sdk/dotnet/Webhook.cs @@ -12,36 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog webhook resource. This can be used to create and manage Datadog webhooks. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using System.Text.Json; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // Create a new Datadog webhook - /// var foo = new Datadog.Webhook("foo", new() - /// { - /// Name = "test-webhook", - /// Url = "example.com", - /// EncodeAs = "json", - /// CustomHeaders = JsonSerializer.Serialize(new Dictionary<string, object?> - /// { - /// ["custom"] = "header", - /// }), - /// Payload = JsonSerializer.Serialize(new Dictionary<string, object?> - /// { - /// ["custom"] = "payload", - /// }), - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/dotnet/WebhookCustomVariable.cs b/sdk/dotnet/WebhookCustomVariable.cs index fbfb93461..fc544b653 100644 --- a/sdk/dotnet/WebhookCustomVariable.cs +++ b/sdk/dotnet/WebhookCustomVariable.cs @@ -12,26 +12,6 @@ namespace Pulumi.Datadog /// /// Provides a Datadog webhooks custom variable resource. This can be used to create and manage Datadog webhooks custom variables. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Datadog = Pulumi.Datadog; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var foo = new Datadog.WebhookCustomVariable("foo", new() - /// { - /// IsSecret = true, - /// Name = "EXAMPLE_VARIABLE", - /// Value = "EXAMPLE-VALUE", - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// ```sh diff --git a/sdk/go.mod b/sdk/go.mod index 9bf3ff994..a4268c368 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.86.0 + github.com/pulumi/pulumi/sdk/v3 v3.90.1 ) require ( @@ -12,7 +12,7 @@ require ( github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect - github.com/agext/levenshtein v1.2.1 // indirect + github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect @@ -33,9 +33,9 @@ require ( github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/hcl/v2 v2.16.1 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect 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 @@ -43,7 +43,7 @@ require ( github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect - github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect @@ -53,14 +53,15 @@ require ( github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect + github.com/pulumi/esc v0.5.6 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cast v1.4.1 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect @@ -68,14 +69,15 @@ require ( 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 - github.com/zclconf/go-cty v1.12.1 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.7.0 // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sync v0.2.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect google.golang.org/grpc v1.57.0 // indirect google.golang.org/protobuf v1.31.0 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 3b27b6719..0da5bb309 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -8,8 +8,8 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= -github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= -github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= @@ -77,12 +77,12 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 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/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= -github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= @@ -92,9 +92,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -118,8 +117,8 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= @@ -143,29 +142,31 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= 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= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -180,8 +181,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/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= @@ -195,8 +196,8 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= -github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= @@ -209,8 +210,10 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -228,14 +231,14 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -260,22 +263,22 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= diff --git a/sdk/go/datadog/apiKey.go b/sdk/go/datadog/apiKey.go index dde8d1767..b34bf303d 100644 --- a/sdk/go/datadog/apiKey.go +++ b/sdk/go/datadog/apiKey.go @@ -15,32 +15,6 @@ import ( // Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewApiKey(ctx, "foo", &datadog.ApiKeyArgs{ -// Name: pulumi.String("foo-application"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/applicationKey.go b/sdk/go/datadog/applicationKey.go index 965d8be61..51f3d28fc 100644 --- a/sdk/go/datadog/applicationKey.go +++ b/sdk/go/datadog/applicationKey.go @@ -15,32 +15,6 @@ import ( // Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewApplicationKey(ctx, "foo", &datadog.ApplicationKeyArgs{ -// Name: pulumi.String("foo-application"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/authnMapping.go b/sdk/go/datadog/authnMapping.go index 10cd2547c..fcd57e548 100644 --- a/sdk/go/datadog/authnMapping.go +++ b/sdk/go/datadog/authnMapping.go @@ -15,40 +15,6 @@ import ( // Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// roRole, err := datadog.LookupRole(ctx, &datadog.LookupRoleArgs{ -// Filter: "Datadog Read Only Role", -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewAuthnMapping(ctx, "devRoRoleMapping", &datadog.AuthnMappingArgs{ -// Key: pulumi.String("Member-of"), -// Value: pulumi.String("Development"), -// Role: *pulumi.String(roRole.Id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // AuthN mappings can be imported using their ID, e.g. diff --git a/sdk/go/datadog/aws/getIntegrationLogsServices.go b/sdk/go/datadog/aws/getIntegrationLogsServices.go index 501ab735c..39f66657b 100644 --- a/sdk/go/datadog/aws/getIntegrationLogsServices.go +++ b/sdk/go/datadog/aws/getIntegrationLogsServices.go @@ -4,8 +4,12 @@ package aws import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve all AWS log ready services. @@ -26,3 +30,51 @@ type GetIntegrationLogsServicesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` } + +func GetIntegrationLogsServicesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIntegrationLogsServicesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetIntegrationLogsServicesResult, error) { + r, err := GetIntegrationLogsServices(ctx, opts...) + var s GetIntegrationLogsServicesResult + if r != nil { + s = *r + } + return s, err + }).(GetIntegrationLogsServicesResultOutput) +} + +// A collection of values returned by getIntegrationLogsServices. +type GetIntegrationLogsServicesResultOutput struct{ *pulumi.OutputState } + +func (GetIntegrationLogsServicesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIntegrationLogsServicesResult)(nil)).Elem() +} + +func (o GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutput() GetIntegrationLogsServicesResultOutput { + return o +} + +func (o GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutputWithContext(ctx context.Context) GetIntegrationLogsServicesResultOutput { + return o +} + +func (o GetIntegrationLogsServicesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetIntegrationLogsServicesResult] { + return pulumix.Output[GetIntegrationLogsServicesResult]{ + OutputState: o.OutputState, + } +} + +// List of AWS log ready services. +func (o GetIntegrationLogsServicesResultOutput) AwsLogsServices() GetIntegrationLogsServicesAwsLogsServiceArrayOutput { + return o.ApplyT(func(v GetIntegrationLogsServicesResult) []GetIntegrationLogsServicesAwsLogsService { + return v.AwsLogsServices + }).(GetIntegrationLogsServicesAwsLogsServiceArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetIntegrationLogsServicesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIntegrationLogsServicesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIntegrationLogsServicesResultOutput{}) +} diff --git a/sdk/go/datadog/aws/getIntegrationNamespaceRules.go b/sdk/go/datadog/aws/getIntegrationNamespaceRules.go index 541a36224..cb9c027a7 100644 --- a/sdk/go/datadog/aws/getIntegrationNamespaceRules.go +++ b/sdk/go/datadog/aws/getIntegrationNamespaceRules.go @@ -4,35 +4,15 @@ package aws import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := aws.GetIntegrationNamespaceRules(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetIntegrationNamespaceRules(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIntegrationNamespaceRulesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetIntegrationNamespaceRulesResult @@ -50,3 +30,49 @@ type GetIntegrationNamespaceRulesResult struct { // The list of available namespace rules for a Datadog-AWS integration. NamespaceRules []string `pulumi:"namespaceRules"` } + +func GetIntegrationNamespaceRulesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIntegrationNamespaceRulesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetIntegrationNamespaceRulesResult, error) { + r, err := GetIntegrationNamespaceRules(ctx, opts...) + var s GetIntegrationNamespaceRulesResult + if r != nil { + s = *r + } + return s, err + }).(GetIntegrationNamespaceRulesResultOutput) +} + +// A collection of values returned by getIntegrationNamespaceRules. +type GetIntegrationNamespaceRulesResultOutput struct{ *pulumi.OutputState } + +func (GetIntegrationNamespaceRulesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIntegrationNamespaceRulesResult)(nil)).Elem() +} + +func (o GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutput() GetIntegrationNamespaceRulesResultOutput { + return o +} + +func (o GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutputWithContext(ctx context.Context) GetIntegrationNamespaceRulesResultOutput { + return o +} + +func (o GetIntegrationNamespaceRulesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetIntegrationNamespaceRulesResult] { + return pulumix.Output[GetIntegrationNamespaceRulesResult]{ + OutputState: o.OutputState, + } +} + +// The ID of this resource. +func (o GetIntegrationNamespaceRulesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIntegrationNamespaceRulesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The list of available namespace rules for a Datadog-AWS integration. +func (o GetIntegrationNamespaceRulesResultOutput) NamespaceRules() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIntegrationNamespaceRulesResult) []string { return v.NamespaceRules }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIntegrationNamespaceRulesResultOutput{}) +} diff --git a/sdk/go/datadog/aws/integration.go b/sdk/go/datadog/aws/integration.go index e94773225..820871d35 100644 --- a/sdk/go/datadog/aws/integration.go +++ b/sdk/go/datadog/aws/integration.go @@ -14,48 +14,6 @@ import ( // Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := aws.NewIntegration(ctx, "sandbox", &aws.IntegrationArgs{ -// AccountId: pulumi.String("1234567890"), -// AccountSpecificNamespaceRules: pulumi.AnyMap{ -// "auto_scaling": pulumi.Any(false), -// "opsworks": pulumi.Any(false), -// }, -// ExcludedRegions: pulumi.StringArray{ -// pulumi.String("us-east-1"), -// pulumi.String("us-west-2"), -// }, -// FilterTags: pulumi.StringArray{ -// pulumi.String("key:value"), -// }, -// HostTags: pulumi.StringArray{ -// pulumi.String("key:value"), -// pulumi.String("key2:value2"), -// }, -// RoleName: pulumi.String("DatadogAWSIntegrationRole"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID diff --git a/sdk/go/datadog/aws/integrationLambdaArn.go b/sdk/go/datadog/aws/integrationLambdaArn.go index 502c198ee..634caf152 100644 --- a/sdk/go/datadog/aws/integrationLambdaArn.go +++ b/sdk/go/datadog/aws/integrationLambdaArn.go @@ -17,33 +17,6 @@ import ( // // Update operations are currently not supported with datadog API so any change forces a new resource. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := aws.NewIntegrationLambdaArn(ctx, "mainCollector", &aws.IntegrationLambdaArnArgs{ -// AccountId: pulumi.String("1234567890"), -// LambdaArn: pulumi.String("arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `). diff --git a/sdk/go/datadog/aws/integrationLogCollection.go b/sdk/go/datadog/aws/integrationLogCollection.go index 55667759b..6cb1d4f39 100644 --- a/sdk/go/datadog/aws/integrationLogCollection.go +++ b/sdk/go/datadog/aws/integrationLogCollection.go @@ -15,35 +15,6 @@ import ( // Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := aws.NewIntegrationLogCollection(ctx, "main", &aws.IntegrationLogCollectionArgs{ -// AccountId: pulumi.String("1234567890"), -// Services: pulumi.StringArray{ -// pulumi.String("lambda"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Amazon Web Services log collection integrations can be imported using the `account ID`. diff --git a/sdk/go/datadog/aws/integrationTagFilter.go b/sdk/go/datadog/aws/integrationTagFilter.go index 55760231b..7ce0aeeee 100644 --- a/sdk/go/datadog/aws/integrationTagFilter.go +++ b/sdk/go/datadog/aws/integrationTagFilter.go @@ -15,34 +15,6 @@ import ( // Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := aws.NewIntegrationTagFilter(ctx, "foo", &aws.IntegrationTagFilterArgs{ -// AccountId: pulumi.String("123456789010"), -// Namespace: pulumi.String("sqs"), -// TagFilterStr: pulumi.String("key:value"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:). diff --git a/sdk/go/datadog/azure/integration.go b/sdk/go/datadog/azure/integration.go index aac4c862e..b24c7084c 100644 --- a/sdk/go/datadog/azure/integration.go +++ b/sdk/go/datadog/azure/integration.go @@ -15,39 +15,6 @@ import ( // Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/azure" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := azure.NewIntegration(ctx, "sandbox", &azure.IntegrationArgs{ -// AppServicePlanFilters: pulumi.String("examplefilter:true,example:another"), -// Automute: pulumi.Bool(true), -// ClientId: pulumi.String(""), -// ClientSecret: pulumi.String(""), -// CspmEnabled: pulumi.Bool(true), -// CustomMetricsEnabled: pulumi.Bool(false), -// HostFilters: pulumi.String("examplefilter:true,example:true"), -// TenantName: pulumi.String(""), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`). diff --git a/sdk/go/datadog/childOrganization.go b/sdk/go/datadog/childOrganization.go index 050d3c847..981577881 100644 --- a/sdk/go/datadog/childOrganization.go +++ b/sdk/go/datadog/childOrganization.go @@ -14,32 +14,6 @@ import ( ) // Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `OrganizationSettings`. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewChildOrganization(ctx, "organization", &datadog.ChildOrganizationArgs{ -// Name: pulumi.String("foo-organization"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type ChildOrganization struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/cloudConfigurationRule.go b/sdk/go/datadog/cloudConfigurationRule.go index 5f6a10cfd..d148de050 100644 --- a/sdk/go/datadog/cloudConfigurationRule.go +++ b/sdk/go/datadog/cloudConfigurationRule.go @@ -15,73 +15,6 @@ import ( // Provides a Datadog Cloud Configuration Rule resource. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewCloudConfigurationRule(ctx, "myrule", &datadog.CloudConfigurationRuleArgs{ -// Enabled: pulumi.Bool(true), -// GroupBies: pulumi.StringArray{ -// pulumi.String("@resource"), -// }, -// Message: pulumi.String("Rule has triggered"), -// Name: pulumi.String("My cloud configuration rule"), -// Notifications: pulumi.StringArray{ -// pulumi.String("@channel"), -// }, -// Policy: pulumi.String(` package datadog -// -// import data.datadog.output as dd_output -// -// import future.keywords.contains -// import future.keywords.if -// import future.keywords.in -// -// eval(resource) = "skip" if { -// # Logic that evaluates to true if the resource should be skipped -// true -// } else = "pass" { -// # Logic that evaluates to true if the resource is compliant -// true -// } else = "fail" { -// # Logic that evaluates to true if the resource is not compliant -// true -// } -// -// # This part remains unchanged for all rules -// results contains result if { -// some resource in input.resources[input.main_resource_type] -// result := dd_output.format(resource, eval(resource)) -// } -// -// `), -// -// RelatedResourceTypes: pulumi.StringArray{}, -// ResourceType: pulumi.String("aws_s3_bucket"), -// Severity: pulumi.String("high"), -// Tags: pulumi.StringArray{ -// pulumi.String("some:tag"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/go/datadog/cloudWorkloadSecurityAgentRule.go b/sdk/go/datadog/cloudWorkloadSecurityAgentRule.go index 133e24f5c..695dea568 100644 --- a/sdk/go/datadog/cloudWorkloadSecurityAgentRule.go +++ b/sdk/go/datadog/cloudWorkloadSecurityAgentRule.go @@ -15,35 +15,6 @@ import ( // Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewCloudWorkloadSecurityAgentRule(ctx, "myAgentRule", &datadog.CloudWorkloadSecurityAgentRuleArgs{ -// Description: pulumi.String("My agent rule"), -// Enabled: pulumi.Bool(true), -// Expression: pulumi.String("exec.file.name == \"java\""), -// Name: pulumi.String("my_agent_rule"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Cloud Workload Security Agent rules can be imported using ID, e.g. diff --git a/sdk/go/datadog/cloudflare/integrationAccount.go b/sdk/go/datadog/cloudflare/integrationAccount.go index 917aa4482..2f3f783f6 100644 --- a/sdk/go/datadog/cloudflare/integrationAccount.go +++ b/sdk/go/datadog/cloudflare/integrationAccount.go @@ -15,34 +15,6 @@ import ( // Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/cloudflare" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := cloudflare.NewIntegrationAccount(ctx, "foo", &cloudflare.IntegrationAccountArgs{ -// ApiKey: pulumi.String("12345678910abc"), -// Email: pulumi.String("test-email@example.com"), -// Name: pulumi.String("test-name"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/confluent/integrationAccount.go b/sdk/go/datadog/confluent/integrationAccount.go index 73d64d0f0..dea2c1337 100644 --- a/sdk/go/datadog/confluent/integrationAccount.go +++ b/sdk/go/datadog/confluent/integrationAccount.go @@ -15,37 +15,6 @@ import ( // Provides a Datadog IntegrationConfluentAccount resource. This can be used to create and manage Datadog integration_confluent_account. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/confluent" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := confluent.NewIntegrationAccount(ctx, "foo", &confluent.IntegrationAccountArgs{ -// ApiKey: pulumi.String("TESTAPIKEY123"), -// ApiSecret: pulumi.String("test-api-secret-123"), -// Tags: pulumi.StringArray{ -// pulumi.String("mytag"), -// pulumi.String("mytag2:myvalue"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/confluent/integrationResource.go b/sdk/go/datadog/confluent/integrationResource.go index 89329cb89..f8f63ba65 100644 --- a/sdk/go/datadog/confluent/integrationResource.go +++ b/sdk/go/datadog/confluent/integrationResource.go @@ -15,49 +15,6 @@ import ( // Provides a Datadog IntegrationConfluentResource resource. This can be used to create and manage Datadog integration_confluent_resource. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/confluent" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// fooIntegrationAccount, err := confluent.NewIntegrationAccount(ctx, "fooIntegrationAccount", &confluent.IntegrationAccountArgs{ -// ApiKey: pulumi.String("TESTAPIKEY123"), -// ApiSecret: pulumi.String("test-api-secret-123"), -// Tags: pulumi.StringArray{ -// pulumi.String("mytag"), -// pulumi.String("mytag2:myvalue"), -// }, -// }) -// if err != nil { -// return err -// } -// _, err = confluent.NewIntegrationResource(ctx, "fooIntegrationResource", &confluent.IntegrationResourceArgs{ -// AccountId: fooIntegrationAccount.ID(), -// ResourceId: pulumi.String("123456"), -// ResourceType: pulumi.String("kafka"), -// Tags: pulumi.StringArray{ -// pulumi.String("mytag"), -// pulumi.String("mytag2:myvalue"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/dashboardJson.go b/sdk/go/datadog/dashboardJson.go index e9897850d..f701dff0c 100644 --- a/sdk/go/datadog/dashboardJson.go +++ b/sdk/go/datadog/dashboardJson.go @@ -15,519 +15,6 @@ import ( // Provides a Datadog dashboard JSON resource. This can be used to create and manage Datadog dashboards using the JSON definition. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewDashboardJson(ctx, "dashboardJson", &datadog.DashboardJsonArgs{ -// Dashboard: pulumi.String(`{ -// "title":"Ordered Layout Dashboard", -// "description":"Created using the Datadog provider in Terraform", -// "widgets":[ -// { -// "id":719369537777170, -// "definition":{ -// "title":"Widget Title", -// "type":"alert_graph", -// "alert_id":"895605", -// "viz_type":"timeseries" -// } -// }, -// { -// "id":2306240030393868, -// "definition":{ -// "title":"Widget Title", -// "type":"alert_value", -// "alert_id":"895605", -// "unit":"b", -// "text_align":"center", -// "precision":3 -// } -// }, -// { -// "id":6990998850881326, -// "definition":{ -// "title":"Widget Title", -// "type":"alert_value", -// "alert_id":"895605", -// "unit":"b", -// "text_align":"center", -// "precision":3 -// } -// }, -// { -// "id":3351284044659007, -// "definition":{ -// "title":"Widget Title", -// "type":"change", -// "requests":[ -// { -// "q":"avg:system.load.1{env:staging} by {account}", -// "compare_to":"week_before", -// "change_type":"absolute", -// "order_dir":"desc", -// "increase_good":true, -// "order_by":"name", -// "show_present":true -// } -// ] -// } -// }, -// { -// "id":6450290622996182, -// "definition":{ -// "title":"Widget Title", -// "show_legend":false, -// "type":"distribution", -// "requests":[ -// { -// "q":"avg:system.load.1{env:staging} by {account}", -// "style":{ -// "palette":"warm" -// } -// } -// ] -// } -// }, -// { -// "id":4902842646291536, -// "definition":{ -// "title":"Widget Title", -// "type":"check_status", -// "check":"aws.ecs.agent_connected", -// "grouping":"cluster", -// "group_by":[ -// "account", -// "cluster" -// ], -// "tags":[ -// "account:demo", -// "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk" -// ] -// } -// }, -// { -// "id":6392349954822644, -// "definition":{ -// "title":"Widget Title", -// "show_legend":false, -// "type":"heatmap", -// "yaxis":{ -// "scale":"sqrt", -// "include_zero":true, -// "min":"1", -// "max":"2" -// }, -// "requests":[ -// { -// "q":"avg:system.load.1{env:staging} by {account}", -// "style":{ -// "palette":"warm" -// } -// } -// ] -// } -// }, -// { -// "id":5222961478940988, -// "definition":{ -// "title":"Widget Title", -// "type":"hostmap", -// "requests":{ -// "fill":{ -// "q":"avg:system.load.1{*} by {host}" -// }, -// "size":{ -// "q":"avg:memcache.uptime{*} by {host}" -// } -// }, -// "node_type":"container", -// "no_metric_hosts":true, -// "no_group_hosts":true, -// "group":[ -// "host", -// "region" -// ], -// "scope":[ -// "region:us-east-1", -// "aws_account:727006795293" -// ], -// "style":{ -// "palette":"yellow_to_green", -// "palette_flip":true, -// "fill_min":"10", -// "fill_max":"20" -// } -// } -// }, -// { -// "id":8121199734227072, -// "definition":{ -// "type":"note", -// "content":"note text", -// "background_color":"pink", -// "font_size":"14", -// "text_align":"center", -// "show_tick":true, -// "tick_pos":"50%", -// "tick_edge":"left" -// } -// }, -// { -// "id":1775856835833038, -// "definition":{ -// "title":"Widget Title", -// "type":"query_value", -// "requests":[ -// { -// "q":"avg:system.load.1{env:staging} by {account}", -// "aggregator":"sum", -// "conditional_formats":[ -// { -// "hide_value":false, -// "comparator":"<", -// "palette":"white_on_green", -// "value":2 -// }, -// { -// "hide_value":false, -// "comparator":">", -// "palette":"white_on_red", -// "value":2.2 -// } -// ] -// } -// ], -// "autoscale":true, -// "custom_unit":"xx", -// "text_align":"right", -// "precision":4 -// } -// }, -// { -// "id":8461455966625581, -// "definition":{ -// "title":"Widget Title", -// "type":"query_table", -// "requests":[ -// { -// "q":"avg:system.load.1{env:staging} by {account}", -// "aggregator":"sum", -// "conditional_formats":[ -// { -// "hide_value":false, -// "comparator":"<", -// "palette":"white_on_green", -// "value":2 -// }, -// { -// "hide_value":false, -// "comparator":">", -// "palette":"white_on_red", -// "value":2.2 -// } -// ], -// "limit":10 -// } -// ] -// } -// }, -// { -// "id":8660006349418736, -// "definition":{ -// "title":"Widget Title", -// "type":"scatterplot", -// "requests":{ -// "x":{ -// "q":"avg:system.cpu.user{*} by {service, account}", -// "aggregator":"max" -// }, -// "y":{ -// "q":"avg:system.mem.used{*} by {service, account}", -// "aggregator":"min" -// } -// }, -// "xaxis":{ -// "scale":"pow", -// "label":"x", -// "include_zero":true, -// "min":"1", -// "max":"2000" -// }, -// "yaxis":{ -// "scale":"log", -// "label":"y", -// "include_zero":false, -// "min":"5", -// "max":"2222" -// }, -// "color_by_groups":[ -// "account", -// "apm-role-group" -// ] -// } -// }, -// { -// "id":1669590772917638, -// "definition":{ -// "title":"env: prod, datacenter:dc1, service: master-db", -// "title_size":"16", -// "title_align":"left", -// "type":"servicemap", -// "service":"master-db", -// "filters":[ -// "env:prod", -// "datacenter:dc1" -// ] -// } -// }, -// { -// "id":2138829058361817, -// "definition":{ -// "title":"Widget Title", -// "show_legend":true, -// "legend_size":"2", -// "type":"timeseries", -// "requests":[ -// { -// "q":"avg:system.cpu.user{app:general} by {env}", -// "on_right_yaxis":false, -// "metadata":[ -// { -// "expression":"avg:system.cpu.user{app:general} by {env}", -// "alias_name":"Alpha" -// } -// ], -// "style":{ -// "palette":"warm", -// "line_type":"dashed", -// "line_width":"thin" -// }, -// "display_type":"line" -// }, -// { -// "on_right_yaxis":false, -// "log_query":{ -// "index":"mcnulty", -// "search":{ -// "query":"status:info" -// }, -// "group_by":[ -// { -// "facet":"host", -// "sort":{ -// "facet":"@duration", -// "aggregation":"avg", -// "order":"desc" -// }, -// "limit":10 -// } -// ], -// "compute":{ -// "facet":"@duration", -// "interval":5000, -// "aggregation":"avg" -// } -// }, -// "display_type":"area" -// }, -// { -// "on_right_yaxis":false, -// "apm_query":{ -// "index":"apm-search", -// "search":{ -// "query":"type:web" -// }, -// "group_by":[ -// { -// "facet":"resource_name", -// "sort":{ -// "facet":"@string_query.interval", -// "aggregation":"avg", -// "order":"desc" -// }, -// "limit":50 -// } -// ], -// "compute":{ -// "facet":"@duration", -// "interval":5000, -// "aggregation":"avg" -// } -// }, -// "display_type":"bars" -// }, -// { -// "on_right_yaxis":false, -// "process_query":{ -// "search_by":"error", -// "metric":"process.stat.cpu.total_pct", -// "limit":50, -// "filter_by":[ -// "active" -// ] -// }, -// "display_type":"area" -// } -// ], -// "yaxis":{ -// "scale":"log", -// "include_zero":false, -// "max":"100" -// }, -// "events":[ -// { -// "q":"sources:test tags:1" -// }, -// { -// "q":"sources:test tags:2" -// } -// ], -// "markers":[ -// { -// "label":" z=6 ", -// "value":"y = 4", -// "display_type":"error dashed" -// }, -// { -// "label":" x=8 ", -// "value":"10 < y < 999", -// "display_type":"ok solid" -// } -// ] -// } -// }, -// { -// "id":7307171374656551, -// "definition":{ -// "title":"Widget Title", -// "type":"toplist", -// "requests":[ -// { -// "q":"avg:system.cpu.user{app:general} by {env}", -// "conditional_formats":[ -// { -// "hide_value":false, -// "comparator":"<", -// "palette":"white_on_green", -// "value":2 -// }, -// { -// "hide_value":false, -// "comparator":">", -// "palette":"white_on_red", -// "value":2.2 -// } -// ] -// } -// ] -// } -// }, -// { -// "id":7086674838553258, -// "definition":{ -// "title":"Group Widget", -// "type":"group", -// "layout_type":"ordered", -// "widgets":[ -// { -// "id":3726092277657502, -// "definition":{ -// "type":"note", -// "content":"cluster note widget", -// "background_color":"pink", -// "font_size":"14", -// "text_align":"center", -// "show_tick":true, -// "tick_pos":"50%", -// "tick_edge":"left" -// } -// }, -// { -// "id":6376384650558057, -// "definition":{ -// "title":"Alert Graph", -// "type":"alert_graph", -// "alert_id":"123", -// "viz_type":"toplist" -// } -// } -// ] -// } -// }, -// { -// "id":4668903563678912, -// "definition":{ -// "title":"Widget Title", -// "type":"slo", -// "view_type":"detail", -// "time_windows":[ -// "7d", -// "previous_week" -// ], -// "slo_id":"56789", -// "show_error_budget":true, -// "view_mode":"overall", -// "global_time_target":"0" -// } -// } -// ], -// "template_variables":[ -// { -// "name":"var_1", -// "default":"aws", -// "prefix":"host" -// }, -// { -// "name":"var_2", -// "default":"autoscaling", -// "prefix":"service_name" -// } -// ], -// "layout_type":"ordered", -// "is_read_only":true, -// "notify_list":[ -// -// ], -// "template_variable_presets":[ -// { -// "name":"preset_1", -// "template_variables":[ -// { -// "name":"var_1", -// "value":"host.dc" -// }, -// { -// "name":"var_2", -// "value":"my_service" -// } -// ] -// } -// ] -// } -// -// `), -// -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/dashboardList.go b/sdk/go/datadog/dashboardList.go index eb0614821..6c97ed6da 100644 --- a/sdk/go/datadog/dashboardList.go +++ b/sdk/go/datadog/dashboardList.go @@ -15,91 +15,6 @@ import ( // Provides a Datadog dashboardList resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// time, err := datadog.NewDashboard(ctx, "time", &datadog.DashboardArgs{ -// Title: pulumi.String("TF Test Layout Dashboard"), -// Description: pulumi.String("Created using the Datadog provider"), -// LayoutType: pulumi.String("ordered"), -// IsReadOnly: pulumi.Bool(true), -// Widgets: datadog.DashboardWidgetArray{ -// &datadog.DashboardWidgetArgs{ -// AlertGraphDefinition: &datadog.DashboardWidgetAlertGraphDefinitionArgs{ -// AlertId: pulumi.String("1234"), -// VizType: pulumi.String("timeseries"), -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// screen, err := datadog.NewDashboard(ctx, "screen", &datadog.DashboardArgs{ -// Title: pulumi.String("TF Test Free Layout Dashboard"), -// Description: pulumi.String("Created using the Datadog provider"), -// LayoutType: pulumi.String("free"), -// IsReadOnly: pulumi.Bool(false), -// Widgets: datadog.DashboardWidgetArray{ -// &datadog.DashboardWidgetArgs{ -// EventStreamDefinition: &datadog.DashboardWidgetEventStreamDefinitionArgs{ -// Query: pulumi.String("*"), -// EventSize: pulumi.String("l"), -// Title: pulumi.String("Widget Title"), -// TitleSize: pulumi.String("16"), -// TitleAlign: pulumi.String("left"), -// LiveSpan: pulumi.String("1h"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(43), -// Width: pulumi.Int(32), -// X: pulumi.Int(5), -// Y: pulumi.Int(5), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewDashboardList(ctx, "newList", &datadog.DashboardListArgs{ -// Name: pulumi.String("Automated Created List"), -// DashItems: datadog.DashboardListDashItemArray{ -// &datadog.DashboardListDashItemArgs{ -// Type: pulumi.String("custom_timeboard"), -// DashId: time.ID(), -// }, -// &datadog.DashboardListDashItemArgs{ -// Type: pulumi.String("custom_screenboard"), -// DashId: screen.ID(), -// }, -// }, -// }, pulumi.DependsOn([]pulumi.Resource{ -// screen, -// time, -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/downtime.go b/sdk/go/datadog/downtime.go index e50ec50b6..3a0ec7523 100644 --- a/sdk/go/datadog/downtime.go +++ b/sdk/go/datadog/downtime.go @@ -15,40 +15,6 @@ import ( // This resource is deprecated — use the `DowntimeSchedule resource` instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewDowntime(ctx, "foo", &datadog.DowntimeArgs{ -// End: pulumi.Int(1483365600), -// Recurrence: &datadog.DowntimeRecurrenceArgs{ -// Period: pulumi.Int(1), -// Type: pulumi.String("days"), -// }, -// Scopes: pulumi.StringArray{ -// pulumi.String("*"), -// }, -// Start: pulumi.Int(1483308000), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/fastly/integrationAccount.go b/sdk/go/datadog/fastly/integrationAccount.go index 6e284fce8..727455f90 100644 --- a/sdk/go/datadog/fastly/integrationAccount.go +++ b/sdk/go/datadog/fastly/integrationAccount.go @@ -15,33 +15,6 @@ import ( // Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/fastly" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := fastly.NewIntegrationAccount(ctx, "foo", &fastly.IntegrationAccountArgs{ -// ApiKey: pulumi.String("ABCDEFG123"), -// Name: pulumi.String("test-name"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/fastly/integrationService.go b/sdk/go/datadog/fastly/integrationService.go index 98bd8eea2..fd8dae4ca 100644 --- a/sdk/go/datadog/fastly/integrationService.go +++ b/sdk/go/datadog/fastly/integrationService.go @@ -15,44 +15,6 @@ import ( // Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/fastly" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// fooIntegrationAccount, err := fastly.NewIntegrationAccount(ctx, "fooIntegrationAccount", &fastly.IntegrationAccountArgs{ -// ApiKey: pulumi.String("ABCDEFG123"), -// Name: pulumi.String("test-name"), -// }) -// if err != nil { -// return err -// } -// _, err = fastly.NewIntegrationService(ctx, "fooIntegrationService", &fastly.IntegrationServiceArgs{ -// AccountId: fooIntegrationAccount.ID(), -// Tags: pulumi.StringArray{ -// pulumi.String("mytag"), -// pulumi.String("mytag2:myvalue"), -// }, -// ServiceId: pulumi.String("my-service-id"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/getApiKey.go b/sdk/go/datadog/getApiKey.go index 986c445d8..90c40ad48 100644 --- a/sdk/go/datadog/getApiKey.go +++ b/sdk/go/datadog/getApiKey.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing api key. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupApiKey(ctx, &datadog.LookupApiKeyArgs{ -// Name: pulumi.StringRef("foo-application"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupApiKey(ctx *pulumi.Context, args *LookupApiKeyArgs, opts ...pulumi.InvokeOption) (*LookupApiKeyResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupApiKeyResult diff --git a/sdk/go/datadog/getApplicationKey.go b/sdk/go/datadog/getApplicationKey.go index bb836fabb..f7d381975 100644 --- a/sdk/go/datadog/getApplicationKey.go +++ b/sdk/go/datadog/getApplicationKey.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing application key. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupApplicationKey(ctx, &datadog.LookupApplicationKeyArgs{ -// Name: pulumi.StringRef("foo-application"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupApplicationKey(ctx *pulumi.Context, args *LookupApplicationKeyArgs, opts ...pulumi.InvokeOption) (*LookupApplicationKeyResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupApplicationKeyResult diff --git a/sdk/go/datadog/getCloudWorkloadSecurityAgentRules.go b/sdk/go/datadog/getCloudWorkloadSecurityAgentRules.go index 7a838c7e6..c523e06bb 100644 --- a/sdk/go/datadog/getCloudWorkloadSecurityAgentRules.go +++ b/sdk/go/datadog/getCloudWorkloadSecurityAgentRules.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetCloudWorkloadSecurityAgentRules(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetCloudWorkloadSecurityAgentRules(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCloudWorkloadSecurityAgentRulesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetCloudWorkloadSecurityAgentRulesResult @@ -50,3 +30,51 @@ type GetCloudWorkloadSecurityAgentRulesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` } + +func GetCloudWorkloadSecurityAgentRulesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetCloudWorkloadSecurityAgentRulesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetCloudWorkloadSecurityAgentRulesResult, error) { + r, err := GetCloudWorkloadSecurityAgentRules(ctx, opts...) + var s GetCloudWorkloadSecurityAgentRulesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudWorkloadSecurityAgentRulesResultOutput) +} + +// A collection of values returned by getCloudWorkloadSecurityAgentRules. +type GetCloudWorkloadSecurityAgentRulesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudWorkloadSecurityAgentRulesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudWorkloadSecurityAgentRulesResult)(nil)).Elem() +} + +func (o GetCloudWorkloadSecurityAgentRulesResultOutput) ToGetCloudWorkloadSecurityAgentRulesResultOutput() GetCloudWorkloadSecurityAgentRulesResultOutput { + return o +} + +func (o GetCloudWorkloadSecurityAgentRulesResultOutput) ToGetCloudWorkloadSecurityAgentRulesResultOutputWithContext(ctx context.Context) GetCloudWorkloadSecurityAgentRulesResultOutput { + return o +} + +func (o GetCloudWorkloadSecurityAgentRulesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudWorkloadSecurityAgentRulesResult] { + return pulumix.Output[GetCloudWorkloadSecurityAgentRulesResult]{ + OutputState: o.OutputState, + } +} + +// List of Agent rules. +func (o GetCloudWorkloadSecurityAgentRulesResultOutput) AgentRules() GetCloudWorkloadSecurityAgentRulesAgentRuleArrayOutput { + return o.ApplyT(func(v GetCloudWorkloadSecurityAgentRulesResult) []GetCloudWorkloadSecurityAgentRulesAgentRule { + return v.AgentRules + }).(GetCloudWorkloadSecurityAgentRulesAgentRuleArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCloudWorkloadSecurityAgentRulesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudWorkloadSecurityAgentRulesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudWorkloadSecurityAgentRulesResultOutput{}) +} diff --git a/sdk/go/datadog/getDashboard.go b/sdk/go/datadog/getDashboard.go index fff2ae5a9..0e560aa6d 100644 --- a/sdk/go/datadog/getDashboard.go +++ b/sdk/go/datadog/getDashboard.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupDashboard(ctx, &datadog.LookupDashboardArgs{ -// Name: "My super dashboard", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupDashboard(ctx *pulumi.Context, args *LookupDashboardArgs, opts ...pulumi.InvokeOption) (*LookupDashboardResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDashboardResult diff --git a/sdk/go/datadog/getDashboardList.go b/sdk/go/datadog/getDashboardList.go index 43c90c366..4b7386e66 100644 --- a/sdk/go/datadog/getDashboardList.go +++ b/sdk/go/datadog/getDashboardList.go @@ -13,54 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// test, err := datadog.LookupDashboardList(ctx, &datadog.LookupDashboardListArgs{ -// Name: "My super list", -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewDashboard(ctx, "time", &datadog.DashboardArgs{ -// DashboardLists: pulumi.IntArray{ -// *pulumi.String(test.Id), -// }, -// Description: pulumi.String("Created using the Datadog provider in Terraform"), -// IsReadOnly: pulumi.Bool(true), -// LayoutType: pulumi.String("ordered"), -// Title: pulumi.String("TF Test Layout Dashboard"), -// Widgets: datadog.DashboardWidgetArray{ -// &datadog.DashboardWidgetArgs{ -// AlertGraphDefinition: &datadog.DashboardWidgetAlertGraphDefinitionArgs{ -// AlertId: pulumi.String("1234"), -// LiveSpan: pulumi.String("1h"), -// Title: pulumi.String("Widget Title"), -// VizType: pulumi.String("timeseries"), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupDashboardList(ctx *pulumi.Context, args *LookupDashboardListArgs, opts ...pulumi.InvokeOption) (*LookupDashboardListResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDashboardListResult diff --git a/sdk/go/datadog/getIpRanges.go b/sdk/go/datadog/getIpRanges.go index eb3753db2..b90acde15 100644 --- a/sdk/go/datadog/getIpRanges.go +++ b/sdk/go/datadog/getIpRanges.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve information about Datadog's IP addresses. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetIpRanges(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetIpRanges(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIpRangesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetIpRangesResult @@ -84,3 +64,134 @@ type GetIpRangesResult struct { // An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint. WebhooksIpv6s []string `pulumi:"webhooksIpv6s"` } + +func GetIpRangesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIpRangesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetIpRangesResult, error) { + r, err := GetIpRanges(ctx, opts...) + var s GetIpRangesResult + if r != nil { + s = *r + } + return s, err + }).(GetIpRangesResultOutput) +} + +// A collection of values returned by getIpRanges. +type GetIpRangesResultOutput struct{ *pulumi.OutputState } + +func (GetIpRangesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIpRangesResult)(nil)).Elem() +} + +func (o GetIpRangesResultOutput) ToGetIpRangesResultOutput() GetIpRangesResultOutput { + return o +} + +func (o GetIpRangesResultOutput) ToGetIpRangesResultOutputWithContext(ctx context.Context) GetIpRangesResultOutput { + return o +} + +func (o GetIpRangesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetIpRangesResult] { + return pulumix.Output[GetIpRangesResult]{ + OutputState: o.OutputState, + } +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint. +func (o GetIpRangesResultOutput) AgentsIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.AgentsIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint. +func (o GetIpRangesResultOutput) AgentsIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.AgentsIpv6s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint. +func (o GetIpRangesResultOutput) ApiIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ApiIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint. +func (o GetIpRangesResultOutput) ApiIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ApiIpv6s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint. +func (o GetIpRangesResultOutput) ApmIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ApmIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint. +func (o GetIpRangesResultOutput) ApmIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ApmIpv6s }).(pulumi.StringArrayOutput) +} + +// The ID of this resource. +func (o GetIpRangesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIpRangesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint. +func (o GetIpRangesResultOutput) LogsIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.LogsIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint. +func (o GetIpRangesResultOutput) LogsIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.LogsIpv6s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint. +func (o GetIpRangesResultOutput) OrchestratorIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.OrchestratorIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint. +func (o GetIpRangesResultOutput) OrchestratorIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.OrchestratorIpv6s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint. +func (o GetIpRangesResultOutput) ProcessIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ProcessIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint. +func (o GetIpRangesResultOutput) ProcessIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.ProcessIpv6s }).(pulumi.StringArrayOutput) +} + +// A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location. +func (o GetIpRangesResultOutput) SyntheticsIpv4ByLocation() pulumi.StringMapOutput { + return o.ApplyT(func(v GetIpRangesResult) map[string]string { return v.SyntheticsIpv4ByLocation }).(pulumi.StringMapOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint. +func (o GetIpRangesResultOutput) SyntheticsIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.SyntheticsIpv4s }).(pulumi.StringArrayOutput) +} + +// A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location. +func (o GetIpRangesResultOutput) SyntheticsIpv6ByLocation() pulumi.StringMapOutput { + return o.ApplyT(func(v GetIpRangesResult) map[string]string { return v.SyntheticsIpv6ByLocation }).(pulumi.StringMapOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint. +func (o GetIpRangesResultOutput) SyntheticsIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.SyntheticsIpv6s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint. +func (o GetIpRangesResultOutput) WebhooksIpv4s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.WebhooksIpv4s }).(pulumi.StringArrayOutput) +} + +// An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint. +func (o GetIpRangesResultOutput) WebhooksIpv6s() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIpRangesResult) []string { return v.WebhooksIpv6s }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIpRangesResultOutput{}) +} diff --git a/sdk/go/datadog/getLogsArchivesOrder.go b/sdk/go/datadog/getLogsArchivesOrder.go index 6099305cc..50aaf60a5 100644 --- a/sdk/go/datadog/getLogsArchivesOrder.go +++ b/sdk/go/datadog/getLogsArchivesOrder.go @@ -4,8 +4,12 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the current order of your logs archives. @@ -26,3 +30,49 @@ type GetLogsArchivesOrderResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` } + +func GetLogsArchivesOrderOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLogsArchivesOrderResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetLogsArchivesOrderResult, error) { + r, err := GetLogsArchivesOrder(ctx, opts...) + var s GetLogsArchivesOrderResult + if r != nil { + s = *r + } + return s, err + }).(GetLogsArchivesOrderResultOutput) +} + +// A collection of values returned by getLogsArchivesOrder. +type GetLogsArchivesOrderResultOutput struct{ *pulumi.OutputState } + +func (GetLogsArchivesOrderResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLogsArchivesOrderResult)(nil)).Elem() +} + +func (o GetLogsArchivesOrderResultOutput) ToGetLogsArchivesOrderResultOutput() GetLogsArchivesOrderResultOutput { + return o +} + +func (o GetLogsArchivesOrderResultOutput) ToGetLogsArchivesOrderResultOutputWithContext(ctx context.Context) GetLogsArchivesOrderResultOutput { + return o +} + +func (o GetLogsArchivesOrderResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogsArchivesOrderResult] { + return pulumix.Output[GetLogsArchivesOrderResult]{ + OutputState: o.OutputState, + } +} + +// The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs. +func (o GetLogsArchivesOrderResultOutput) ArchiveIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLogsArchivesOrderResult) []string { return v.ArchiveIds }).(pulumi.StringArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetLogsArchivesOrderResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLogsArchivesOrderResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetLogsArchivesOrderResultOutput{}) +} diff --git a/sdk/go/datadog/getLogsIndexes.go b/sdk/go/datadog/getLogsIndexes.go index ffdf09322..567c0be8d 100644 --- a/sdk/go/datadog/getLogsIndexes.go +++ b/sdk/go/datadog/getLogsIndexes.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to list several existing logs indexes for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetLogsIndexes(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetLogsIndexes(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetLogsIndexesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetLogsIndexesResult @@ -50,3 +30,49 @@ type GetLogsIndexesResult struct { // List of logs indexes LogsIndexes []GetLogsIndexesLogsIndex `pulumi:"logsIndexes"` } + +func GetLogsIndexesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLogsIndexesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetLogsIndexesResult, error) { + r, err := GetLogsIndexes(ctx, opts...) + var s GetLogsIndexesResult + if r != nil { + s = *r + } + return s, err + }).(GetLogsIndexesResultOutput) +} + +// A collection of values returned by getLogsIndexes. +type GetLogsIndexesResultOutput struct{ *pulumi.OutputState } + +func (GetLogsIndexesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLogsIndexesResult)(nil)).Elem() +} + +func (o GetLogsIndexesResultOutput) ToGetLogsIndexesResultOutput() GetLogsIndexesResultOutput { + return o +} + +func (o GetLogsIndexesResultOutput) ToGetLogsIndexesResultOutputWithContext(ctx context.Context) GetLogsIndexesResultOutput { + return o +} + +func (o GetLogsIndexesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogsIndexesResult] { + return pulumix.Output[GetLogsIndexesResult]{ + OutputState: o.OutputState, + } +} + +// The provider-assigned unique ID for this managed resource. +func (o GetLogsIndexesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLogsIndexesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of logs indexes +func (o GetLogsIndexesResultOutput) LogsIndexes() GetLogsIndexesLogsIndexArrayOutput { + return o.ApplyT(func(v GetLogsIndexesResult) []GetLogsIndexesLogsIndex { return v.LogsIndexes }).(GetLogsIndexesLogsIndexArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetLogsIndexesResultOutput{}) +} diff --git a/sdk/go/datadog/getLogsIndexesOrder.go b/sdk/go/datadog/getLogsIndexesOrder.go index 211b62d3c..5a425d34d 100644 --- a/sdk/go/datadog/getLogsIndexesOrder.go +++ b/sdk/go/datadog/getLogsIndexesOrder.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the current order of your log indexes. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetLogsIndexesOrder(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetLogsIndexesOrder(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetLogsIndexesOrderResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetLogsIndexesOrderResult @@ -50,3 +30,49 @@ type GetLogsIndexesOrderResult struct { // Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index. IndexNames []string `pulumi:"indexNames"` } + +func GetLogsIndexesOrderOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLogsIndexesOrderResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetLogsIndexesOrderResult, error) { + r, err := GetLogsIndexesOrder(ctx, opts...) + var s GetLogsIndexesOrderResult + if r != nil { + s = *r + } + return s, err + }).(GetLogsIndexesOrderResultOutput) +} + +// A collection of values returned by getLogsIndexesOrder. +type GetLogsIndexesOrderResultOutput struct{ *pulumi.OutputState } + +func (GetLogsIndexesOrderResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLogsIndexesOrderResult)(nil)).Elem() +} + +func (o GetLogsIndexesOrderResultOutput) ToGetLogsIndexesOrderResultOutput() GetLogsIndexesOrderResultOutput { + return o +} + +func (o GetLogsIndexesOrderResultOutput) ToGetLogsIndexesOrderResultOutputWithContext(ctx context.Context) GetLogsIndexesOrderResultOutput { + return o +} + +func (o GetLogsIndexesOrderResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetLogsIndexesOrderResult] { + return pulumix.Output[GetLogsIndexesOrderResult]{ + OutputState: o.OutputState, + } +} + +// The provider-assigned unique ID for this managed resource. +func (o GetLogsIndexesOrderResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetLogsIndexesOrderResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index. +func (o GetLogsIndexesOrderResultOutput) IndexNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetLogsIndexesOrderResult) []string { return v.IndexNames }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetLogsIndexesOrderResultOutput{}) +} diff --git a/sdk/go/datadog/getLogsPipelines.go b/sdk/go/datadog/getLogsPipelines.go index f8ba53d0a..628865f7a 100644 --- a/sdk/go/datadog/getLogsPipelines.go +++ b/sdk/go/datadog/getLogsPipelines.go @@ -13,37 +13,6 @@ import ( ) // Use this data source to list all existing logs pipelines for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// pipelines, err := datadog.GetLogsPipelines(ctx, nil, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewLogsPipelineOrder(ctx, "lpo", &datadog.LogsPipelineOrderArgs{ -// Name: pulumi.String("lpo"), -// Pipelines: "TODO: For expression", -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetLogsPipelines(ctx *pulumi.Context, args *GetLogsPipelinesArgs, opts ...pulumi.InvokeOption) (*GetLogsPipelinesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetLogsPipelinesResult diff --git a/sdk/go/datadog/getMonitor.go b/sdk/go/datadog/getMonitor.go index cd0a9d816..dc34bb50c 100644 --- a/sdk/go/datadog/getMonitor.go +++ b/sdk/go/datadog/getMonitor.go @@ -13,35 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing monitor for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupMonitor(ctx, &datadog.LookupMonitorArgs{ -// MonitorTagsFilters: []string{ -// "foo:bar", -// }, -// NameFilter: pulumi.StringRef("My awesome monitor"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupMonitor(ctx *pulumi.Context, args *LookupMonitorArgs, opts ...pulumi.InvokeOption) (*LookupMonitorResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupMonitorResult diff --git a/sdk/go/datadog/getMonitorConfigPolicies.go b/sdk/go/datadog/getMonitorConfigPolicies.go index 246378c46..de71a1b8f 100644 --- a/sdk/go/datadog/getMonitorConfigPolicies.go +++ b/sdk/go/datadog/getMonitorConfigPolicies.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to list existing monitor config policies for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetMonitorConfigPolicies(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetMonitorConfigPolicies(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetMonitorConfigPoliciesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetMonitorConfigPoliciesResult @@ -50,3 +30,51 @@ type GetMonitorConfigPoliciesResult struct { // List of monitor config policies MonitorConfigPolicies []GetMonitorConfigPoliciesMonitorConfigPolicy `pulumi:"monitorConfigPolicies"` } + +func GetMonitorConfigPoliciesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetMonitorConfigPoliciesResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetMonitorConfigPoliciesResult, error) { + r, err := GetMonitorConfigPolicies(ctx, opts...) + var s GetMonitorConfigPoliciesResult + if r != nil { + s = *r + } + return s, err + }).(GetMonitorConfigPoliciesResultOutput) +} + +// A collection of values returned by getMonitorConfigPolicies. +type GetMonitorConfigPoliciesResultOutput struct{ *pulumi.OutputState } + +func (GetMonitorConfigPoliciesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMonitorConfigPoliciesResult)(nil)).Elem() +} + +func (o GetMonitorConfigPoliciesResultOutput) ToGetMonitorConfigPoliciesResultOutput() GetMonitorConfigPoliciesResultOutput { + return o +} + +func (o GetMonitorConfigPoliciesResultOutput) ToGetMonitorConfigPoliciesResultOutputWithContext(ctx context.Context) GetMonitorConfigPoliciesResultOutput { + return o +} + +func (o GetMonitorConfigPoliciesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetMonitorConfigPoliciesResult] { + return pulumix.Output[GetMonitorConfigPoliciesResult]{ + OutputState: o.OutputState, + } +} + +// The provider-assigned unique ID for this managed resource. +func (o GetMonitorConfigPoliciesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMonitorConfigPoliciesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of monitor config policies +func (o GetMonitorConfigPoliciesResultOutput) MonitorConfigPolicies() GetMonitorConfigPoliciesMonitorConfigPolicyArrayOutput { + return o.ApplyT(func(v GetMonitorConfigPoliciesResult) []GetMonitorConfigPoliciesMonitorConfigPolicy { + return v.MonitorConfigPolicies + }).(GetMonitorConfigPoliciesMonitorConfigPolicyArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMonitorConfigPoliciesResultOutput{}) +} diff --git a/sdk/go/datadog/getPermissions.go b/sdk/go/datadog/getPermissions.go index 65041127f..76e7927aa 100644 --- a/sdk/go/datadog/getPermissions.go +++ b/sdk/go/datadog/getPermissions.go @@ -13,30 +13,6 @@ import ( ) // Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetPermissions(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetPermissions(ctx *pulumi.Context, args *GetPermissionsArgs, opts ...pulumi.InvokeOption) (*GetPermissionsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetPermissionsResult diff --git a/sdk/go/datadog/getRole.go b/sdk/go/datadog/getRole.go index 594fa426f..57e71b227 100644 --- a/sdk/go/datadog/getRole.go +++ b/sdk/go/datadog/getRole.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing role for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupRole(ctx, &datadog.LookupRoleArgs{ -// Filter: "Datadog Standard Role", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupRole(ctx *pulumi.Context, args *LookupRoleArgs, opts ...pulumi.InvokeOption) (*LookupRoleResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupRoleResult diff --git a/sdk/go/datadog/getRoles.go b/sdk/go/datadog/getRoles.go index 7f8c54d65..04d249eea 100644 --- a/sdk/go/datadog/getRoles.go +++ b/sdk/go/datadog/getRoles.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about multiple roles for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetRoles(ctx, &datadog.GetRolesArgs{ -// Filter: pulumi.StringRef("Datadog"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetRoles(ctx *pulumi.Context, args *GetRolesArgs, opts ...pulumi.InvokeOption) (*GetRolesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetRolesResult diff --git a/sdk/go/datadog/getSecurityMonitoringFilters.go b/sdk/go/datadog/getSecurityMonitoringFilters.go index 916ec2c06..a9e576851 100644 --- a/sdk/go/datadog/getSecurityMonitoringFilters.go +++ b/sdk/go/datadog/getSecurityMonitoringFilters.go @@ -4,35 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve information about existing security monitoring filters for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetSecurityMonitoringFilters(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetSecurityMonitoringFilters(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSecurityMonitoringFiltersResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetSecurityMonitoringFiltersResult @@ -52,3 +32,54 @@ type GetSecurityMonitoringFiltersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` } + +func GetSecurityMonitoringFiltersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSecurityMonitoringFiltersResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetSecurityMonitoringFiltersResult, error) { + r, err := GetSecurityMonitoringFilters(ctx, opts...) + var s GetSecurityMonitoringFiltersResult + if r != nil { + s = *r + } + return s, err + }).(GetSecurityMonitoringFiltersResultOutput) +} + +// A collection of values returned by getSecurityMonitoringFilters. +type GetSecurityMonitoringFiltersResultOutput struct{ *pulumi.OutputState } + +func (GetSecurityMonitoringFiltersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSecurityMonitoringFiltersResult)(nil)).Elem() +} + +func (o GetSecurityMonitoringFiltersResultOutput) ToGetSecurityMonitoringFiltersResultOutput() GetSecurityMonitoringFiltersResultOutput { + return o +} + +func (o GetSecurityMonitoringFiltersResultOutput) ToGetSecurityMonitoringFiltersResultOutputWithContext(ctx context.Context) GetSecurityMonitoringFiltersResultOutput { + return o +} + +func (o GetSecurityMonitoringFiltersResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecurityMonitoringFiltersResult] { + return pulumix.Output[GetSecurityMonitoringFiltersResult]{ + OutputState: o.OutputState, + } +} + +// List of filters. +func (o GetSecurityMonitoringFiltersResultOutput) Filters() GetSecurityMonitoringFiltersFilterArrayOutput { + return o.ApplyT(func(v GetSecurityMonitoringFiltersResult) []GetSecurityMonitoringFiltersFilter { return v.Filters }).(GetSecurityMonitoringFiltersFilterArrayOutput) +} + +// List of IDs of filters. +func (o GetSecurityMonitoringFiltersResultOutput) FiltersIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSecurityMonitoringFiltersResult) []string { return v.FiltersIds }).(pulumi.StringArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSecurityMonitoringFiltersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSecurityMonitoringFiltersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSecurityMonitoringFiltersResultOutput{}) +} diff --git a/sdk/go/datadog/getSecurityMonitoringRules.go b/sdk/go/datadog/getSecurityMonitoringRules.go index 13b7560bc..b96cfdf92 100644 --- a/sdk/go/datadog/getSecurityMonitoringRules.go +++ b/sdk/go/datadog/getSecurityMonitoringRules.go @@ -13,36 +13,6 @@ import ( ) // Use this data source to retrieve information about existing security monitoring rules for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetSecurityMonitoringRules(ctx, &datadog.GetSecurityMonitoringRulesArgs{ -// DefaultOnlyFilter: pulumi.BoolRef(true), -// NameFilter: pulumi.StringRef("attack"), -// TagsFilters: []string{ -// "foo:bar", -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetSecurityMonitoringRules(ctx *pulumi.Context, args *GetSecurityMonitoringRulesArgs, opts ...pulumi.InvokeOption) (*GetSecurityMonitoringRulesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetSecurityMonitoringRulesResult diff --git a/sdk/go/datadog/getSensitiveDataScannerGroupOrder.go b/sdk/go/datadog/getSensitiveDataScannerGroupOrder.go index af534ed5b..a469b637a 100644 --- a/sdk/go/datadog/getSensitiveDataScannerGroupOrder.go +++ b/sdk/go/datadog/getSensitiveDataScannerGroupOrder.go @@ -4,41 +4,15 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// foo, err := datadog.LookupSensitiveDataScannerGroupOrder(ctx, nil, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewSensitiveDataScannerGroupOrder(ctx, "foobar", &datadog.SensitiveDataScannerGroupOrderArgs{ -// GroupIds: interface{}(foo.GroupIds), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupSensitiveDataScannerGroupOrder(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupSensitiveDataScannerGroupOrderResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupSensitiveDataScannerGroupOrderResult @@ -56,3 +30,49 @@ type LookupSensitiveDataScannerGroupOrderResult struct { // The ID of this resource. Id string `pulumi:"id"` } + +func LookupSensitiveDataScannerGroupOrderOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupSensitiveDataScannerGroupOrderResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (LookupSensitiveDataScannerGroupOrderResult, error) { + r, err := LookupSensitiveDataScannerGroupOrder(ctx, opts...) + var s LookupSensitiveDataScannerGroupOrderResult + if r != nil { + s = *r + } + return s, err + }).(LookupSensitiveDataScannerGroupOrderResultOutput) +} + +// A collection of values returned by getSensitiveDataScannerGroupOrder. +type LookupSensitiveDataScannerGroupOrderResultOutput struct{ *pulumi.OutputState } + +func (LookupSensitiveDataScannerGroupOrderResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSensitiveDataScannerGroupOrderResult)(nil)).Elem() +} + +func (o LookupSensitiveDataScannerGroupOrderResultOutput) ToLookupSensitiveDataScannerGroupOrderResultOutput() LookupSensitiveDataScannerGroupOrderResultOutput { + return o +} + +func (o LookupSensitiveDataScannerGroupOrderResultOutput) ToLookupSensitiveDataScannerGroupOrderResultOutputWithContext(ctx context.Context) LookupSensitiveDataScannerGroupOrderResultOutput { + return o +} + +func (o LookupSensitiveDataScannerGroupOrderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSensitiveDataScannerGroupOrderResult] { + return pulumix.Output[LookupSensitiveDataScannerGroupOrderResult]{ + OutputState: o.OutputState, + } +} + +// The list of Sensitive Data Scanner group IDs, in order. Logs are tested against the query filter of each index one by one following the order of the list. +func (o LookupSensitiveDataScannerGroupOrderResultOutput) GroupIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupSensitiveDataScannerGroupOrderResult) []string { return v.GroupIds }).(pulumi.StringArrayOutput) +} + +// The ID of this resource. +func (o LookupSensitiveDataScannerGroupOrderResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSensitiveDataScannerGroupOrderResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSensitiveDataScannerGroupOrderResultOutput{}) +} diff --git a/sdk/go/datadog/getServiceLevelObjective.go b/sdk/go/datadog/getServiceLevelObjective.go index 4affd6d92..297ccf657 100644 --- a/sdk/go/datadog/getServiceLevelObjective.go +++ b/sdk/go/datadog/getServiceLevelObjective.go @@ -13,39 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing SLO for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupServiceLevelObjective(ctx, &datadog.LookupServiceLevelObjectiveArgs{ -// NameQuery: pulumi.StringRef("My test SLO"), -// TagsQuery: pulumi.StringRef("foo:bar"), -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.LookupServiceLevelObjective(ctx, &datadog.LookupServiceLevelObjectiveArgs{ -// Id: pulumi.StringRef(data.Terraform_remote_state.Api.Outputs.Slo), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupServiceLevelObjective(ctx *pulumi.Context, args *LookupServiceLevelObjectiveArgs, opts ...pulumi.InvokeOption) (*LookupServiceLevelObjectiveResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupServiceLevelObjectiveResult diff --git a/sdk/go/datadog/getServiceLevelObjectives.go b/sdk/go/datadog/getServiceLevelObjectives.go index f4944470b..e83329ca1 100644 --- a/sdk/go/datadog/getServiceLevelObjectives.go +++ b/sdk/go/datadog/getServiceLevelObjectives.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about multiple SLOs for use in other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetServiceLevelObjectives(ctx, &datadog.GetServiceLevelObjectivesArgs{ -// TagsQuery: pulumi.StringRef("owner:ft-foo"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetServiceLevelObjectives(ctx *pulumi.Context, args *GetServiceLevelObjectivesArgs, opts ...pulumi.InvokeOption) (*GetServiceLevelObjectivesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetServiceLevelObjectivesResult diff --git a/sdk/go/datadog/getSyntheticsLocations.go b/sdk/go/datadog/getSyntheticsLocations.go index d45a36797..dbad9e704 100644 --- a/sdk/go/datadog/getSyntheticsLocations.go +++ b/sdk/go/datadog/getSyntheticsLocations.go @@ -4,8 +4,12 @@ package datadog import ( + "context" + "reflect" + "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve Datadog's Synthetics Locations (to be used in Synthetics tests). @@ -26,3 +30,49 @@ type GetSyntheticsLocationsResult struct { // A map of available Synthetics location IDs to names for Synthetics tests. Locations map[string]interface{} `pulumi:"locations"` } + +func GetSyntheticsLocationsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSyntheticsLocationsResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetSyntheticsLocationsResult, error) { + r, err := GetSyntheticsLocations(ctx, opts...) + var s GetSyntheticsLocationsResult + if r != nil { + s = *r + } + return s, err + }).(GetSyntheticsLocationsResultOutput) +} + +// A collection of values returned by getSyntheticsLocations. +type GetSyntheticsLocationsResultOutput struct{ *pulumi.OutputState } + +func (GetSyntheticsLocationsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSyntheticsLocationsResult)(nil)).Elem() +} + +func (o GetSyntheticsLocationsResultOutput) ToGetSyntheticsLocationsResultOutput() GetSyntheticsLocationsResultOutput { + return o +} + +func (o GetSyntheticsLocationsResultOutput) ToGetSyntheticsLocationsResultOutputWithContext(ctx context.Context) GetSyntheticsLocationsResultOutput { + return o +} + +func (o GetSyntheticsLocationsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSyntheticsLocationsResult] { + return pulumix.Output[GetSyntheticsLocationsResult]{ + OutputState: o.OutputState, + } +} + +// The provider-assigned unique ID for this managed resource. +func (o GetSyntheticsLocationsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSyntheticsLocationsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// A map of available Synthetics location IDs to names for Synthetics tests. +func (o GetSyntheticsLocationsResultOutput) Locations() pulumi.MapOutput { + return o.ApplyT(func(v GetSyntheticsLocationsResult) map[string]interface{} { return v.Locations }).(pulumi.MapOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSyntheticsLocationsResultOutput{}) +} diff --git a/sdk/go/datadog/getTeam.go b/sdk/go/datadog/getTeam.go index 23c5d4e95..bbd9c8dce 100644 --- a/sdk/go/datadog/getTeam.go +++ b/sdk/go/datadog/getTeam.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing Datadog team. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupTeam(ctx, &datadog.LookupTeamArgs{ -// TeamId: pulumi.StringRef("e6723c40-edb1-11ed-b816-da7ad0900002"), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupTeamResult diff --git a/sdk/go/datadog/getTeamMemberships.go b/sdk/go/datadog/getTeamMemberships.go index ac814f478..153d14508 100644 --- a/sdk/go/datadog/getTeamMemberships.go +++ b/sdk/go/datadog/getTeamMemberships.go @@ -13,33 +13,6 @@ import ( ) // Use this data source to retrieve information about existing Datadog team memberships. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.GetTeamMemberships(ctx, &datadog.GetTeamMembershipsArgs{ -// FilterKeyword: pulumi.StringRef("foo@example.com"), -// TeamId: "e6723c40-edb1-11ed-b816-da7ad0900002", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func GetTeamMemberships(ctx *pulumi.Context, args *GetTeamMembershipsArgs, opts ...pulumi.InvokeOption) (*GetTeamMembershipsResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetTeamMembershipsResult diff --git a/sdk/go/datadog/getUser.go b/sdk/go/datadog/getUser.go index d07c78bba..3885eebdf 100644 --- a/sdk/go/datadog/getUser.go +++ b/sdk/go/datadog/getUser.go @@ -13,32 +13,6 @@ import ( ) // Use this data source to retrieve information about an existing user to use it in an other resources. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.LookupUser(ctx, &datadog.LookupUserArgs{ -// Filter: "user.name@company.com", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupUserResult diff --git a/sdk/go/datadog/logsArchive.go b/sdk/go/datadog/logsArchive.go index 629f5015b..4eb5e7c39 100644 --- a/sdk/go/datadog/logsArchive.go +++ b/sdk/go/datadog/logsArchive.go @@ -15,39 +15,6 @@ import ( // Provides a Datadog Logs Archive API resource, which is used to create and manage Datadog logs archives. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsArchive(ctx, "myS3Archive", &datadog.LogsArchiveArgs{ -// Name: pulumi.String("my s3 archive"), -// Query: pulumi.String("service:myservice"), -// S3Archive: &datadog.LogsArchiveS3ArchiveArgs{ -// AccountId: pulumi.String("001234567888"), -// Bucket: pulumi.String("my-bucket"), -// Path: pulumi.String("/path/foo"), -// RoleName: pulumi.String("my-role-name"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/logsArchiveOrder.go b/sdk/go/datadog/logsArchiveOrder.go index 300a2778c..403b1b1cf 100644 --- a/sdk/go/datadog/logsArchiveOrder.go +++ b/sdk/go/datadog/logsArchiveOrder.go @@ -14,35 +14,6 @@ import ( // Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsArchiveOrder(ctx, "sampleArchiveOrder", &datadog.LogsArchiveOrderArgs{ -// ArchiveIds: pulumi.StringArray{ -// datadog_logs_archive.Sample_archive_1.Id, -// datadog_logs_archive.Sample_archive_2.Id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order. diff --git a/sdk/go/datadog/logsIndex.go b/sdk/go/datadog/logsIndex.go index 0e06481a7..b9ef26b07 100644 --- a/sdk/go/datadog/logsIndex.go +++ b/sdk/go/datadog/logsIndex.go @@ -13,61 +13,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsIndex(ctx, "sampleIndex", &datadog.LogsIndexArgs{ -// DailyLimit: pulumi.Int(200000), -// ExclusionFilters: datadog.LogsIndexExclusionFilterArray{ -// &datadog.LogsIndexExclusionFilterArgs{ -// Filters: datadog.LogsIndexExclusionFilterFilterArray{ -// &datadog.LogsIndexExclusionFilterFilterArgs{ -// Query: pulumi.String("app:coredns"), -// SampleRate: pulumi.Float64(0.97), -// }, -// }, -// IsEnabled: pulumi.Bool(true), -// Name: pulumi.String("Filter coredns logs"), -// }, -// &datadog.LogsIndexExclusionFilterArgs{ -// Filters: datadog.LogsIndexExclusionFilterFilterArray{ -// &datadog.LogsIndexExclusionFilterFilterArgs{ -// Query: pulumi.String("service:kube_apiserver"), -// SampleRate: pulumi.Float64(1), -// }, -// }, -// IsEnabled: pulumi.Bool(true), -// Name: pulumi.String("Kubernetes apiserver"), -// }, -// }, -// Filters: datadog.LogsIndexFilterArray{ -// &datadog.LogsIndexFilterArgs{ -// Query: pulumi.String("*"), -// }, -// }, -// Name: pulumi.String("your index"), -// RetentionDays: pulumi.Int(7), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/logsIndexOrder.go b/sdk/go/datadog/logsIndexOrder.go index c912eeaf8..f604704d1 100644 --- a/sdk/go/datadog/logsIndexOrder.go +++ b/sdk/go/datadog/logsIndexOrder.go @@ -15,35 +15,6 @@ import ( // Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsIndexOrder(ctx, "sampleIndexOrder", &datadog.LogsIndexOrderArgs{ -// Name: pulumi.String("sample_index_order"), -// Indexes: pulumi.StringArray{ -// datadog_logs_index.Sample_index.Id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource `` can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/go/datadog/logsIntegrationPipeline.go b/sdk/go/datadog/logsIntegrationPipeline.go index 3fdbede87..2d9ee5f56 100644 --- a/sdk/go/datadog/logsIntegrationPipeline.go +++ b/sdk/go/datadog/logsIntegrationPipeline.go @@ -14,32 +14,6 @@ import ( // Provides a Datadog Logs Pipeline API resource to manage the integrations. Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don't need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your `LogsPipelineOrder` resource. If you don't need the `pipelineOrder` feature, this resource declaration can be omitted. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsIntegrationPipeline(ctx, "python", &datadog.LogsIntegrationPipelineArgs{ -// IsEnabled: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // To find the pipeline ID, click the "view" button in the UI to open the pipeline details. The pipeline ID is the last part of the URL. diff --git a/sdk/go/datadog/logsMetric.go b/sdk/go/datadog/logsMetric.go index cf38e1e6f..ea9c63d55 100644 --- a/sdk/go/datadog/logsMetric.go +++ b/sdk/go/datadog/logsMetric.go @@ -15,49 +15,6 @@ import ( // Resource for interacting with the logsMetric API // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsMetric(ctx, "testingLogsMetric", &datadog.LogsMetricArgs{ -// Compute: &datadog.LogsMetricComputeArgs{ -// AggregationType: pulumi.String("distribution"), -// Path: pulumi.String("@duration"), -// }, -// Filter: &datadog.LogsMetricFilterArgs{ -// Query: pulumi.String("service:test"), -// }, -// GroupBies: datadog.LogsMetricGroupByArray{ -// &datadog.LogsMetricGroupByArgs{ -// Path: pulumi.String("@status"), -// TagName: pulumi.String("status"), -// }, -// &datadog.LogsMetricGroupByArgs{ -// Path: pulumi.String("@version"), -// TagName: pulumi.String("version"), -// }, -// }, -// Name: pulumi.String("testing.logs.metric"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/logsPipelineOrder.go b/sdk/go/datadog/logsPipelineOrder.go index 7102e87f9..f3eabbc63 100644 --- a/sdk/go/datadog/logsPipelineOrder.go +++ b/sdk/go/datadog/logsPipelineOrder.go @@ -15,36 +15,6 @@ import ( // Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewLogsPipelineOrder(ctx, "samplePipelineOrder", &datadog.LogsPipelineOrderArgs{ -// Name: pulumi.String("sample_pipeline_order"), -// Pipelines: pulumi.StringArray{ -// datadog_logs_custom_pipeline.Sample_pipeline.Id, -// datadog_logs_integration_pipeline.Python.Id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation). diff --git a/sdk/go/datadog/metricMetadata.go b/sdk/go/datadog/metricMetadata.go index 53ce58a02..c12658017 100644 --- a/sdk/go/datadog/metricMetadata.go +++ b/sdk/go/datadog/metricMetadata.go @@ -15,36 +15,6 @@ import ( // Provides a Datadog metricMetadata resource. This can be used to manage a metric's metadata. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewMetricMetadata(ctx, "requestTime", &datadog.MetricMetadataArgs{ -// Description: pulumi.String("99th percentile request time in milliseconds"), -// Metric: pulumi.String("request.time"), -// ShortName: pulumi.String("Request time"), -// Type: pulumi.String("gauge"), -// Unit: pulumi.String("millisecond"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/metricTagConfiguration.go b/sdk/go/datadog/metricTagConfiguration.go index f66dac6aa..9c41bcf8a 100644 --- a/sdk/go/datadog/metricTagConfiguration.go +++ b/sdk/go/datadog/metricTagConfiguration.go @@ -15,59 +15,6 @@ import ( // Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewMetricTagConfiguration(ctx, "exampleDistMetric", &datadog.MetricTagConfigurationArgs{ -// IncludePercentiles: pulumi.Bool(false), -// MetricName: pulumi.String("example.terraform.dist.metric"), -// MetricType: pulumi.String("distribution"), -// Tags: pulumi.StringArray{ -// pulumi.String("sport"), -// pulumi.String("datacenter"), -// }, -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewMetricTagConfiguration(ctx, "exampleCountMetric", &datadog.MetricTagConfigurationArgs{ -// Aggregations: datadog.MetricTagConfigurationAggregationArray{ -// &datadog.MetricTagConfigurationAggregationArgs{ -// Space: pulumi.String("min"), -// Time: pulumi.String("avg"), -// }, -// &datadog.MetricTagConfigurationAggregationArgs{ -// Space: pulumi.String("max"), -// Time: pulumi.String("avg"), -// }, -// }, -// MetricName: pulumi.String("example.terraform.count.metric"), -// MetricType: pulumi.String("count"), -// Tags: pulumi.StringArray{ -// pulumi.String("sport"), -// pulumi.String("datacenter"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/monitor.go b/sdk/go/datadog/monitor.go index 3bedb49c6..ded24f2a3 100644 --- a/sdk/go/datadog/monitor.go +++ b/sdk/go/datadog/monitor.go @@ -15,45 +15,6 @@ import ( // Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewMonitor(ctx, "foo", &datadog.MonitorArgs{ -// EscalationMessage: pulumi.String("Escalation message @pagerduty"), -// IncludeTags: pulumi.Bool(true), -// Message: pulumi.String("Monitor triggered. Notify: @hipchat-channel"), -// MonitorThresholds: &datadog.MonitorMonitorThresholdsArgs{ -// Critical: pulumi.String("4"), -// Warning: pulumi.String("2"), -// }, -// Name: pulumi.String("Name for monitor foo"), -// Query: pulumi.String("avg(last_1h):avg:aws.ec2.cpu{environment:foo,host:foo} by {host} > 4"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("team:fooBar"), -// }, -// Type: pulumi.String("metric alert"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/monitorConfigPolicy.go b/sdk/go/datadog/monitorConfigPolicy.go index 8875d5652..4d074f09b 100644 --- a/sdk/go/datadog/monitorConfigPolicy.go +++ b/sdk/go/datadog/monitorConfigPolicy.go @@ -14,40 +14,6 @@ import ( ) // Provides a Datadog monitor config policy resource. This can be used to create and manage Datadog monitor config policies. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewMonitorConfigPolicy(ctx, "test", &datadog.MonitorConfigPolicyArgs{ -// PolicyType: pulumi.String("tag"), -// TagPolicy: &datadog.MonitorConfigPolicyTagPolicyArgs{ -// TagKey: pulumi.String("env"), -// TagKeyRequired: pulumi.Bool(false), -// ValidTagValues: pulumi.StringArray{ -// pulumi.String("staging"), -// pulumi.String("prod"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type MonitorConfigPolicy struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/monitorJson.go b/sdk/go/datadog/monitorJson.go index 685edfca8..de20a7a75 100644 --- a/sdk/go/datadog/monitorJson.go +++ b/sdk/go/datadog/monitorJson.go @@ -15,57 +15,6 @@ import ( // Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewMonitorJson(ctx, "monitorJson", &datadog.MonitorJsonArgs{ -// Monitor: pulumi.String(`{ -// "name": "Example monitor - service check", -// "type": "service check", -// "query": "\"ntp.in_sync\".by(\"*\").last(2).count_by_status()", -// "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\n\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.", -// "tags": [], -// "multi": true, -// "restricted_roles": null, -// "options": { -// "include_tags": true, -// "locked": false, -// "new_host_delay": 150, -// "notify_audit": false, -// "notify_no_data": false, -// "thresholds": { -// "warning": 1, -// "ok": 1, -// "critical": 1 -// } -// }, -// "priority": null, -// "classification": "custom" -// } -// -// `), -// -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/opsgenie/serviceObject.go b/sdk/go/datadog/opsgenie/serviceObject.go index 5cbafebbc..31e0e1c45 100644 --- a/sdk/go/datadog/opsgenie/serviceObject.go +++ b/sdk/go/datadog/opsgenie/serviceObject.go @@ -14,42 +14,6 @@ import ( ) // Resource for interacting with Datadog Opsgenie Service API. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/opsgenie" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := opsgenie.NewServiceObject(ctx, "fakeServiceName", &opsgenie.ServiceObjectArgs{ -// Name: pulumi.String("fake_service_name"), -// OpsgenieApiKey: pulumi.String("00000000-0000-0000-0000-000000000000"), -// Region: pulumi.String("us"), -// }) -// if err != nil { -// return err -// } -// _, err = opsgenie.NewServiceObject(ctx, "fakeServiceName2", &opsgenie.ServiceObjectArgs{ -// Name: pulumi.String("fake_service_name_2"), -// OpsgenieApiKey: pulumi.String("11111111-1111-1111-1111-111111111111"), -// Region: pulumi.String("eu"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type ServiceObject struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/organizationSettings.go b/sdk/go/datadog/organizationSettings.go index d5827e4c3..868edf4d8 100644 --- a/sdk/go/datadog/organizationSettings.go +++ b/sdk/go/datadog/organizationSettings.go @@ -14,32 +14,6 @@ import ( // Provides a Datadog Organization resource. This can be used to manage your Datadog organization's settings. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewOrganizationSettings(ctx, "organization", &datadog.OrganizationSettingsArgs{ -// Name: pulumi.String("foo-organization"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/pagerduty/integration.go b/sdk/go/datadog/pagerduty/integration.go index 653cf422d..0227e519e 100644 --- a/sdk/go/datadog/pagerduty/integration.go +++ b/sdk/go/datadog/pagerduty/integration.go @@ -14,55 +14,6 @@ import ( ) // Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/pagerduty" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := pagerduty.NewIntegration(ctx, "pd", &pagerduty.IntegrationArgs{ -// ApiToken: pulumi.String("38457822378273432587234242874"), -// Schedules: pulumi.StringArray{ -// pulumi.String("https://ddog.pagerduty.com/schedules/X123VF"), -// pulumi.String("https://ddog.pagerduty.com/schedules/X321XX"), -// }, -// Subdomain: pulumi.String("ddog"), -// }) -// if err != nil { -// return err -// } -// _, err = pagerduty.NewServiceObject(ctx, "testingFoo", &pagerduty.ServiceObjectArgs{ -// ServiceKey: pulumi.String("9876543210123456789"), -// ServiceName: pulumi.String("testing_foo"), -// }, pulumi.DependsOn([]pulumi.Resource{ -// pulumi.Resource("datadog_integration_pagerduty.pd"), -// })) -// if err != nil { -// return err -// } -// _, err = pagerduty.NewServiceObject(ctx, "testingBar", &pagerduty.ServiceObjectArgs{ -// ServiceKey: pulumi.String("54321098765432109876"), -// ServiceName: pulumi.String("testing_bar"), -// }, pulumi.DependsOn([]pulumi.Resource{ -// pulumi.Resource("datadog_integration_pagerduty.pd"), -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type Integration struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/pagerduty/serviceObject.go b/sdk/go/datadog/pagerduty/serviceObject.go index 879ff8566..55db0d291 100644 --- a/sdk/go/datadog/pagerduty/serviceObject.go +++ b/sdk/go/datadog/pagerduty/serviceObject.go @@ -14,40 +14,6 @@ import ( ) // Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/pagerduty" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := pagerduty.NewServiceObject(ctx, "testingFoo", &pagerduty.ServiceObjectArgs{ -// ServiceKey: pulumi.String("9876543210123456789"), -// ServiceName: pulumi.String("testing_foo"), -// }) -// if err != nil { -// return err -// } -// _, err = pagerduty.NewServiceObject(ctx, "testingBar", &pagerduty.ServiceObjectArgs{ -// ServiceKey: pulumi.String("54321098765432109876"), -// ServiceName: pulumi.String("testing_bar"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type ServiceObject struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/restrictionPolicy.go b/sdk/go/datadog/restrictionPolicy.go index d2c7833ab..98dab4179 100644 --- a/sdk/go/datadog/restrictionPolicy.go +++ b/sdk/go/datadog/restrictionPolicy.go @@ -15,46 +15,6 @@ import ( // Provides a Datadog RestrictionPolicy resource. This can be used to create and manage Datadog restriction policies. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewRestrictionPolicy(ctx, "foo", &datadog.RestrictionPolicyArgs{ -// Bindings: datadog.RestrictionPolicyBindingArray{ -// &datadog.RestrictionPolicyBindingArgs{ -// Principals: pulumi.StringArray{ -// pulumi.String("role:00000000-0000-1111-0000-000000000000"), -// }, -// Relation: pulumi.String("editor"), -// }, -// &datadog.RestrictionPolicyBindingArgs{ -// Principals: pulumi.StringArray{ -// pulumi.String("org:10000000-0000-1111-0000-000000000000"), -// }, -// Relation: pulumi.String("viewer"), -// }, -// }, -// ResourceId: pulumi.String("security-rule:abc-def-ghi"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/role.go b/sdk/go/datadog/role.go index 115a4dfe4..ed57004f6 100644 --- a/sdk/go/datadog/role.go +++ b/sdk/go/datadog/role.go @@ -15,44 +15,6 @@ import ( // Provides a Datadog role resource. This can be used to create and manage Datadog roles. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// bar, err := datadog.GetPermissions(ctx, nil, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewRole(ctx, "foo", &datadog.RoleArgs{ -// Name: pulumi.String("foo"), -// Permissions: datadog.RolePermissionArray{ -// &datadog.RolePermissionArgs{ -// Id: *pulumi.String(bar.Permissions.MonitorsDowntime), -// }, -// &datadog.RolePermissionArgs{ -// Id: *pulumi.String(bar.Permissions.MonitorsWrite), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Roles can be imported using their ID, e.g. diff --git a/sdk/go/datadog/rumApplication.go b/sdk/go/datadog/rumApplication.go index 8b497ef5c..b9c93a5aa 100644 --- a/sdk/go/datadog/rumApplication.go +++ b/sdk/go/datadog/rumApplication.go @@ -15,33 +15,6 @@ import ( // Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewRumApplication(ctx, "rumApplication", &datadog.RumApplicationArgs{ -// Name: pulumi.String("my-application"), -// Type: pulumi.String("browser"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/securityMonitoringDefaultRule.go b/sdk/go/datadog/securityMonitoringDefaultRule.go index 435106f4d..392d3cf86 100644 --- a/sdk/go/datadog/securityMonitoringDefaultRule.go +++ b/sdk/go/datadog/securityMonitoringDefaultRule.go @@ -14,40 +14,6 @@ import ( // Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSecurityMonitoringDefaultRule(ctx, "adefaultrule", &datadog.SecurityMonitoringDefaultRuleArgs{ -// Cases: datadog.SecurityMonitoringDefaultRuleCaseArray{ -// &datadog.SecurityMonitoringDefaultRuleCaseArgs{ -// Notifications: pulumi.StringArray{ -// pulumi.String("@me"), -// }, -// Status: pulumi.String("high"), -// }, -// }, -// Enabled: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Default rules need to be imported using their ID before applying. resource "datadog_security_monitoring_default_rule" "adefaultrule" { } diff --git a/sdk/go/datadog/securityMonitoringFilter.go b/sdk/go/datadog/securityMonitoringFilter.go index 1ac5dd66f..f9157d4cf 100644 --- a/sdk/go/datadog/securityMonitoringFilter.go +++ b/sdk/go/datadog/securityMonitoringFilter.go @@ -15,44 +15,6 @@ import ( // Provides a Datadog Security Monitoring Rule API resource for security filters. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSecurityMonitoringFilter(ctx, "myFilter", &datadog.SecurityMonitoringFilterArgs{ -// ExclusionFilters: datadog.SecurityMonitoringFilterExclusionFilterArray{ -// &datadog.SecurityMonitoringFilterExclusionFilterArgs{ -// Name: pulumi.String("first"), -// Query: pulumi.String("exclude some logs"), -// }, -// &datadog.SecurityMonitoringFilterExclusionFilterArgs{ -// Name: pulumi.String("second"), -// Query: pulumi.String("exclude some other logs"), -// }, -// }, -// IsEnabled: pulumi.Bool(true), -// Name: pulumi.String("My filter"), -// Query: pulumi.String("The filter is filtering."), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Security monitoring filters can be imported using ID, e.g. diff --git a/sdk/go/datadog/securityMonitoringRule.go b/sdk/go/datadog/securityMonitoringRule.go index 8d66e569a..36d8e06d1 100644 --- a/sdk/go/datadog/securityMonitoringRule.go +++ b/sdk/go/datadog/securityMonitoringRule.go @@ -15,69 +15,6 @@ import ( // Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use `datadogSecurityDefaultRule` instead. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSecurityMonitoringRule(ctx, "myrule", &datadog.SecurityMonitoringRuleArgs{ -// Cases: datadog.SecurityMonitoringRuleCaseArray{ -// &datadog.SecurityMonitoringRuleCaseArgs{ -// Condition: pulumi.String("errors > 3 && warnings > 10"), -// Notifications: pulumi.StringArray{ -// pulumi.String("@user"), -// }, -// Status: pulumi.String("high"), -// }, -// }, -// Enabled: pulumi.Bool(true), -// Message: pulumi.String("The rule has triggered."), -// Name: pulumi.String("My rule"), -// Options: &datadog.SecurityMonitoringRuleOptionsArgs{ -// EvaluationWindow: pulumi.Int(300), -// KeepAlive: pulumi.Int(600), -// MaxSignalDuration: pulumi.Int(900), -// }, -// Queries: datadog.SecurityMonitoringRuleQueryArray{ -// &datadog.SecurityMonitoringRuleQueryArgs{ -// Aggregation: pulumi.String("count"), -// GroupByFields: pulumi.StringArray{ -// pulumi.String("host"), -// }, -// Name: pulumi.String("errors"), -// Query: pulumi.String("status:error"), -// }, -// &datadog.SecurityMonitoringRuleQueryArgs{ -// Aggregation: pulumi.String("count"), -// GroupByFields: pulumi.StringArray{ -// pulumi.String("host"), -// }, -// Name: pulumi.String("warnings"), -// Query: pulumi.String("status:warning"), -// }, -// }, -// Tags: pulumi.StringArray{ -// pulumi.String("type:dos"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/go/datadog/sensitiveDataScannerGroup.go b/sdk/go/datadog/sensitiveDataScannerGroup.go index 6d61ca96c..f750c8833 100644 --- a/sdk/go/datadog/sensitiveDataScannerGroup.go +++ b/sdk/go/datadog/sensitiveDataScannerGroup.go @@ -15,40 +15,6 @@ import ( // Provides a Sensitive Data Scanner group resource. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSensitiveDataScannerGroup(ctx, "mygroup", &datadog.SensitiveDataScannerGroupArgs{ -// Description: pulumi.String("A relevant description"), -// Filter: &datadog.SensitiveDataScannerGroupFilterArgs{ -// Query: pulumi.String("service:my-service"), -// }, -// IsEnabled: pulumi.Bool(true), -// Name: pulumi.String("My new scanning group"), -// ProductLists: pulumi.StringArray{ -// pulumi.String("apm"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/sensitiveDataScannerGroupOrder.go b/sdk/go/datadog/sensitiveDataScannerGroupOrder.go index d594d4411..ffbbb86ce 100644 --- a/sdk/go/datadog/sensitiveDataScannerGroupOrder.go +++ b/sdk/go/datadog/sensitiveDataScannerGroupOrder.go @@ -15,36 +15,6 @@ import ( // Provides a Datadog Sensitive Data Scanner Group Order API resource. This can be used to manage the order of Datadog Sensitive Data Scanner Groups. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSensitiveDataScannerGroupOrder(ctx, "mygrouporder", &datadog.SensitiveDataScannerGroupOrderArgs{ -// GroupIds: pulumi.StringArray{ -// pulumi.String("group-id-1"), -// pulumi.String("group-id-2"), -// pulumi.String("group-id-3"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/sensitiveDataScannerRule.go b/sdk/go/datadog/sensitiveDataScannerRule.go index 571d528f9..4e10c5b96 100644 --- a/sdk/go/datadog/sensitiveDataScannerRule.go +++ b/sdk/go/datadog/sensitiveDataScannerRule.go @@ -15,83 +15,6 @@ import ( // Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// mygroup, err := datadog.NewSensitiveDataScannerGroup(ctx, "mygroup", &datadog.SensitiveDataScannerGroupArgs{ -// Name: pulumi.String("My new scanning group"), -// Description: pulumi.String("A relevant description"), -// Filter: &datadog.SensitiveDataScannerGroupFilterArgs{ -// Query: pulumi.String("service:my-service"), -// }, -// IsEnabled: pulumi.Bool(true), -// ProductLists: pulumi.StringArray{ -// pulumi.String("apm"), -// }, -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSensitiveDataScannerRule(ctx, "myrule", &datadog.SensitiveDataScannerRuleArgs{ -// Name: pulumi.String("My new rule"), -// Description: pulumi.String("Another description"), -// GroupId: mygroup.ID(), -// ExcludedNamespaces: pulumi.StringArray{ -// pulumi.String("username"), -// }, -// IsEnabled: pulumi.Bool(true), -// Pattern: pulumi.String("myregex"), -// Tags: pulumi.StringArray{ -// pulumi.String("sensitive_data:true"), -// }, -// TextReplacement: &datadog.SensitiveDataScannerRuleTextReplacementArgs{ -// NumberOfChars: pulumi.Int(0), -// ReplacementString: pulumi.String(""), -// Type: pulumi.String("hash"), -// }, -// }) -// if err != nil { -// return err -// } -// awsSp, err := datadog.GetSensitiveDataScannerStandardPattern(ctx, &datadog.GetSensitiveDataScannerStandardPatternArgs{ -// Filter: "AWS Access Key ID Scanner", -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewSensitiveDataScannerRule(ctx, "mylibraryrule", &datadog.SensitiveDataScannerRuleArgs{ -// Name: pulumi.String("My library rule"), -// Description: pulumi.String("A description"), -// GroupId: mygroup.ID(), -// StandardPatternId: *pulumi.String(awsSp.Id), -// ExcludedNamespaces: pulumi.StringArray{ -// pulumi.String("username"), -// }, -// IsEnabled: pulumi.Bool(true), -// Tags: pulumi.StringArray{ -// pulumi.String("sensitive_data:true"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/serviceAccount.go b/sdk/go/datadog/serviceAccount.go index ae7bbe2e7..90653910f 100644 --- a/sdk/go/datadog/serviceAccount.go +++ b/sdk/go/datadog/serviceAccount.go @@ -15,42 +15,6 @@ import ( // Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// roRole, err := datadog.LookupRole(ctx, &datadog.LookupRoleArgs{ -// Filter: "Datadog Read Only Role", -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewServiceAccount(ctx, "bar", &datadog.ServiceAccountArgs{ -// Email: pulumi.String("new@example.com"), -// Name: pulumi.String("Service Account Bar"), -// Roles: pulumi.StringArray{ -// *pulumi.String(roRole.Id), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/serviceAccountApplicationKey.go b/sdk/go/datadog/serviceAccountApplicationKey.go index da434c28b..88429787a 100644 --- a/sdk/go/datadog/serviceAccountApplicationKey.go +++ b/sdk/go/datadog/serviceAccountApplicationKey.go @@ -15,33 +15,6 @@ import ( // Provides a Datadog `serviceAccountApplicationKey` resource. This can be used to create and manage Datadog service account application keys. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewServiceAccountApplicationKey(ctx, "foo", &datadog.ServiceAccountApplicationKeyArgs{ -// Name: pulumi.String("Application key for managing dashboards"), -// ServiceAccountId: pulumi.String("00000000-0000-1234-0000-000000000000"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Importing a service account's application key cannot import the value of the key. diff --git a/sdk/go/datadog/serviceDefinitionYaml.go b/sdk/go/datadog/serviceDefinitionYaml.go index 199e20222..efb65bf2b 100644 --- a/sdk/go/datadog/serviceDefinitionYaml.go +++ b/sdk/go/datadog/serviceDefinitionYaml.go @@ -15,165 +15,6 @@ import ( // Provides a Datadog service definition resource. This can be used to create and manage Datadog service definitions in the service catalog using the YAML/JSON definition. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewServiceDefinitionYaml(ctx, "serviceDefinitionV21", &datadog.ServiceDefinitionYamlArgs{ -// ServiceDefinition: pulumi.String(`schema-version: v2.1 -// -// dd-service: shopping-cart -// team: e-commerce-team -// contacts: -// - name: Support Email -// type: email -// contact: team@shopping.com -// - name: Support Slack -// type: slack -// contact: https://www.slack.com/archives/shopping-cart -// -// description: shopping cart service responsible for managing shopping carts -// tier: high -// lifecycle: production -// application: e-commerce -// links: -// - name: shopping-cart runbook -// type: runbook -// url: https://runbook/shopping-cart -// - name: shopping-cart architecture -// type: doc -// provider: gdoc -// url: https://google.drive/shopping-cart-architecture -// - name: shopping-cart service Wiki -// type: doc -// provider: wiki -// url: https://wiki/shopping-cart -// - name: shopping-cart source code -// type: repo -// provider: github -// url: http://github/shopping-cart -// -// tags: -// - business-unit:retail -// - cost-center:engineering -// -// integrations: -// -// pagerduty: -// service-url: https://www.pagerduty.com/service-directory/Pshopping-cart -// -// extensions: -// -// mycompany.com/shopping-cart: -// customField: customValue -// -// `), -// -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewServiceDefinitionYaml(ctx, "serviceDefinitionV2", &datadog.ServiceDefinitionYamlArgs{ -// ServiceDefinition: pulumi.String(`schema-version: v2 -// -// dd-service: shopping-cart -// team: E Commerce -// contacts: -// - name: Support Email -// type: email -// contact: team@shopping.com -// - name: Support Slack -// type: slack -// contact: https://www.slack.com/archives/shopping-cart -// -// repos: -// - name: shopping-cart source code -// provider: github -// url: http://github/shopping-cart -// -// docs: -// - name: shopping-cart architecture -// provider: gdoc -// url: https://google.drive/shopping-cart-architecture -// - name: shopping-cart service Wiki -// provider: wiki -// url: https://wiki/shopping-cart -// -// links: -// - name: shopping-cart runbook -// type: runbook -// url: https://runbook/shopping-cart -// -// tags: -// - business-unit:retail -// - cost-center:engineering -// -// integrations: -// -// pagerduty: https://www.pagerduty.com/service-directory/Pshopping-cart -// -// extensions: -// -// datadoghq.com/shopping-cart: -// customField: customValue -// -// `), -// -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewServiceDefinitionYaml(ctx, "serviceDefinitionBackstage", &datadog.ServiceDefinitionYamlArgs{ -// ServiceDefinition: pulumi.String(`apiVersion: backstage.io/v1alpha1 -// -// kind: Component -// metadata: -// -// annotations: -// backstage.io/techdocs-ref: http://a/b/c -// some.annotation: value -// namespace: default -// name: shopping-cart -// title: Shopping Cart -// description: A shopping cart service -// tags: ["taga:valuea", "tagb:valueb"] -// links: -// - title: Wiki -// url: https://wiki/shopping-cart -// icon: help -// ignore-attribute: -// id: 1 -// value: "value" -// -// spec: -// -// type: service -// lifecycle: production -// owner: e-commerce -// system: retail -// -// `), -// -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/serviceLevelObjective.go b/sdk/go/datadog/serviceLevelObjective.go index d658c2c30..13f14147e 100644 --- a/sdk/go/datadog/serviceLevelObjective.go +++ b/sdk/go/datadog/serviceLevelObjective.go @@ -15,89 +15,6 @@ import ( // Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewServiceLevelObjective(ctx, "foo", &datadog.ServiceLevelObjectiveArgs{ -// Description: pulumi.String("My custom metric SLO"), -// Name: pulumi.String("Example Metric SLO"), -// Query: &datadog.ServiceLevelObjectiveQueryArgs{ -// Denominator: pulumi.String("sum:my.custom.count.metric{*}.as_count()"), -// Numerator: pulumi.String("sum:my.custom.count.metric{type:good_events}.as_count()"), -// }, -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("baz"), -// }, -// TargetThreshold: pulumi.Float64(99.9), -// Thresholds: datadog.ServiceLevelObjectiveThresholdArray{ -// &datadog.ServiceLevelObjectiveThresholdArgs{ -// Target: pulumi.Float64(99.9), -// Timeframe: pulumi.String("7d"), -// Warning: pulumi.Float64(99.99), -// }, -// &datadog.ServiceLevelObjectiveThresholdArgs{ -// Target: pulumi.Float64(99.9), -// Timeframe: pulumi.String("30d"), -// Warning: pulumi.Float64(99.99), -// }, -// }, -// Timeframe: pulumi.String("30d"), -// Type: pulumi.String("metric"), -// WarningThreshold: pulumi.Float64(99.99), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewServiceLevelObjective(ctx, "bar", &datadog.ServiceLevelObjectiveArgs{ -// Description: pulumi.String("My custom monitor SLO"), -// MonitorIds: pulumi.IntArray{ -// pulumi.Int(1), -// pulumi.Int(2), -// pulumi.Int(3), -// }, -// Name: pulumi.String("Example Monitor SLO"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("baz"), -// }, -// TargetThreshold: pulumi.Float64(99.9), -// Thresholds: datadog.ServiceLevelObjectiveThresholdArray{ -// &datadog.ServiceLevelObjectiveThresholdArgs{ -// Target: pulumi.Float64(99.9), -// Timeframe: pulumi.String("7d"), -// Warning: pulumi.Float64(99.99), -// }, -// &datadog.ServiceLevelObjectiveThresholdArgs{ -// Target: pulumi.Float64(99.9), -// Timeframe: pulumi.String("30d"), -// Warning: pulumi.Float64(99.99), -// }, -// }, -// Timeframe: pulumi.String("30d"), -// Type: pulumi.String("monitor"), -// WarningThreshold: pulumi.Float64(99.99), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Service Level Objectives can be imported using their string ID, e.g. diff --git a/sdk/go/datadog/slack/channel.go b/sdk/go/datadog/slack/channel.go index 643010895..8bc476f42 100644 --- a/sdk/go/datadog/slack/channel.go +++ b/sdk/go/datadog/slack/channel.go @@ -15,39 +15,6 @@ import ( // Resource for interacting with the Datadog Slack channel API // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/slack" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := slack.NewChannel(ctx, "testChannel", &slack.ChannelArgs{ -// AccountName: pulumi.String("foo"), -// ChannelName: pulumi.String("#test_channel"), -// Display: &slack.ChannelDisplayArgs{ -// Message: pulumi.Bool(true), -// Notified: pulumi.Bool(false), -// Snapshot: pulumi.Bool(false), -// Tags: pulumi.Bool(true), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`). diff --git a/sdk/go/datadog/sloCorrection.go b/sdk/go/datadog/sloCorrection.go index b51d48cc0..1289f44f6 100644 --- a/sdk/go/datadog/sloCorrection.go +++ b/sdk/go/datadog/sloCorrection.go @@ -15,71 +15,6 @@ import ( // Resource for interacting with the sloCorrection API. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// exampleSlo, err := datadog.NewServiceLevelObjective(ctx, "exampleSlo", &datadog.ServiceLevelObjectiveArgs{ -// Name: pulumi.String("example slo"), -// Type: pulumi.String("metric"), -// Description: pulumi.String("some updated description about example_slo SLO"), -// Query: &datadog.ServiceLevelObjectiveQueryArgs{ -// Numerator: pulumi.String("sum:my.metric{type:good}.as_count()"), -// Denominator: pulumi.String("sum:my.metric{type:good}.as_count() + sum:my.metric{type:bad}.as_count()"), -// }, -// Thresholds: datadog.ServiceLevelObjectiveThresholdArray{ -// &datadog.ServiceLevelObjectiveThresholdArgs{ -// Timeframe: pulumi.String("7d"), -// Target: pulumi.Float64(99.5), -// Warning: pulumi.Float64(99.8), -// }, -// }, -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// }, -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSloCorrection(ctx, "exampleSloCorrection", &datadog.SloCorrectionArgs{ -// Category: pulumi.String("Scheduled Maintenance"), -// Description: pulumi.String("correction example"), -// Start: pulumi.Int(1735707000), -// End: pulumi.Int(1735718600), -// SloId: exampleSlo.ID(), -// Timezone: pulumi.String("UTC"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSloCorrection(ctx, "exampleSloCorrectionWithRecurrence", &datadog.SloCorrectionArgs{ -// Category: pulumi.String("Scheduled Maintenance"), -// Description: pulumi.String("correction example with recurrence"), -// Start: pulumi.Int(1735707000), -// Rrule: pulumi.String("FREQ=DAILY;INTERVAL=3;COUNT=3"), -// Duration: pulumi.Int(3600), -// SloId: exampleSlo.ID(), -// Timezone: pulumi.String("UTC"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/syntheticsConcurrencyCap.go b/sdk/go/datadog/syntheticsConcurrencyCap.go index 83288c432..fb932012a 100644 --- a/sdk/go/datadog/syntheticsConcurrencyCap.go +++ b/sdk/go/datadog/syntheticsConcurrencyCap.go @@ -15,32 +15,6 @@ import ( // Provides a Datadog Synthetics On Demand Concurrency Cap API resource. This can be used to manage the Concurrency Cap for Synthetic tests. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSyntheticsConcurrencyCap(ctx, "this", &datadog.SyntheticsConcurrencyCapArgs{ -// OnDemandConcurrencyCap: pulumi.Int(1), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // The Synthetics concurrency cap can be imported. can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/go/datadog/syntheticsGlobalVariable.go b/sdk/go/datadog/syntheticsGlobalVariable.go index 21d9852c1..e6322b705 100644 --- a/sdk/go/datadog/syntheticsGlobalVariable.go +++ b/sdk/go/datadog/syntheticsGlobalVariable.go @@ -15,38 +15,6 @@ import ( // Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSyntheticsGlobalVariable(ctx, "testVariable", &datadog.SyntheticsGlobalVariableArgs{ -// Description: pulumi.String("Description of the variable"), -// Name: pulumi.String("EXAMPLE_VARIABLE"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("env:test"), -// }, -// Value: pulumi.String("variable-value"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Synthetics global variables can be imported using their string ID, e.g. diff --git a/sdk/go/datadog/syntheticsPrivateLocation.go b/sdk/go/datadog/syntheticsPrivateLocation.go index 5f22a33c4..bd772f907 100644 --- a/sdk/go/datadog/syntheticsPrivateLocation.go +++ b/sdk/go/datadog/syntheticsPrivateLocation.go @@ -15,37 +15,6 @@ import ( // Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSyntheticsPrivateLocation(ctx, "privateLocation", &datadog.SyntheticsPrivateLocationArgs{ -// Description: pulumi.String("Description of the private location"), -// Name: pulumi.String("First private location"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("env:test"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Synthetics private locations can be imported using their string ID, e.g. diff --git a/sdk/go/datadog/syntheticsTest.go b/sdk/go/datadog/syntheticsTest.go index a61576a0a..5816c6ee6 100644 --- a/sdk/go/datadog/syntheticsTest.go +++ b/sdk/go/datadog/syntheticsTest.go @@ -22,377 +22,9 @@ import ( // // In practice, it means going from (simplified configuration): // -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// return nil -// }) -// } -// -// ``` -// // to // -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// return nil -// }) -// } -// -// ``` -// // which you can now use in your request definition: -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// return nil -// }) -// } -// -// ``` -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewSyntheticsTest(ctx, "testUptime", &datadog.SyntheticsTestArgs{ -// Assertions: datadog.SyntheticsTestAssertionArray{ -// &datadog.SyntheticsTestAssertionArgs{ -// Operator: pulumi.String("is"), -// Target: pulumi.String("200"), -// Type: pulumi.String("statusCode"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @pagerduty"), -// Name: pulumi.String("An Uptime test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// MonitorOptions: &datadog.SyntheticsTestOptionsListMonitorOptionsArgs{ -// RenotifyInterval: pulumi.Int(120), -// }, -// Retry: &datadog.SyntheticsTestOptionsListRetryArgs{ -// Count: pulumi.Int(2), -// Interval: pulumi.Int(300), -// }, -// TickEvery: pulumi.Int(900), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Method: pulumi.String("GET"), -// Url: pulumi.String("https://www.example.org"), -// }, -// RequestHeaders: pulumi.AnyMap{ -// "Content-Type": pulumi.Any("application/json"), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("http"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testApi", &datadog.SyntheticsTestArgs{ -// Assertions: datadog.SyntheticsTestAssertionArray{ -// &datadog.SyntheticsTestAssertionArgs{ -// Operator: pulumi.String("is"), -// Target: pulumi.String("200"), -// Type: pulumi.String("statusCode"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @pagerduty"), -// Name: pulumi.String("An API test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// MonitorOptions: &datadog.SyntheticsTestOptionsListMonitorOptionsArgs{ -// RenotifyInterval: pulumi.Int(120), -// }, -// Retry: &datadog.SyntheticsTestOptionsListRetryArgs{ -// Count: pulumi.Int(2), -// Interval: pulumi.Int(300), -// }, -// TickEvery: pulumi.Int(900), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Method: pulumi.String("GET"), -// Url: pulumi.String("https://www.example.org"), -// }, -// RequestHeaders: pulumi.AnyMap{ -// "Authentication": pulumi.Any("Token: 1234566789"), -// "Content-Type": pulumi.Any("application/json"), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("http"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testSsl", &datadog.SyntheticsTestArgs{ -// Assertions: datadog.SyntheticsTestAssertionArray{ -// &datadog.SyntheticsTestAssertionArgs{ -// Operator: pulumi.String("isInMoreThan"), -// Target: pulumi.String("30"), -// Type: pulumi.String("certificate"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @pagerduty"), -// Name: pulumi.String("An API test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// AcceptSelfSigned: pulumi.Bool(true), -// TickEvery: pulumi.Int(900), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Host: pulumi.String("example.org"), -// Port: pulumi.Int(443), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("ssl"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testTcp", &datadog.SyntheticsTestArgs{ -// Assertions: datadog.SyntheticsTestAssertionArray{ -// &datadog.SyntheticsTestAssertionArgs{ -// Operator: pulumi.String("lessThan"), -// Target: pulumi.String("2000"), -// Type: pulumi.String("responseTime"), -// }, -// }, -// ConfigVariables: datadog.SyntheticsTestConfigVariableArray{ -// &datadog.SyntheticsTestConfigVariableArgs{ -// Id: pulumi.String("76636cd1-82e2-4aeb-9cfe-51366a8198a2"), -// Name: pulumi.String("MY_GLOBAL_VAR"), -// Type: pulumi.String("global"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @pagerduty"), -// Name: pulumi.String("An API test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// TickEvery: pulumi.Int(900), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Host: pulumi.String("example.org"), -// Port: pulumi.Int(443), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("tcp"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testDns", &datadog.SyntheticsTestArgs{ -// Assertions: datadog.SyntheticsTestAssertionArray{ -// &datadog.SyntheticsTestAssertionArgs{ -// Operator: pulumi.String("is"), -// Property: pulumi.String("A"), -// Target: pulumi.String("0.0.0.0"), -// Type: pulumi.String("recordSome"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @pagerduty"), -// Name: pulumi.String("An API test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// TickEvery: pulumi.Int(900), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Host: pulumi.String("example.org"), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("dns"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testMultiStep", &datadog.SyntheticsTestArgs{ -// ApiSteps: datadog.SyntheticsTestApiStepArray{ -// &datadog.SyntheticsTestApiStepArgs{ -// Assertions: datadog.SyntheticsTestApiStepAssertionArray{ -// &datadog.SyntheticsTestApiStepAssertionArgs{ -// Operator: pulumi.String("is"), -// Target: pulumi.String("200"), -// Type: pulumi.String("statusCode"), -// }, -// }, -// Name: pulumi.String("An API test on example.org"), -// RequestDefinition: &datadog.SyntheticsTestApiStepRequestDefinitionArgs{ -// Method: pulumi.String("GET"), -// Url: pulumi.String("https://example.org"), -// }, -// RequestHeaders: pulumi.AnyMap{ -// "Authentication": pulumi.Any("Token: 1234566789"), -// "Content-Type": pulumi.Any("application/json"), -// }, -// Subtype: pulumi.String("http"), -// }, -// &datadog.SyntheticsTestApiStepArgs{ -// Assertions: datadog.SyntheticsTestApiStepAssertionArray{ -// &datadog.SyntheticsTestApiStepAssertionArgs{ -// Operator: pulumi.String("is"), -// Target: pulumi.String("200"), -// Type: pulumi.String("statusCode"), -// }, -// }, -// Name: pulumi.String("An API test on example.org"), -// RequestDefinition: &datadog.SyntheticsTestApiStepRequestDefinitionArgs{ -// Method: pulumi.String("GET"), -// Url: pulumi.String("http://example.org"), -// }, -// Subtype: pulumi.String("http"), -// }, -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Name: pulumi.String("Multistep API test"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// AcceptSelfSigned: pulumi.Bool(true), -// TickEvery: pulumi.Int(900), -// }, -// Status: pulumi.String("live"), -// Subtype: pulumi.String("multi"), -// Tags: pulumi.StringArray{ -// pulumi.String("foo:bar"), -// pulumi.String("foo"), -// pulumi.String("env:test"), -// }, -// Type: pulumi.String("api"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewSyntheticsTest(ctx, "testBrowser", &datadog.SyntheticsTestArgs{ -// BrowserSteps: datadog.SyntheticsTestBrowserStepArray{ -// &datadog.SyntheticsTestBrowserStepArgs{ -// Name: pulumi.String("Check current url"), -// Params: &datadog.SyntheticsTestBrowserStepParamsArgs{ -// Check: pulumi.String("contains"), -// Value: pulumi.String("datadoghq"), -// }, -// Type: pulumi.String("assertCurrentUrl"), -// }, -// }, -// BrowserVariables: datadog.SyntheticsTestBrowserVariableArray{ -// &datadog.SyntheticsTestBrowserVariableArgs{ -// Example: pulumi.String("597"), -// Name: pulumi.String("MY_PATTERN_VAR"), -// Pattern: pulumi.String("{{numeric(3)}}"), -// Type: pulumi.String("text"), -// }, -// &datadog.SyntheticsTestBrowserVariableArgs{ -// Example: pulumi.String("jd8-afe-ydv.4546132139@synthetics.dtdg.co"), -// Name: pulumi.String("MY_EMAIL_VAR"), -// Pattern: pulumi.String("jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co"), -// Type: pulumi.String("email"), -// }, -// &datadog.SyntheticsTestBrowserVariableArgs{ -// Id: pulumi.String("76636cd1-82e2-4aeb-9cfe-51366a8198a2"), -// Name: pulumi.String("MY_GLOBAL_VAR"), -// Type: pulumi.String("global"), -// }, -// }, -// DeviceIds: pulumi.StringArray{ -// pulumi.String("laptop_large"), -// }, -// Locations: pulumi.StringArray{ -// pulumi.String("aws:eu-central-1"), -// }, -// Message: pulumi.String("Notify @qa"), -// Name: pulumi.String("A Browser test on example.org"), -// OptionsList: &datadog.SyntheticsTestOptionsListArgs{ -// TickEvery: pulumi.Int(3600), -// }, -// RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{ -// Method: pulumi.String("GET"), -// Url: pulumi.String("https://app.datadoghq.com"), -// }, -// Status: pulumi.String("paused"), -// Tags: pulumi.StringArray{}, -// Type: pulumi.String("browser"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` // // ## Import // diff --git a/sdk/go/datadog/team.go b/sdk/go/datadog/team.go index fb67cbf5a..6b5e63cd5 100644 --- a/sdk/go/datadog/team.go +++ b/sdk/go/datadog/team.go @@ -15,34 +15,6 @@ import ( // Provides a Datadog Team resource. This can be used to create and manage Datadog team. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewTeam(ctx, "foo", &datadog.TeamArgs{ -// Description: pulumi.String("Team description"), -// Handle: pulumi.String("example-team"), -// Name: pulumi.String("Example Team"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/teamLink.go b/sdk/go/datadog/teamLink.go index 1ea69ef24..15c6fbaa3 100644 --- a/sdk/go/datadog/teamLink.go +++ b/sdk/go/datadog/teamLink.go @@ -15,43 +15,6 @@ import ( // Provides a Datadog TeamLink resource. This can be used to create and manage Datadog team_link. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// fooTeam, err := datadog.NewTeam(ctx, "fooTeam", &datadog.TeamArgs{ -// Description: pulumi.String("Example team"), -// Handle: pulumi.String("example-team-updated"), -// Name: pulumi.String("Example Team-updated"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewTeamLink(ctx, "fooTeamLink", &datadog.TeamLinkArgs{ -// TeamId: fooTeam.ID(), -// Label: pulumi.String("Link label"), -// Position: pulumi.Int("Example link"), -// Url: pulumi.String("https://example.com"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/teamMembership.go b/sdk/go/datadog/teamMembership.go index 6204d52a8..834a47b65 100644 --- a/sdk/go/datadog/teamMembership.go +++ b/sdk/go/datadog/teamMembership.go @@ -15,48 +15,6 @@ import ( // Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// fooTeam, err := datadog.NewTeam(ctx, "fooTeam", &datadog.TeamArgs{ -// Description: pulumi.String("Example team"), -// Handle: pulumi.String("example-team-updated"), -// Name: pulumi.String("Example Team-updated"), -// }) -// if err != nil { -// return err -// } -// fooUser, err := datadog.NewUser(ctx, "fooUser", &datadog.UserArgs{ -// Email: pulumi.String("new@example.com"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewTeamMembership(ctx, "fooTeamMembership", &datadog.TeamMembershipArgs{ -// TeamId: fooTeam.ID(), -// UserId: fooUser.ID(), -// Role: pulumi.String("admin"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // This resource is imported using team_id and user_id seperated by `:`. diff --git a/sdk/go/datadog/teamPermissionSetting.go b/sdk/go/datadog/teamPermissionSetting.go index ace536eb6..27a489a40 100644 --- a/sdk/go/datadog/teamPermissionSetting.go +++ b/sdk/go/datadog/teamPermissionSetting.go @@ -14,42 +14,6 @@ import ( ) // Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// fooTeam, err := datadog.NewTeam(ctx, "fooTeam", &datadog.TeamArgs{ -// Description: pulumi.String("Example team"), -// Handle: pulumi.String("example-team-updated"), -// Name: pulumi.String("Example Team-updated"), -// }) -// if err != nil { -// return err -// } -// _, err = datadog.NewTeamPermissionSetting(ctx, "fooTeamPermissionSetting", &datadog.TeamPermissionSettingArgs{ -// TeamId: fooTeam.ID(), -// Action: pulumi.String("manage_membership"), -// Value: pulumi.String("organization"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` type TeamPermissionSetting struct { pulumi.CustomResourceState diff --git a/sdk/go/datadog/user.go b/sdk/go/datadog/user.go index e171db923..6e42ed9d8 100644 --- a/sdk/go/datadog/user.go +++ b/sdk/go/datadog/user.go @@ -15,41 +15,6 @@ import ( // Provides a Datadog user resource. This can be used to create and manage Datadog users. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// roRole, err := datadog.LookupRole(ctx, &datadog.LookupRoleArgs{ -// Filter: "Datadog Read Only Role", -// }, nil) -// if err != nil { -// return err -// } -// _, err = datadog.NewUser(ctx, "foo", &datadog.UserArgs{ -// Email: pulumi.String("new@example.com"), -// Roles: pulumi.StringArray{ -// *pulumi.String(roRole.Id), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/webhook.go b/sdk/go/datadog/webhook.go index a5b217f53..a07f0ca2d 100644 --- a/sdk/go/datadog/webhook.go +++ b/sdk/go/datadog/webhook.go @@ -15,52 +15,6 @@ import ( // Provides a Datadog webhook resource. This can be used to create and manage Datadog webhooks. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "encoding/json" -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// tmpJSON0, err := json.Marshal(map[string]interface{}{ -// "custom": "header", -// }) -// if err != nil { -// return err -// } -// json0 := string(tmpJSON0) -// tmpJSON1, err := json.Marshal(map[string]interface{}{ -// "custom": "payload", -// }) -// if err != nil { -// return err -// } -// json1 := string(tmpJSON1) -// _, err = datadog.NewWebhook(ctx, "foo", &datadog.WebhookArgs{ -// Name: pulumi.String("test-webhook"), -// Url: pulumi.String("example.com"), -// EncodeAs: pulumi.String("json"), -// CustomHeaders: pulumi.String(json0), -// Payload: pulumi.String(json1), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/webhookCustomVariable.go b/sdk/go/datadog/webhookCustomVariable.go index 42a88660b..ef5fc8192 100644 --- a/sdk/go/datadog/webhookCustomVariable.go +++ b/sdk/go/datadog/webhookCustomVariable.go @@ -15,34 +15,6 @@ import ( // Provides a Datadog webhooks custom variable resource. This can be used to create and manage Datadog webhooks custom variables. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := datadog.NewWebhookCustomVariable(ctx, "foo", &datadog.WebhookCustomVariableArgs{ -// IsSecret: pulumi.Bool(true), -// Name: pulumi.String("EXAMPLE_VARIABLE"), -// Value: pulumi.String("EXAMPLE-VALUE"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/nodejs/apiKey.ts b/sdk/nodejs/apiKey.ts index c08800a92..e78a19f8b 100644 --- a/sdk/nodejs/apiKey.ts +++ b/sdk/nodejs/apiKey.ts @@ -7,16 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog API Key - * const foo = new datadog.ApiKey("foo", {name: "foo-application"}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/applicationKey.ts b/sdk/nodejs/applicationKey.ts index 7f0efca46..c4895b582 100644 --- a/sdk/nodejs/applicationKey.ts +++ b/sdk/nodejs/applicationKey.ts @@ -7,16 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog Application Key - * const foo = new datadog.ApplicationKey("foo", {name: "foo-application"}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/authnMapping.ts b/sdk/nodejs/authnMapping.ts index 4bc13e1f3..399794edf 100644 --- a/sdk/nodejs/authnMapping.ts +++ b/sdk/nodejs/authnMapping.ts @@ -7,23 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const roRole = datadog.getRole({ - * filter: "Datadog Read Only Role", - * }); - * // Create a new AuthN mapping - * const devRoRoleMapping = new datadog.AuthnMapping("devRoRoleMapping", { - * key: "Member-of", - * value: "Development", - * role: roRole.then(roRole => roRole.id), - * }); - * ``` - * * ## Import * * AuthN mappings can be imported using their ID, e.g. diff --git a/sdk/nodejs/aws/getIntegrationNamespaceRules.ts b/sdk/nodejs/aws/getIntegrationNamespaceRules.ts index 67c24d538..ce8ab5c6a 100644 --- a/sdk/nodejs/aws/getIntegrationNamespaceRules.ts +++ b/sdk/nodejs/aws/getIntegrationNamespaceRules.ts @@ -6,15 +6,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const rules = datadog.aws.getIntegrationNamespaceRules({}); - * ``` */ export function getIntegrationNamespaceRules(opts?: pulumi.InvokeOptions): Promise { @@ -38,15 +29,6 @@ export interface GetIntegrationNamespaceRulesResult { } /** * Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const rules = datadog.aws.getIntegrationNamespaceRules({}); - * ``` */ export function getIntegrationNamespaceRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getIntegrationNamespaceRules(opts)) diff --git a/sdk/nodejs/aws/integration.ts b/sdk/nodejs/aws/integration.ts index d9c323768..3724734bd 100644 --- a/sdk/nodejs/aws/integration.ts +++ b/sdk/nodejs/aws/integration.ts @@ -7,32 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog - Amazon Web Services integration - * const sandbox = new datadog.aws.Integration("sandbox", { - * accountId: "1234567890", - * accountSpecificNamespaceRules: { - * auto_scaling: false, - * opsworks: false, - * }, - * excludedRegions: [ - * "us-east-1", - * "us-west-2", - * ], - * filterTags: ["key:value"], - * hostTags: [ - * "key:value", - * "key2:value2", - * ], - * roleName: "DatadogAWSIntegrationRole", - * }); - * ``` - * * ## Import * * Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID diff --git a/sdk/nodejs/aws/integrationLambdaArn.ts b/sdk/nodejs/aws/integrationLambdaArn.ts index 53376e8f8..bcdd6f026 100644 --- a/sdk/nodejs/aws/integrationLambdaArn.ts +++ b/sdk/nodejs/aws/integrationLambdaArn.ts @@ -9,19 +9,6 @@ import * as utilities from "../utilities"; * * Update operations are currently not supported with datadog API so any change forces a new resource. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog - Amazon Web Services integration Lambda ARN - * const mainCollector = new datadog.aws.IntegrationLambdaArn("mainCollector", { - * accountId: "1234567890", - * lambdaArn: "arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder", - * }); - * ``` - * * ## Import * * Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `). diff --git a/sdk/nodejs/aws/integrationLogCollection.ts b/sdk/nodejs/aws/integrationLogCollection.ts index 6f283bfe2..1d6d9dcf0 100644 --- a/sdk/nodejs/aws/integrationLogCollection.ts +++ b/sdk/nodejs/aws/integrationLogCollection.ts @@ -7,19 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog - Amazon Web Services integration log collection - * const main = new datadog.aws.IntegrationLogCollection("main", { - * accountId: "1234567890", - * services: ["lambda"], - * }); - * ``` - * * ## Import * * Amazon Web Services log collection integrations can be imported using the `account ID`. diff --git a/sdk/nodejs/aws/integrationTagFilter.ts b/sdk/nodejs/aws/integrationTagFilter.ts index 187e1423b..e952af005 100644 --- a/sdk/nodejs/aws/integrationTagFilter.ts +++ b/sdk/nodejs/aws/integrationTagFilter.ts @@ -7,20 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog - Amazon Web Services integration tag filter - * const foo = new datadog.aws.IntegrationTagFilter("foo", { - * accountId: "123456789010", - * namespace: "sqs", - * tagFilterStr: "key:value", - * }); - * ``` - * * ## Import * * Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:). diff --git a/sdk/nodejs/azure/integration.ts b/sdk/nodejs/azure/integration.ts index d2c037ec5..6bed33c7d 100644 --- a/sdk/nodejs/azure/integration.ts +++ b/sdk/nodejs/azure/integration.ts @@ -7,25 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog - Microsoft Azure integration - * const sandbox = new datadog.azure.Integration("sandbox", { - * appServicePlanFilters: "examplefilter:true,example:another", - * automute: true, - * clientId: "", - * clientSecret: "", - * cspmEnabled: true, - * customMetricsEnabled: false, - * hostFilters: "examplefilter:true,example:true", - * tenantName: "", - * }); - * ``` - * * ## Import * * Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`). diff --git a/sdk/nodejs/childOrganization.ts b/sdk/nodejs/childOrganization.ts index c02486b18..bf69652ff 100644 --- a/sdk/nodejs/childOrganization.ts +++ b/sdk/nodejs/childOrganization.ts @@ -8,16 +8,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `datadog.OrganizationSettings`. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog Child Organization - * const organization = new datadog.ChildOrganization("organization", {name: "foo-organization"}); - * ``` */ export class ChildOrganization extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/cloudConfigurationRule.ts b/sdk/nodejs/cloudConfigurationRule.ts index 008b1b464..ba8ab827a 100644 --- a/sdk/nodejs/cloudConfigurationRule.ts +++ b/sdk/nodejs/cloudConfigurationRule.ts @@ -9,51 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Cloud Configuration Rule resource. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const myrule = new datadog.CloudConfigurationRule("myrule", { - * enabled: true, - * groupBies: ["@resource"], - * message: "Rule has triggered", - * name: "My cloud configuration rule", - * notifications: ["@channel"], - * policy: ` package datadog - * - * import data.datadog.output as dd_output - * - * import future.keywords.contains - * import future.keywords.if - * import future.keywords.in - * - * eval(resource) = "skip" if { - * # Logic that evaluates to true if the resource should be skipped - * true - * } else = "pass" { - * # Logic that evaluates to true if the resource is compliant - * true - * } else = "fail" { - * # Logic that evaluates to true if the resource is not compliant - * true - * } - * - * # This part remains unchanged for all rules - * results contains result if { - * some resource in input.resources[input.main_resource_type] - * result := dd_output.format(resource, eval(resource)) - * } - * - * `, - * relatedResourceTypes: [], - * resourceType: "aws_s3_bucket", - * severity: "high", - * tags: ["some:tag"], - * }); - * ``` - * * ## Import * * Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/nodejs/cloudWorkloadSecurityAgentRule.ts b/sdk/nodejs/cloudWorkloadSecurityAgentRule.ts index 20a1584cb..5c58ab242 100644 --- a/sdk/nodejs/cloudWorkloadSecurityAgentRule.ts +++ b/sdk/nodejs/cloudWorkloadSecurityAgentRule.ts @@ -7,20 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const myAgentRule = new datadog.CloudWorkloadSecurityAgentRule("myAgentRule", { - * description: "My agent rule", - * enabled: true, - * expression: "exec.file.name == \"java\"", - * name: "my_agent_rule", - * }); - * ``` - * * ## Import * * Cloud Workload Security Agent rules can be imported using ID, e.g. diff --git a/sdk/nodejs/cloudflare/integrationAccount.ts b/sdk/nodejs/cloudflare/integrationAccount.ts index 59da30988..f029fdf59 100644 --- a/sdk/nodejs/cloudflare/integrationAccount.ts +++ b/sdk/nodejs/cloudflare/integrationAccount.ts @@ -7,19 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.cloudflare.IntegrationAccount("foo", { - * apiKey: "12345678910abc", - * email: "test-email@example.com", - * name: "test-name", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/confluent/integrationAccount.ts b/sdk/nodejs/confluent/integrationAccount.ts index c49d2b0c3..bfc1238d6 100644 --- a/sdk/nodejs/confluent/integrationAccount.ts +++ b/sdk/nodejs/confluent/integrationAccount.ts @@ -7,22 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog IntegrationConfluentAccount resource. This can be used to create and manage Datadog integration_confluent_account. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.confluent.IntegrationAccount("foo", { - * apiKey: "TESTAPIKEY123", - * apiSecret: "test-api-secret-123", - * tags: [ - * "mytag", - * "mytag2:myvalue", - * ], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/confluent/integrationResource.ts b/sdk/nodejs/confluent/integrationResource.ts index b1bb4f277..94c1952a8 100644 --- a/sdk/nodejs/confluent/integrationResource.ts +++ b/sdk/nodejs/confluent/integrationResource.ts @@ -7,32 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog IntegrationConfluentResource resource. This can be used to create and manage Datadog integration_confluent_resource. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fooIntegrationAccount = new datadog.confluent.IntegrationAccount("fooIntegrationAccount", { - * apiKey: "TESTAPIKEY123", - * apiSecret: "test-api-secret-123", - * tags: [ - * "mytag", - * "mytag2:myvalue", - * ], - * }); - * // Create new integration_confluent_resource resource - * const fooIntegrationResource = new datadog.confluent.IntegrationResource("fooIntegrationResource", { - * accountId: fooIntegrationAccount.id, - * resourceId: "123456", - * resourceType: "kafka", - * tags: [ - * "mytag", - * "mytag2:myvalue", - * ], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/dashboardJson.ts b/sdk/nodejs/dashboardJson.ts index 7203c6eb1..2f77a0d36 100644 --- a/sdk/nodejs/dashboardJson.ts +++ b/sdk/nodejs/dashboardJson.ts @@ -7,502 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog dashboard JSON resource. This can be used to create and manage Datadog dashboards using the JSON definition. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Example Dashboard JSON - * const dashboardJson = new datadog.DashboardJson("dashboardJson", {dashboard: `{ - * "title":"Ordered Layout Dashboard", - * "description":"Created using the Datadog provider in Terraform", - * "widgets":[ - * { - * "id":719369537777170, - * "definition":{ - * "title":"Widget Title", - * "type":"alert_graph", - * "alert_id":"895605", - * "viz_type":"timeseries" - * } - * }, - * { - * "id":2306240030393868, - * "definition":{ - * "title":"Widget Title", - * "type":"alert_value", - * "alert_id":"895605", - * "unit":"b", - * "text_align":"center", - * "precision":3 - * } - * }, - * { - * "id":6990998850881326, - * "definition":{ - * "title":"Widget Title", - * "type":"alert_value", - * "alert_id":"895605", - * "unit":"b", - * "text_align":"center", - * "precision":3 - * } - * }, - * { - * "id":3351284044659007, - * "definition":{ - * "title":"Widget Title", - * "type":"change", - * "requests":[ - * { - * "q":"avg:system.load.1{env:staging} by {account}", - * "compare_to":"week_before", - * "change_type":"absolute", - * "order_dir":"desc", - * "increase_good":true, - * "order_by":"name", - * "show_present":true - * } - * ] - * } - * }, - * { - * "id":6450290622996182, - * "definition":{ - * "title":"Widget Title", - * "show_legend":false, - * "type":"distribution", - * "requests":[ - * { - * "q":"avg:system.load.1{env:staging} by {account}", - * "style":{ - * "palette":"warm" - * } - * } - * ] - * } - * }, - * { - * "id":4902842646291536, - * "definition":{ - * "title":"Widget Title", - * "type":"check_status", - * "check":"aws.ecs.agent_connected", - * "grouping":"cluster", - * "group_by":[ - * "account", - * "cluster" - * ], - * "tags":[ - * "account:demo", - * "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk" - * ] - * } - * }, - * { - * "id":6392349954822644, - * "definition":{ - * "title":"Widget Title", - * "show_legend":false, - * "type":"heatmap", - * "yaxis":{ - * "scale":"sqrt", - * "include_zero":true, - * "min":"1", - * "max":"2" - * }, - * "requests":[ - * { - * "q":"avg:system.load.1{env:staging} by {account}", - * "style":{ - * "palette":"warm" - * } - * } - * ] - * } - * }, - * { - * "id":5222961478940988, - * "definition":{ - * "title":"Widget Title", - * "type":"hostmap", - * "requests":{ - * "fill":{ - * "q":"avg:system.load.1{*} by {host}" - * }, - * "size":{ - * "q":"avg:memcache.uptime{*} by {host}" - * } - * }, - * "node_type":"container", - * "no_metric_hosts":true, - * "no_group_hosts":true, - * "group":[ - * "host", - * "region" - * ], - * "scope":[ - * "region:us-east-1", - * "aws_account:727006795293" - * ], - * "style":{ - * "palette":"yellow_to_green", - * "palette_flip":true, - * "fill_min":"10", - * "fill_max":"20" - * } - * } - * }, - * { - * "id":8121199734227072, - * "definition":{ - * "type":"note", - * "content":"note text", - * "background_color":"pink", - * "font_size":"14", - * "text_align":"center", - * "show_tick":true, - * "tick_pos":"50%", - * "tick_edge":"left" - * } - * }, - * { - * "id":1775856835833038, - * "definition":{ - * "title":"Widget Title", - * "type":"query_value", - * "requests":[ - * { - * "q":"avg:system.load.1{env:staging} by {account}", - * "aggregator":"sum", - * "conditional_formats":[ - * { - * "hide_value":false, - * "comparator":"<", - * "palette":"white_on_green", - * "value":2 - * }, - * { - * "hide_value":false, - * "comparator":">", - * "palette":"white_on_red", - * "value":2.2 - * } - * ] - * } - * ], - * "autoscale":true, - * "custom_unit":"xx", - * "text_align":"right", - * "precision":4 - * } - * }, - * { - * "id":8461455966625581, - * "definition":{ - * "title":"Widget Title", - * "type":"query_table", - * "requests":[ - * { - * "q":"avg:system.load.1{env:staging} by {account}", - * "aggregator":"sum", - * "conditional_formats":[ - * { - * "hide_value":false, - * "comparator":"<", - * "palette":"white_on_green", - * "value":2 - * }, - * { - * "hide_value":false, - * "comparator":">", - * "palette":"white_on_red", - * "value":2.2 - * } - * ], - * "limit":10 - * } - * ] - * } - * }, - * { - * "id":8660006349418736, - * "definition":{ - * "title":"Widget Title", - * "type":"scatterplot", - * "requests":{ - * "x":{ - * "q":"avg:system.cpu.user{*} by {service, account}", - * "aggregator":"max" - * }, - * "y":{ - * "q":"avg:system.mem.used{*} by {service, account}", - * "aggregator":"min" - * } - * }, - * "xaxis":{ - * "scale":"pow", - * "label":"x", - * "include_zero":true, - * "min":"1", - * "max":"2000" - * }, - * "yaxis":{ - * "scale":"log", - * "label":"y", - * "include_zero":false, - * "min":"5", - * "max":"2222" - * }, - * "color_by_groups":[ - * "account", - * "apm-role-group" - * ] - * } - * }, - * { - * "id":1669590772917638, - * "definition":{ - * "title":"env: prod, datacenter:dc1, service: master-db", - * "title_size":"16", - * "title_align":"left", - * "type":"servicemap", - * "service":"master-db", - * "filters":[ - * "env:prod", - * "datacenter:dc1" - * ] - * } - * }, - * { - * "id":2138829058361817, - * "definition":{ - * "title":"Widget Title", - * "show_legend":true, - * "legend_size":"2", - * "type":"timeseries", - * "requests":[ - * { - * "q":"avg:system.cpu.user{app:general} by {env}", - * "on_right_yaxis":false, - * "metadata":[ - * { - * "expression":"avg:system.cpu.user{app:general} by {env}", - * "alias_name":"Alpha" - * } - * ], - * "style":{ - * "palette":"warm", - * "line_type":"dashed", - * "line_width":"thin" - * }, - * "display_type":"line" - * }, - * { - * "on_right_yaxis":false, - * "log_query":{ - * "index":"mcnulty", - * "search":{ - * "query":"status:info" - * }, - * "group_by":[ - * { - * "facet":"host", - * "sort":{ - * "facet":"@duration", - * "aggregation":"avg", - * "order":"desc" - * }, - * "limit":10 - * } - * ], - * "compute":{ - * "facet":"@duration", - * "interval":5000, - * "aggregation":"avg" - * } - * }, - * "display_type":"area" - * }, - * { - * "on_right_yaxis":false, - * "apm_query":{ - * "index":"apm-search", - * "search":{ - * "query":"type:web" - * }, - * "group_by":[ - * { - * "facet":"resource_name", - * "sort":{ - * "facet":"@string_query.interval", - * "aggregation":"avg", - * "order":"desc" - * }, - * "limit":50 - * } - * ], - * "compute":{ - * "facet":"@duration", - * "interval":5000, - * "aggregation":"avg" - * } - * }, - * "display_type":"bars" - * }, - * { - * "on_right_yaxis":false, - * "process_query":{ - * "search_by":"error", - * "metric":"process.stat.cpu.total_pct", - * "limit":50, - * "filter_by":[ - * "active" - * ] - * }, - * "display_type":"area" - * } - * ], - * "yaxis":{ - * "scale":"log", - * "include_zero":false, - * "max":"100" - * }, - * "events":[ - * { - * "q":"sources:test tags:1" - * }, - * { - * "q":"sources:test tags:2" - * } - * ], - * "markers":[ - * { - * "label":" z=6 ", - * "value":"y = 4", - * "display_type":"error dashed" - * }, - * { - * "label":" x=8 ", - * "value":"10 < y < 999", - * "display_type":"ok solid" - * } - * ] - * } - * }, - * { - * "id":7307171374656551, - * "definition":{ - * "title":"Widget Title", - * "type":"toplist", - * "requests":[ - * { - * "q":"avg:system.cpu.user{app:general} by {env}", - * "conditional_formats":[ - * { - * "hide_value":false, - * "comparator":"<", - * "palette":"white_on_green", - * "value":2 - * }, - * { - * "hide_value":false, - * "comparator":">", - * "palette":"white_on_red", - * "value":2.2 - * } - * ] - * } - * ] - * } - * }, - * { - * "id":7086674838553258, - * "definition":{ - * "title":"Group Widget", - * "type":"group", - * "layout_type":"ordered", - * "widgets":[ - * { - * "id":3726092277657502, - * "definition":{ - * "type":"note", - * "content":"cluster note widget", - * "background_color":"pink", - * "font_size":"14", - * "text_align":"center", - * "show_tick":true, - * "tick_pos":"50%", - * "tick_edge":"left" - * } - * }, - * { - * "id":6376384650558057, - * "definition":{ - * "title":"Alert Graph", - * "type":"alert_graph", - * "alert_id":"123", - * "viz_type":"toplist" - * } - * } - * ] - * } - * }, - * { - * "id":4668903563678912, - * "definition":{ - * "title":"Widget Title", - * "type":"slo", - * "view_type":"detail", - * "time_windows":[ - * "7d", - * "previous_week" - * ], - * "slo_id":"56789", - * "show_error_budget":true, - * "view_mode":"overall", - * "global_time_target":"0" - * } - * } - * ], - * "template_variables":[ - * { - * "name":"var_1", - * "default":"aws", - * "prefix":"host" - * }, - * { - * "name":"var_2", - * "default":"autoscaling", - * "prefix":"service_name" - * } - * ], - * "layout_type":"ordered", - * "is_read_only":true, - * "notify_list":[ - * - * ], - * "template_variable_presets":[ - * { - * "name":"preset_1", - * "template_variables":[ - * { - * "name":"var_1", - * "value":"host.dc" - * }, - * { - * "name":"var_2", - * "value":"my_service" - * } - * ] - * } - * ] - * } - * - * `}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/dashboardList.ts b/sdk/nodejs/dashboardList.ts index eaeb393fc..841f8f06d 100644 --- a/sdk/nodejs/dashboardList.ts +++ b/sdk/nodejs/dashboardList.ts @@ -9,69 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog dashboardList resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const time = new datadog.Dashboard("time", { - * title: "TF Test Layout Dashboard", - * description: "Created using the Datadog provider", - * layoutType: "ordered", - * isReadOnly: true, - * widgets: [{ - * alertGraphDefinition: { - * alertId: "1234", - * vizType: "timeseries", - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }], - * }); - * const screen = new datadog.Dashboard("screen", { - * title: "TF Test Free Layout Dashboard", - * description: "Created using the Datadog provider", - * layoutType: "free", - * isReadOnly: false, - * widgets: [{ - * eventStreamDefinition: { - * query: "*", - * eventSize: "l", - * title: "Widget Title", - * titleSize: "16", - * titleAlign: "left", - * liveSpan: "1h", - * }, - * widgetLayout: { - * height: 43, - * width: 32, - * x: 5, - * y: 5, - * }, - * }], - * }); - * // Create a new Dashboard List with two Dashboards - * const newList = new datadog.DashboardList("newList", { - * name: "Automated Created List", - * dashItems: [ - * { - * type: "custom_timeboard", - * dashId: time.id, - * }, - * { - * type: "custom_screenboard", - * dashId: screen.id, - * }, - * ], - * }, { - * dependsOn: [ - * screen, - * time, - * ], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/downtime.ts b/sdk/nodejs/downtime.ts index 683e5ff6e..ad6f63e97 100644 --- a/sdk/nodejs/downtime.ts +++ b/sdk/nodejs/downtime.ts @@ -9,25 +9,6 @@ import * as utilities from "./utilities"; /** * This resource is deprecated — use the `datadog.DowntimeSchedule resource` instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Example: downtime for all monitors - * // Create a new daily 1700-0900 Datadog downtime for all monitors - * const foo = new datadog.Downtime("foo", { - * end: 1483365600, - * recurrence: { - * period: 1, - * type: "days", - * }, - * scopes: ["*"], - * start: 1483308000, - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/fastly/integrationAccount.ts b/sdk/nodejs/fastly/integrationAccount.ts index c3147aea7..b286dbaeb 100644 --- a/sdk/nodejs/fastly/integrationAccount.ts +++ b/sdk/nodejs/fastly/integrationAccount.ts @@ -7,18 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.fastly.IntegrationAccount("foo", { - * apiKey: "ABCDEFG123", - * name: "test-name", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/fastly/integrationService.ts b/sdk/nodejs/fastly/integrationService.ts index b1f47261e..00b179ad8 100644 --- a/sdk/nodejs/fastly/integrationService.ts +++ b/sdk/nodejs/fastly/integrationService.ts @@ -7,27 +7,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fooIntegrationAccount = new datadog.fastly.IntegrationAccount("fooIntegrationAccount", { - * apiKey: "ABCDEFG123", - * name: "test-name", - * }); - * // Create new integration_fastly_service resource - * const fooIntegrationService = new datadog.fastly.IntegrationService("fooIntegrationService", { - * accountId: fooIntegrationAccount.id, - * tags: [ - * "mytag", - * "mytag2:myvalue", - * ], - * serviceId: "my-service-id", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/getApiKey.ts b/sdk/nodejs/getApiKey.ts index 675df56a6..dad2ad44a 100644 --- a/sdk/nodejs/getApiKey.ts +++ b/sdk/nodejs/getApiKey.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing api key. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getApiKey({ - * name: "foo-application", - * }); - * ``` */ export function getApiKey(args?: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -61,17 +50,6 @@ export interface GetApiKeyResult { } /** * Use this data source to retrieve information about an existing api key. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getApiKey({ - * name: "foo-application", - * }); - * ``` */ export function getApiKeyOutput(args?: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getApiKey(a, opts)) diff --git a/sdk/nodejs/getApplicationKey.ts b/sdk/nodejs/getApplicationKey.ts index dad034921..e2e10d8b1 100644 --- a/sdk/nodejs/getApplicationKey.ts +++ b/sdk/nodejs/getApplicationKey.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing application key. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getApplicationKey({ - * name: "foo-application", - * }); - * ``` */ export function getApplicationKey(args?: GetApplicationKeyArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -61,17 +50,6 @@ export interface GetApplicationKeyResult { } /** * Use this data source to retrieve information about an existing application key. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getApplicationKey({ - * name: "foo-application", - * }); - * ``` */ export function getApplicationKeyOutput(args?: GetApplicationKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getApplicationKey(a, opts)) diff --git a/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts b/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts index 437199836..bb7f48e9e 100644 --- a/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts +++ b/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts @@ -8,15 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getCloudWorkloadSecurityAgentRules({}); - * ``` */ export function getCloudWorkloadSecurityAgentRules(opts?: pulumi.InvokeOptions): Promise { @@ -40,15 +31,6 @@ export interface GetCloudWorkloadSecurityAgentRulesResult { } /** * Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getCloudWorkloadSecurityAgentRules({}); - * ``` */ export function getCloudWorkloadSecurityAgentRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getCloudWorkloadSecurityAgentRules(opts)) diff --git a/sdk/nodejs/getDashboard.ts b/sdk/nodejs/getDashboard.ts index 5a5855f2e..ede13d6df 100644 --- a/sdk/nodejs/getDashboard.ts +++ b/sdk/nodejs/getDashboard.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getDashboard({ - * name: "My super dashboard", - * }); - * ``` */ export function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise { @@ -59,17 +48,6 @@ export interface GetDashboardResult { } /** * Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getDashboard({ - * name: "My super dashboard", - * }); - * ``` */ export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDashboard(a, opts)) diff --git a/sdk/nodejs/getDashboardList.ts b/sdk/nodejs/getDashboardList.ts index e20b51be4..4294a6870 100644 --- a/sdk/nodejs/getDashboardList.ts +++ b/sdk/nodejs/getDashboardList.ts @@ -6,33 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getDashboardList({ - * name: "My super list", - * }); - * // Create a dashboard and register it in the list above. - * const time = new datadog.Dashboard("time", { - * dashboardLists: [test.then(test => test.id)], - * description: "Created using the Datadog provider in Terraform", - * isReadOnly: true, - * layoutType: "ordered", - * title: "TF Test Layout Dashboard", - * widgets: [{ - * alertGraphDefinition: { - * alertId: "1234", - * liveSpan: "1h", - * title: "Widget Title", - * vizType: "timeseries", - * }, - * }], - * }); - * ``` */ export function getDashboardList(args: GetDashboardListArgs, opts?: pulumi.InvokeOptions): Promise { @@ -67,33 +40,6 @@ export interface GetDashboardListResult { } /** * Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getDashboardList({ - * name: "My super list", - * }); - * // Create a dashboard and register it in the list above. - * const time = new datadog.Dashboard("time", { - * dashboardLists: [test.then(test => test.id)], - * description: "Created using the Datadog provider in Terraform", - * isReadOnly: true, - * layoutType: "ordered", - * title: "TF Test Layout Dashboard", - * widgets: [{ - * alertGraphDefinition: { - * alertId: "1234", - * liveSpan: "1h", - * title: "Widget Title", - * vizType: "timeseries", - * }, - * }], - * }); - * ``` */ export function getDashboardListOutput(args: GetDashboardListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getDashboardList(a, opts)) diff --git a/sdk/nodejs/getIpRanges.ts b/sdk/nodejs/getIpRanges.ts index 03e22bfd0..763bea5d2 100644 --- a/sdk/nodejs/getIpRanges.ts +++ b/sdk/nodejs/getIpRanges.ts @@ -6,15 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about Datadog's IP addresses. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getIpRanges({}); - * ``` */ export function getIpRanges(opts?: pulumi.InvokeOptions): Promise { @@ -106,15 +97,6 @@ export interface GetIpRangesResult { } /** * Use this data source to retrieve information about Datadog's IP addresses. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getIpRanges({}); - * ``` */ export function getIpRangesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getIpRanges(opts)) diff --git a/sdk/nodejs/getLogsIndexes.ts b/sdk/nodejs/getLogsIndexes.ts index 15d630993..e9c733ff2 100644 --- a/sdk/nodejs/getLogsIndexes.ts +++ b/sdk/nodejs/getLogsIndexes.ts @@ -8,15 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to list several existing logs indexes for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getLogsIndexes({}); - * ``` */ export function getLogsIndexes(opts?: pulumi.InvokeOptions): Promise { @@ -40,15 +31,6 @@ export interface GetLogsIndexesResult { } /** * Use this data source to list several existing logs indexes for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getLogsIndexes({}); - * ``` */ export function getLogsIndexesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getLogsIndexes(opts)) diff --git a/sdk/nodejs/getLogsIndexesOrder.ts b/sdk/nodejs/getLogsIndexesOrder.ts index cc43c59c7..664646fcb 100644 --- a/sdk/nodejs/getLogsIndexesOrder.ts +++ b/sdk/nodejs/getLogsIndexesOrder.ts @@ -6,15 +6,6 @@ import * as utilities from "./utilities"; /** * Get the current order of your log indexes. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getLogsIndexesOrder({}); - * ``` */ export function getLogsIndexesOrder(opts?: pulumi.InvokeOptions): Promise { @@ -38,15 +29,6 @@ export interface GetLogsIndexesOrderResult { } /** * Get the current order of your log indexes. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getLogsIndexesOrder({}); - * ``` */ export function getLogsIndexesOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getLogsIndexesOrder(opts)) diff --git a/sdk/nodejs/getLogsPipelines.ts b/sdk/nodejs/getLogsPipelines.ts index c5a3df309..4a44962b1 100644 --- a/sdk/nodejs/getLogsPipelines.ts +++ b/sdk/nodejs/getLogsPipelines.ts @@ -8,20 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to list all existing logs pipelines for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const pipelines = datadog.getLogsPipelines({}); - * // Using data source to set pipeline order - * const lpo = new datadog.LogsPipelineOrder("lpo", { - * name: "lpo", - * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))), - * }); - * ``` */ export function getLogsPipelines(args?: GetLogsPipelinesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -58,20 +44,6 @@ export interface GetLogsPipelinesResult { } /** * Use this data source to list all existing logs pipelines for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const pipelines = datadog.getLogsPipelines({}); - * // Using data source to set pipeline order - * const lpo = new datadog.LogsPipelineOrder("lpo", { - * name: "lpo", - * pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))), - * }); - * ``` */ export function getLogsPipelinesOutput(args?: GetLogsPipelinesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getLogsPipelines(a, opts)) diff --git a/sdk/nodejs/getMonitor.ts b/sdk/nodejs/getMonitor.ts index 61f3a686d..1306b62d4 100644 --- a/sdk/nodejs/getMonitor.ts +++ b/sdk/nodejs/getMonitor.ts @@ -8,18 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing monitor for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getMonitor({ - * monitorTagsFilters: ["foo:bar"], - * nameFilter: "My awesome monitor", - * }); - * ``` */ export function getMonitor(args?: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -190,18 +178,6 @@ export interface GetMonitorResult { } /** * Use this data source to retrieve information about an existing monitor for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getMonitor({ - * monitorTagsFilters: ["foo:bar"], - * nameFilter: "My awesome monitor", - * }); - * ``` */ export function getMonitorOutput(args?: GetMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getMonitor(a, opts)) diff --git a/sdk/nodejs/getMonitorConfigPolicies.ts b/sdk/nodejs/getMonitorConfigPolicies.ts index e85955053..d6c63e0a2 100644 --- a/sdk/nodejs/getMonitorConfigPolicies.ts +++ b/sdk/nodejs/getMonitorConfigPolicies.ts @@ -8,15 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to list existing monitor config policies for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getMonitorConfigPolicies({}); - * ``` */ export function getMonitorConfigPolicies(opts?: pulumi.InvokeOptions): Promise { @@ -40,15 +31,6 @@ export interface GetMonitorConfigPoliciesResult { } /** * Use this data source to list existing monitor config policies for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getMonitorConfigPolicies({}); - * ``` */ export function getMonitorConfigPoliciesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getMonitorConfigPolicies(opts)) diff --git a/sdk/nodejs/getPermissions.ts b/sdk/nodejs/getPermissions.ts index a7b28fc61..a24fc12a1 100644 --- a/sdk/nodejs/getPermissions.ts +++ b/sdk/nodejs/getPermissions.ts @@ -6,15 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const permissions = datadog.getPermissions({}); - * ``` */ export function getPermissions(args?: GetPermissionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -54,15 +45,6 @@ export interface GetPermissionsResult { } /** * Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const permissions = datadog.getPermissions({}); - * ``` */ export function getPermissionsOutput(args?: GetPermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getPermissions(a, opts)) diff --git a/sdk/nodejs/getRole.ts b/sdk/nodejs/getRole.ts index ff43b6269..07c77fc24 100644 --- a/sdk/nodejs/getRole.ts +++ b/sdk/nodejs/getRole.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing role for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getRole({ - * filter: "Datadog Standard Role", - * }); - * ``` */ export function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise { @@ -59,17 +48,6 @@ export interface GetRoleResult { } /** * Use this data source to retrieve information about an existing role for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getRole({ - * filter: "Datadog Standard Role", - * }); - * ``` */ export function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getRole(a, opts)) diff --git a/sdk/nodejs/getRoles.ts b/sdk/nodejs/getRoles.ts index c6eacfe9f..4be5ba0a5 100644 --- a/sdk/nodejs/getRoles.ts +++ b/sdk/nodejs/getRoles.ts @@ -8,17 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about multiple roles for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getRoles({ - * filter: "Datadog", - * }); - * ``` */ export function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -58,17 +47,6 @@ export interface GetRolesResult { } /** * Use this data source to retrieve information about multiple roles for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getRoles({ - * filter: "Datadog", - * }); - * ``` */ export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getRoles(a, opts)) diff --git a/sdk/nodejs/getSecurityMonitoringFilters.ts b/sdk/nodejs/getSecurityMonitoringFilters.ts index 3a2cfa95c..fa5d4a9f0 100644 --- a/sdk/nodejs/getSecurityMonitoringFilters.ts +++ b/sdk/nodejs/getSecurityMonitoringFilters.ts @@ -8,15 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about existing security monitoring filters for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getSecurityMonitoringFilters({}); - * ``` */ export function getSecurityMonitoringFilters(opts?: pulumi.InvokeOptions): Promise { @@ -44,15 +35,6 @@ export interface GetSecurityMonitoringFiltersResult { } /** * Use this data source to retrieve information about existing security monitoring filters for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getSecurityMonitoringFilters({}); - * ``` */ export function getSecurityMonitoringFiltersOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getSecurityMonitoringFilters(opts)) diff --git a/sdk/nodejs/getSecurityMonitoringRules.ts b/sdk/nodejs/getSecurityMonitoringRules.ts index 5c124b52e..4bd0b23ee 100644 --- a/sdk/nodejs/getSecurityMonitoringRules.ts +++ b/sdk/nodejs/getSecurityMonitoringRules.ts @@ -8,19 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about existing security monitoring rules for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getSecurityMonitoringRules({ - * defaultOnlyFilter: true, - * nameFilter: "attack", - * tagsFilters: ["foo:bar"], - * }); - * ``` */ export function getSecurityMonitoringRules(args?: GetSecurityMonitoringRulesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -91,19 +78,6 @@ export interface GetSecurityMonitoringRulesResult { } /** * Use this data source to retrieve information about existing security monitoring rules for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getSecurityMonitoringRules({ - * defaultOnlyFilter: true, - * nameFilter: "attack", - * tagsFilters: ["foo:bar"], - * }); - * ``` */ export function getSecurityMonitoringRulesOutput(args?: GetSecurityMonitoringRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getSecurityMonitoringRules(a, opts)) diff --git a/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts b/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts index bcdb5c8c0..f0f791f2e 100644 --- a/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts +++ b/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts @@ -6,16 +6,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getSensitiveDataScannerGroupOrder({}); - * const foobar = new datadog.SensitiveDataScannerGroupOrder("foobar", {groupIds: foo.then(foo => foo.groupIds)}); - * ``` */ export function getSensitiveDataScannerGroupOrder(opts?: pulumi.InvokeOptions): Promise { @@ -39,16 +29,6 @@ export interface GetSensitiveDataScannerGroupOrderResult { } /** * Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getSensitiveDataScannerGroupOrder({}); - * const foobar = new datadog.SensitiveDataScannerGroupOrder("foobar", {groupIds: foo.then(foo => foo.groupIds)}); - * ``` */ export function getSensitiveDataScannerGroupOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(getSensitiveDataScannerGroupOrder(opts)) diff --git a/sdk/nodejs/getServiceLevelObjective.ts b/sdk/nodejs/getServiceLevelObjective.ts index 08c3584fb..2c16e4ffb 100644 --- a/sdk/nodejs/getServiceLevelObjective.ts +++ b/sdk/nodejs/getServiceLevelObjective.ts @@ -8,21 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing SLO for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getServiceLevelObjective({ - * nameQuery: "My test SLO", - * tagsQuery: "foo:bar", - * }); - * const apiSlo = datadog.getServiceLevelObjective({ - * id: data.terraform_remote_state.api.outputs.slo, - * }); - * ``` */ export function getServiceLevelObjective(args?: GetServiceLevelObjectiveArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -109,21 +94,6 @@ export interface GetServiceLevelObjectiveResult { } /** * Use this data source to retrieve information about an existing SLO for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getServiceLevelObjective({ - * nameQuery: "My test SLO", - * tagsQuery: "foo:bar", - * }); - * const apiSlo = datadog.getServiceLevelObjective({ - * id: data.terraform_remote_state.api.outputs.slo, - * }); - * ``` */ export function getServiceLevelObjectiveOutput(args?: GetServiceLevelObjectiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getServiceLevelObjective(a, opts)) diff --git a/sdk/nodejs/getServiceLevelObjectives.ts b/sdk/nodejs/getServiceLevelObjectives.ts index 7769637b0..b9fac86c7 100644 --- a/sdk/nodejs/getServiceLevelObjectives.ts +++ b/sdk/nodejs/getServiceLevelObjectives.ts @@ -8,17 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about multiple SLOs for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const ftFooSlos = datadog.getServiceLevelObjectives({ - * tagsQuery: "owner:ft-foo", - * }); - * ``` */ export function getServiceLevelObjectives(args?: GetServiceLevelObjectivesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -85,17 +74,6 @@ export interface GetServiceLevelObjectivesResult { } /** * Use this data source to retrieve information about multiple SLOs for use in other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const ftFooSlos = datadog.getServiceLevelObjectives({ - * tagsQuery: "owner:ft-foo", - * }); - * ``` */ export function getServiceLevelObjectivesOutput(args?: GetServiceLevelObjectivesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getServiceLevelObjectives(a, opts)) diff --git a/sdk/nodejs/getTeam.ts b/sdk/nodejs/getTeam.ts index aeca6b0aa..6a5fbaff5 100644 --- a/sdk/nodejs/getTeam.ts +++ b/sdk/nodejs/getTeam.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing Datadog team. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getTeam({ - * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", - * }); - * ``` */ export function getTeam(args?: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; @@ -85,17 +74,6 @@ export interface GetTeamResult { } /** * Use this data source to retrieve information about an existing Datadog team. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getTeam({ - * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", - * }); - * ``` */ export function getTeamOutput(args?: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getTeam(a, opts)) diff --git a/sdk/nodejs/getTeamMemberships.ts b/sdk/nodejs/getTeamMemberships.ts index 4e43dfc99..8a963375b 100644 --- a/sdk/nodejs/getTeamMemberships.ts +++ b/sdk/nodejs/getTeamMemberships.ts @@ -8,18 +8,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about existing Datadog team memberships. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getTeamMemberships({ - * filterKeyword: "foo@example.com", - * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", - * }); - * ``` */ export function getTeamMemberships(args: GetTeamMembershipsArgs, opts?: pulumi.InvokeOptions): Promise { @@ -64,18 +52,6 @@ export interface GetTeamMembershipsResult { } /** * Use this data source to retrieve information about existing Datadog team memberships. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = datadog.getTeamMemberships({ - * filterKeyword: "foo@example.com", - * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", - * }); - * ``` */ export function getTeamMembershipsOutput(args: GetTeamMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getTeamMemberships(a, opts)) diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index a2a4f2ca1..a590103ac 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -6,17 +6,6 @@ import * as utilities from "./utilities"; /** * Use this data source to retrieve information about an existing user to use it in an other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getUser({ - * filter: "user.name@company.com", - * }); - * ``` */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { @@ -68,17 +57,6 @@ export interface GetUserResult { } /** * Use this data source to retrieve information about an existing user to use it in an other resources. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = datadog.getUser({ - * filter: "user.name@company.com", - * }); - * ``` */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getUser(a, opts)) diff --git a/sdk/nodejs/logsArchive.ts b/sdk/nodejs/logsArchive.ts index a3c2cd3f8..820ba8aa3 100644 --- a/sdk/nodejs/logsArchive.ts +++ b/sdk/nodejs/logsArchive.ts @@ -9,24 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Logs Archive API resource, which is used to create and manage Datadog logs archives. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const myS3Archive = new datadog.LogsArchive("myS3Archive", { - * name: "my s3 archive", - * query: "service:myservice", - * s3Archive: { - * accountId: "001234567888", - * bucket: "my-bucket", - * path: "/path/foo", - * roleName: "my-role-name", - * }, - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/logsArchiveOrder.ts b/sdk/nodejs/logsArchiveOrder.ts index 629be097e..78a709835 100644 --- a/sdk/nodejs/logsArchiveOrder.ts +++ b/sdk/nodejs/logsArchiveOrder.ts @@ -7,18 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const sampleArchiveOrder = new datadog.LogsArchiveOrder("sampleArchiveOrder", {archiveIds: [ - * datadog_logs_archive.sample_archive_1.id, - * datadog_logs_archive.sample_archive_2.id, - * ]}); - * ``` - * * ## Import * * There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order. diff --git a/sdk/nodejs/logsIndex.ts b/sdk/nodejs/logsIndex.ts index 7621bab14..21e233bf9 100644 --- a/sdk/nodejs/logsIndex.ts +++ b/sdk/nodejs/logsIndex.ts @@ -7,40 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const sampleIndex = new datadog.LogsIndex("sampleIndex", { - * dailyLimit: 200000, - * exclusionFilters: [ - * { - * filters: [{ - * query: "app:coredns", - * sampleRate: 0.97, - * }], - * isEnabled: true, - * name: "Filter coredns logs", - * }, - * { - * filters: [{ - * query: "service:kube_apiserver", - * sampleRate: 1, - * }], - * isEnabled: true, - * name: "Kubernetes apiserver", - * }, - * ], - * filters: [{ - * query: "*", - * }], - * name: "your index", - * retentionDays: 7, - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/logsIndexOrder.ts b/sdk/nodejs/logsIndexOrder.ts index 025347b4c..a1cdd1ad7 100644 --- a/sdk/nodejs/logsIndexOrder.ts +++ b/sdk/nodejs/logsIndexOrder.ts @@ -7,18 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const sampleIndexOrder = new datadog.LogsIndexOrder("sampleIndexOrder", { - * name: "sample_index_order", - * indexes: [datadog_logs_index.sample_index.id], - * }); - * ``` - * * ## Import * * The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource `` can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/nodejs/logsIntegrationPipeline.ts b/sdk/nodejs/logsIntegrationPipeline.ts index dc9026382..e54bb3622 100644 --- a/sdk/nodejs/logsIntegrationPipeline.ts +++ b/sdk/nodejs/logsIntegrationPipeline.ts @@ -7,15 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Logs Pipeline API resource to manage the integrations. Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don't need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your `datadog.LogsPipelineOrder` resource. If you don't need the `pipelineOrder` feature, this resource declaration can be omitted. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const python = new datadog.LogsIntegrationPipeline("python", {isEnabled: true}); - * ``` - * * ## Import * * To find the pipeline ID, click the "view" button in the UI to open the pipeline details. The pipeline ID is the last part of the URL. diff --git a/sdk/nodejs/logsMetric.ts b/sdk/nodejs/logsMetric.ts index 65ab7b19b..bb60a2718 100644 --- a/sdk/nodejs/logsMetric.ts +++ b/sdk/nodejs/logsMetric.ts @@ -9,34 +9,6 @@ import * as utilities from "./utilities"; /** * Resource for interacting with the logsMetric API * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const testingLogsMetric = new datadog.LogsMetric("testingLogsMetric", { - * compute: { - * aggregationType: "distribution", - * path: "@duration", - * }, - * filter: { - * query: "service:test", - * }, - * groupBies: [ - * { - * path: "@status", - * tagName: "status", - * }, - * { - * path: "@version", - * tagName: "version", - * }, - * ], - * name: "testing.logs.metric", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/logsPipelineOrder.ts b/sdk/nodejs/logsPipelineOrder.ts index 12122e52e..584f26436 100644 --- a/sdk/nodejs/logsPipelineOrder.ts +++ b/sdk/nodejs/logsPipelineOrder.ts @@ -7,21 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const samplePipelineOrder = new datadog.LogsPipelineOrder("samplePipelineOrder", { - * name: "sample_pipeline_order", - * pipelines: [ - * datadog_logs_custom_pipeline.sample_pipeline.id, - * datadog_logs_integration_pipeline.python.id, - * ], - * }); - * ``` - * * ## Import * * There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation). diff --git a/sdk/nodejs/metricMetadata.ts b/sdk/nodejs/metricMetadata.ts index 78833e4a6..cf8e544e0 100644 --- a/sdk/nodejs/metricMetadata.ts +++ b/sdk/nodejs/metricMetadata.ts @@ -7,22 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog metricMetadata resource. This can be used to manage a metric's metadata. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Manage a Datadog metric's metadata - * const requestTime = new datadog.MetricMetadata("requestTime", { - * description: "99th percentile request time in milliseconds", - * metric: "request.time", - * shortName: "Request time", - * type: "gauge", - * unit: "millisecond", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/metricTagConfiguration.ts b/sdk/nodejs/metricTagConfiguration.ts index bf3bdb170..c7139c9b5 100644 --- a/sdk/nodejs/metricTagConfiguration.ts +++ b/sdk/nodejs/metricTagConfiguration.ts @@ -9,43 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Manage a tag configuration for a Datadog distribution metric with/without percentiles - * const exampleDistMetric = new datadog.MetricTagConfiguration("exampleDistMetric", { - * includePercentiles: false, - * metricName: "example.terraform.dist.metric", - * metricType: "distribution", - * tags: [ - * "sport", - * "datacenter", - * ], - * }); - * // Manage tag configurations for a Datadog count or gauge metric - * const exampleCountMetric = new datadog.MetricTagConfiguration("exampleCountMetric", { - * aggregations: [ - * { - * space: "min", - * time: "avg", - * }, - * { - * space: "max", - * time: "avg", - * }, - * ], - * metricName: "example.terraform.count.metric", - * metricType: "count", - * tags: [ - * "sport", - * "datacenter", - * ], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/monitor.ts b/sdk/nodejs/monitor.ts index d78987781..af28674d7 100644 --- a/sdk/nodejs/monitor.ts +++ b/sdk/nodejs/monitor.ts @@ -9,30 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.Monitor("foo", { - * escalationMessage: "Escalation message @pagerduty", - * includeTags: true, - * message: "Monitor triggered. Notify: @hipchat-channel", - * monitorThresholds: { - * critical: "4", - * warning: "2", - * }, - * name: "Name for monitor foo", - * query: "avg(last_1h):avg:aws.ec2.cpu{environment:foo,host:foo} by {host} > 4", - * tags: [ - * "foo:bar", - * "team:fooBar", - * ], - * type: "metric alert", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/monitorConfigPolicy.ts b/sdk/nodejs/monitorConfigPolicy.ts index 682214143..8d93eb3cc 100644 --- a/sdk/nodejs/monitorConfigPolicy.ts +++ b/sdk/nodejs/monitorConfigPolicy.ts @@ -8,25 +8,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog monitor config policy resource. This can be used to create and manage Datadog monitor config policies. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const test = new datadog.MonitorConfigPolicy("test", { - * policyType: "tag", - * tagPolicy: { - * tagKey: "env", - * tagKeyRequired: false, - * validTagValues: [ - * "staging", - * "prod", - * ], - * }, - * }); - * ``` */ export class MonitorConfigPolicy extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/monitorJson.ts b/sdk/nodejs/monitorJson.ts index 38425c70d..e38b551db 100644 --- a/sdk/nodejs/monitorJson.ts +++ b/sdk/nodejs/monitorJson.ts @@ -7,38 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const monitorJson = new datadog.MonitorJson("monitorJson", {monitor: `{ - * "name": "Example monitor - service check", - * "type": "service check", - * "query": "\\"ntp.in_sync\\".by(\\"*\\").last(2).count_by_status()", - * "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\\n\\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.", - * "tags": [], - * "multi": true, - * "restricted_roles": null, - * "options": { - * "include_tags": true, - * "locked": false, - * "new_host_delay": 150, - * "notify_audit": false, - * "notify_no_data": false, - * "thresholds": { - * "warning": 1, - * "ok": 1, - * "critical": 1 - * } - * }, - * "priority": null, - * "classification": "custom" - * } - * `}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/opsgenie/serviceObject.ts b/sdk/nodejs/opsgenie/serviceObject.ts index f90f767cb..831172b29 100644 --- a/sdk/nodejs/opsgenie/serviceObject.ts +++ b/sdk/nodejs/opsgenie/serviceObject.ts @@ -6,24 +6,6 @@ import * as utilities from "../utilities"; /** * Resource for interacting with Datadog Opsgenie Service API. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fakeServiceName = new datadog.opsgenie.ServiceObject("fakeServiceName", { - * name: "fake_service_name", - * opsgenieApiKey: "00000000-0000-0000-0000-000000000000", - * region: "us", - * }); - * const fakeServiceName2 = new datadog.opsgenie.ServiceObject("fakeServiceName2", { - * name: "fake_service_name_2", - * opsgenieApiKey: "11111111-1111-1111-1111-111111111111", - * region: "eu", - * }); - * ``` */ export class ServiceObject extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/organizationSettings.ts b/sdk/nodejs/organizationSettings.ts index e33acdd48..2a4817210 100644 --- a/sdk/nodejs/organizationSettings.ts +++ b/sdk/nodejs/organizationSettings.ts @@ -9,16 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Organization resource. This can be used to manage your Datadog organization's settings. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Manage Datadog Organization - * const organization = new datadog.OrganizationSettings("organization", {name: "foo-organization"}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/pagerduty/integration.ts b/sdk/nodejs/pagerduty/integration.ts index 2ee317331..369d750bf 100644 --- a/sdk/nodejs/pagerduty/integration.ts +++ b/sdk/nodejs/pagerduty/integration.ts @@ -6,34 +6,6 @@ import * as utilities from "../utilities"; /** * Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/). - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const pd = new datadog.pagerduty.Integration("pd", { - * apiToken: "38457822378273432587234242874", - * schedules: [ - * "https://ddog.pagerduty.com/schedules/X123VF", - * "https://ddog.pagerduty.com/schedules/X321XX", - * ], - * subdomain: "ddog", - * }); - * const testingFoo = new datadog.pagerduty.ServiceObject("testingFoo", { - * serviceKey: "9876543210123456789", - * serviceName: "testing_foo", - * }, { - * dependsOn: ["datadog_integration_pagerduty.pd"], - * }); - * const testingBar = new datadog.pagerduty.ServiceObject("testingBar", { - * serviceKey: "54321098765432109876", - * serviceName: "testing_bar", - * }, { - * dependsOn: ["datadog_integration_pagerduty.pd"], - * }); - * ``` */ export class Integration extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/pagerduty/serviceObject.ts b/sdk/nodejs/pagerduty/serviceObject.ts index b087603e4..52068ecde 100644 --- a/sdk/nodejs/pagerduty/serviceObject.ts +++ b/sdk/nodejs/pagerduty/serviceObject.ts @@ -6,22 +6,6 @@ import * as utilities from "../utilities"; /** * Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const testingFoo = new datadog.pagerduty.ServiceObject("testingFoo", { - * serviceKey: "9876543210123456789", - * serviceName: "testing_foo", - * }); - * const testingBar = new datadog.pagerduty.ServiceObject("testingBar", { - * serviceKey: "54321098765432109876", - * serviceName: "testing_bar", - * }); - * ``` */ export class ServiceObject extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/restrictionPolicy.ts b/sdk/nodejs/restrictionPolicy.ts index dab899fb9..dee8c8580 100644 --- a/sdk/nodejs/restrictionPolicy.ts +++ b/sdk/nodejs/restrictionPolicy.ts @@ -9,27 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog RestrictionPolicy resource. This can be used to create and manage Datadog restriction policies. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.RestrictionPolicy("foo", { - * bindings: [ - * { - * principals: ["role:00000000-0000-1111-0000-000000000000"], - * relation: "editor", - * }, - * { - * principals: ["org:10000000-0000-1111-0000-000000000000"], - * relation: "viewer", - * }, - * ], - * resourceId: "security-rule:abc-def-ghi", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/role.ts b/sdk/nodejs/role.ts index 7d9d38a10..d319b14dc 100644 --- a/sdk/nodejs/role.ts +++ b/sdk/nodejs/role.ts @@ -9,27 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog role resource. This can be used to create and manage Datadog roles. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const bar = datadog.getPermissions({}); - * // Create a new Datadog role - * const foo = new datadog.Role("foo", { - * name: "foo", - * permissions: [ - * { - * id: bar.then(bar => bar.permissions?.monitorsDowntime), - * }, - * { - * id: bar.then(bar => bar.permissions?.monitorsWrite), - * }, - * ], - * }); - * ``` - * * ## Import * * Roles can be imported using their ID, e.g. diff --git a/sdk/nodejs/rumApplication.ts b/sdk/nodejs/rumApplication.ts index c4c1815c5..4198112f0 100644 --- a/sdk/nodejs/rumApplication.ts +++ b/sdk/nodejs/rumApplication.ts @@ -7,18 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const rumApplication = new datadog.RumApplication("rumApplication", { - * name: "my-application", - * type: "browser", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/securityMonitoringDefaultRule.ts b/sdk/nodejs/securityMonitoringDefaultRule.ts index 8f4db704c..242b19f7c 100644 --- a/sdk/nodejs/securityMonitoringDefaultRule.ts +++ b/sdk/nodejs/securityMonitoringDefaultRule.ts @@ -9,21 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const adefaultrule = new datadog.SecurityMonitoringDefaultRule("adefaultrule", { - * cases: [{ - * notifications: ["@me"], - * status: "high", - * }], - * enabled: true, - * }); - * ``` - * * ## Import * * Default rules need to be imported using their ID before applying. resource "datadog_security_monitoring_default_rule" "adefaultrule" { } diff --git a/sdk/nodejs/securityMonitoringFilter.ts b/sdk/nodejs/securityMonitoringFilter.ts index 4c2705dcf..3a6b85683 100644 --- a/sdk/nodejs/securityMonitoringFilter.ts +++ b/sdk/nodejs/securityMonitoringFilter.ts @@ -9,29 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Security Monitoring Rule API resource for security filters. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const myFilter = new datadog.SecurityMonitoringFilter("myFilter", { - * exclusionFilters: [ - * { - * name: "first", - * query: "exclude some logs", - * }, - * { - * name: "second", - * query: "exclude some other logs", - * }, - * ], - * isEnabled: true, - * name: "My filter", - * query: "The filter is filtering.", - * }); - * ``` - * * ## Import * * Security monitoring filters can be imported using ID, e.g. diff --git a/sdk/nodejs/securityMonitoringRule.ts b/sdk/nodejs/securityMonitoringRule.ts index 3fc694756..a491c18fc 100644 --- a/sdk/nodejs/securityMonitoringRule.ts +++ b/sdk/nodejs/securityMonitoringRule.ts @@ -9,44 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use `datadogSecurityDefaultRule` instead. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const myrule = new datadog.SecurityMonitoringRule("myrule", { - * cases: [{ - * condition: "errors > 3 && warnings > 10", - * notifications: ["@user"], - * status: "high", - * }], - * enabled: true, - * message: "The rule has triggered.", - * name: "My rule", - * options: { - * evaluationWindow: 300, - * keepAlive: 600, - * maxSignalDuration: 900, - * }, - * queries: [ - * { - * aggregation: "count", - * groupByFields: ["host"], - * name: "errors", - * query: "status:error", - * }, - * { - * aggregation: "count", - * groupByFields: ["host"], - * name: "warnings", - * query: "status:warning", - * }, - * ], - * tags: ["type:dos"], - * }); - * ``` - * * ## Import * * Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/nodejs/sensitiveDataScannerGroup.ts b/sdk/nodejs/sensitiveDataScannerGroup.ts index 31e662fc8..c06c2f13a 100644 --- a/sdk/nodejs/sensitiveDataScannerGroup.ts +++ b/sdk/nodejs/sensitiveDataScannerGroup.ts @@ -9,23 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Sensitive Data Scanner group resource. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const mygroup = new datadog.SensitiveDataScannerGroup("mygroup", { - * description: "A relevant description", - * filter: { - * query: "service:my-service", - * }, - * isEnabled: true, - * name: "My new scanning group", - * productLists: ["apm"], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/sensitiveDataScannerGroupOrder.ts b/sdk/nodejs/sensitiveDataScannerGroupOrder.ts index f7fddb883..e466f40a7 100644 --- a/sdk/nodejs/sensitiveDataScannerGroupOrder.ts +++ b/sdk/nodejs/sensitiveDataScannerGroupOrder.ts @@ -7,19 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Sensitive Data Scanner Group Order API resource. This can be used to manage the order of Datadog Sensitive Data Scanner Groups. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const mygrouporder = new datadog.SensitiveDataScannerGroupOrder("mygrouporder", {groupIds: [ - * "group-id-1", - * "group-id-2", - * "group-id-3", - * ]}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/sensitiveDataScannerRule.ts b/sdk/nodejs/sensitiveDataScannerRule.ts index a4f732f82..6006201c6 100644 --- a/sdk/nodejs/sensitiveDataScannerRule.ts +++ b/sdk/nodejs/sensitiveDataScannerRule.ts @@ -9,50 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group - * const mygroup = new datadog.SensitiveDataScannerGroup("mygroup", { - * name: "My new scanning group", - * description: "A relevant description", - * filter: { - * query: "service:my-service", - * }, - * isEnabled: true, - * productLists: ["apm"], - * }); - * const myrule = new datadog.SensitiveDataScannerRule("myrule", { - * name: "My new rule", - * description: "Another description", - * groupId: mygroup.id, - * excludedNamespaces: ["username"], - * isEnabled: true, - * pattern: "myregex", - * tags: ["sensitive_data:true"], - * textReplacement: { - * numberOfChars: 0, - * replacementString: "", - * type: "hash", - * }, - * }); - * const awsSp = datadog.getSensitiveDataScannerStandardPattern({ - * filter: "AWS Access Key ID Scanner", - * }); - * const mylibraryrule = new datadog.SensitiveDataScannerRule("mylibraryrule", { - * name: "My library rule", - * description: "A description", - * groupId: mygroup.id, - * standardPatternId: awsSp.then(awsSp => awsSp.id), - * excludedNamespaces: ["username"], - * isEnabled: true, - * tags: ["sensitive_data:true"], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/serviceAccount.ts b/sdk/nodejs/serviceAccount.ts index 75b9e951a..4e13d64a4 100644 --- a/sdk/nodejs/serviceAccount.ts +++ b/sdk/nodejs/serviceAccount.ts @@ -7,23 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const roRole = datadog.getRole({ - * filter: "Datadog Read Only Role", - * }); - * // Create a new Datadog service account - * const bar = new datadog.ServiceAccount("bar", { - * email: "new@example.com", - * name: "Service Account Bar", - * roles: [roRole.then(roRole => roRole.id)], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/serviceAccountApplicationKey.ts b/sdk/nodejs/serviceAccountApplicationKey.ts index 0af0bf507..0af0de345 100644 --- a/sdk/nodejs/serviceAccountApplicationKey.ts +++ b/sdk/nodejs/serviceAccountApplicationKey.ts @@ -7,19 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog `serviceAccountApplicationKey` resource. This can be used to create and manage Datadog service account application keys. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create new service_account_application_key resource - * const foo = new datadog.ServiceAccountApplicationKey("foo", { - * name: "Application key for managing dashboards", - * serviceAccountId: "00000000-0000-1234-0000-000000000000", - * }); - * ``` - * * ## Import * * Importing a service account's application key cannot import the value of the key. diff --git a/sdk/nodejs/serviceDefinitionYaml.ts b/sdk/nodejs/serviceDefinitionYaml.ts index b101594e4..af55ad6e0 100644 --- a/sdk/nodejs/serviceDefinitionYaml.ts +++ b/sdk/nodejs/serviceDefinitionYaml.ts @@ -7,118 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog service definition resource. This can be used to create and manage Datadog service definitions in the service catalog using the YAML/JSON definition. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Service Definition with v2.1 Schema Definition - * const serviceDefinitionV21 = new datadog.ServiceDefinitionYaml("serviceDefinitionV21", {serviceDefinition: `schema-version: v2.1 - * dd-service: shopping-cart - * team: e-commerce-team - * contacts: - * - name: Support Email - * type: email - * contact: team@shopping.com - * - name: Support Slack - * type: slack - * contact: https://www.slack.com/archives/shopping-cart - * description: shopping cart service responsible for managing shopping carts - * tier: high - * lifecycle: production - * application: e-commerce - * links: - * - name: shopping-cart runbook - * type: runbook - * url: https://runbook/shopping-cart - * - name: shopping-cart architecture - * type: doc - * provider: gdoc - * url: https://google.drive/shopping-cart-architecture - * - name: shopping-cart service Wiki - * type: doc - * provider: wiki - * url: https://wiki/shopping-cart - * - name: shopping-cart source code - * type: repo - * provider: github - * url: http://github/shopping-cart - * tags: - * - business-unit:retail - * - cost-center:engineering - * integrations: - * pagerduty: - * service-url: https://www.pagerduty.com/service-directory/Pshopping-cart - * extensions: - * mycompany.com/shopping-cart: - * customField: customValue - * - * `}); - * // Service Definition with v2 Schema Definition - * const serviceDefinitionV2 = new datadog.ServiceDefinitionYaml("serviceDefinitionV2", {serviceDefinition: `schema-version: v2 - * dd-service: shopping-cart - * team: E Commerce - * contacts: - * - name: Support Email - * type: email - * contact: team@shopping.com - * - name: Support Slack - * type: slack - * contact: https://www.slack.com/archives/shopping-cart - * repos: - * - name: shopping-cart source code - * provider: github - * url: http://github/shopping-cart - * docs: - * - name: shopping-cart architecture - * provider: gdoc - * url: https://google.drive/shopping-cart-architecture - * - name: shopping-cart service Wiki - * provider: wiki - * url: https://wiki/shopping-cart - * links: - * - name: shopping-cart runbook - * type: runbook - * url: https://runbook/shopping-cart - * tags: - * - business-unit:retail - * - cost-center:engineering - * integrations: - * pagerduty: https://www.pagerduty.com/service-directory/Pshopping-cart - * extensions: - * datadoghq.com/shopping-cart: - * customField: customValue - * - * `}); - * // Service Definition with backstage.io Schema - * const serviceDefinitionBackstage = new datadog.ServiceDefinitionYaml("serviceDefinitionBackstage", {serviceDefinition: `apiVersion: backstage.io/v1alpha1 - * kind: Component - * metadata: - * annotations: - * backstage.io/techdocs-ref: http://a/b/c - * some.annotation: value - * namespace: default - * name: shopping-cart - * title: Shopping Cart - * description: A shopping cart service - * tags: ["taga:valuea", "tagb:valueb"] - * links: - * - title: Wiki - * url: https://wiki/shopping-cart - * icon: help - * ignore-attribute: - * id: 1 - * value: "value" - * spec: - * type: service - * lifecycle: production - * owner: e-commerce - * system: retail - * - * `}); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/serviceLevelObjective.ts b/sdk/nodejs/serviceLevelObjective.ts index ff6dd653f..96b382bdf 100644 --- a/sdk/nodejs/serviceLevelObjective.ts +++ b/sdk/nodejs/serviceLevelObjective.ts @@ -9,75 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Metric-Based SLO - * // Create a new Datadog service level objective - * const foo = new datadog.ServiceLevelObjective("foo", { - * description: "My custom metric SLO", - * name: "Example Metric SLO", - * query: { - * denominator: "sum:my.custom.count.metric{*}.as_count()", - * numerator: "sum:my.custom.count.metric{type:good_events}.as_count()", - * }, - * tags: [ - * "foo:bar", - * "baz", - * ], - * targetThreshold: 99.9, - * thresholds: [ - * { - * target: 99.9, - * timeframe: "7d", - * warning: 99.99, - * }, - * { - * target: 99.9, - * timeframe: "30d", - * warning: 99.99, - * }, - * ], - * timeframe: "30d", - * type: "metric", - * warningThreshold: 99.99, - * }); - * // Monitor-Based SLO - * // Create a new Datadog service level objective - * const bar = new datadog.ServiceLevelObjective("bar", { - * description: "My custom monitor SLO", - * monitorIds: [ - * 1, - * 2, - * 3, - * ], - * name: "Example Monitor SLO", - * tags: [ - * "foo:bar", - * "baz", - * ], - * targetThreshold: 99.9, - * thresholds: [ - * { - * target: 99.9, - * timeframe: "7d", - * warning: 99.99, - * }, - * { - * target: 99.9, - * timeframe: "30d", - * warning: 99.99, - * }, - * ], - * timeframe: "30d", - * type: "monitor", - * warningThreshold: 99.99, - * }); - * ``` - * * ## Import * * Service Level Objectives can be imported using their string ID, e.g. diff --git a/sdk/nodejs/slack/channel.ts b/sdk/nodejs/slack/channel.ts index ed52eb7a2..c5e948677 100644 --- a/sdk/nodejs/slack/channel.ts +++ b/sdk/nodejs/slack/channel.ts @@ -9,24 +9,6 @@ import * as utilities from "../utilities"; /** * Resource for interacting with the Datadog Slack channel API * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const testChannel = new datadog.slack.Channel("testChannel", { - * accountName: "foo", - * channelName: "#test_channel", - * display: { - * message: true, - * notified: false, - * snapshot: false, - * tags: true, - * }, - * }); - * ``` - * * ## Import * * Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`). diff --git a/sdk/nodejs/sloCorrection.ts b/sdk/nodejs/sloCorrection.ts index f1ef8e929..9b4fe73f3 100644 --- a/sdk/nodejs/sloCorrection.ts +++ b/sdk/nodejs/sloCorrection.ts @@ -7,47 +7,6 @@ import * as utilities from "./utilities"; /** * Resource for interacting with the sloCorrection API. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog SLO correction. slo_id can be derived from slo resource or specify an slo id of an existing SLO. - * const exampleSlo = new datadog.ServiceLevelObjective("exampleSlo", { - * name: "example slo", - * type: "metric", - * description: "some updated description about example_slo SLO", - * query: { - * numerator: "sum:my.metric{type:good}.as_count()", - * denominator: "sum:my.metric{type:good}.as_count() + sum:my.metric{type:bad}.as_count()", - * }, - * thresholds: [{ - * timeframe: "7d", - * target: 99.5, - * warning: 99.8, - * }], - * tags: ["foo:bar"], - * }); - * const exampleSloCorrection = new datadog.SloCorrection("exampleSloCorrection", { - * category: "Scheduled Maintenance", - * description: "correction example", - * start: 1735707000, - * end: 1735718600, - * sloId: exampleSlo.id, - * timezone: "UTC", - * }); - * const exampleSloCorrectionWithRecurrence = new datadog.SloCorrection("exampleSloCorrectionWithRecurrence", { - * category: "Scheduled Maintenance", - * description: "correction example with recurrence", - * start: 1735707000, - * rrule: "FREQ=DAILY;INTERVAL=3;COUNT=3", - * duration: 3600, - * sloId: exampleSlo.id, - * timezone: "UTC", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/syntheticsConcurrencyCap.ts b/sdk/nodejs/syntheticsConcurrencyCap.ts index ec8a99347..5048565c6 100644 --- a/sdk/nodejs/syntheticsConcurrencyCap.ts +++ b/sdk/nodejs/syntheticsConcurrencyCap.ts @@ -7,16 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Synthetics On Demand Concurrency Cap API resource. This can be used to manage the Concurrency Cap for Synthetic tests. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Example Usage (Synthetics Concurrency Cap Configuration) - * const _this = new datadog.SyntheticsConcurrencyCap("this", {onDemandConcurrencyCap: 1}); - * ``` - * * ## Import * * The Synthetics concurrency cap can be imported. can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/nodejs/syntheticsGlobalVariable.ts b/sdk/nodejs/syntheticsGlobalVariable.ts index 00a8c29c2..ffef4ad24 100644 --- a/sdk/nodejs/syntheticsGlobalVariable.ts +++ b/sdk/nodejs/syntheticsGlobalVariable.ts @@ -9,23 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const testVariable = new datadog.SyntheticsGlobalVariable("testVariable", { - * description: "Description of the variable", - * name: "EXAMPLE_VARIABLE", - * tags: [ - * "foo:bar", - * "env:test", - * ], - * value: "variable-value", - * }); - * ``` - * * ## Import * * Synthetics global variables can be imported using their string ID, e.g. diff --git a/sdk/nodejs/syntheticsPrivateLocation.ts b/sdk/nodejs/syntheticsPrivateLocation.ts index df44c2690..029161bee 100644 --- a/sdk/nodejs/syntheticsPrivateLocation.ts +++ b/sdk/nodejs/syntheticsPrivateLocation.ts @@ -9,22 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const privateLocation = new datadog.SyntheticsPrivateLocation("privateLocation", { - * description: "Description of the private location", - * name: "First private location", - * tags: [ - * "foo:bar", - * "env:test", - * ], - * }); - * ``` - * * ## Import * * Synthetics private locations can be imported using their string ID, e.g. diff --git a/sdk/nodejs/syntheticsTest.ts b/sdk/nodejs/syntheticsTest.ts index 5df486446..3cefb72e3 100644 --- a/sdk/nodejs/syntheticsTest.ts +++ b/sdk/nodejs/syntheticsTest.ts @@ -16,285 +16,9 @@ import * as utilities from "./utilities"; * * In practice, it means going from (simplified configuration): * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * ``` - * * to * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * ``` - * * which you can now use in your request definition: - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * ``` - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Example Usage (Synthetics API test) - * // Create a new Datadog Synthetics API/HTTP test on https://www.example.org - * const testUptime = new datadog.SyntheticsTest("testUptime", { - * assertions: [{ - * operator: "is", - * target: "200", - * type: "statusCode", - * }], - * locations: ["aws:eu-central-1"], - * message: "Notify @pagerduty", - * name: "An Uptime test on example.org", - * optionsList: { - * monitorOptions: { - * renotifyInterval: 120, - * }, - * retry: { - * count: 2, - * interval: 300, - * }, - * tickEvery: 900, - * }, - * requestDefinition: { - * method: "GET", - * url: "https://www.example.org", - * }, - * requestHeaders: { - * "Content-Type": "application/json", - * }, - * status: "live", - * subtype: "http", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Authenticated API test) - * // Create a new Datadog Synthetics API/HTTP test on https://www.example.org - * const testApi = new datadog.SyntheticsTest("testApi", { - * assertions: [{ - * operator: "is", - * target: "200", - * type: "statusCode", - * }], - * locations: ["aws:eu-central-1"], - * message: "Notify @pagerduty", - * name: "An API test on example.org", - * optionsList: { - * monitorOptions: { - * renotifyInterval: 120, - * }, - * retry: { - * count: 2, - * interval: 300, - * }, - * tickEvery: 900, - * }, - * requestDefinition: { - * method: "GET", - * url: "https://www.example.org", - * }, - * requestHeaders: { - * Authentication: "Token: 1234566789", - * "Content-Type": "application/json", - * }, - * status: "live", - * subtype: "http", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Synthetics SSL test) - * // Create a new Datadog Synthetics API/SSL test on example.org - * const testSsl = new datadog.SyntheticsTest("testSsl", { - * assertions: [{ - * operator: "isInMoreThan", - * target: "30", - * type: "certificate", - * }], - * locations: ["aws:eu-central-1"], - * message: "Notify @pagerduty", - * name: "An API test on example.org", - * optionsList: { - * acceptSelfSigned: true, - * tickEvery: 900, - * }, - * requestDefinition: { - * host: "example.org", - * port: 443, - * }, - * status: "live", - * subtype: "ssl", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Synthetics TCP test) - * // Create a new Datadog Synthetics API/TCP test on example.org - * const testTcp = new datadog.SyntheticsTest("testTcp", { - * assertions: [{ - * operator: "lessThan", - * target: "2000", - * type: "responseTime", - * }], - * configVariables: [{ - * id: "76636cd1-82e2-4aeb-9cfe-51366a8198a2", - * name: "MY_GLOBAL_VAR", - * type: "global", - * }], - * locations: ["aws:eu-central-1"], - * message: "Notify @pagerduty", - * name: "An API test on example.org", - * optionsList: { - * tickEvery: 900, - * }, - * requestDefinition: { - * host: "example.org", - * port: 443, - * }, - * status: "live", - * subtype: "tcp", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Synthetics DNS test) - * // Create a new Datadog Synthetics API/DNS test on example.org - * const testDns = new datadog.SyntheticsTest("testDns", { - * assertions: [{ - * operator: "is", - * property: "A", - * target: "0.0.0.0", - * type: "recordSome", - * }], - * locations: ["aws:eu-central-1"], - * message: "Notify @pagerduty", - * name: "An API test on example.org", - * optionsList: { - * tickEvery: 900, - * }, - * requestDefinition: { - * host: "example.org", - * }, - * status: "live", - * subtype: "dns", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Synthetics Multistep API test) - * // Create a new Datadog Synthetics Multistep API test - * const testMultiStep = new datadog.SyntheticsTest("testMultiStep", { - * apiSteps: [ - * { - * assertions: [{ - * operator: "is", - * target: "200", - * type: "statusCode", - * }], - * name: "An API test on example.org", - * requestDefinition: { - * method: "GET", - * url: "https://example.org", - * }, - * requestHeaders: { - * Authentication: "Token: 1234566789", - * "Content-Type": "application/json", - * }, - * subtype: "http", - * }, - * { - * assertions: [{ - * operator: "is", - * target: "200", - * type: "statusCode", - * }], - * name: "An API test on example.org", - * requestDefinition: { - * method: "GET", - * url: "http://example.org", - * }, - * subtype: "http", - * }, - * ], - * locations: ["aws:eu-central-1"], - * name: "Multistep API test", - * optionsList: { - * acceptSelfSigned: true, - * tickEvery: 900, - * }, - * status: "live", - * subtype: "multi", - * tags: [ - * "foo:bar", - * "foo", - * "env:test", - * ], - * type: "api", - * }); - * // Example Usage (Synthetics Browser test) - * // Create a new Datadog Synthetics Browser test starting on https://www.example.org - * const testBrowser = new datadog.SyntheticsTest("testBrowser", { - * browserSteps: [{ - * name: "Check current url", - * params: { - * check: "contains", - * value: "datadoghq", - * }, - * type: "assertCurrentUrl", - * }], - * browserVariables: [ - * { - * example: "597", - * name: "MY_PATTERN_VAR", - * pattern: "{{numeric(3)}}", - * type: "text", - * }, - * { - * example: "jd8-afe-ydv.4546132139@synthetics.dtdg.co", - * name: "MY_EMAIL_VAR", - * pattern: "jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co", - * type: "email", - * }, - * { - * id: "76636cd1-82e2-4aeb-9cfe-51366a8198a2", - * name: "MY_GLOBAL_VAR", - * type: "global", - * }, - * ], - * deviceIds: ["laptop_large"], - * locations: ["aws:eu-central-1"], - * message: "Notify @qa", - * name: "A Browser test on example.org", - * optionsList: { - * tickEvery: 3600, - * }, - * requestDefinition: { - * method: "GET", - * url: "https://app.datadoghq.com", - * }, - * status: "paused", - * tags: [], - * type: "browser", - * }); - * ``` * * ## Import * diff --git a/sdk/nodejs/team.ts b/sdk/nodejs/team.ts index 7250e8de4..5552dcbf6 100644 --- a/sdk/nodejs/team.ts +++ b/sdk/nodejs/team.ts @@ -7,19 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog Team resource. This can be used to create and manage Datadog team. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.Team("foo", { - * description: "Team description", - * handle: "example-team", - * name: "Example Team", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/teamLink.ts b/sdk/nodejs/teamLink.ts index d153835bb..57f14377f 100644 --- a/sdk/nodejs/teamLink.ts +++ b/sdk/nodejs/teamLink.ts @@ -7,26 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog TeamLink resource. This can be used to create and manage Datadog team_link. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fooTeam = new datadog.Team("fooTeam", { - * description: "Example team", - * handle: "example-team-updated", - * name: "Example Team-updated", - * }); - * // Create new team_link resource - * const fooTeamLink = new datadog.TeamLink("fooTeamLink", { - * teamId: fooTeam.id, - * label: "Link label", - * position: "Example link", - * url: "https://example.com", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/teamMembership.ts b/sdk/nodejs/teamMembership.ts index 62a3e8ac6..59ffa9afa 100644 --- a/sdk/nodejs/teamMembership.ts +++ b/sdk/nodejs/teamMembership.ts @@ -7,26 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fooTeam = new datadog.Team("fooTeam", { - * description: "Example team", - * handle: "example-team-updated", - * name: "Example Team-updated", - * }); - * const fooUser = new datadog.User("fooUser", {email: "new@example.com"}); - * // Create new team_membership resource - * const fooTeamMembership = new datadog.TeamMembership("fooTeamMembership", { - * teamId: fooTeam.id, - * userId: fooUser.id, - * role: "admin", - * }); - * ``` - * * ## Import * * This resource is imported using team_id and user_id seperated by `:`. diff --git a/sdk/nodejs/teamPermissionSetting.ts b/sdk/nodejs/teamPermissionSetting.ts index 03e2289a0..f95c8795e 100644 --- a/sdk/nodejs/teamPermissionSetting.ts +++ b/sdk/nodejs/teamPermissionSetting.ts @@ -6,24 +6,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const fooTeam = new datadog.Team("fooTeam", { - * description: "Example team", - * handle: "example-team-updated", - * name: "Example Team-updated", - * }); - * const fooTeamPermissionSetting = new datadog.TeamPermissionSetting("fooTeamPermissionSetting", { - * teamId: fooTeam.id, - * action: "manage_membership", - * value: "organization", - * }); - * ``` */ export class TeamPermissionSetting extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/user.ts b/sdk/nodejs/user.ts index fbfeecd79..498af0121 100644 --- a/sdk/nodejs/user.ts +++ b/sdk/nodejs/user.ts @@ -7,22 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog user resource. This can be used to create and manage Datadog users. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const roRole = datadog.getRole({ - * filter: "Datadog Read Only Role", - * }); - * // Create a new Datadog user - * const foo = new datadog.User("foo", { - * email: "new@example.com", - * roles: [roRole.then(roRole => roRole.id)], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/webhook.ts b/sdk/nodejs/webhook.ts index e8c058175..5c7a6fb60 100644 --- a/sdk/nodejs/webhook.ts +++ b/sdk/nodejs/webhook.ts @@ -7,26 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog webhook resource. This can be used to create and manage Datadog webhooks. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Create a new Datadog webhook - * const foo = new datadog.Webhook("foo", { - * name: "test-webhook", - * url: "example.com", - * encodeAs: "json", - * customHeaders: JSON.stringify({ - * custom: "header", - * }), - * payload: JSON.stringify({ - * custom: "payload", - * }), - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/webhookCustomVariable.ts b/sdk/nodejs/webhookCustomVariable.ts index 1c7938daa..7a882a397 100644 --- a/sdk/nodejs/webhookCustomVariable.ts +++ b/sdk/nodejs/webhookCustomVariable.ts @@ -7,19 +7,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog webhooks custom variable resource. This can be used to create and manage Datadog webhooks custom variables. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * const foo = new datadog.WebhookCustomVariable("foo", { - * isSecret: true, - * name: "EXAMPLE_VARIABLE", - * value: "EXAMPLE-VALUE", - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/python/pulumi_datadog/_inputs.py b/sdk/python/pulumi_datadog/_inputs.py index b6477fe1a..625fa0a8a 100644 --- a/sdk/python/pulumi_datadog/_inputs.py +++ b/sdk/python/pulumi_datadog/_inputs.py @@ -1226,7 +1226,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is not None: _setter("key", key) if name is not None: @@ -1269,7 +1271,9 @@ def _configure( hash: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, owner: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if hash is not None: _setter("hash", hash) if name is not None: @@ -1344,7 +1348,27 @@ def _configure( saml_login_url: Optional[pulumi.Input[str]] = None, saml_strict_modes: Optional[pulumi.Input[Sequence[pulumi.Input['ChildOrganizationSettingSamlStrictModeArgs']]]] = None, samls: Optional[pulumi.Input[Sequence[pulumi.Input['ChildOrganizationSettingSamlArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if private_widget_share is None and 'privateWidgetShare' in kwargs: + private_widget_share = kwargs['privateWidgetShare'] + if saml_autocreate_access_role is None and 'samlAutocreateAccessRole' in kwargs: + saml_autocreate_access_role = kwargs['samlAutocreateAccessRole'] + if saml_autocreate_users_domains is None and 'samlAutocreateUsersDomains' in kwargs: + saml_autocreate_users_domains = kwargs['samlAutocreateUsersDomains'] + if saml_can_be_enabled is None and 'samlCanBeEnabled' in kwargs: + saml_can_be_enabled = kwargs['samlCanBeEnabled'] + if saml_idp_endpoint is None and 'samlIdpEndpoint' in kwargs: + saml_idp_endpoint = kwargs['samlIdpEndpoint'] + if saml_idp_initiated_logins is None and 'samlIdpInitiatedLogins' in kwargs: + saml_idp_initiated_logins = kwargs['samlIdpInitiatedLogins'] + if saml_idp_metadata_uploaded is None and 'samlIdpMetadataUploaded' in kwargs: + saml_idp_metadata_uploaded = kwargs['samlIdpMetadataUploaded'] + if saml_login_url is None and 'samlLoginUrl' in kwargs: + saml_login_url = kwargs['samlLoginUrl'] + if saml_strict_modes is None and 'samlStrictModes' in kwargs: + saml_strict_modes = kwargs['samlStrictModes'] + if private_widget_share is not None: _setter("private_widget_share", private_widget_share) if saml_autocreate_access_role is not None: @@ -1469,7 +1493,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1498,7 +1524,9 @@ def _configure( _setter: Callable[[Any, Any], None], domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if domains is not None: _setter("domains", domains) if enabled is not None: @@ -1535,7 +1563,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1561,7 +1591,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1593,7 +1625,11 @@ def _configure( access_role: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_role is None and 'accessRole' in kwargs: + access_role = kwargs['accessRole'] + if access_role is not None: _setter("access_role", access_role) if email is not None: @@ -1646,9 +1682,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: pulumi.Input[str], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -1694,9 +1736,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dash_id: pulumi.Input[str], - type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + dash_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dash_id is None and 'dashId' in kwargs: + dash_id = kwargs['dashId'] + if dash_id is None: + raise TypeError("Missing 'dash_id' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("dash_id", dash_id) _setter("type", type) @@ -1751,12 +1801,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, available_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, default: Optional[pulumi.Input[str]] = None, defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, prefix: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if available_values is None and 'availableValues' in kwargs: + available_values = kwargs['availableValues'] + _setter("name", name) if available_values is not None: _setter("available_values", available_values) @@ -1853,7 +1909,11 @@ def _configure( _setter: Callable[[Any, Any], None], name: Optional[pulumi.Input[str]] = None, template_variables: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardTemplateVariablePresetTemplateVariableArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if template_variables is None and 'templateVariables' in kwargs: + template_variables = kwargs['templateVariables'] + if name is not None: _setter("name", name) if template_variables is not None: @@ -1907,7 +1967,9 @@ def _configure( name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is not None: _setter("name", name) if value is not None: @@ -2101,7 +2163,73 @@ def _configure( trace_service_definition: Optional[pulumi.Input['DashboardWidgetTraceServiceDefinitionArgs']] = None, treemap_definition: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionArgs']] = None, widget_layout: Optional[pulumi.Input['DashboardWidgetWidgetLayoutArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_graph_definition is None and 'alertGraphDefinition' in kwargs: + alert_graph_definition = kwargs['alertGraphDefinition'] + if alert_value_definition is None and 'alertValueDefinition' in kwargs: + alert_value_definition = kwargs['alertValueDefinition'] + if change_definition is None and 'changeDefinition' in kwargs: + change_definition = kwargs['changeDefinition'] + if check_status_definition is None and 'checkStatusDefinition' in kwargs: + check_status_definition = kwargs['checkStatusDefinition'] + if distribution_definition is None and 'distributionDefinition' in kwargs: + distribution_definition = kwargs['distributionDefinition'] + if event_stream_definition is None and 'eventStreamDefinition' in kwargs: + event_stream_definition = kwargs['eventStreamDefinition'] + if event_timeline_definition is None and 'eventTimelineDefinition' in kwargs: + event_timeline_definition = kwargs['eventTimelineDefinition'] + if free_text_definition is None and 'freeTextDefinition' in kwargs: + free_text_definition = kwargs['freeTextDefinition'] + if geomap_definition is None and 'geomapDefinition' in kwargs: + geomap_definition = kwargs['geomapDefinition'] + if group_definition is None and 'groupDefinition' in kwargs: + group_definition = kwargs['groupDefinition'] + if heatmap_definition is None and 'heatmapDefinition' in kwargs: + heatmap_definition = kwargs['heatmapDefinition'] + if hostmap_definition is None and 'hostmapDefinition' in kwargs: + hostmap_definition = kwargs['hostmapDefinition'] + if iframe_definition is None and 'iframeDefinition' in kwargs: + iframe_definition = kwargs['iframeDefinition'] + if image_definition is None and 'imageDefinition' in kwargs: + image_definition = kwargs['imageDefinition'] + if list_stream_definition is None and 'listStreamDefinition' in kwargs: + list_stream_definition = kwargs['listStreamDefinition'] + if log_stream_definition is None and 'logStreamDefinition' in kwargs: + log_stream_definition = kwargs['logStreamDefinition'] + if manage_status_definition is None and 'manageStatusDefinition' in kwargs: + manage_status_definition = kwargs['manageStatusDefinition'] + if note_definition is None and 'noteDefinition' in kwargs: + note_definition = kwargs['noteDefinition'] + if query_table_definition is None and 'queryTableDefinition' in kwargs: + query_table_definition = kwargs['queryTableDefinition'] + if query_value_definition is None and 'queryValueDefinition' in kwargs: + query_value_definition = kwargs['queryValueDefinition'] + if run_workflow_definition is None and 'runWorkflowDefinition' in kwargs: + run_workflow_definition = kwargs['runWorkflowDefinition'] + if scatterplot_definition is None and 'scatterplotDefinition' in kwargs: + scatterplot_definition = kwargs['scatterplotDefinition'] + if service_level_objective_definition is None and 'serviceLevelObjectiveDefinition' in kwargs: + service_level_objective_definition = kwargs['serviceLevelObjectiveDefinition'] + if servicemap_definition is None and 'servicemapDefinition' in kwargs: + servicemap_definition = kwargs['servicemapDefinition'] + if slo_list_definition is None and 'sloListDefinition' in kwargs: + slo_list_definition = kwargs['sloListDefinition'] + if sunburst_definition is None and 'sunburstDefinition' in kwargs: + sunburst_definition = kwargs['sunburstDefinition'] + if timeseries_definition is None and 'timeseriesDefinition' in kwargs: + timeseries_definition = kwargs['timeseriesDefinition'] + if toplist_definition is None and 'toplistDefinition' in kwargs: + toplist_definition = kwargs['toplistDefinition'] + if topology_map_definition is None and 'topologyMapDefinition' in kwargs: + topology_map_definition = kwargs['topologyMapDefinition'] + if trace_service_definition is None and 'traceServiceDefinition' in kwargs: + trace_service_definition = kwargs['traceServiceDefinition'] + if treemap_definition is None and 'treemapDefinition' in kwargs: + treemap_definition = kwargs['treemapDefinition'] + if widget_layout is None and 'widgetLayout' in kwargs: + widget_layout = kwargs['widgetLayout'] + if alert_graph_definition is not None: _setter("alert_graph_definition", alert_graph_definition) if alert_value_definition is not None: @@ -2595,13 +2723,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: pulumi.Input[str], - viz_type: pulumi.Input[str], + alert_id: Optional[pulumi.Input[str]] = None, + viz_type: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if viz_type is None and 'vizType' in kwargs: + viz_type = kwargs['vizType'] + if viz_type is None: + raise TypeError("Missing 'viz_type' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) _setter("viz_type", viz_type) if live_span is not None: @@ -2718,14 +2862,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: pulumi.Input[str], + alert_id: Optional[pulumi.Input[str]] = None, precision: Optional[pulumi.Input[int]] = None, text_align: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, unit: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) if precision is not None: _setter("precision", precision) @@ -2860,7 +3016,17 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -2974,7 +3140,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -3098,7 +3270,31 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryArgs']] = None, show_present: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if change_type is None and 'changeType' in kwargs: + change_type = kwargs['changeType'] + if compare_to is None and 'compareTo' in kwargs: + compare_to = kwargs['compareTo'] + if increase_good is None and 'increaseGood' in kwargs: + increase_good = kwargs['increaseGood'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if order_by is None and 'orderBy' in kwargs: + order_by = kwargs['orderBy'] + if order_dir is None and 'orderDir' in kwargs: + order_dir = kwargs['orderDir'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if show_present is None and 'showPresent' in kwargs: + show_present = kwargs['showPresent'] + if apm_query is not None: _setter("apm_query", apm_query) if change_type is not None: @@ -3317,12 +3513,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -3414,10 +3622,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -3484,7 +3696,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -3549,10 +3765,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -3615,10 +3837,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -3691,13 +3917,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -3821,16 +4057,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -3975,7 +4227,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -4025,7 +4279,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -4082,12 +4340,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -4179,10 +4449,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -4249,7 +4523,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -4314,10 +4592,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -4380,10 +4664,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -4450,11 +4738,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -4547,7 +4843,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -4675,17 +4985,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -4862,17 +5200,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -5042,14 +5404,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -5167,10 +5541,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -5234,10 +5612,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -5301,10 +5683,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -5359,8 +5745,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -5395,11 +5785,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -5491,16 +5889,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -5658,14 +6072,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -5789,12 +6221,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -5886,10 +6330,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -5956,7 +6404,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -6021,10 +6473,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -6087,10 +6545,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6160,12 +6622,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -6257,10 +6731,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6327,7 +6805,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -6392,10 +6874,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -6458,10 +6946,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6543,8 +7035,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - check: pulumi.Input[str], - grouping: pulumi.Input[str], + check: Optional[pulumi.Input[str]] = None, + grouping: Optional[pulumi.Input[str]] = None, group: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, live_span: Optional[pulumi.Input[str]] = None, @@ -6552,7 +7044,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if check is None: + raise TypeError("Missing 'check' argument") + if grouping is None: + raise TypeError("Missing 'grouping' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("check", check) _setter("grouping", grouping) if group is not None: @@ -6718,7 +7224,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if legend_size is not None: _setter("legend_size", legend_size) if live_span is not None: @@ -6861,7 +7379,21 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if apm_stats_query is not None: @@ -6999,12 +7531,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -7096,10 +7640,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7166,7 +7714,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -7231,10 +7783,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -7297,10 +7855,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7376,14 +7938,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - name: pulumi.Input[str], - primary_tag: pulumi.Input[str], - row_type: pulumi.Input[str], - service: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_tag: Optional[pulumi.Input[str]] = None, + row_type: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs']]]] = None, resource: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -7502,11 +8080,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -7590,12 +8174,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -7687,10 +8283,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7757,7 +8357,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -7822,10 +8426,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -7888,10 +8498,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7958,11 +8572,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -8046,12 +8668,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -8143,10 +8777,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8213,7 +8851,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -8278,10 +8920,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -8344,10 +8992,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8417,12 +9069,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -8514,10 +9178,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8584,7 +9252,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -8649,10 +9321,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -8715,10 +9393,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8777,7 +9459,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -8825,14 +9509,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, event_size: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if event_size is not None: _setter("event_size", event_size) @@ -8957,13 +9655,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if live_span is not None: _setter("live_span", live_span) @@ -9069,11 +9779,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - text: pulumi.Input[str], + text: Optional[pulumi.Input[str]] = None, color: Optional[pulumi.Input[str]] = None, font_size: Optional[pulumi.Input[str]] = None, text_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if text is None: + raise TypeError("Missing 'text' argument") + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + _setter("text", text) if color is not None: _setter("color", color) @@ -9166,7 +9884,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - view: pulumi.Input['DashboardWidgetGeomapDefinitionViewArgs'], + view: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionViewArgs']] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionCustomLinkArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestArgs']]]] = None, @@ -9174,7 +9892,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if view is None: + raise TypeError("Missing 'view' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("view", view) if custom_links is not None: _setter("custom_links", custom_links) @@ -9315,7 +10045,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -9403,7 +10139,13 @@ def _configure( q: Optional[pulumi.Input[str]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if formulas is not None: _setter("formulas", formulas) if log_query is not None: @@ -9499,13 +10241,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -9629,16 +10381,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -9783,7 +10551,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -9833,7 +10603,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -9890,12 +10664,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -9987,10 +10773,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -10057,7 +10847,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -10122,10 +10916,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -10188,10 +10988,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -10270,7 +11074,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -10398,17 +11216,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -10585,17 +11431,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -10765,14 +11635,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -10890,10 +11772,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -10957,10 +11843,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -11024,10 +11914,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -11082,8 +11976,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -11118,11 +12016,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -11214,16 +12120,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -11381,14 +12303,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -11512,12 +12452,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -11609,10 +12561,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -11679,7 +12635,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -11744,10 +12704,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -11810,10 +12776,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -11874,9 +12844,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - palette: pulumi.Input[str], - palette_flip: pulumi.Input[bool], - opts: Optional[pulumi.ResourceOptions]=None): + palette: Optional[pulumi.Input[str]] = None, + palette_flip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is None: + raise TypeError("Missing 'palette' argument") + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if palette_flip is None: + raise TypeError("Missing 'palette_flip' argument") + _setter("palette", palette) _setter("palette_flip", palette_flip) @@ -11919,8 +12897,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - focus: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + focus: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if focus is None: + raise TypeError("Missing 'focus' argument") + _setter("focus", focus) @property @@ -11965,13 +12947,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - layout_type: pulumi.Input[str], + layout_type: Optional[pulumi.Input[str]] = None, background_color: Optional[pulumi.Input[str]] = None, banner_img: Optional[pulumi.Input[str]] = None, show_title: Optional[pulumi.Input[bool]] = None, title: Optional[pulumi.Input[str]] = None, widgets: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if layout_type is None and 'layoutType' in kwargs: + layout_type = kwargs['layoutType'] + if layout_type is None: + raise TypeError("Missing 'layout_type' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if banner_img is None and 'bannerImg' in kwargs: + banner_img = kwargs['bannerImg'] + if show_title is None and 'showTitle' in kwargs: + show_title = kwargs['showTitle'] + _setter("layout_type", layout_type) if background_color is not None: _setter("background_color", background_color) @@ -12196,7 +13190,71 @@ def _configure( trace_service_definition: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTraceServiceDefinitionArgs']] = None, treemap_definition: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionArgs']] = None, widget_layout: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetWidgetLayoutArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_graph_definition is None and 'alertGraphDefinition' in kwargs: + alert_graph_definition = kwargs['alertGraphDefinition'] + if alert_value_definition is None and 'alertValueDefinition' in kwargs: + alert_value_definition = kwargs['alertValueDefinition'] + if change_definition is None and 'changeDefinition' in kwargs: + change_definition = kwargs['changeDefinition'] + if check_status_definition is None and 'checkStatusDefinition' in kwargs: + check_status_definition = kwargs['checkStatusDefinition'] + if distribution_definition is None and 'distributionDefinition' in kwargs: + distribution_definition = kwargs['distributionDefinition'] + if event_stream_definition is None and 'eventStreamDefinition' in kwargs: + event_stream_definition = kwargs['eventStreamDefinition'] + if event_timeline_definition is None and 'eventTimelineDefinition' in kwargs: + event_timeline_definition = kwargs['eventTimelineDefinition'] + if free_text_definition is None and 'freeTextDefinition' in kwargs: + free_text_definition = kwargs['freeTextDefinition'] + if geomap_definition is None and 'geomapDefinition' in kwargs: + geomap_definition = kwargs['geomapDefinition'] + if heatmap_definition is None and 'heatmapDefinition' in kwargs: + heatmap_definition = kwargs['heatmapDefinition'] + if hostmap_definition is None and 'hostmapDefinition' in kwargs: + hostmap_definition = kwargs['hostmapDefinition'] + if iframe_definition is None and 'iframeDefinition' in kwargs: + iframe_definition = kwargs['iframeDefinition'] + if image_definition is None and 'imageDefinition' in kwargs: + image_definition = kwargs['imageDefinition'] + if list_stream_definition is None and 'listStreamDefinition' in kwargs: + list_stream_definition = kwargs['listStreamDefinition'] + if log_stream_definition is None and 'logStreamDefinition' in kwargs: + log_stream_definition = kwargs['logStreamDefinition'] + if manage_status_definition is None and 'manageStatusDefinition' in kwargs: + manage_status_definition = kwargs['manageStatusDefinition'] + if note_definition is None and 'noteDefinition' in kwargs: + note_definition = kwargs['noteDefinition'] + if query_table_definition is None and 'queryTableDefinition' in kwargs: + query_table_definition = kwargs['queryTableDefinition'] + if query_value_definition is None and 'queryValueDefinition' in kwargs: + query_value_definition = kwargs['queryValueDefinition'] + if run_workflow_definition is None and 'runWorkflowDefinition' in kwargs: + run_workflow_definition = kwargs['runWorkflowDefinition'] + if scatterplot_definition is None and 'scatterplotDefinition' in kwargs: + scatterplot_definition = kwargs['scatterplotDefinition'] + if service_level_objective_definition is None and 'serviceLevelObjectiveDefinition' in kwargs: + service_level_objective_definition = kwargs['serviceLevelObjectiveDefinition'] + if servicemap_definition is None and 'servicemapDefinition' in kwargs: + servicemap_definition = kwargs['servicemapDefinition'] + if slo_list_definition is None and 'sloListDefinition' in kwargs: + slo_list_definition = kwargs['sloListDefinition'] + if sunburst_definition is None and 'sunburstDefinition' in kwargs: + sunburst_definition = kwargs['sunburstDefinition'] + if timeseries_definition is None and 'timeseriesDefinition' in kwargs: + timeseries_definition = kwargs['timeseriesDefinition'] + if toplist_definition is None and 'toplistDefinition' in kwargs: + toplist_definition = kwargs['toplistDefinition'] + if topology_map_definition is None and 'topologyMapDefinition' in kwargs: + topology_map_definition = kwargs['topologyMapDefinition'] + if trace_service_definition is None and 'traceServiceDefinition' in kwargs: + trace_service_definition = kwargs['traceServiceDefinition'] + if treemap_definition is None and 'treemapDefinition' in kwargs: + treemap_definition = kwargs['treemapDefinition'] + if widget_layout is None and 'widgetLayout' in kwargs: + widget_layout = kwargs['widgetLayout'] + if alert_graph_definition is not None: _setter("alert_graph_definition", alert_graph_definition) if alert_value_definition is not None: @@ -12676,13 +13734,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: pulumi.Input[str], - viz_type: pulumi.Input[str], + alert_id: Optional[pulumi.Input[str]] = None, + viz_type: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if viz_type is None and 'vizType' in kwargs: + viz_type = kwargs['vizType'] + if viz_type is None: + raise TypeError("Missing 'viz_type' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) _setter("viz_type", viz_type) if live_span is not None: @@ -12799,14 +13873,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: pulumi.Input[str], + alert_id: Optional[pulumi.Input[str]] = None, precision: Optional[pulumi.Input[int]] = None, text_align: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, unit: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) if precision is not None: _setter("precision", precision) @@ -12941,7 +14027,17 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -13055,7 +14151,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -13179,7 +14281,31 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryArgs']] = None, show_present: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if change_type is None and 'changeType' in kwargs: + change_type = kwargs['changeType'] + if compare_to is None and 'compareTo' in kwargs: + compare_to = kwargs['compareTo'] + if increase_good is None and 'increaseGood' in kwargs: + increase_good = kwargs['increaseGood'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if order_by is None and 'orderBy' in kwargs: + order_by = kwargs['orderBy'] + if order_dir is None and 'orderDir' in kwargs: + order_dir = kwargs['orderDir'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if show_present is None and 'showPresent' in kwargs: + show_present = kwargs['showPresent'] + if apm_query is not None: _setter("apm_query", apm_query) if change_type is not None: @@ -13398,12 +14524,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -13495,10 +14633,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -13565,7 +14707,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -13630,10 +14776,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -13696,10 +14848,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -13772,13 +14928,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -13902,16 +15068,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -14056,7 +15238,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -14106,7 +15290,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -14163,12 +15351,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -14260,10 +15460,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -14330,7 +15534,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -14395,10 +15603,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -14461,10 +15675,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -14531,11 +15749,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -14628,7 +15854,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -14756,17 +15996,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -14943,17 +16211,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -15123,14 +16415,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -15248,10 +16552,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -15315,10 +16623,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -15382,10 +16694,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -15440,8 +16756,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -15476,11 +16796,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -15572,16 +16900,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -15739,14 +17083,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -15870,12 +17232,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -15967,10 +17341,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16037,7 +17415,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -16102,10 +17484,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -16168,10 +17556,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16241,12 +17633,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -16338,10 +17742,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16408,7 +17816,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -16473,10 +17885,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -16539,10 +17957,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16624,8 +18046,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - check: pulumi.Input[str], - grouping: pulumi.Input[str], + check: Optional[pulumi.Input[str]] = None, + grouping: Optional[pulumi.Input[str]] = None, group: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, live_span: Optional[pulumi.Input[str]] = None, @@ -16633,7 +18055,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if check is None: + raise TypeError("Missing 'check' argument") + if grouping is None: + raise TypeError("Missing 'grouping' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("check", check) _setter("grouping", grouping) if group is not None: @@ -16799,7 +18235,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if legend_size is not None: _setter("legend_size", legend_size) if live_span is not None: @@ -16942,7 +18390,21 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if apm_stats_query is not None: @@ -17080,12 +18542,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -17177,10 +18651,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17247,7 +18725,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -17312,10 +18794,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -17378,10 +18866,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17457,14 +18949,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - name: pulumi.Input[str], - primary_tag: pulumi.Input[str], - row_type: pulumi.Input[str], - service: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_tag: Optional[pulumi.Input[str]] = None, + row_type: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs']]]] = None, resource: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -17583,11 +19091,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -17671,12 +19185,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -17768,10 +19294,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17838,7 +19368,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -17903,10 +19437,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -17969,10 +19509,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -18039,11 +19583,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -18127,12 +19679,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -18224,10 +19788,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -18294,7 +19862,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -18359,10 +19931,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -18425,10 +20003,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -18498,12 +20080,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -18595,10 +20189,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -18665,7 +20263,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -18730,10 +20332,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -18796,10 +20404,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -18858,7 +20470,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -18906,14 +20520,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, event_size: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if event_size is not None: _setter("event_size", event_size) @@ -19038,13 +20666,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if live_span is not None: _setter("live_span", live_span) @@ -19150,11 +20790,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - text: pulumi.Input[str], + text: Optional[pulumi.Input[str]] = None, color: Optional[pulumi.Input[str]] = None, font_size: Optional[pulumi.Input[str]] = None, text_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if text is None: + raise TypeError("Missing 'text' argument") + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + _setter("text", text) if color is not None: _setter("color", color) @@ -19247,7 +20895,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - view: pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionViewArgs'], + view: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionViewArgs']] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionCustomLinkArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestArgs']]]] = None, @@ -19255,7 +20903,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if view is None: + raise TypeError("Missing 'view' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("view", view) if custom_links is not None: _setter("custom_links", custom_links) @@ -19396,7 +21056,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -19484,7 +21150,13 @@ def _configure( q: Optional[pulumi.Input[str]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if formulas is not None: _setter("formulas", formulas) if log_query is not None: @@ -19580,13 +21252,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -19710,16 +21392,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -19864,7 +21562,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -19914,7 +21614,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -19971,12 +21675,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -20068,10 +21784,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -20138,7 +21858,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -20203,10 +21927,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -20269,10 +21999,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -20351,7 +22085,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -20479,17 +22227,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -20666,17 +22442,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -20846,14 +22646,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -20971,10 +22783,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -21038,10 +22854,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -21105,10 +22925,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -21163,8 +22987,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -21199,11 +23027,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -21295,16 +23131,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -21462,14 +23314,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -21593,12 +23463,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -21690,10 +23572,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -21760,7 +23646,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -21825,10 +23715,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -21891,10 +23787,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -21955,9 +23855,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - palette: pulumi.Input[str], - palette_flip: pulumi.Input[bool], - opts: Optional[pulumi.ResourceOptions]=None): + palette: Optional[pulumi.Input[str]] = None, + palette_flip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is None: + raise TypeError("Missing 'palette' argument") + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if palette_flip is None: + raise TypeError("Missing 'palette_flip' argument") + _setter("palette", palette) _setter("palette_flip", palette_flip) @@ -22000,8 +23908,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - focus: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + focus: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if focus is None: + raise TypeError("Missing 'focus' argument") + _setter("focus", focus) @property @@ -22068,7 +23980,21 @@ def _configure( title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -22238,7 +24164,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -22314,9 +24246,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: pulumi.Input[str], + q: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -22385,7 +24323,19 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -22512,12 +24462,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -22609,10 +24571,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22679,7 +24645,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -22744,10 +24714,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -22810,10 +24786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22883,12 +24863,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -22980,10 +24972,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23050,7 +25046,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -23115,10 +25115,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -23181,10 +25187,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23251,11 +25261,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -23339,12 +25357,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -23436,10 +25466,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23506,7 +25540,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -23571,10 +25609,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -23637,10 +25681,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23710,12 +25758,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -23807,10 +25867,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23877,7 +25941,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -23942,10 +26010,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -24008,10 +26082,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24070,7 +26148,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -24118,7 +26198,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -24246,7 +26330,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if no_group_hosts is None and 'noGroupHosts' in kwargs: + no_group_hosts = kwargs['noGroupHosts'] + if no_metric_hosts is None and 'noMetricHosts' in kwargs: + no_metric_hosts = kwargs['noMetricHosts'] + if node_type is None and 'nodeType' in kwargs: + node_type = kwargs['nodeType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if groups is not None: @@ -24430,7 +26528,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -24508,7 +26612,9 @@ def _configure( _setter: Callable[[Any, Any], None], fills: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillArgs']]]] = None, sizes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fills is not None: _setter("fills", fills) if sizes is not None: @@ -24574,7 +26680,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -24687,12 +26805,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -24784,10 +26914,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24854,7 +26988,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -24919,10 +27057,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -24985,10 +27129,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25058,12 +27206,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25155,10 +27315,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25225,7 +27389,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -25290,10 +27458,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -25356,10 +27530,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25426,11 +27604,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -25514,12 +27700,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25611,10 +27809,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25681,7 +27883,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -25746,10 +27952,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -25812,10 +28024,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25885,12 +28101,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25982,10 +28210,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26052,7 +28284,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -26117,10 +28353,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -26183,10 +28425,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26265,7 +28511,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -26378,12 +28636,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -26475,10 +28745,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26545,7 +28819,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -26610,10 +28888,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -26676,10 +28960,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26749,12 +29037,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -26846,10 +29146,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26916,7 +29220,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -26981,10 +29289,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -27047,10 +29361,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -27117,11 +29435,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -27205,12 +29531,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -27302,10 +29640,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -27372,7 +29714,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -27437,10 +29783,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -27503,10 +29855,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -27576,12 +29932,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -27673,10 +30041,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -27743,7 +30115,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -27808,10 +30184,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -27874,10 +30256,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -27948,7 +30334,15 @@ def _configure( fill_min: Optional[pulumi.Input[str]] = None, palette: Optional[pulumi.Input[str]] = None, palette_flip: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fill_max is None and 'fillMax' in kwargs: + fill_max = kwargs['fillMax'] + if fill_min is None and 'fillMin' in kwargs: + fill_min = kwargs['fillMin'] + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if fill_max is not None: _setter("fill_max", fill_max) if fill_min is not None: @@ -28021,8 +30415,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) @property @@ -28073,7 +30471,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], + url: Optional[pulumi.Input[str]] = None, has_background: Optional[pulumi.Input[bool]] = None, has_border: Optional[pulumi.Input[bool]] = None, horizontal_align: Optional[pulumi.Input[str]] = None, @@ -28081,7 +30479,21 @@ def _configure( sizing: Optional[pulumi.Input[str]] = None, url_dark_theme: Optional[pulumi.Input[str]] = None, vertical_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + if has_background is None and 'hasBackground' in kwargs: + has_background = kwargs['hasBackground'] + if has_border is None and 'hasBorder' in kwargs: + has_border = kwargs['hasBorder'] + if horizontal_align is None and 'horizontalAlign' in kwargs: + horizontal_align = kwargs['horizontalAlign'] + if url_dark_theme is None and 'urlDarkTheme' in kwargs: + url_dark_theme = kwargs['urlDarkTheme'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("url", url) if has_background is not None: _setter("has_background", has_background) @@ -28218,11 +30630,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - requests: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestArgs']]], + requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is None: + raise TypeError("Missing 'requests' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("requests", requests) if title is not None: _setter("title", title) @@ -28299,10 +30719,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - columns: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestColumnArgs']]], - query: pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQueryArgs'], - response_format: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestColumnArgs']]]] = None, + query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQueryArgs']] = None, + response_format: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if columns is None: + raise TypeError("Missing 'columns' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if response_format is None and 'responseFormat' in kwargs: + response_format = kwargs['responseFormat'] + if response_format is None: + raise TypeError("Missing 'response_format' argument") + _setter("columns", columns) _setter("query", query) _setter("response_format", response_format) @@ -28358,9 +30788,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - field: pulumi.Input[str], - width: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + field: Optional[pulumi.Input[str]] = None, + width: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if field is None: + raise TypeError("Missing 'field' argument") + if width is None: + raise TypeError("Missing 'width' argument") + _setter("field", field) _setter("width", width) @@ -28418,13 +30854,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, event_size: Optional[pulumi.Input[str]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, query_string: Optional[pulumi.Input[str]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQuerySortArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + _setter("data_source", data_source) if event_size is not None: _setter("event_size", event_size) @@ -28527,9 +30973,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -28612,7 +31064,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if message_display is None and 'messageDisplay' in kwargs: + message_display = kwargs['messageDisplay'] + if show_date_column is None and 'showDateColumn' in kwargs: + show_date_column = kwargs['showDateColumn'] + if show_message_column is None and 'showMessageColumn' in kwargs: + show_message_column = kwargs['showMessageColumn'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if columns is not None: _setter("columns", columns) if indexes is not None: @@ -28783,9 +31249,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -28857,7 +31329,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, color_preference: Optional[pulumi.Input[str]] = None, display_format: Optional[pulumi.Input[str]] = None, hide_zero_counts: Optional[pulumi.Input[bool]] = None, @@ -28868,7 +31340,27 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if color_preference is None and 'colorPreference' in kwargs: + color_preference = kwargs['colorPreference'] + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if hide_zero_counts is None and 'hideZeroCounts' in kwargs: + hide_zero_counts = kwargs['hideZeroCounts'] + if show_last_triggered is None and 'showLastTriggered' in kwargs: + show_last_triggered = kwargs['showLastTriggered'] + if show_priority is None and 'showPriority' in kwargs: + show_priority = kwargs['showPriority'] + if summary_type is None and 'summaryType' in kwargs: + summary_type = kwargs['summaryType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if color_preference is not None: _setter("color_preference", color_preference) @@ -29059,7 +31551,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, background_color: Optional[pulumi.Input[str]] = None, font_size: Optional[pulumi.Input[str]] = None, has_padding: Optional[pulumi.Input[bool]] = None, @@ -29068,7 +31560,27 @@ def _configure( tick_edge: Optional[pulumi.Input[str]] = None, tick_pos: Optional[pulumi.Input[str]] = None, vertical_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if has_padding is None and 'hasPadding' in kwargs: + has_padding = kwargs['hasPadding'] + if show_tick is None and 'showTick' in kwargs: + show_tick = kwargs['showTick'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if tick_edge is None and 'tickEdge' in kwargs: + tick_edge = kwargs['tickEdge'] + if tick_pos is None and 'tickPos' in kwargs: + tick_pos = kwargs['tickPos'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("content", content) if background_color is not None: _setter("background_color", background_color) @@ -29235,7 +31747,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if has_search_bar is None and 'hasSearchBar' in kwargs: + has_search_bar = kwargs['hasSearchBar'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if has_search_bar is not None: @@ -29363,7 +31887,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -29490,7 +32020,25 @@ def _configure( queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if cell_display_modes is None and 'cellDisplayModes' in kwargs: + cell_display_modes = kwargs['cellDisplayModes'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if alias is not None: @@ -29720,12 +32268,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -29817,10 +32377,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -29887,7 +32451,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -29952,10 +32520,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -30018,10 +32592,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -30097,14 +32675,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - name: pulumi.Input[str], - primary_tag: pulumi.Input[str], - row_type: pulumi.Input[str], - service: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_tag: Optional[pulumi.Input[str]] = None, + row_type: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs']]]] = None, resource: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -30223,11 +32817,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -30323,16 +32923,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -30487,13 +33103,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -30617,16 +33243,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -30771,7 +33413,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -30821,7 +33465,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -30878,12 +33526,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -30975,10 +33635,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -31045,7 +33709,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -31110,10 +33778,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -31176,10 +33850,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -31246,11 +33924,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -31343,7 +34029,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -31471,17 +34171,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -31658,17 +34386,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -31838,14 +34590,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -31963,10 +34727,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -32030,10 +34798,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -32097,10 +34869,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -32155,8 +34931,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -32191,11 +34971,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -32287,16 +35075,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -32454,14 +35258,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -32585,12 +35407,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -32682,10 +35516,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32752,7 +35590,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -32817,10 +35659,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -32883,10 +35731,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32956,12 +35808,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -33053,10 +35917,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -33123,7 +35991,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -33188,10 +36060,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -33254,10 +36132,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -33356,7 +36238,23 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if custom_unit is None and 'customUnit' in kwargs: + custom_unit = kwargs['customUnit'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if timeseries_background is None and 'timeseriesBackground' in kwargs: + timeseries_background = kwargs['timeseriesBackground'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if autoscale is not None: _setter("autoscale", autoscale) if custom_links is not None: @@ -33540,7 +36438,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -33652,7 +36556,23 @@ def _configure( queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -33829,12 +36749,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -33926,10 +36858,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -33996,7 +36932,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -34061,10 +37001,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -34127,10 +37073,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -34200,12 +37150,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -34297,10 +37259,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -34367,7 +37333,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -34432,10 +37402,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -34498,10 +37474,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -34583,16 +37563,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -34747,13 +37743,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -34877,16 +37883,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -35031,7 +38053,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -35081,7 +38105,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -35138,12 +38166,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -35235,10 +38275,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -35305,7 +38349,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -35370,10 +38418,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -35436,10 +38490,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -35506,11 +38564,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -35603,7 +38669,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -35731,17 +38811,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -35918,17 +39026,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -36098,14 +39230,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -36223,10 +39367,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -36290,10 +39438,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -36357,10 +39509,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -36415,8 +39571,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -36451,11 +39611,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -36547,16 +39715,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -36714,14 +39898,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -36845,12 +40047,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -36942,10 +40156,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37012,7 +40230,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -37077,10 +40299,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -37143,10 +40371,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37216,12 +40448,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -37313,10 +40557,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37383,7 +40631,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -37448,10 +40700,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -37514,10 +40772,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37578,9 +40840,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if yaxis is not None: _setter("yaxis", yaxis) @@ -37641,7 +40907,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -37746,14 +41016,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - workflow_id: pulumi.Input[str], + workflow_id: Optional[pulumi.Input[str]] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetRunWorkflowDefinitionCustomLinkArgs']]]] = None, inputs: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetRunWorkflowDefinitionInputArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if workflow_id is None and 'workflowId' in kwargs: + workflow_id = kwargs['workflowId'] + if workflow_id is None: + raise TypeError("Missing 'workflow_id' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("workflow_id", workflow_id) if custom_links is not None: _setter("custom_links", custom_links) @@ -37880,7 +41164,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -37956,9 +41246,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("name", name) _setter("value", value) @@ -38034,7 +41330,19 @@ def _configure( title_size: Optional[pulumi.Input[str]] = None, xaxis: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionXaxisArgs']] = None, yaxis: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if color_by_groups is None and 'colorByGroups' in kwargs: + color_by_groups = kwargs['colorByGroups'] + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if color_by_groups is not None: _setter("color_by_groups", color_by_groups) if custom_links is not None: @@ -38190,7 +41498,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -38272,7 +41586,11 @@ def _configure( scatterplot_tables: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableArgs']]]] = None, xes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXArgs']]]] = None, ys: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scatterplot_tables is None and 'scatterplotTables' in kwargs: + scatterplot_tables = kwargs['scatterplotTables'] + if scatterplot_tables is not None: _setter("scatterplot_tables", scatterplot_tables) if xes is not None: @@ -38332,7 +41650,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs']]]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -38377,10 +41697,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dimension: pulumi.Input[str], - formula_expression: pulumi.Input[str], + dimension: Optional[pulumi.Input[str]] = None, + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dimension is None: + raise TypeError("Missing 'dimension' argument") + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + _setter("dimension", dimension) _setter("formula_expression", formula_expression) if alias is not None: @@ -38458,7 +41786,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -38586,17 +41928,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -38773,17 +42143,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -38953,14 +42347,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -39078,10 +42484,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -39145,10 +42555,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -39212,10 +42626,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -39270,8 +42688,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -39306,11 +42728,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -39402,16 +42832,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -39569,14 +43015,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -39713,7 +43177,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -39840,12 +43316,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -39937,10 +43425,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40007,7 +43499,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -40072,10 +43568,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -40138,10 +43640,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40211,12 +43717,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -40308,10 +43826,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40378,7 +43900,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -40443,10 +43969,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -40509,10 +44041,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40579,11 +44115,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -40667,12 +44211,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -40764,10 +44320,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40834,7 +44394,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -40899,10 +44463,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -40965,10 +44535,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -41038,12 +44612,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -41135,10 +44721,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -41205,7 +44795,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -41270,10 +44864,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -41336,10 +44936,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -41422,7 +45026,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -41549,12 +45165,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -41646,10 +45274,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -41716,7 +45348,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -41781,10 +45417,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -41847,10 +45489,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -41920,12 +45566,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -42017,10 +45675,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42087,7 +45749,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -42152,10 +45818,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -42218,10 +45890,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42288,11 +45964,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -42376,12 +46060,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -42473,10 +46169,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42543,7 +46243,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -42608,10 +46312,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -42674,10 +46384,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42747,12 +46461,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -42844,211 +46570,229 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("aggregation", aggregation) - if facet is not None: - _setter("facet", facet) - if interval is not None: - _setter("interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + + _setter("aggregation", aggregation) + if facet is not None: + _setter("facet", facet) + if interval is not None: + _setter("interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) + + @property + @pulumi.getter + def facet(self) -> Optional[pulumi.Input[str]]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @facet.setter + def facet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "facet", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs: + def __init__(__self__, *, + facet: Optional[pulumi.Input[str]] = None, + limit: Optional[pulumi.Input[int]] = None, + sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None): + """ + :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] limit: The maximum number of items in the group. + :param pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + """ + DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + facet=facet, + limit=limit, + sort_query=sort_query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + facet: Optional[pulumi.Input[str]] = None, + limit: Optional[pulumi.Input[int]] = None, + sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + + if facet is not None: + _setter("facet", facet) + if limit is not None: + _setter("limit", limit) + if sort_query is not None: + _setter("sort_query", sort_query) + + @property + @pulumi.getter + def facet(self) -> Optional[pulumi.Input[str]]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @facet.setter + def facet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "facet", value) + + @property + @pulumi.getter + def limit(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of items in the group. + """ + return pulumi.get(self, "limit") + + @limit.setter + def limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "limit", value) + + @property + @pulumi.getter(name="sortQuery") + def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]: + """ + A list of exactly one element describing the sort query to use. + """ + return pulumi.get(self, "sort_query") + + @sort_query.setter + def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]): + pulumi.set(self, "sort_query", value) + + +@pulumi.input_type +class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs: + def __init__(__self__, *, + aggregation: pulumi.Input[str], + order: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] aggregation: The aggregation method. + :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. + :param pulumi.Input[str] facet: The facet name. + """ + DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregation=aggregation, + order=order, + facet=facet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + facet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + + _setter("aggregation", aggregation) + _setter("order", order) + if facet is not None: + _setter("facet", facet) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[str]: + """ + Widget sorting methods. Valid values are `asc`, `desc`. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[str]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def facet(self) -> Optional[pulumi.Input[str]]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @facet.setter + def facet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "facet", value) + + +@pulumi.input_type +class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs: + def __init__(__self__, *, + aggregation: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] aggregation: The aggregation method. + :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. + """ + DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregation=aggregation, + facet=facet, + interval=interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregation: Optional[pulumi.Input[str]] = None, + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") -@pulumi.input_type -class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - facet=facet, - limit=limit, - sort_query=sort_query, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): - if facet is not None: - _setter("facet", facet) - if limit is not None: - _setter("limit", limit) - if sort_query is not None: - _setter("sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - aggregation=aggregation, - order=order, - facet=facet, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("aggregation", aggregation) - _setter("order", order) - if facet is not None: - _setter("facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - aggregation=aggregation, - facet=facet, - interval=interval, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -43123,7 +46867,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -43227,7 +46975,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -43341,17 +47093,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - slo_id: pulumi.Input[str], - time_windows: pulumi.Input[Sequence[pulumi.Input[str]]], - view_mode: pulumi.Input[str], - view_type: pulumi.Input[str], + slo_id: Optional[pulumi.Input[str]] = None, + time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + view_mode: Optional[pulumi.Input[str]] = None, + view_type: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, global_time_target: Optional[pulumi.Input[str]] = None, show_error_budget: Optional[pulumi.Input[bool]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if time_windows is None and 'timeWindows' in kwargs: + time_windows = kwargs['timeWindows'] + if time_windows is None: + raise TypeError("Missing 'time_windows' argument") + if view_mode is None and 'viewMode' in kwargs: + view_mode = kwargs['viewMode'] + if view_mode is None: + raise TypeError("Missing 'view_mode' argument") + if view_type is None and 'viewType' in kwargs: + view_type = kwargs['viewType'] + if view_type is None: + raise TypeError("Missing 'view_type' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if global_time_target is None and 'globalTimeTarget' in kwargs: + global_time_target = kwargs['globalTimeTarget'] + if show_error_budget is None and 'showErrorBudget' in kwargs: + show_error_budget = kwargs['showErrorBudget'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("slo_id", slo_id) _setter("time_windows", time_windows) _setter("view_mode", view_mode) @@ -43519,13 +47299,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: pulumi.Input[Sequence[pulumi.Input[str]]], - service: pulumi.Input[str], + filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service: Optional[pulumi.Input[str]] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetServicemapDefinitionCustomLinkArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("filters", filters) _setter("service", service) if custom_links is not None: @@ -43637,7 +47429,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -43719,11 +47517,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - request: pulumi.Input['DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestArgs'], + request: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestArgs']] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if request is None: + raise TypeError("Missing 'request' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("request", request) if title is not None: _setter("title", title) @@ -43797,9 +47603,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input['DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQueryArgs'], - request_type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQueryArgs']] = None, + request_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("query", query) _setter("request_type", request_type) @@ -43845,10 +47659,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query_string: pulumi.Input[str], + query_string: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQuerySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + if query_string is None: + raise TypeError("Missing 'query_string' argument") + _setter("query_string", query_string) if limit is not None: _setter("limit", limit) @@ -43909,9 +47729,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -43987,7 +47813,23 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if hide_total is None and 'hideTotal' in kwargs: + hide_total = kwargs['hideTotal'] + if legend_inline is None and 'legendInline' in kwargs: + legend_inline = kwargs['legendInline'] + if legend_table is None and 'legendTable' in kwargs: + legend_table = kwargs['legendTable'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if hide_total is not None: @@ -44143,7 +47985,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -44222,10 +48070,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, hide_percent: Optional[pulumi.Input[bool]] = None, hide_value: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if hide_percent is None and 'hidePercent' in kwargs: + hide_percent = kwargs['hidePercent'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + _setter("type", type) if hide_percent is not None: _setter("hide_percent", hide_percent) @@ -44283,8 +48139,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) @property @@ -44353,7 +48213,23 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -44530,12 +48406,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -44627,10 +48515,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -44697,7 +48589,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -44762,10 +48658,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -44828,10 +48730,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -44901,12 +48807,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -44998,10 +48916,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45068,7 +48990,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -45133,10 +49059,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -45199,10 +49131,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45275,13 +49211,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -45405,16 +49351,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -45559,7 +49521,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -45609,7 +49573,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -45666,12 +49634,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -45763,10 +49743,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45833,7 +49817,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -45898,10 +49886,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -45964,10 +49958,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46037,12 +50035,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -46134,10 +50144,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46204,7 +50218,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -46269,10 +50287,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -46335,10 +50359,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46405,11 +50433,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -46502,7 +50538,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -46630,17 +50680,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -46817,17 +50895,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -46997,14 +51099,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -47122,10 +51236,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -47189,10 +51307,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -47256,10 +51378,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -47314,8 +51440,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -47350,11 +51480,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -47446,16 +51584,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -47613,14 +51767,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -47744,12 +51916,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -47841,10 +52025,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -47911,7 +52099,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -47976,10 +52168,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -48042,10 +52240,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -48115,12 +52317,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -48212,10 +52426,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -48282,7 +52500,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -48347,10 +52569,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -48413,10 +52641,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -48475,7 +52707,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -48559,7 +52793,27 @@ def _configure( title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_columns is None and 'legendColumns' in kwargs: + legend_columns = kwargs['legendColumns'] + if legend_layout is None and 'legendLayout' in kwargs: + legend_layout = kwargs['legendLayout'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if right_yaxis is None and 'rightYaxis' in kwargs: + right_yaxis = kwargs['rightYaxis'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -48785,7 +53039,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -48861,9 +53121,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: pulumi.Input[str], + q: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -48913,10 +53179,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None, display_type: Optional[pulumi.Input[str]] = None, label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + _setter("value", value) if display_type is not None: _setter("display_type", display_type) @@ -49025,7 +53297,27 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if on_right_yaxis is None and 'onRightYaxis' in kwargs: + on_right_yaxis = kwargs['onRightYaxis'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -49244,12 +53536,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -49341,10 +53645,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49411,7 +53719,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -49476,10 +53788,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -49542,10 +53860,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49615,12 +53937,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -49712,10 +54046,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49782,7 +54120,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -49847,10 +54189,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -49913,10 +54261,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49989,13 +54341,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -50119,16 +54481,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -50273,7 +54651,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -50323,7 +54703,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -50380,12 +54764,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -50477,10 +54873,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -50547,7 +54947,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -50612,10 +55016,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -50678,10 +55088,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -50742,9 +55156,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, alias_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if alias_name is None and 'aliasName' in kwargs: + alias_name = kwargs['aliasName'] + _setter("expression", expression) if alias_name is not None: _setter("alias_name", alias_name) @@ -50800,12 +55220,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -50897,10 +55329,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -50967,7 +55403,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -51032,10 +55472,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -51098,10 +55544,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -51168,11 +55618,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -51265,7 +55723,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -51393,17 +55865,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -51580,17 +56080,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -51760,14 +56284,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -51885,10 +56421,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -51952,10 +56492,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -52019,10 +56563,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -52077,8 +56625,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -52113,11 +56665,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -52209,16 +56769,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -52376,14 +56952,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -52507,12 +57101,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -52604,10 +57210,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -52674,7 +57284,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -52739,10 +57353,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -52805,10 +57425,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -52878,12 +57502,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -52975,10 +57611,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -53045,7 +57685,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -53110,10 +57754,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -53176,10 +57826,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -53246,7 +57900,13 @@ def _configure( line_type: Optional[pulumi.Input[str]] = None, line_width: Optional[pulumi.Input[str]] = None, palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if line_type is None and 'lineType' in kwargs: + line_type = kwargs['lineType'] + if line_width is None and 'lineWidth' in kwargs: + line_width = kwargs['lineWidth'] + if line_type is not None: _setter("line_type", line_type) if line_width is not None: @@ -53322,7 +57982,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -53426,7 +58090,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -53534,7 +58202,17 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -53648,7 +58326,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -53760,7 +58444,23 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -53937,12 +58637,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -54034,10 +58746,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54104,7 +58820,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -54169,10 +58889,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -54235,10 +58961,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54308,12 +59038,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -54405,10 +59147,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54475,7 +59221,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -54540,10 +59290,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -54606,10 +59362,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54691,16 +59451,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -54855,13 +59631,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -54985,16 +59771,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -55139,7 +59941,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -55189,7 +59993,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -55246,12 +60054,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -55343,10 +60163,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -55413,7 +60237,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -55478,10 +60306,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -55544,10 +60378,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -55614,11 +60452,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -55711,7 +60557,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -55839,17 +60699,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -56026,17 +60914,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -56206,14 +61118,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -56331,10 +61255,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -56398,10 +61326,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -56465,10 +61397,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -56523,8 +61459,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -56559,11 +61499,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -56655,16 +61603,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -56822,14 +61786,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -56953,12 +61935,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -57050,10 +62044,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57120,7 +62118,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -57185,10 +62187,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -57251,10 +62259,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57324,12 +62336,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -57421,10 +62445,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57491,7 +62519,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -57556,10 +62588,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -57622,10 +62660,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57684,7 +62726,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -57732,7 +62776,15 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if requests is not None: @@ -57832,7 +62884,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -57907,9 +62965,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - queries: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTopologyMapDefinitionRequestQueryArgs']]], - request_type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTopologyMapDefinitionRequestQueryArgs']]]] = None, + request_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if queries is None: + raise TypeError("Missing 'queries' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("queries", queries) _setter("request_type", request_type) @@ -57955,10 +63021,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - filters: pulumi.Input[Sequence[pulumi.Input[str]]], - service: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + data_source: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("data_source", data_source) _setter("filters", filters) _setter("service", service) @@ -58056,9 +63132,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - service: pulumi.Input[str], - span_name: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + span_name: Optional[pulumi.Input[str]] = None, display_format: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, show_breakdown: Optional[pulumi.Input[bool]] = None, @@ -58071,7 +63147,39 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if span_name is None and 'spanName' in kwargs: + span_name = kwargs['spanName'] + if span_name is None: + raise TypeError("Missing 'span_name' argument") + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_breakdown is None and 'showBreakdown' in kwargs: + show_breakdown = kwargs['showBreakdown'] + if show_distribution is None and 'showDistribution' in kwargs: + show_distribution = kwargs['showDistribution'] + if show_errors is None and 'showErrors' in kwargs: + show_errors = kwargs['showErrors'] + if show_hits is None and 'showHits' in kwargs: + show_hits = kwargs['showHits'] + if show_latency is None and 'showLatency' in kwargs: + show_latency = kwargs['showLatency'] + if show_resource_list is None and 'showResourceList' in kwargs: + show_resource_list = kwargs['showResourceList'] + if size_format is None and 'sizeFormat' in kwargs: + size_format = kwargs['sizeFormat'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("env", env) _setter("service", service) _setter("span_name", span_name) @@ -58300,7 +63408,9 @@ def _configure( _setter: Callable[[Any, Any], None], requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is not None: _setter("requests", requests) if title is not None: @@ -58346,7 +63456,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaArgs']]]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -58400,13 +63512,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -58530,16 +63652,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -58684,7 +63822,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -58734,7 +63874,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -58800,7 +63944,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -58928,17 +64086,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -59115,17 +64301,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -59295,14 +64505,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -59420,10 +64642,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -59487,10 +64713,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -59554,10 +64784,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -59612,8 +64846,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -59648,11 +64886,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -59744,16 +64990,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -59911,14 +65173,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -60042,12 +65322,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - height: pulumi.Input[int], - width: pulumi.Input[int], - x: pulumi.Input[int], - y: pulumi.Input[int], + height: Optional[pulumi.Input[int]] = None, + width: Optional[pulumi.Input[int]] = None, + x: Optional[pulumi.Input[int]] = None, + y: Optional[pulumi.Input[int]] = None, is_column_break: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if height is None: + raise TypeError("Missing 'height' argument") + if width is None: + raise TypeError("Missing 'width' argument") + if x is None: + raise TypeError("Missing 'x' argument") + if y is None: + raise TypeError("Missing 'y' argument") + if is_column_break is None and 'isColumnBreak' in kwargs: + is_column_break = kwargs['isColumnBreak'] + _setter("height", height) _setter("width", width) _setter("x", x) @@ -60167,7 +65459,21 @@ def _configure( title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -60337,7 +65643,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -60413,9 +65725,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: pulumi.Input[str], + q: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -60484,7 +65802,19 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -60611,12 +65941,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -60708,10 +66050,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60778,7 +66124,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -60843,10 +66193,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -60909,10 +66265,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60982,12 +66342,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61079,10 +66451,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61149,7 +66525,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -61214,10 +66594,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -61280,10 +66666,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61350,11 +66740,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -61438,12 +66836,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61535,10 +66945,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61605,7 +67019,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -61670,10 +67088,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -61736,10 +67160,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61809,12 +67237,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61906,10 +67346,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61976,7 +67420,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -62041,10 +67489,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -62107,10 +67561,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -62169,7 +67627,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -62217,7 +67677,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -62345,7 +67809,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if no_group_hosts is None and 'noGroupHosts' in kwargs: + no_group_hosts = kwargs['noGroupHosts'] + if no_metric_hosts is None and 'noMetricHosts' in kwargs: + no_metric_hosts = kwargs['noMetricHosts'] + if node_type is None and 'nodeType' in kwargs: + node_type = kwargs['nodeType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if groups is not None: @@ -62529,7 +68007,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -62607,7 +68091,9 @@ def _configure( _setter: Callable[[Any, Any], None], fills: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillArgs']]]] = None, sizes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fills is not None: _setter("fills", fills) if sizes is not None: @@ -62673,7 +68159,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -62786,12 +68284,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -62883,10 +68393,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -62953,7 +68467,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -63018,10 +68536,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -63084,10 +68608,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -63157,12 +68685,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -63254,10 +68794,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -63324,7 +68868,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -63389,10 +68937,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -63455,10 +69009,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -63525,11 +69083,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -63613,12 +69179,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -63710,10 +69288,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -63780,7 +69362,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -63845,10 +69431,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -63911,10 +69503,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -63984,12 +69580,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -64081,10 +69689,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64151,7 +69763,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -64216,10 +69832,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -64282,10 +69904,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64364,7 +69990,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -64477,12 +70115,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -64574,10 +70224,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64644,7 +70298,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -64709,10 +70367,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -64775,10 +70439,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64848,12 +70516,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -64945,10 +70625,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65015,7 +70699,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -65080,10 +70768,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -65146,10 +70840,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65216,11 +70914,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -65304,12 +71010,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -65401,10 +71119,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65471,7 +71193,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -65536,10 +71262,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -65602,10 +71334,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65675,12 +71411,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -65772,10 +71520,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65842,7 +71594,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -65907,10 +71663,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -65973,10 +71735,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -66047,7 +71813,15 @@ def _configure( fill_min: Optional[pulumi.Input[str]] = None, palette: Optional[pulumi.Input[str]] = None, palette_flip: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fill_max is None and 'fillMax' in kwargs: + fill_max = kwargs['fillMax'] + if fill_min is None and 'fillMin' in kwargs: + fill_min = kwargs['fillMin'] + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if fill_max is not None: _setter("fill_max", fill_max) if fill_min is not None: @@ -66120,8 +71894,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) @property @@ -66172,7 +71950,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], + url: Optional[pulumi.Input[str]] = None, has_background: Optional[pulumi.Input[bool]] = None, has_border: Optional[pulumi.Input[bool]] = None, horizontal_align: Optional[pulumi.Input[str]] = None, @@ -66180,7 +71958,21 @@ def _configure( sizing: Optional[pulumi.Input[str]] = None, url_dark_theme: Optional[pulumi.Input[str]] = None, vertical_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + if has_background is None and 'hasBackground' in kwargs: + has_background = kwargs['hasBackground'] + if has_border is None and 'hasBorder' in kwargs: + has_border = kwargs['hasBorder'] + if horizontal_align is None and 'horizontalAlign' in kwargs: + horizontal_align = kwargs['horizontalAlign'] + if url_dark_theme is None and 'urlDarkTheme' in kwargs: + url_dark_theme = kwargs['urlDarkTheme'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("url", url) if has_background is not None: _setter("has_background", has_background) @@ -66317,11 +72109,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - requests: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetListStreamDefinitionRequestArgs']]], + requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetListStreamDefinitionRequestArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is None: + raise TypeError("Missing 'requests' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("requests", requests) if title is not None: _setter("title", title) @@ -66398,10 +72198,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - columns: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetListStreamDefinitionRequestColumnArgs']]], - query: pulumi.Input['DashboardWidgetListStreamDefinitionRequestQueryArgs'], - response_format: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetListStreamDefinitionRequestColumnArgs']]]] = None, + query: Optional[pulumi.Input['DashboardWidgetListStreamDefinitionRequestQueryArgs']] = None, + response_format: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if columns is None: + raise TypeError("Missing 'columns' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if response_format is None and 'responseFormat' in kwargs: + response_format = kwargs['responseFormat'] + if response_format is None: + raise TypeError("Missing 'response_format' argument") + _setter("columns", columns) _setter("query", query) _setter("response_format", response_format) @@ -66457,9 +72267,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - field: pulumi.Input[str], - width: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + field: Optional[pulumi.Input[str]] = None, + width: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if field is None: + raise TypeError("Missing 'field' argument") + if width is None: + raise TypeError("Missing 'width' argument") + _setter("field", field) _setter("width", width) @@ -66517,13 +72333,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, event_size: Optional[pulumi.Input[str]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, query_string: Optional[pulumi.Input[str]] = None, sort: Optional[pulumi.Input['DashboardWidgetListStreamDefinitionRequestQuerySortArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + _setter("data_source", data_source) if event_size is not None: _setter("event_size", event_size) @@ -66626,9 +72452,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -66711,7 +72543,21 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if message_display is None and 'messageDisplay' in kwargs: + message_display = kwargs['messageDisplay'] + if show_date_column is None and 'showDateColumn' in kwargs: + show_date_column = kwargs['showDateColumn'] + if show_message_column is None and 'showMessageColumn' in kwargs: + show_message_column = kwargs['showMessageColumn'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if columns is not None: _setter("columns", columns) if indexes is not None: @@ -66882,9 +72728,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -66956,7 +72808,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, color_preference: Optional[pulumi.Input[str]] = None, display_format: Optional[pulumi.Input[str]] = None, hide_zero_counts: Optional[pulumi.Input[bool]] = None, @@ -66967,7 +72819,27 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if color_preference is None and 'colorPreference' in kwargs: + color_preference = kwargs['colorPreference'] + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if hide_zero_counts is None and 'hideZeroCounts' in kwargs: + hide_zero_counts = kwargs['hideZeroCounts'] + if show_last_triggered is None and 'showLastTriggered' in kwargs: + show_last_triggered = kwargs['showLastTriggered'] + if show_priority is None and 'showPriority' in kwargs: + show_priority = kwargs['showPriority'] + if summary_type is None and 'summaryType' in kwargs: + summary_type = kwargs['summaryType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if color_preference is not None: _setter("color_preference", color_preference) @@ -67158,7 +73030,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, background_color: Optional[pulumi.Input[str]] = None, font_size: Optional[pulumi.Input[str]] = None, has_padding: Optional[pulumi.Input[bool]] = None, @@ -67167,7 +73039,27 @@ def _configure( tick_edge: Optional[pulumi.Input[str]] = None, tick_pos: Optional[pulumi.Input[str]] = None, vertical_align: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if has_padding is None and 'hasPadding' in kwargs: + has_padding = kwargs['hasPadding'] + if show_tick is None and 'showTick' in kwargs: + show_tick = kwargs['showTick'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if tick_edge is None and 'tickEdge' in kwargs: + tick_edge = kwargs['tickEdge'] + if tick_pos is None and 'tickPos' in kwargs: + tick_pos = kwargs['tickPos'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("content", content) if background_color is not None: _setter("background_color", background_color) @@ -67334,7 +73226,19 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if has_search_bar is None and 'hasSearchBar' in kwargs: + has_search_bar = kwargs['hasSearchBar'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if has_search_bar is not None: @@ -67462,7 +73366,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -67589,7 +73499,25 @@ def _configure( queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if cell_display_modes is None and 'cellDisplayModes' in kwargs: + cell_display_modes = kwargs['cellDisplayModes'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if alias is not None: @@ -67819,12 +73747,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -67916,10 +73856,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -67986,7 +73930,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -68051,10 +73999,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -68117,10 +74071,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -68196,14 +74154,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - name: pulumi.Input[str], - primary_tag: pulumi.Input[str], - row_type: pulumi.Input[str], - service: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_tag: Optional[pulumi.Input[str]] = None, + row_type: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, columns: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs']]]] = None, resource: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -68322,11 +74296,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -68422,16 +74402,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -68586,13 +74582,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -68716,16 +74722,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -68870,7 +74892,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -68920,7 +74944,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -68977,12 +75005,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -69074,10 +75114,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -69144,7 +75188,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -69209,10 +75257,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -69275,10 +75329,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -69345,11 +75403,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -69442,7 +75508,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -69570,17 +75650,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -69757,17 +75865,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -69937,14 +76069,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -70062,10 +76206,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -70129,10 +76277,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -70196,10 +76348,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -70254,8 +76410,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -70290,11 +76450,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -70386,16 +76554,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -70553,14 +76737,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -70684,12 +76886,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -70781,10 +76995,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -70851,7 +77069,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -70916,10 +77138,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -70982,10 +77210,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -71055,12 +77287,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -71152,10 +77396,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -71222,7 +77470,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -71287,10 +77539,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -71353,10 +77611,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -71455,7 +77717,23 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if custom_unit is None and 'customUnit' in kwargs: + custom_unit = kwargs['customUnit'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if timeseries_background is None and 'timeseriesBackground' in kwargs: + timeseries_background = kwargs['timeseriesBackground'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if autoscale is not None: _setter("autoscale", autoscale) if custom_links is not None: @@ -71639,7 +77917,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -71751,7 +78035,23 @@ def _configure( queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -71928,12 +78228,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -72025,10 +78337,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -72095,7 +78411,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -72160,10 +78480,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -72226,10 +78552,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -72299,12 +78629,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -72396,10 +78738,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -72466,7 +78812,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -72531,10 +78881,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -72597,10 +78953,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -72682,16 +79042,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -72846,13 +79222,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -72976,16 +79362,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -73130,7 +79532,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -73180,7 +79584,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -73237,12 +79645,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -73334,10 +79754,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -73404,7 +79828,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -73469,10 +79897,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -73535,10 +79969,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -73605,11 +80043,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -73702,7 +80148,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -73830,17 +80290,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -74017,17 +80505,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -74197,14 +80709,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -74322,10 +80846,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -74389,10 +80917,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -74456,10 +80988,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -74514,8 +81050,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -74550,11 +81090,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -74646,16 +81194,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -74813,14 +81377,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -74944,12 +81526,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -75041,10 +81635,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75111,7 +81709,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -75176,10 +81778,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -75242,10 +81850,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75315,12 +81927,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -75412,10 +82036,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75482,7 +82110,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -75547,10 +82179,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -75613,10 +82251,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75677,9 +82319,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if yaxis is not None: _setter("yaxis", yaxis) @@ -75740,7 +82386,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -75845,14 +82495,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - workflow_id: pulumi.Input[str], + workflow_id: Optional[pulumi.Input[str]] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetRunWorkflowDefinitionCustomLinkArgs']]]] = None, inputs: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetRunWorkflowDefinitionInputArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if workflow_id is None and 'workflowId' in kwargs: + workflow_id = kwargs['workflowId'] + if workflow_id is None: + raise TypeError("Missing 'workflow_id' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("workflow_id", workflow_id) if custom_links is not None: _setter("custom_links", custom_links) @@ -75979,7 +82643,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -76055,9 +82725,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("name", name) _setter("value", value) @@ -76133,7 +82809,19 @@ def _configure( title_size: Optional[pulumi.Input[str]] = None, xaxis: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionXaxisArgs']] = None, yaxis: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if color_by_groups is None and 'colorByGroups' in kwargs: + color_by_groups = kwargs['colorByGroups'] + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if color_by_groups is not None: _setter("color_by_groups", color_by_groups) if custom_links is not None: @@ -76289,7 +82977,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -76371,7 +83065,11 @@ def _configure( scatterplot_tables: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableArgs']]]] = None, xes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXArgs']]]] = None, ys: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scatterplot_tables is None and 'scatterplotTables' in kwargs: + scatterplot_tables = kwargs['scatterplotTables'] + if scatterplot_tables is not None: _setter("scatterplot_tables", scatterplot_tables) if xes is not None: @@ -76431,7 +83129,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs']]]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -76476,10 +83176,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dimension: pulumi.Input[str], - formula_expression: pulumi.Input[str], + dimension: Optional[pulumi.Input[str]] = None, + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dimension is None: + raise TypeError("Missing 'dimension' argument") + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + _setter("dimension", dimension) _setter("formula_expression", formula_expression) if alias is not None: @@ -76557,7 +83265,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -76685,17 +83407,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -76872,17 +83622,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -77052,14 +83826,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -77177,10 +83963,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -77244,10 +84034,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -77311,10 +84105,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -77369,8 +84167,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -77405,11 +84207,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -77501,16 +84311,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -77668,14 +84494,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -77812,7 +84656,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -77939,12 +84795,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -78036,10 +84904,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78106,7 +84978,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -78171,10 +85047,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -78237,10 +85119,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78310,12 +85196,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -78407,10 +85305,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78477,7 +85379,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -78542,10 +85448,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -78608,10 +85520,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78678,11 +85594,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -78766,12 +85690,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -78863,10 +85799,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78933,7 +85873,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -78998,10 +85942,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -79064,10 +86014,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79137,12 +86091,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -79234,10 +86200,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79304,7 +86274,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -79369,10 +86343,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -79435,10 +86415,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79521,7 +86505,19 @@ def _configure( q: Optional[pulumi.Input[str]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -79648,12 +86644,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -79745,10 +86753,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79815,7 +86827,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -79880,10 +86896,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -79946,10 +86968,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -80019,12 +87045,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -80116,10 +87154,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -80186,7 +87228,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -80251,10 +87297,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -80317,10 +87369,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -80387,11 +87443,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -80475,12 +87539,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -80572,10 +87648,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -80642,7 +87722,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -80707,10 +87791,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -80773,10 +87863,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -80846,12 +87940,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -80943,10 +88049,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81013,7 +88123,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -81078,10 +88192,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -81144,10 +88264,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81222,7 +88346,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -81326,7 +88454,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -81440,17 +88572,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - slo_id: pulumi.Input[str], - time_windows: pulumi.Input[Sequence[pulumi.Input[str]]], - view_mode: pulumi.Input[str], - view_type: pulumi.Input[str], + slo_id: Optional[pulumi.Input[str]] = None, + time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + view_mode: Optional[pulumi.Input[str]] = None, + view_type: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, global_time_target: Optional[pulumi.Input[str]] = None, show_error_budget: Optional[pulumi.Input[bool]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if time_windows is None and 'timeWindows' in kwargs: + time_windows = kwargs['timeWindows'] + if time_windows is None: + raise TypeError("Missing 'time_windows' argument") + if view_mode is None and 'viewMode' in kwargs: + view_mode = kwargs['viewMode'] + if view_mode is None: + raise TypeError("Missing 'view_mode' argument") + if view_type is None and 'viewType' in kwargs: + view_type = kwargs['viewType'] + if view_type is None: + raise TypeError("Missing 'view_type' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if global_time_target is None and 'globalTimeTarget' in kwargs: + global_time_target = kwargs['globalTimeTarget'] + if show_error_budget is None and 'showErrorBudget' in kwargs: + show_error_budget = kwargs['showErrorBudget'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("slo_id", slo_id) _setter("time_windows", time_windows) _setter("view_mode", view_mode) @@ -81618,13 +88778,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: pulumi.Input[Sequence[pulumi.Input[str]]], - service: pulumi.Input[str], + filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service: Optional[pulumi.Input[str]] = None, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetServicemapDefinitionCustomLinkArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("filters", filters) _setter("service", service) if custom_links is not None: @@ -81736,7 +88908,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -81818,11 +88996,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - request: pulumi.Input['DashboardWidgetSloListDefinitionRequestArgs'], + request: Optional[pulumi.Input['DashboardWidgetSloListDefinitionRequestArgs']] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if request is None: + raise TypeError("Missing 'request' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("request", request) if title is not None: _setter("title", title) @@ -81896,9 +89082,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input['DashboardWidgetSloListDefinitionRequestQueryArgs'], - request_type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input['DashboardWidgetSloListDefinitionRequestQueryArgs']] = None, + request_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("query", query) _setter("request_type", request_type) @@ -81944,10 +89138,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query_string: pulumi.Input[str], + query_string: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetSloListDefinitionRequestQuerySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + if query_string is None: + raise TypeError("Missing 'query_string' argument") + _setter("query_string", query_string) if limit is not None: _setter("limit", limit) @@ -82008,9 +89208,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: pulumi.Input[str], - order: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -82086,7 +89292,23 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if hide_total is None and 'hideTotal' in kwargs: + hide_total = kwargs['hideTotal'] + if legend_inline is None and 'legendInline' in kwargs: + legend_inline = kwargs['legendInline'] + if legend_table is None and 'legendTable' in kwargs: + legend_table = kwargs['legendTable'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if hide_total is not None: @@ -82242,7 +89464,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -82321,10 +89549,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, hide_percent: Optional[pulumi.Input[bool]] = None, hide_value: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if hide_percent is None and 'hidePercent' in kwargs: + hide_percent = kwargs['hidePercent'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + _setter("type", type) if hide_percent is not None: _setter("hide_percent", hide_percent) @@ -82382,8 +89618,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) @property @@ -82452,7 +89692,23 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -82629,12 +89885,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -82726,10 +89994,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -82796,7 +90068,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -82861,10 +90137,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -82927,10 +90209,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83000,12 +90286,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -83097,10 +90395,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83167,7 +90469,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -83232,10 +90538,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -83298,10 +90610,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83374,13 +90690,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -83504,16 +90830,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -83658,7 +91000,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -83708,7 +91052,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -83765,12 +91113,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -83862,10 +91222,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83932,7 +91296,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -83997,10 +91365,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -84063,10 +91437,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -84136,12 +91514,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -84233,10 +91623,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -84303,7 +91697,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -84368,10 +91766,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -84434,10 +91838,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -84504,11 +91912,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -84601,7 +92017,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -84729,17 +92159,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -84916,17 +92374,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -85096,14 +92578,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -85221,10 +92715,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -85288,10 +92786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -85355,10 +92857,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -85413,8 +92919,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -85449,11 +92959,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -85545,16 +93063,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -85712,14 +93246,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -85843,12 +93395,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -85940,10 +93504,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86010,7 +93578,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -86075,10 +93647,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -86141,10 +93719,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86214,12 +93796,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -86311,10 +93905,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86381,7 +93979,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -86446,10 +94048,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -86512,10 +94120,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86574,7 +94186,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -86658,7 +94272,27 @@ def _configure( title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, yaxis: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionYaxisArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_columns is None and 'legendColumns' in kwargs: + legend_columns = kwargs['legendColumns'] + if legend_layout is None and 'legendLayout' in kwargs: + legend_layout = kwargs['legendLayout'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if right_yaxis is None and 'rightYaxis' in kwargs: + right_yaxis = kwargs['rightYaxis'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -86884,7 +94518,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -86960,9 +94600,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: pulumi.Input[str], + q: Optional[pulumi.Input[str]] = None, tags_execution: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -87012,10 +94658,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None, display_type: Optional[pulumi.Input[str]] = None, label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + _setter("value", value) if display_type is not None: _setter("display_type", display_type) @@ -87124,7 +94776,27 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if on_right_yaxis is None and 'onRightYaxis' in kwargs: + on_right_yaxis = kwargs['onRightYaxis'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -87343,12 +95015,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -87440,10 +95124,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87510,7 +95198,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -87575,10 +95267,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -87641,10 +95339,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87714,12 +95416,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -87811,10 +95525,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87881,7 +95599,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -87946,10 +95668,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -88012,10 +95740,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -88088,13 +95820,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -88218,16 +95960,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -88372,7 +96130,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -88422,7 +96182,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -88479,12 +96243,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -88576,10 +96352,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -88646,7 +96426,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -88711,10 +96495,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -88777,10 +96567,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -88841,9 +96635,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, alias_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if alias_name is None and 'aliasName' in kwargs: + alias_name = kwargs['aliasName'] + _setter("expression", expression) if alias_name is not None: _setter("alias_name", alias_name) @@ -88899,12 +96699,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -88996,10 +96808,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -89066,7 +96882,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -89131,10 +96951,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -89197,10 +97023,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -89267,11 +97097,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -89364,7 +97202,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -89492,17 +97344,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -89679,17 +97559,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -89859,14 +97763,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -89984,10 +97900,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -90051,10 +97971,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -90118,10 +98042,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -90176,8 +98104,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -90212,11 +98144,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -90308,16 +98248,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -90475,14 +98431,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -90606,12 +98580,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -90703,10 +98689,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -90773,7 +98763,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -90838,10 +98832,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -90904,10 +98904,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -90977,12 +98981,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -91074,10 +99090,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -91144,7 +99164,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -91209,10 +99233,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -91275,10 +99305,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -91345,7 +99379,13 @@ def _configure( line_type: Optional[pulumi.Input[str]] = None, line_width: Optional[pulumi.Input[str]] = None, palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if line_type is None and 'lineType' in kwargs: + line_type = kwargs['lineType'] + if line_width is None and 'lineWidth' in kwargs: + line_width = kwargs['lineWidth'] + if line_type is not None: _setter("line_type", line_type) if line_width is not None: @@ -91421,7 +99461,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -91525,7 +99569,11 @@ def _configure( max: Optional[pulumi.Input[str]] = None, min: Optional[pulumi.Input[str]] = None, scale: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -91633,7 +99681,17 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -91747,7 +99805,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -91859,7 +99923,23 @@ def _configure( rum_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryArgs']] = None, security_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -92036,12 +100116,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -92133,10 +100225,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -92203,7 +100299,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -92268,10 +100368,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -92334,10 +100440,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -92407,12 +100517,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -92504,10 +100626,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -92574,7 +100700,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -92639,10 +100769,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -92705,10 +100841,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -92790,16 +100930,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -92954,13 +101110,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -93084,16 +101250,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -93238,7 +101420,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -93288,7 +101472,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -93345,12 +101533,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -93442,10 +101642,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -93512,7 +101716,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -93577,10 +101785,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -93643,10 +101857,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -93713,11 +101931,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, filter_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, limit: Optional[pulumi.Input[int]] = None, search_by: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -93810,7 +102036,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -93938,17 +102178,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -94125,17 +102393,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -94305,14 +102597,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -94430,10 +102734,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -94497,10 +102805,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -94564,10 +102876,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -94622,8 +102938,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -94658,11 +102978,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -94754,16 +103082,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -94921,14 +103265,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -95052,12 +103414,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -95149,10 +103523,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -95219,7 +103597,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -95284,10 +103666,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -95350,10 +103738,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -95423,12 +103815,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: pulumi.Input[str], + index: Optional[pulumi.Input[str]] = None, compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -95520,10 +103924,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -95590,7 +103998,11 @@ def _configure( facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -95655,10 +104067,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], - order: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -95721,10 +104139,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, facet: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -95783,7 +104205,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -95831,7 +104255,15 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if requests is not None: @@ -95931,7 +104363,13 @@ def _configure( label: Optional[pulumi.Input[str]] = None, link: Optional[pulumi.Input[str]] = None, override_label: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -96006,9 +104444,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - queries: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTopologyMapDefinitionRequestQueryArgs']]], - request_type: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTopologyMapDefinitionRequestQueryArgs']]]] = None, + request_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if queries is None: + raise TypeError("Missing 'queries' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("queries", queries) _setter("request_type", request_type) @@ -96054,10 +104500,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - filters: pulumi.Input[Sequence[pulumi.Input[str]]], - service: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + data_source: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("data_source", data_source) _setter("filters", filters) _setter("service", service) @@ -96155,9 +104611,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: pulumi.Input[str], - service: pulumi.Input[str], - span_name: pulumi.Input[str], + env: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + span_name: Optional[pulumi.Input[str]] = None, display_format: Optional[pulumi.Input[str]] = None, live_span: Optional[pulumi.Input[str]] = None, show_breakdown: Optional[pulumi.Input[bool]] = None, @@ -96170,7 +104626,39 @@ def _configure( title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if span_name is None and 'spanName' in kwargs: + span_name = kwargs['spanName'] + if span_name is None: + raise TypeError("Missing 'span_name' argument") + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_breakdown is None and 'showBreakdown' in kwargs: + show_breakdown = kwargs['showBreakdown'] + if show_distribution is None and 'showDistribution' in kwargs: + show_distribution = kwargs['showDistribution'] + if show_errors is None and 'showErrors' in kwargs: + show_errors = kwargs['showErrors'] + if show_hits is None and 'showHits' in kwargs: + show_hits = kwargs['showHits'] + if show_latency is None and 'showLatency' in kwargs: + show_latency = kwargs['showLatency'] + if show_resource_list is None and 'showResourceList' in kwargs: + show_resource_list = kwargs['showResourceList'] + if size_format is None and 'sizeFormat' in kwargs: + size_format = kwargs['sizeFormat'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("env", env) _setter("service", service) _setter("span_name", span_name) @@ -96399,7 +104887,9 @@ def _configure( _setter: Callable[[Any, Any], None], requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is not None: _setter("requests", requests) if title is not None: @@ -96445,7 +104935,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestFormulaArgs']]]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -96499,13 +104991,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: pulumi.Input[str], + formula_expression: Optional[pulumi.Input[str]] = None, alias: Optional[pulumi.Input[str]] = None, cell_display_mode: Optional[pulumi.Input[str]] = None, conditional_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs']]]] = None, limit: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs']] = None, style: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -96629,16 +105131,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: pulumi.Input[str], - palette: pulumi.Input[str], - value: pulumi.Input[float], + comparator: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, custom_bg_color: Optional[pulumi.Input[str]] = None, custom_fg_color: Optional[pulumi.Input[str]] = None, hide_value: Optional[pulumi.Input[bool]] = None, image_url: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, timeframe: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -96783,7 +105301,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -96833,7 +105353,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[pulumi.Input[str]] = None, palette_index: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -96899,7 +105423,21 @@ def _configure( metric_query: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs']] = None, process_query: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs']] = None, slo_query: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -97027,17 +105565,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - operation_name: pulumi.Input[str], - resource_name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operation_name: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, is_upstream: Optional[pulumi.Input[bool]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -97214,17 +105780,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - env: pulumi.Input[str], - name: pulumi.Input[str], - service: pulumi.Input[str], - stat: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + env: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + stat: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, primary_tag_name: Optional[pulumi.Input[str]] = None, primary_tag_value: Optional[pulumi.Input[str]] = None, resource_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -97394,14 +105984,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -97519,10 +106121,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -97586,10 +106192,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -97653,10 +106263,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -97711,8 +106325,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -97747,11 +106365,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, data_source: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -97843,16 +106469,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - metric: pulumi.Input[str], - name: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, aggregator: Optional[pulumi.Input[str]] = None, is_normalized_cpu: Optional[pulumi.Input[bool]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input[str]] = None, tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -98010,14 +106652,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: pulumi.Input[str], - measure: pulumi.Input[str], - slo_id: pulumi.Input[str], + data_source: Optional[pulumi.Input[str]] = None, + measure: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, additional_query_filters: Optional[pulumi.Input[str]] = None, group_mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, slo_query_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -98141,12 +106801,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - height: pulumi.Input[int], - width: pulumi.Input[int], - x: pulumi.Input[int], - y: pulumi.Input[int], + height: Optional[pulumi.Input[int]] = None, + width: Optional[pulumi.Input[int]] = None, + x: Optional[pulumi.Input[int]] = None, + y: Optional[pulumi.Input[int]] = None, is_column_break: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if height is None: + raise TypeError("Missing 'height' argument") + if width is None: + raise TypeError("Missing 'width' argument") + if x is None: + raise TypeError("Missing 'x' argument") + if y is None: + raise TypeError("Missing 'y' argument") + if is_column_break is None and 'isColumnBreak' in kwargs: + is_column_break = kwargs['isColumnBreak'] + _setter("height", height) _setter("width", width) _setter("x", x) @@ -98244,13 +106916,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, period: Optional[pulumi.Input[int]] = None, rrule: Optional[pulumi.Input[str]] = None, until_date: Optional[pulumi.Input[int]] = None, until_occurrences: Optional[pulumi.Input[int]] = None, week_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if until_date is None and 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + if until_occurrences is None and 'untilOccurrences' in kwargs: + until_occurrences = kwargs['untilOccurrences'] + if week_days is None and 'weekDays' in kwargs: + week_days = kwargs['weekDays'] + _setter("type", type) if period is not None: _setter("period", period) @@ -98355,7 +107037,13 @@ def _configure( _setter: Callable[[Any, Any], None], monitor_id: Optional[pulumi.Input[int]] = None, monitor_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if monitor_id is None and 'monitorId' in kwargs: + monitor_id = kwargs['monitorId'] + if monitor_tags is None and 'monitorTags' in kwargs: + monitor_tags = kwargs['monitorTags'] + if monitor_id is not None: _setter("monitor_id", monitor_id) if monitor_tags is not None: @@ -98405,7 +107093,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: Optional[pulumi.Input[str]] = None, start: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if end is not None: _setter("end", end) if start is not None: @@ -98454,7 +107144,9 @@ def _configure( _setter: Callable[[Any, Any], None], recurrences: Optional[pulumi.Input[Sequence[pulumi.Input['DowntimeScheduleRecurringScheduleRecurrenceArgs']]]] = None, timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if recurrences is not None: _setter("recurrences", recurrences) if timezone is not None: @@ -98502,10 +107194,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - duration: pulumi.Input[str], - rrule: pulumi.Input[str], + duration: Optional[pulumi.Input[str]] = None, + rrule: Optional[pulumi.Input[str]] = None, start: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if duration is None: + raise TypeError("Missing 'duration' argument") + if rrule is None: + raise TypeError("Missing 'rrule' argument") + _setter("duration", duration) _setter("rrule", rrule) if start is not None: @@ -98564,9 +107262,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cidr_block: pulumi.Input[str], + cidr_block: Optional[pulumi.Input[str]] = None, note: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cidr_block is None and 'cidrBlock' in kwargs: + cidr_block = kwargs['cidrBlock'] + if cidr_block is None: + raise TypeError("Missing 'cidr_block' argument") + _setter("cidr_block", cidr_block) if note is not None: _setter("note", note) @@ -98619,12 +107323,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - client_id: pulumi.Input[str], - container: pulumi.Input[str], - storage_account: pulumi.Input[str], - tenant_id: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + container: Optional[pulumi.Input[str]] = None, + storage_account: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_id is None: + raise TypeError("Missing 'client_id' argument") + if container is None: + raise TypeError("Missing 'container' argument") + if storage_account is None and 'storageAccount' in kwargs: + storage_account = kwargs['storageAccount'] + if storage_account is None: + raise TypeError("Missing 'storage_account' argument") + if tenant_id is None and 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if tenant_id is None: + raise TypeError("Missing 'tenant_id' argument") + _setter("client_id", client_id) _setter("container", container) _setter("storage_account", storage_account) @@ -98716,11 +107436,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], - client_email: pulumi.Input[str], - project_id: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + client_email: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if client_email is None: + raise TypeError("Missing 'client_email' argument") + if project_id is None and 'projectId' in kwargs: + project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") + _setter("bucket", bucket) _setter("client_email", client_email) _setter("project_id", project_id) @@ -98799,11 +107531,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: pulumi.Input[str], - bucket: pulumi.Input[str], - role_name: pulumi.Input[str], + account_id: Optional[pulumi.Input[str]] = None, + bucket: Optional[pulumi.Input[str]] = None, + role_name: Optional[pulumi.Input[str]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if role_name is None and 'roleName' in kwargs: + role_name = kwargs['roleName'] + if role_name is None: + raise TypeError("Missing 'role_name' argument") + _setter("account_id", account_id) _setter("bucket", bucket) _setter("role_name", role_name) @@ -98873,8 +107617,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -98964,7 +107712,39 @@ def _configure( trace_id_remapper: Optional[pulumi.Input['LogsCustomPipelineProcessorTraceIdRemapperArgs']] = None, url_parser: Optional[pulumi.Input['LogsCustomPipelineProcessorUrlParserArgs']] = None, user_agent_parser: Optional[pulumi.Input['LogsCustomPipelineProcessorUserAgentParserArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if arithmetic_processor is None and 'arithmeticProcessor' in kwargs: + arithmetic_processor = kwargs['arithmeticProcessor'] + if attribute_remapper is None and 'attributeRemapper' in kwargs: + attribute_remapper = kwargs['attributeRemapper'] + if category_processor is None and 'categoryProcessor' in kwargs: + category_processor = kwargs['categoryProcessor'] + if date_remapper is None and 'dateRemapper' in kwargs: + date_remapper = kwargs['dateRemapper'] + if geo_ip_parser is None and 'geoIpParser' in kwargs: + geo_ip_parser = kwargs['geoIpParser'] + if grok_parser is None and 'grokParser' in kwargs: + grok_parser = kwargs['grokParser'] + if lookup_processor is None and 'lookupProcessor' in kwargs: + lookup_processor = kwargs['lookupProcessor'] + if message_remapper is None and 'messageRemapper' in kwargs: + message_remapper = kwargs['messageRemapper'] + if reference_table_lookup_processor is None and 'referenceTableLookupProcessor' in kwargs: + reference_table_lookup_processor = kwargs['referenceTableLookupProcessor'] + if service_remapper is None and 'serviceRemapper' in kwargs: + service_remapper = kwargs['serviceRemapper'] + if status_remapper is None and 'statusRemapper' in kwargs: + status_remapper = kwargs['statusRemapper'] + if string_builder_processor is None and 'stringBuilderProcessor' in kwargs: + string_builder_processor = kwargs['stringBuilderProcessor'] + if trace_id_remapper is None and 'traceIdRemapper' in kwargs: + trace_id_remapper = kwargs['traceIdRemapper'] + if url_parser is None and 'urlParser' in kwargs: + url_parser = kwargs['urlParser'] + if user_agent_parser is None and 'userAgentParser' in kwargs: + user_agent_parser = kwargs['userAgentParser'] + if arithmetic_processor is not None: _setter("arithmetic_processor", arithmetic_processor) if attribute_remapper is not None: @@ -99214,12 +107994,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: pulumi.Input[str], - target: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_replace_missing: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("expression", expression) _setter("target", target) if is_enabled is not None: @@ -99328,16 +108118,38 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - source_type: pulumi.Input[str], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], - target_type: pulumi.Input[str], + source_type: Optional[pulumi.Input[str]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, override_on_conflict: Optional[pulumi.Input[bool]] = None, preserve_source: Optional[pulumi.Input[bool]] = None, target_format: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if source_type is None and 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + if source_type is None: + raise TypeError("Missing 'source_type' argument") + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if target_type is None and 'targetType' in kwargs: + target_type = kwargs['targetType'] + if target_type is None: + raise TypeError("Missing 'target_type' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if override_on_conflict is None and 'overrideOnConflict' in kwargs: + override_on_conflict = kwargs['overrideOnConflict'] + if preserve_source is None and 'preserveSource' in kwargs: + preserve_source = kwargs['preserveSource'] + if target_format is None and 'targetFormat' in kwargs: + target_format = kwargs['targetFormat'] + _setter("source_type", source_type) _setter("sources", sources) _setter("target", target) @@ -99485,11 +108297,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - categories: pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorCategoryProcessorCategoryArgs']]], - target: pulumi.Input[str], + categories: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorCategoryProcessorCategoryArgs']]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if categories is None: + raise TypeError("Missing 'categories' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("categories", categories) _setter("target", target) if is_enabled is not None: @@ -99562,9 +108382,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filter: pulumi.Input['LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs'], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + filter: Optional[pulumi.Input['LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filter is None: + raise TypeError("Missing 'filter' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("filter", filter) _setter("name", name) @@ -99604,8 +108430,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -99641,10 +108471,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -99711,11 +108547,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -99797,12 +108641,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - grok: pulumi.Input['LogsCustomPipelineProcessorGrokParserGrokArgs'], - source: pulumi.Input[str], + grok: Optional[pulumi.Input['LogsCustomPipelineProcessorGrokParserGrokArgs']] = None, + source: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, samples: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if grok is None: + raise TypeError("Missing 'grok' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("grok", grok) _setter("source", source) if is_enabled is not None: @@ -99887,9 +108739,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - match_rules: pulumi.Input[str], - support_rules: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + match_rules: Optional[pulumi.Input[str]] = None, + support_rules: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if match_rules is None and 'matchRules' in kwargs: + match_rules = kwargs['matchRules'] + if match_rules is None: + raise TypeError("Missing 'match_rules' argument") + if support_rules is None and 'supportRules' in kwargs: + support_rules = kwargs['supportRules'] + if support_rules is None: + raise TypeError("Missing 'support_rules' argument") + _setter("match_rules", match_rules) _setter("support_rules", support_rules) @@ -99947,13 +108809,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_tables: pulumi.Input[Sequence[pulumi.Input[str]]], - source: pulumi.Input[str], - target: pulumi.Input[str], + lookup_tables: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, default_lookup: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_tables is None and 'lookupTables' in kwargs: + lookup_tables = kwargs['lookupTables'] + if lookup_tables is None: + raise TypeError("Missing 'lookup_tables' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if default_lookup is None and 'defaultLookup' in kwargs: + default_lookup = kwargs['defaultLookup'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_tables", lookup_tables) _setter("source", source) _setter("target", target) @@ -100057,10 +108933,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -100125,11 +109007,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorPipelineFilterArgs']]], - name: pulumi.Input[str], + filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorPipelineFilterArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, processors: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("filters", filters) _setter("name", name) if is_enabled is not None: @@ -100194,8 +109084,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -100282,7 +109176,39 @@ def _configure( trace_id_remapper: Optional[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs']] = None, url_parser: Optional[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs']] = None, user_agent_parser: Optional[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if arithmetic_processor is None and 'arithmeticProcessor' in kwargs: + arithmetic_processor = kwargs['arithmeticProcessor'] + if attribute_remapper is None and 'attributeRemapper' in kwargs: + attribute_remapper = kwargs['attributeRemapper'] + if category_processor is None and 'categoryProcessor' in kwargs: + category_processor = kwargs['categoryProcessor'] + if date_remapper is None and 'dateRemapper' in kwargs: + date_remapper = kwargs['dateRemapper'] + if geo_ip_parser is None and 'geoIpParser' in kwargs: + geo_ip_parser = kwargs['geoIpParser'] + if grok_parser is None and 'grokParser' in kwargs: + grok_parser = kwargs['grokParser'] + if lookup_processor is None and 'lookupProcessor' in kwargs: + lookup_processor = kwargs['lookupProcessor'] + if message_remapper is None and 'messageRemapper' in kwargs: + message_remapper = kwargs['messageRemapper'] + if reference_table_lookup_processor is None and 'referenceTableLookupProcessor' in kwargs: + reference_table_lookup_processor = kwargs['referenceTableLookupProcessor'] + if service_remapper is None and 'serviceRemapper' in kwargs: + service_remapper = kwargs['serviceRemapper'] + if status_remapper is None and 'statusRemapper' in kwargs: + status_remapper = kwargs['statusRemapper'] + if string_builder_processor is None and 'stringBuilderProcessor' in kwargs: + string_builder_processor = kwargs['stringBuilderProcessor'] + if trace_id_remapper is None and 'traceIdRemapper' in kwargs: + trace_id_remapper = kwargs['traceIdRemapper'] + if url_parser is None and 'urlParser' in kwargs: + url_parser = kwargs['urlParser'] + if user_agent_parser is None and 'userAgentParser' in kwargs: + user_agent_parser = kwargs['userAgentParser'] + if arithmetic_processor is not None: _setter("arithmetic_processor", arithmetic_processor) if attribute_remapper is not None: @@ -100521,12 +109447,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: pulumi.Input[str], - target: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_replace_missing: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("expression", expression) _setter("target", target) if is_enabled is not None: @@ -100635,16 +109571,38 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - source_type: pulumi.Input[str], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], - target_type: pulumi.Input[str], + source_type: Optional[pulumi.Input[str]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, override_on_conflict: Optional[pulumi.Input[bool]] = None, preserve_source: Optional[pulumi.Input[bool]] = None, target_format: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if source_type is None and 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + if source_type is None: + raise TypeError("Missing 'source_type' argument") + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if target_type is None and 'targetType' in kwargs: + target_type = kwargs['targetType'] + if target_type is None: + raise TypeError("Missing 'target_type' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if override_on_conflict is None and 'overrideOnConflict' in kwargs: + override_on_conflict = kwargs['overrideOnConflict'] + if preserve_source is None and 'preserveSource' in kwargs: + preserve_source = kwargs['preserveSource'] + if target_format is None and 'targetFormat' in kwargs: + target_format = kwargs['targetFormat'] + _setter("source_type", source_type) _setter("sources", sources) _setter("target", target) @@ -100792,11 +109750,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - categories: pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs']]], - target: pulumi.Input[str], + categories: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs']]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if categories is None: + raise TypeError("Missing 'categories' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("categories", categories) _setter("target", target) if is_enabled is not None: @@ -100869,9 +109835,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filter: pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs'], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + filter: Optional[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filter is None: + raise TypeError("Missing 'filter' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("filter", filter) _setter("name", name) @@ -100911,8 +109883,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -100948,10 +109924,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -101018,11 +110000,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -101104,12 +110094,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - grok: pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs'], - source: pulumi.Input[str], + grok: Optional[pulumi.Input['LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs']] = None, + source: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, samples: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if grok is None: + raise TypeError("Missing 'grok' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("grok", grok) _setter("source", source) if is_enabled is not None: @@ -101194,9 +110192,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - match_rules: pulumi.Input[str], - support_rules: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + match_rules: Optional[pulumi.Input[str]] = None, + support_rules: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if match_rules is None and 'matchRules' in kwargs: + match_rules = kwargs['matchRules'] + if match_rules is None: + raise TypeError("Missing 'match_rules' argument") + if support_rules is None and 'supportRules' in kwargs: + support_rules = kwargs['supportRules'] + if support_rules is None: + raise TypeError("Missing 'support_rules' argument") + _setter("match_rules", match_rules) _setter("support_rules", support_rules) @@ -101254,13 +110262,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_tables: pulumi.Input[Sequence[pulumi.Input[str]]], - source: pulumi.Input[str], - target: pulumi.Input[str], + lookup_tables: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, default_lookup: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_tables is None and 'lookupTables' in kwargs: + lookup_tables = kwargs['lookupTables'] + if lookup_tables is None: + raise TypeError("Missing 'lookup_tables' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if default_lookup is None and 'defaultLookup' in kwargs: + default_lookup = kwargs['defaultLookup'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_tables", lookup_tables) _setter("source", source) _setter("target", target) @@ -101364,10 +110386,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -101437,12 +110465,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_enrichment_table: pulumi.Input[str], - source: pulumi.Input[str], - target: pulumi.Input[str], + lookup_enrichment_table: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_enrichment_table is None and 'lookupEnrichmentTable' in kwargs: + lookup_enrichment_table = kwargs['lookupEnrichmentTable'] + if lookup_enrichment_table is None: + raise TypeError("Missing 'lookup_enrichment_table' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_enrichment_table", lookup_enrichment_table) _setter("source", source) _setter("target", target) @@ -101532,10 +110572,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -101599,10 +110645,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -101672,12 +110724,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: pulumi.Input[str], - template: pulumi.Input[str], + target: Optional[pulumi.Input[str]] = None, + template: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_replace_missing: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if template is None: + raise TypeError("Missing 'template' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("target", target) _setter("template", template) if is_enabled is not None: @@ -101768,10 +110830,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -101841,12 +110909,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, normalize_ending_slashes: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if normalize_ending_slashes is None and 'normalizeEndingSlashes' in kwargs: + normalize_ending_slashes = kwargs['normalizeEndingSlashes'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -101943,12 +111021,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_encoded: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_encoded is None and 'isEncoded' in kwargs: + is_encoded = kwargs['isEncoded'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -102045,12 +111133,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_enrichment_table: pulumi.Input[str], - source: pulumi.Input[str], - target: pulumi.Input[str], + lookup_enrichment_table: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_enrichment_table is None and 'lookupEnrichmentTable' in kwargs: + lookup_enrichment_table = kwargs['lookupEnrichmentTable'] + if lookup_enrichment_table is None: + raise TypeError("Missing 'lookup_enrichment_table' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_enrichment_table", lookup_enrichment_table) _setter("source", source) _setter("target", target) @@ -102140,10 +111240,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -102207,10 +111313,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -102280,12 +111392,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: pulumi.Input[str], - template: pulumi.Input[str], + target: Optional[pulumi.Input[str]] = None, + template: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_replace_missing: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if template is None: + raise TypeError("Missing 'template' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("target", target) _setter("template", template) if is_enabled is not None: @@ -102376,10 +111498,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -102449,12 +111577,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, normalize_ending_slashes: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if normalize_ending_slashes is None and 'normalizeEndingSlashes' in kwargs: + normalize_ending_slashes = kwargs['normalizeEndingSlashes'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -102551,12 +111689,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: pulumi.Input[Sequence[pulumi.Input[str]]], - target: pulumi.Input[str], + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, is_encoded: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_encoded is None and 'isEncoded' in kwargs: + is_encoded = kwargs['isEncoded'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -102649,7 +111797,11 @@ def _configure( filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterFilterArgs']]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if filters is not None: _setter("filters", filters) if is_enabled is not None: @@ -102710,7 +111862,11 @@ def _configure( _setter: Callable[[Any, Any], None], query: Optional[pulumi.Input[str]] = None, sample_rate: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sample_rate is None and 'sampleRate' in kwargs: + sample_rate = kwargs['sampleRate'] + if query is not None: _setter("query", query) if sample_rate is not None: @@ -102755,8 +111911,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -102792,10 +111952,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation_type: pulumi.Input[str], + aggregation_type: Optional[pulumi.Input[str]] = None, include_percentiles: Optional[pulumi.Input[bool]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation_type is None and 'aggregationType' in kwargs: + aggregation_type = kwargs['aggregationType'] + if aggregation_type is None: + raise TypeError("Missing 'aggregation_type' argument") + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + _setter("aggregation_type", aggregation_type) if include_percentiles is not None: _setter("include_percentiles", include_percentiles) @@ -102853,8 +112021,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -102887,9 +112059,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - path: pulumi.Input[str], - tag_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + path: Optional[pulumi.Input[str]] = None, + tag_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if path is None: + raise TypeError("Missing 'path' argument") + if tag_name is None and 'tagName' in kwargs: + tag_name = kwargs['tagName'] + if tag_name is None: + raise TypeError("Missing 'tag_name' argument") + _setter("path", path) _setter("tag_name", tag_name) @@ -102935,9 +112115,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - space: pulumi.Input[str], - time: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + space: Optional[pulumi.Input[str]] = None, + time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if space is None: + raise TypeError("Missing 'space' argument") + if time is None: + raise TypeError("Missing 'time' argument") + _setter("space", space) _setter("time", time) @@ -102986,10 +112172,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tag_key: pulumi.Input[str], - tag_key_required: pulumi.Input[bool], - valid_tag_values: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + tag_key: Optional[pulumi.Input[str]] = None, + tag_key_required: Optional[pulumi.Input[bool]] = None, + valid_tag_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if tag_key is None and 'tagKey' in kwargs: + tag_key = kwargs['tagKey'] + if tag_key is None: + raise TypeError("Missing 'tag_key' argument") + if tag_key_required is None and 'tagKeyRequired' in kwargs: + tag_key_required = kwargs['tagKeyRequired'] + if tag_key_required is None: + raise TypeError("Missing 'tag_key_required' argument") + if valid_tag_values is None and 'validTagValues' in kwargs: + valid_tag_values = kwargs['validTagValues'] + if valid_tag_values is None: + raise TypeError("Missing 'valid_tag_values' argument") + _setter("tag_key", tag_key) _setter("tag_key_required", tag_key_required) _setter("valid_tag_values", valid_tag_values) @@ -103050,7 +112250,13 @@ def _configure( _setter: Callable[[Any, Any], None], recovery_window: Optional[pulumi.Input[str]] = None, trigger_window: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if recovery_window is None and 'recoveryWindow' in kwargs: + recovery_window = kwargs['recoveryWindow'] + if trigger_window is None and 'triggerWindow' in kwargs: + trigger_window = kwargs['triggerWindow'] + if recovery_window is not None: _setter("recovery_window", recovery_window) if trigger_window is not None: @@ -103116,7 +112322,13 @@ def _configure( unknown: Optional[pulumi.Input[str]] = None, warning: Optional[pulumi.Input[str]] = None, warning_recovery: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if critical_recovery is None and 'criticalRecovery' in kwargs: + critical_recovery = kwargs['criticalRecovery'] + if warning_recovery is None and 'warningRecovery' in kwargs: + warning_recovery = kwargs['warningRecovery'] + if critical is not None: _setter("critical", critical) if critical_recovery is not None: @@ -103217,8 +112429,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - evaluation_windows: pulumi.Input[Sequence[pulumi.Input['MonitorSchedulingOptionEvaluationWindowArgs']]], - opts: Optional[pulumi.ResourceOptions]=None): + evaluation_windows: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorSchedulingOptionEvaluationWindowArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if evaluation_windows is None and 'evaluationWindows' in kwargs: + evaluation_windows = kwargs['evaluationWindows'] + if evaluation_windows is None: + raise TypeError("Missing 'evaluation_windows' argument") + _setter("evaluation_windows", evaluation_windows) @property @@ -103257,7 +112475,15 @@ def _configure( day_starts: Optional[pulumi.Input[str]] = None, hour_starts: Optional[pulumi.Input[int]] = None, month_starts: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if day_starts is None and 'dayStarts' in kwargs: + day_starts = kwargs['dayStarts'] + if hour_starts is None and 'hourStarts' in kwargs: + hour_starts = kwargs['hourStarts'] + if month_starts is None and 'monthStarts' in kwargs: + month_starts = kwargs['monthStarts'] + if day_starts is not None: _setter("day_starts", day_starts) if hour_starts is not None: @@ -103317,7 +112543,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], event_queries: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorVariablesEventQueryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if event_queries is None and 'eventQueries' in kwargs: + event_queries = kwargs['eventQueries'] + if event_queries is not None: _setter("event_queries", event_queries) @@ -103363,13 +112593,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: pulumi.Input[Sequence[pulumi.Input['MonitorVariablesEventQueryComputeArgs']]], - data_source: pulumi.Input[str], - name: pulumi.Input[str], - search: pulumi.Input['MonitorVariablesEventQuerySearchArgs'], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorVariablesEventQueryComputeArgs']]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + search: Optional[pulumi.Input['MonitorVariablesEventQuerySearchArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorVariablesEventQueryGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if search is None: + raise TypeError("Missing 'search' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -103472,10 +112716,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, interval: Optional[pulumi.Input[int]] = None, metric: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -103539,10 +112787,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None, limit: Optional[pulumi.Input[int]] = None, sort: Optional[pulumi.Input['MonitorVariablesEventQueryGroupBySortArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -103606,10 +112858,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: pulumi.Input[str], + aggregation: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -103667,8 +112923,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -103725,17 +112985,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - saml: pulumi.Input['OrganizationSettingsSettingsSamlArgs'], - saml_autocreate_users_domains: pulumi.Input['OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs'], - saml_idp_initiated_login: pulumi.Input['OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs'], - saml_strict_mode: pulumi.Input['OrganizationSettingsSettingsSamlStrictModeArgs'], + saml: Optional[pulumi.Input['OrganizationSettingsSettingsSamlArgs']] = None, + saml_autocreate_users_domains: Optional[pulumi.Input['OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs']] = None, + saml_idp_initiated_login: Optional[pulumi.Input['OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs']] = None, + saml_strict_mode: Optional[pulumi.Input['OrganizationSettingsSettingsSamlStrictModeArgs']] = None, private_widget_share: Optional[pulumi.Input[bool]] = None, saml_autocreate_access_role: Optional[pulumi.Input[str]] = None, saml_can_be_enabled: Optional[pulumi.Input[bool]] = None, saml_idp_endpoint: Optional[pulumi.Input[str]] = None, saml_idp_metadata_uploaded: Optional[pulumi.Input[bool]] = None, saml_login_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if saml is None: + raise TypeError("Missing 'saml' argument") + if saml_autocreate_users_domains is None and 'samlAutocreateUsersDomains' in kwargs: + saml_autocreate_users_domains = kwargs['samlAutocreateUsersDomains'] + if saml_autocreate_users_domains is None: + raise TypeError("Missing 'saml_autocreate_users_domains' argument") + if saml_idp_initiated_login is None and 'samlIdpInitiatedLogin' in kwargs: + saml_idp_initiated_login = kwargs['samlIdpInitiatedLogin'] + if saml_idp_initiated_login is None: + raise TypeError("Missing 'saml_idp_initiated_login' argument") + if saml_strict_mode is None and 'samlStrictMode' in kwargs: + saml_strict_mode = kwargs['samlStrictMode'] + if saml_strict_mode is None: + raise TypeError("Missing 'saml_strict_mode' argument") + if private_widget_share is None and 'privateWidgetShare' in kwargs: + private_widget_share = kwargs['privateWidgetShare'] + if saml_autocreate_access_role is None and 'samlAutocreateAccessRole' in kwargs: + saml_autocreate_access_role = kwargs['samlAutocreateAccessRole'] + if saml_can_be_enabled is None and 'samlCanBeEnabled' in kwargs: + saml_can_be_enabled = kwargs['samlCanBeEnabled'] + if saml_idp_endpoint is None and 'samlIdpEndpoint' in kwargs: + saml_idp_endpoint = kwargs['samlIdpEndpoint'] + if saml_idp_metadata_uploaded is None and 'samlIdpMetadataUploaded' in kwargs: + saml_idp_metadata_uploaded = kwargs['samlIdpMetadataUploaded'] + if saml_login_url is None and 'samlLoginUrl' in kwargs: + saml_login_url = kwargs['samlLoginUrl'] + _setter("saml", saml) _setter("saml_autocreate_users_domains", saml_autocreate_users_domains) _setter("saml_idp_initiated_login", saml_idp_initiated_login) @@ -103889,7 +113177,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -103925,7 +113215,9 @@ def _configure( _setter: Callable[[Any, Any], None], domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if domains is not None: _setter("domains", domains) if enabled is not None: @@ -103971,7 +113263,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -104003,7 +113297,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -104037,9 +113333,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - principals: pulumi.Input[Sequence[pulumi.Input[str]]], - relation: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + principals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + relation: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if principals is None: + raise TypeError("Missing 'principals' argument") + if relation is None: + raise TypeError("Missing 'relation' argument") + _setter("principals", principals) _setter("relation", relation) @@ -104085,9 +113387,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + _setter("id", id) if name is not None: _setter("name", name) @@ -104134,9 +113440,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - notifications: pulumi.Input[Sequence[pulumi.Input[str]]], - status: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if status is None: + raise TypeError("Missing 'status' argument") + _setter("notifications", notifications) _setter("status", status) @@ -104182,9 +113494,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: pulumi.Input[str], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -104228,7 +113546,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], decrease_criticality_based_on_env: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if decrease_criticality_based_on_env is None and 'decreaseCriticalityBasedOnEnv' in kwargs: + decrease_criticality_based_on_env = kwargs['decreaseCriticalityBasedOnEnv'] + if decrease_criticality_based_on_env is not None: _setter("decrease_criticality_based_on_env", decrease_criticality_based_on_env) @@ -104262,9 +113584,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("name", name) _setter("query", query) @@ -104316,11 +113644,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - status: pulumi.Input[str], + status: Optional[pulumi.Input[str]] = None, condition: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if status is None: + raise TypeError("Missing 'status' argument") + _setter("status", status) if condition is not None: _setter("condition", condition) @@ -104395,9 +113727,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: pulumi.Input[str], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -104458,14 +113796,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - keep_alive: pulumi.Input[int], - max_signal_duration: pulumi.Input[int], + keep_alive: Optional[pulumi.Input[int]] = None, + max_signal_duration: Optional[pulumi.Input[int]] = None, decrease_criticality_based_on_env: Optional[pulumi.Input[bool]] = None, detection_method: Optional[pulumi.Input[str]] = None, evaluation_window: Optional[pulumi.Input[int]] = None, impossible_travel_options: Optional[pulumi.Input['SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs']] = None, new_value_options: Optional[pulumi.Input['SecurityMonitoringRuleOptionsNewValueOptionsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if keep_alive is None and 'keepAlive' in kwargs: + keep_alive = kwargs['keepAlive'] + if keep_alive is None: + raise TypeError("Missing 'keep_alive' argument") + if max_signal_duration is None and 'maxSignalDuration' in kwargs: + max_signal_duration = kwargs['maxSignalDuration'] + if max_signal_duration is None: + raise TypeError("Missing 'max_signal_duration' argument") + if decrease_criticality_based_on_env is None and 'decreaseCriticalityBasedOnEnv' in kwargs: + decrease_criticality_based_on_env = kwargs['decreaseCriticalityBasedOnEnv'] + if detection_method is None and 'detectionMethod' in kwargs: + detection_method = kwargs['detectionMethod'] + if evaluation_window is None and 'evaluationWindow' in kwargs: + evaluation_window = kwargs['evaluationWindow'] + if impossible_travel_options is None and 'impossibleTravelOptions' in kwargs: + impossible_travel_options = kwargs['impossibleTravelOptions'] + if new_value_options is None and 'newValueOptions' in kwargs: + new_value_options = kwargs['newValueOptions'] + _setter("keep_alive", keep_alive) _setter("max_signal_duration", max_signal_duration) if decrease_criticality_based_on_env is not None: @@ -104579,7 +113937,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], baseline_user_locations: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if baseline_user_locations is None and 'baselineUserLocations' in kwargs: + baseline_user_locations = kwargs['baselineUserLocations'] + if baseline_user_locations is not None: _setter("baseline_user_locations", baseline_user_locations) @@ -104619,11 +113981,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - forget_after: pulumi.Input[int], + forget_after: Optional[pulumi.Input[int]] = None, learning_duration: Optional[pulumi.Input[int]] = None, learning_method: Optional[pulumi.Input[str]] = None, learning_threshold: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if forget_after is None and 'forgetAfter' in kwargs: + forget_after = kwargs['forgetAfter'] + if forget_after is None: + raise TypeError("Missing 'forget_after' argument") + if learning_duration is None and 'learningDuration' in kwargs: + learning_duration = kwargs['learningDuration'] + if learning_method is None and 'learningMethod' in kwargs: + learning_method = kwargs['learningMethod'] + if learning_threshold is None and 'learningThreshold' in kwargs: + learning_threshold = kwargs['learningThreshold'] + _setter("forget_after", forget_after) if learning_duration is not None: _setter("learning_duration", learning_duration) @@ -104716,7 +114090,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], + query: Optional[pulumi.Input[str]] = None, agent_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleQueryAgentRuleArgs']]]] = None, aggregation: Optional[pulumi.Input[str]] = None, distinct_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -104724,7 +114098,17 @@ def _configure( metric: Optional[pulumi.Input[str]] = None, metrics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if agent_rules is None and 'agentRules' in kwargs: + agent_rules = kwargs['agentRules'] + if distinct_fields is None and 'distinctFields' in kwargs: + distinct_fields = kwargs['distinctFields'] + if group_by_fields is None and 'groupByFields' in kwargs: + group_by_fields = kwargs['groupByFields'] + _setter("query", query) if agent_rules is not None: warnings.warn("""`agent_rule` has been deprecated in favor of new Agent Rule resource.""", DeprecationWarning) @@ -104867,9 +114251,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - agent_rule_id: pulumi.Input[str], - expression: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + agent_rule_id: Optional[pulumi.Input[str]] = None, + expression: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if agent_rule_id is None and 'agentRuleId' in kwargs: + agent_rule_id = kwargs['agentRuleId'] + if agent_rule_id is None: + raise TypeError("Missing 'agent_rule_id' argument") + if expression is None: + raise TypeError("Missing 'expression' argument") + _setter("agent_rule_id", agent_rule_id) _setter("expression", expression) @@ -104927,13 +114319,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - rule_id: pulumi.Input[str], + rule_id: Optional[pulumi.Input[str]] = None, aggregation: Optional[pulumi.Input[str]] = None, correlated_by_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, correlated_query_index: Optional[pulumi.Input[str]] = None, default_rule_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if rule_id is None and 'ruleId' in kwargs: + rule_id = kwargs['ruleId'] + if rule_id is None: + raise TypeError("Missing 'rule_id' argument") + if correlated_by_fields is None and 'correlatedByFields' in kwargs: + correlated_by_fields = kwargs['correlatedByFields'] + if correlated_query_index is None and 'correlatedQueryIndex' in kwargs: + correlated_query_index = kwargs['correlatedQueryIndex'] + if default_rule_id is None and 'defaultRuleId' in kwargs: + default_rule_id = kwargs['defaultRuleId'] + _setter("rule_id", rule_id) if aggregation is not None: _setter("aggregation", aggregation) @@ -105033,8 +114437,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -105070,10 +114478,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, number_of_chars: Optional[pulumi.Input[int]] = None, replacement_string: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if number_of_chars is None and 'numberOfChars' in kwargs: + number_of_chars = kwargs['numberOfChars'] + if replacement_string is None and 'replacementString' in kwargs: + replacement_string = kwargs['replacementString'] + _setter("type", type) if number_of_chars is not None: _setter("number_of_chars", number_of_chars) @@ -105134,9 +114550,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - denominator: pulumi.Input[str], - numerator: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + denominator: Optional[pulumi.Input[str]] = None, + numerator: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if denominator is None: + raise TypeError("Missing 'denominator' argument") + if numerator is None: + raise TypeError("Missing 'numerator' argument") + _setter("denominator", denominator) _setter("numerator", numerator) @@ -105191,12 +114613,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: pulumi.Input[float], - timeframe: pulumi.Input[str], + target: Optional[pulumi.Input[float]] = None, + timeframe: Optional[pulumi.Input[str]] = None, target_display: Optional[pulumi.Input[str]] = None, warning: Optional[pulumi.Input[float]] = None, warning_display: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if timeframe is None: + raise TypeError("Missing 'timeframe' argument") + if target_display is None and 'targetDisplay' in kwargs: + target_display = kwargs['targetDisplay'] + if warning_display is None and 'warningDisplay' in kwargs: + warning_display = kwargs['warningDisplay'] + _setter("target", target) _setter("timeframe", timeframe) if target_display is not None: @@ -105287,10 +114719,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation_type: pulumi.Input[str], + aggregation_type: Optional[pulumi.Input[str]] = None, include_percentiles: Optional[pulumi.Input[bool]] = None, path: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation_type is None and 'aggregationType' in kwargs: + aggregation_type = kwargs['aggregationType'] + if aggregation_type is None: + raise TypeError("Missing 'aggregation_type' argument") + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + _setter("aggregation_type", aggregation_type) if include_percentiles is not None: _setter("include_percentiles", include_percentiles) @@ -105349,7 +114789,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is not None: _setter("query", query) @@ -105383,9 +114825,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - path: pulumi.Input[str], + path: Optional[pulumi.Input[str]] = None, tag_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if path is None: + raise TypeError("Missing 'path' argument") + if tag_name is None and 'tagName' in kwargs: + tag_name = kwargs['tagName'] + _setter("path", path) if tag_name is not None: _setter("tag_name", tag_name) @@ -105430,7 +114878,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], totp_parameters: Optional[pulumi.Input['SyntheticsGlobalVariableOptionsTotpParametersArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if totp_parameters is None and 'totpParameters' in kwargs: + totp_parameters = kwargs['totpParameters'] + if totp_parameters is not None: _setter("totp_parameters", totp_parameters) @@ -105464,9 +114916,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - digits: pulumi.Input[int], - refresh_interval: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + digits: Optional[pulumi.Input[int]] = None, + refresh_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if digits is None: + raise TypeError("Missing 'digits' argument") + if refresh_interval is None and 'refreshInterval' in kwargs: + refresh_interval = kwargs['refreshInterval'] + if refresh_interval is None: + raise TypeError("Missing 'refresh_interval' argument") + _setter("digits", digits) _setter("refresh_interval", refresh_interval) @@ -105517,11 +114977,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, field: Optional[pulumi.Input[str]] = None, local_variable_name: Optional[pulumi.Input[str]] = None, parser: Optional[pulumi.Input['SyntheticsGlobalVariableParseTestOptionsParserArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if local_variable_name is None and 'localVariableName' in kwargs: + local_variable_name = kwargs['localVariableName'] + _setter("type", type) if field is not None: _setter("field", field) @@ -105593,9 +115059,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if value is not None: _setter("value", value) @@ -105640,7 +115110,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], restricted_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if restricted_roles is not None: _setter("restricted_roles", restricted_roles) @@ -105706,7 +115180,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, allow_failure: Optional[pulumi.Input[bool]] = None, assertions: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestApiStepAssertionArgs']]]] = None, extracted_values: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestApiStepExtractedValueArgs']]]] = None, @@ -105719,7 +115193,29 @@ def _configure( request_query: Optional[pulumi.Input[Mapping[str, Any]]] = None, retry: Optional[pulumi.Input['SyntheticsTestApiStepRetryArgs']] = None, subtype: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if allow_failure is None and 'allowFailure' in kwargs: + allow_failure = kwargs['allowFailure'] + if extracted_values is None and 'extractedValues' in kwargs: + extracted_values = kwargs['extractedValues'] + if is_critical is None and 'isCritical' in kwargs: + is_critical = kwargs['isCritical'] + if request_basicauth is None and 'requestBasicauth' in kwargs: + request_basicauth = kwargs['requestBasicauth'] + if request_client_certificate is None and 'requestClientCertificate' in kwargs: + request_client_certificate = kwargs['requestClientCertificate'] + if request_definition is None and 'requestDefinition' in kwargs: + request_definition = kwargs['requestDefinition'] + if request_headers is None and 'requestHeaders' in kwargs: + request_headers = kwargs['requestHeaders'] + if request_proxy is None and 'requestProxy' in kwargs: + request_proxy = kwargs['requestProxy'] + if request_query is None and 'requestQuery' in kwargs: + request_query = kwargs['requestQuery'] + _setter("name", name) if allow_failure is not None: _setter("allow_failure", allow_failure) @@ -105929,13 +115425,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: pulumi.Input[str], - type: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, property: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, targetjsonpath: Optional[pulumi.Input['SyntheticsTestApiStepAssertionTargetjsonpathArgs']] = None, targetxpath: Optional[pulumi.Input['SyntheticsTestApiStepAssertionTargetxpathArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("operator", operator) _setter("type", type) if property is not None: @@ -106040,10 +115542,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - jsonpath: pulumi.Input[str], - operator: pulumi.Input[str], + jsonpath: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, targetvalue: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if jsonpath is None: + raise TypeError("Missing 'jsonpath' argument") + if operator is None: + raise TypeError("Missing 'operator' argument") + _setter("jsonpath", jsonpath) _setter("operator", operator) if targetvalue is not None: @@ -106106,10 +115614,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: pulumi.Input[str], - xpath: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + xpath: Optional[pulumi.Input[str]] = None, targetvalue: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if xpath is None: + raise TypeError("Missing 'xpath' argument") + _setter("operator", operator) _setter("xpath", xpath) if targetvalue is not None: @@ -106176,12 +115690,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - parser: pulumi.Input['SyntheticsTestApiStepExtractedValueParserArgs'], - type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input['SyntheticsTestApiStepExtractedValueParserArgs']] = None, + type: Optional[pulumi.Input[str]] = None, field: Optional[pulumi.Input[str]] = None, secure: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if parser is None: + raise TypeError("Missing 'parser' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("parser", parser) _setter("type", type) @@ -106262,9 +115784,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if value is not None: _setter("value", value) @@ -106373,7 +115899,25 @@ def _configure( type: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, workstation: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key is None and 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if access_token_url is None and 'accessTokenUrl' in kwargs: + access_token_url = kwargs['accessTokenUrl'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if secret_key is None and 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if session_token is None and 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if token_api_authentication is None and 'tokenApiAuthentication' in kwargs: + token_api_authentication = kwargs['tokenApiAuthentication'] + if access_key is not None: _setter("access_key", access_key) if access_token_url is not None: @@ -106627,9 +116171,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cert: pulumi.Input['SyntheticsTestApiStepRequestClientCertificateCertArgs'], - key: pulumi.Input['SyntheticsTestApiStepRequestClientCertificateKeyArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + cert: Optional[pulumi.Input['SyntheticsTestApiStepRequestClientCertificateCertArgs']] = None, + key: Optional[pulumi.Input['SyntheticsTestApiStepRequestClientCertificateKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cert is None: + raise TypeError("Missing 'cert' argument") + if key is None: + raise TypeError("Missing 'key' argument") + _setter("cert", cert) _setter("key", key) @@ -106669,9 +116219,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, filename: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -106718,9 +116272,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, filename: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -106841,7 +116399,31 @@ def _configure( should_track_hops: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if allow_insecure is None and 'allowInsecure' in kwargs: + allow_insecure = kwargs['allowInsecure'] + if body_type is None and 'bodyType' in kwargs: + body_type = kwargs['bodyType'] + if call_type is None and 'callType' in kwargs: + call_type = kwargs['callType'] + if certificate_domains is None and 'certificateDomains' in kwargs: + certificate_domains = kwargs['certificateDomains'] + if dns_server is None and 'dnsServer' in kwargs: + dns_server = kwargs['dnsServer'] + if dns_server_port is None and 'dnsServerPort' in kwargs: + dns_server_port = kwargs['dnsServerPort'] + if follow_redirects is None and 'followRedirects' in kwargs: + follow_redirects = kwargs['followRedirects'] + if no_saving_response_body is None and 'noSavingResponseBody' in kwargs: + no_saving_response_body = kwargs['noSavingResponseBody'] + if number_of_packets is None and 'numberOfPackets' in kwargs: + number_of_packets = kwargs['numberOfPackets'] + if persist_cookies is None and 'persistCookies' in kwargs: + persist_cookies = kwargs['persistCookies'] + if should_track_hops is None and 'shouldTrackHops' in kwargs: + should_track_hops = kwargs['shouldTrackHops'] + if allow_insecure is not None: _setter("allow_insecure", allow_insecure) if body is not None: @@ -107141,9 +116723,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], + url: Optional[pulumi.Input[str]] = None, headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) if headers is not None: _setter("headers", headers) @@ -107192,7 +116778,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if interval is not None: @@ -107252,13 +116840,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: pulumi.Input[str], - type: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, property: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, targetjsonpath: Optional[pulumi.Input['SyntheticsTestAssertionTargetjsonpathArgs']] = None, targetxpath: Optional[pulumi.Input['SyntheticsTestAssertionTargetxpathArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("operator", operator) _setter("type", type) if property is not None: @@ -107363,10 +116957,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - jsonpath: pulumi.Input[str], - operator: pulumi.Input[str], + jsonpath: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, targetvalue: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if jsonpath is None: + raise TypeError("Missing 'jsonpath' argument") + if operator is None: + raise TypeError("Missing 'operator' argument") + _setter("jsonpath", jsonpath) _setter("operator", operator) if targetvalue is not None: @@ -107429,10 +117029,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: pulumi.Input[str], - xpath: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + xpath: Optional[pulumi.Input[str]] = None, targetvalue: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if xpath is None: + raise TypeError("Missing 'xpath' argument") + _setter("operator", operator) _setter("xpath", xpath) if targetvalue is not None: @@ -107510,15 +117116,31 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - params: pulumi.Input['SyntheticsTestBrowserStepParamsArgs'], - type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + params: Optional[pulumi.Input['SyntheticsTestBrowserStepParamsArgs']] = None, + type: Optional[pulumi.Input[str]] = None, allow_failure: Optional[pulumi.Input[bool]] = None, force_element_update: Optional[pulumi.Input[bool]] = None, is_critical: Optional[pulumi.Input[bool]] = None, no_screenshot: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if params is None: + raise TypeError("Missing 'params' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if allow_failure is None and 'allowFailure' in kwargs: + allow_failure = kwargs['allowFailure'] + if force_element_update is None and 'forceElementUpdate' in kwargs: + force_element_update = kwargs['forceElementUpdate'] + if is_critical is None and 'isCritical' in kwargs: + is_critical = kwargs['isCritical'] + if no_screenshot is None and 'noScreenshot' in kwargs: + no_screenshot = kwargs['noScreenshot'] + _setter("name", name) _setter("params", params) _setter("type", type) @@ -107717,7 +117339,19 @@ def _configure( with_click: Optional[pulumi.Input[bool]] = None, x: Optional[pulumi.Input[int]] = None, y: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if click_type is None and 'clickType' in kwargs: + click_type = kwargs['clickType'] + if element_user_locator is None and 'elementUserLocator' in kwargs: + element_user_locator = kwargs['elementUserLocator'] + if playing_tab_id is None and 'playingTabId' in kwargs: + playing_tab_id = kwargs['playingTabId'] + if subtest_public_id is None and 'subtestPublicId' in kwargs: + subtest_public_id = kwargs['subtestPublicId'] + if with_click is None and 'withClick' in kwargs: + with_click = kwargs['withClick'] + if attribute is not None: _setter("attribute", attribute) if check is not None: @@ -108002,9 +117636,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: pulumi.Input['SyntheticsTestBrowserStepParamsElementUserLocatorValueArgs'], + value: Optional[pulumi.Input['SyntheticsTestBrowserStepParamsElementUserLocatorValueArgs']] = None, fail_test_on_cannot_locate: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if fail_test_on_cannot_locate is None and 'failTestOnCannotLocate' in kwargs: + fail_test_on_cannot_locate = kwargs['failTestOnCannotLocate'] + _setter("value", value) if fail_test_on_cannot_locate is not None: _setter("fail_test_on_cannot_locate", fail_test_on_cannot_locate) @@ -108048,9 +117688,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + _setter("value", value) if type is not None: _setter("type", type) @@ -108098,7 +117742,9 @@ def _configure( _setter: Callable[[Any, Any], None], example: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if example is not None: _setter("example", example) if name is not None: @@ -108155,13 +117801,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, example: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, pattern: Optional[pulumi.Input[str]] = None, secure: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("type", type) if example is not None: @@ -108273,13 +117925,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, example: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, pattern: Optional[pulumi.Input[str]] = None, secure: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("type", type) if example is not None: @@ -108429,7 +118087,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tick_every: pulumi.Input[int], + tick_every: Optional[pulumi.Input[int]] = None, accept_self_signed: Optional[pulumi.Input[bool]] = None, allow_insecure: Optional[pulumi.Input[bool]] = None, check_certificate_revocation: Optional[pulumi.Input[bool]] = None, @@ -108450,7 +118108,47 @@ def _configure( retry: Optional[pulumi.Input['SyntheticsTestOptionsListRetryArgs']] = None, rum_settings: Optional[pulumi.Input['SyntheticsTestOptionsListRumSettingsArgs']] = None, scheduling: Optional[pulumi.Input['SyntheticsTestOptionsListSchedulingArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if tick_every is None and 'tickEvery' in kwargs: + tick_every = kwargs['tickEvery'] + if tick_every is None: + raise TypeError("Missing 'tick_every' argument") + if accept_self_signed is None and 'acceptSelfSigned' in kwargs: + accept_self_signed = kwargs['acceptSelfSigned'] + if allow_insecure is None and 'allowInsecure' in kwargs: + allow_insecure = kwargs['allowInsecure'] + if check_certificate_revocation is None and 'checkCertificateRevocation' in kwargs: + check_certificate_revocation = kwargs['checkCertificateRevocation'] + if disable_cors is None and 'disableCors' in kwargs: + disable_cors = kwargs['disableCors'] + if disable_csp is None and 'disableCsp' in kwargs: + disable_csp = kwargs['disableCsp'] + if follow_redirects is None and 'followRedirects' in kwargs: + follow_redirects = kwargs['followRedirects'] + if http_version is None and 'httpVersion' in kwargs: + http_version = kwargs['httpVersion'] + if ignore_server_certificate_error is None and 'ignoreServerCertificateError' in kwargs: + ignore_server_certificate_error = kwargs['ignoreServerCertificateError'] + if initial_navigation_timeout is None and 'initialNavigationTimeout' in kwargs: + initial_navigation_timeout = kwargs['initialNavigationTimeout'] + if min_failure_duration is None and 'minFailureDuration' in kwargs: + min_failure_duration = kwargs['minFailureDuration'] + if min_location_failed is None and 'minLocationFailed' in kwargs: + min_location_failed = kwargs['minLocationFailed'] + if monitor_name is None and 'monitorName' in kwargs: + monitor_name = kwargs['monitorName'] + if monitor_options is None and 'monitorOptions' in kwargs: + monitor_options = kwargs['monitorOptions'] + if monitor_priority is None and 'monitorPriority' in kwargs: + monitor_priority = kwargs['monitorPriority'] + if no_screenshot is None and 'noScreenshot' in kwargs: + no_screenshot = kwargs['noScreenshot'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if rum_settings is None and 'rumSettings' in kwargs: + rum_settings = kwargs['rumSettings'] + _setter("tick_every", tick_every) if accept_self_signed is not None: _setter("accept_self_signed", accept_self_signed) @@ -108752,7 +118450,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], execution_rule: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if execution_rule is None and 'executionRule' in kwargs: + execution_rule = kwargs['executionRule'] + if execution_rule is not None: _setter("execution_rule", execution_rule) @@ -108784,7 +118486,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], renotify_interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if renotify_interval is None and 'renotifyInterval' in kwargs: + renotify_interval = kwargs['renotifyInterval'] + if renotify_interval is not None: _setter("renotify_interval", renotify_interval) @@ -108820,7 +118526,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[pulumi.Input[int]] = None, interval: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if interval is not None: @@ -108871,10 +118579,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_enabled: pulumi.Input[bool], + is_enabled: Optional[pulumi.Input[bool]] = None, application_id: Optional[pulumi.Input[str]] = None, client_token_id: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if application_id is None and 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if client_token_id is None and 'clientTokenId' in kwargs: + client_token_id = kwargs['clientTokenId'] + _setter("is_enabled", is_enabled) if application_id is not None: _setter("application_id", application_id) @@ -108935,9 +118653,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - timeframes: pulumi.Input[Sequence[pulumi.Input['SyntheticsTestOptionsListSchedulingTimeframeArgs']]], - timezone: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + timeframes: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestOptionsListSchedulingTimeframeArgs']]]] = None, + timezone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if timeframes is None: + raise TypeError("Missing 'timeframes' argument") + if timezone is None: + raise TypeError("Missing 'timezone' argument") + _setter("timeframes", timeframes) _setter("timezone", timezone) @@ -108986,10 +118710,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - day: pulumi.Input[int], - from_: pulumi.Input[str], - to: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + day: Optional[pulumi.Input[int]] = None, + from_: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if day is None: + raise TypeError("Missing 'day' argument") + if from_ is None and 'from' in kwargs: + from_ = kwargs['from'] + if from_ is None: + raise TypeError("Missing 'from_' argument") + if to is None: + raise TypeError("Missing 'to' argument") + _setter("day", day) _setter("from_", from_) _setter("to", to) @@ -109110,7 +118844,25 @@ def _configure( type: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, workstation: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key is None and 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if access_token_url is None and 'accessTokenUrl' in kwargs: + access_token_url = kwargs['accessTokenUrl'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if secret_key is None and 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if session_token is None and 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if token_api_authentication is None and 'tokenApiAuthentication' in kwargs: + token_api_authentication = kwargs['tokenApiAuthentication'] + if access_key is not None: _setter("access_key", access_key) if access_token_url is not None: @@ -109364,9 +119116,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cert: pulumi.Input['SyntheticsTestRequestClientCertificateCertArgs'], - key: pulumi.Input['SyntheticsTestRequestClientCertificateKeyArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + cert: Optional[pulumi.Input['SyntheticsTestRequestClientCertificateCertArgs']] = None, + key: Optional[pulumi.Input['SyntheticsTestRequestClientCertificateKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cert is None: + raise TypeError("Missing 'cert' argument") + if key is None: + raise TypeError("Missing 'key' argument") + _setter("cert", cert) _setter("key", key) @@ -109406,9 +119164,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, filename: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -109455,9 +119217,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, filename: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -109570,7 +119336,27 @@ def _configure( should_track_hops: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if body_type is None and 'bodyType' in kwargs: + body_type = kwargs['bodyType'] + if call_type is None and 'callType' in kwargs: + call_type = kwargs['callType'] + if certificate_domains is None and 'certificateDomains' in kwargs: + certificate_domains = kwargs['certificateDomains'] + if dns_server is None and 'dnsServer' in kwargs: + dns_server = kwargs['dnsServer'] + if dns_server_port is None and 'dnsServerPort' in kwargs: + dns_server_port = kwargs['dnsServerPort'] + if no_saving_response_body is None and 'noSavingResponseBody' in kwargs: + no_saving_response_body = kwargs['noSavingResponseBody'] + if number_of_packets is None and 'numberOfPackets' in kwargs: + number_of_packets = kwargs['numberOfPackets'] + if persist_cookies is None and 'persistCookies' in kwargs: + persist_cookies = kwargs['persistCookies'] + if should_track_hops is None and 'shouldTrackHops' in kwargs: + should_track_hops = kwargs['shouldTrackHops'] + if body is not None: _setter("body", body) if body_type is not None: @@ -109842,9 +119628,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: pulumi.Input[str], + url: Optional[pulumi.Input[str]] = None, headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) if headers is not None: _setter("headers", headers) diff --git a/sdk/python/pulumi_datadog/_utilities.py b/sdk/python/pulumi_datadog/_utilities.py index 2d9a3c846..2936b65ad 100644 --- a/sdk/python/pulumi_datadog/_utilities.py +++ b/sdk/python/pulumi_datadog/_utilities.py @@ -246,5 +246,24 @@ def lifted_func(*args, opts=None, **kwargs): return (lambda _: lifted_func) + +def configure(val, cls: type, input: bool): + def _apply(v): + if isinstance(v, typing.Mapping): + def _setter(key, value): + v[key] = value + cls._configure(_setter, **v) + return v + + # Check that cls has a static _configure method. External classes may + # not have it if it was generated with older codegen. + if hasattr(cls, "_configure"): + if isinstance(val, typing.Mapping): + return _apply(val) + elif input and val is not None and not isinstance(val, cls): + return pulumi.Output.from_input(val).apply(_apply) + + return val + def get_plugin_download_url(): return None diff --git a/sdk/python/pulumi_datadog/api_key.py b/sdk/python/pulumi_datadog/api_key.py index 93595e050..1813494b0 100644 --- a/sdk/python/pulumi_datadog/api_key.py +++ b/sdk/python/pulumi_datadog/api_key.py @@ -26,8 +26,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) @property @@ -63,7 +67,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is not None: _setter("key", key) if name is not None: @@ -104,16 +110,6 @@ def __init__(__self__, """ Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog API Key - foo = datadog.ApiKey("foo", name="foo-application") - ``` - ## Import ```sh @@ -133,16 +129,6 @@ def __init__(__self__, """ Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog API Key - foo = datadog.ApiKey("foo", name="foo-application") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/application_key.py b/sdk/python/pulumi_datadog/application_key.py index 557c4bad1..9799941fd 100644 --- a/sdk/python/pulumi_datadog/application_key.py +++ b/sdk/python/pulumi_datadog/application_key.py @@ -26,8 +26,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) @property @@ -63,7 +67,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is not None: _setter("key", key) if name is not None: @@ -104,16 +110,6 @@ def __init__(__self__, """ Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog Application Key - foo = datadog.ApplicationKey("foo", name="foo-application") - ``` - ## Import ```sh @@ -133,16 +129,6 @@ def __init__(__self__, """ Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog Application Key - foo = datadog.ApplicationKey("foo", name="foo-application") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/authn_mapping.py b/sdk/python/pulumi_datadog/authn_mapping.py index c2b288d33..c0bb4e965 100644 --- a/sdk/python/pulumi_datadog/authn_mapping.py +++ b/sdk/python/pulumi_datadog/authn_mapping.py @@ -32,10 +32,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key: pulumi.Input[str], - role: pulumi.Input[str], - value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + key: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is None: + raise TypeError("Missing 'key' argument") + if role is None: + raise TypeError("Missing 'role' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("key", key) _setter("role", role) _setter("value", value) @@ -101,7 +109,9 @@ def _configure( key: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is not None: _setter("key", key) if role is not None: @@ -158,20 +168,6 @@ def __init__(__self__, """ Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new AuthN mapping - dev_ro_role_mapping = datadog.AuthnMapping("devRoRoleMapping", - key="Member-of", - value="Development", - role=ro_role.id) - ``` - ## Import AuthN mappings can be imported using their ID, e.g. @@ -195,20 +191,6 @@ def __init__(__self__, """ Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new AuthN mapping - dev_ro_role_mapping = datadog.AuthnMapping("devRoRoleMapping", - key="Member-of", - value="Development", - role=ro_role.id) - ``` - ## Import AuthN mappings can be imported using their ID, e.g. diff --git a/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py b/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py index b0716d3f8..98f44c365 100644 --- a/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py +++ b/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py @@ -59,15 +59,6 @@ def __await__(self): def get_integration_namespace_rules(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIntegrationNamespaceRulesResult: """ Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - rules = datadog.aws.get_integration_namespace_rules() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -82,14 +73,5 @@ def get_integration_namespace_rules(opts: Optional[pulumi.InvokeOptions] = None) def get_integration_namespace_rules_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationNamespaceRulesResult]: """ Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - rules = datadog.aws.get_integration_namespace_rules() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/aws/integration.py b/sdk/python/pulumi_datadog/aws/integration.py index 526a37925..71cfd0af9 100644 --- a/sdk/python/pulumi_datadog/aws/integration.py +++ b/sdk/python/pulumi_datadog/aws/integration.py @@ -67,7 +67,31 @@ def _configure( resource_collection_enabled: Optional[pulumi.Input[str]] = None, role_name: Optional[pulumi.Input[str]] = None, secret_access_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key_id is None and 'accessKeyId' in kwargs: + access_key_id = kwargs['accessKeyId'] + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_specific_namespace_rules is None and 'accountSpecificNamespaceRules' in kwargs: + account_specific_namespace_rules = kwargs['accountSpecificNamespaceRules'] + if cspm_resource_collection_enabled is None and 'cspmResourceCollectionEnabled' in kwargs: + cspm_resource_collection_enabled = kwargs['cspmResourceCollectionEnabled'] + if excluded_regions is None and 'excludedRegions' in kwargs: + excluded_regions = kwargs['excludedRegions'] + if filter_tags is None and 'filterTags' in kwargs: + filter_tags = kwargs['filterTags'] + if host_tags is None and 'hostTags' in kwargs: + host_tags = kwargs['hostTags'] + if metrics_collection_enabled is None and 'metricsCollectionEnabled' in kwargs: + metrics_collection_enabled = kwargs['metricsCollectionEnabled'] + if resource_collection_enabled is None and 'resourceCollectionEnabled' in kwargs: + resource_collection_enabled = kwargs['resourceCollectionEnabled'] + if role_name is None and 'roleName' in kwargs: + role_name = kwargs['roleName'] + if secret_access_key is None and 'secretAccessKey' in kwargs: + secret_access_key = kwargs['secretAccessKey'] + if access_key_id is not None: _setter("access_key_id", access_key_id) if account_id is not None: @@ -285,7 +309,33 @@ def _configure( resource_collection_enabled: Optional[pulumi.Input[str]] = None, role_name: Optional[pulumi.Input[str]] = None, secret_access_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key_id is None and 'accessKeyId' in kwargs: + access_key_id = kwargs['accessKeyId'] + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_specific_namespace_rules is None and 'accountSpecificNamespaceRules' in kwargs: + account_specific_namespace_rules = kwargs['accountSpecificNamespaceRules'] + if cspm_resource_collection_enabled is None and 'cspmResourceCollectionEnabled' in kwargs: + cspm_resource_collection_enabled = kwargs['cspmResourceCollectionEnabled'] + if excluded_regions is None and 'excludedRegions' in kwargs: + excluded_regions = kwargs['excludedRegions'] + if external_id is None and 'externalId' in kwargs: + external_id = kwargs['externalId'] + if filter_tags is None and 'filterTags' in kwargs: + filter_tags = kwargs['filterTags'] + if host_tags is None and 'hostTags' in kwargs: + host_tags = kwargs['hostTags'] + if metrics_collection_enabled is None and 'metricsCollectionEnabled' in kwargs: + metrics_collection_enabled = kwargs['metricsCollectionEnabled'] + if resource_collection_enabled is None and 'resourceCollectionEnabled' in kwargs: + resource_collection_enabled = kwargs['resourceCollectionEnabled'] + if role_name is None and 'roleName' in kwargs: + role_name = kwargs['roleName'] + if secret_access_key is None and 'secretAccessKey' in kwargs: + secret_access_key = kwargs['secretAccessKey'] + if access_key_id is not None: _setter("access_key_id", access_key_id) if account_id is not None: @@ -477,31 +527,6 @@ def __init__(__self__, """ Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration - sandbox = datadog.aws.Integration("sandbox", - account_id="1234567890", - account_specific_namespace_rules={ - "auto_scaling": False, - "opsworks": False, - }, - excluded_regions=[ - "us-east-1", - "us-west-2", - ], - filter_tags=["key:value"], - host_tags=[ - "key:value", - "key2:value2", - ], - role_name="DatadogAWSIntegrationRole") - ``` - ## Import Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID @@ -533,31 +558,6 @@ def __init__(__self__, """ Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration - sandbox = datadog.aws.Integration("sandbox", - account_id="1234567890", - account_specific_namespace_rules={ - "auto_scaling": False, - "opsworks": False, - }, - excluded_regions=[ - "us-east-1", - "us-west-2", - ], - filter_tags=["key:value"], - host_tags=[ - "key:value", - "key2:value2", - ], - role_name="DatadogAWSIntegrationRole") - ``` - ## Import Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID diff --git a/sdk/python/pulumi_datadog/aws/integration_lambda_arn.py b/sdk/python/pulumi_datadog/aws/integration_lambda_arn.py index 6b9fbd0de..67e07cc6f 100644 --- a/sdk/python/pulumi_datadog/aws/integration_lambda_arn.py +++ b/sdk/python/pulumi_datadog/aws/integration_lambda_arn.py @@ -29,9 +29,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: pulumi.Input[str], - lambda_arn: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + account_id: Optional[pulumi.Input[str]] = None, + lambda_arn: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if lambda_arn is None and 'lambdaArn' in kwargs: + lambda_arn = kwargs['lambdaArn'] + if lambda_arn is None: + raise TypeError("Missing 'lambda_arn' argument") + _setter("account_id", account_id) _setter("lambda_arn", lambda_arn) @@ -80,7 +90,13 @@ def _configure( _setter: Callable[[Any, Any], None], account_id: Optional[pulumi.Input[str]] = None, lambda_arn: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if lambda_arn is None and 'lambdaArn' in kwargs: + lambda_arn = kwargs['lambdaArn'] + if account_id is not None: _setter("account_id", account_id) if lambda_arn is not None: @@ -124,18 +140,6 @@ def __init__(__self__, Update operations are currently not supported with datadog API so any change forces a new resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration Lambda ARN - main_collector = datadog.aws.IntegrationLambdaArn("mainCollector", - account_id="1234567890", - lambda_arn="arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder") - ``` - ## Import Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `). @@ -160,18 +164,6 @@ def __init__(__self__, Update operations are currently not supported with datadog API so any change forces a new resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration Lambda ARN - main_collector = datadog.aws.IntegrationLambdaArn("mainCollector", - account_id="1234567890", - lambda_arn="arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder") - ``` - ## Import Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `). diff --git a/sdk/python/pulumi_datadog/aws/integration_log_collection.py b/sdk/python/pulumi_datadog/aws/integration_log_collection.py index 1308d16ed..95ff773f6 100644 --- a/sdk/python/pulumi_datadog/aws/integration_log_collection.py +++ b/sdk/python/pulumi_datadog/aws/integration_log_collection.py @@ -29,9 +29,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: pulumi.Input[str], - services: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + account_id: Optional[pulumi.Input[str]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if services is None: + raise TypeError("Missing 'services' argument") + _setter("account_id", account_id) _setter("services", services) @@ -80,7 +88,11 @@ def _configure( _setter: Callable[[Any, Any], None], account_id: Optional[pulumi.Input[str]] = None, services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is not None: _setter("account_id", account_id) if services is not None: @@ -122,18 +134,6 @@ def __init__(__self__, """ Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration log collection - main = datadog.aws.IntegrationLogCollection("main", - account_id="1234567890", - services=["lambda"]) - ``` - ## Import Amazon Web Services log collection integrations can be imported using the `account ID`. @@ -156,18 +156,6 @@ def __init__(__self__, """ Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration log collection - main = datadog.aws.IntegrationLogCollection("main", - account_id="1234567890", - services=["lambda"]) - ``` - ## Import Amazon Web Services log collection integrations can be imported using the `account ID`. diff --git a/sdk/python/pulumi_datadog/aws/integration_tag_filter.py b/sdk/python/pulumi_datadog/aws/integration_tag_filter.py index 4960bc4de..d1703e67e 100644 --- a/sdk/python/pulumi_datadog/aws/integration_tag_filter.py +++ b/sdk/python/pulumi_datadog/aws/integration_tag_filter.py @@ -32,10 +32,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: pulumi.Input[str], - namespace: pulumi.Input[str], - tag_filter_str: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + account_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + tag_filter_str: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if namespace is None: + raise TypeError("Missing 'namespace' argument") + if tag_filter_str is None and 'tagFilterStr' in kwargs: + tag_filter_str = kwargs['tagFilterStr'] + if tag_filter_str is None: + raise TypeError("Missing 'tag_filter_str' argument") + _setter("account_id", account_id) _setter("namespace", namespace) _setter("tag_filter_str", tag_filter_str) @@ -101,7 +113,13 @@ def _configure( account_id: Optional[pulumi.Input[str]] = None, namespace: Optional[pulumi.Input[str]] = None, tag_filter_str: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if tag_filter_str is None and 'tagFilterStr' in kwargs: + tag_filter_str = kwargs['tagFilterStr'] + if account_id is not None: _setter("account_id", account_id) if namespace is not None: @@ -158,19 +176,6 @@ def __init__(__self__, """ Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration tag filter - foo = datadog.aws.IntegrationTagFilter("foo", - account_id="123456789010", - namespace="sqs", - tag_filter_str="key:value") - ``` - ## Import Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:). @@ -194,19 +199,6 @@ def __init__(__self__, """ Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Amazon Web Services integration tag filter - foo = datadog.aws.IntegrationTagFilter("foo", - account_id="123456789010", - namespace="sqs", - tag_filter_str="key:value") - ``` - ## Import Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:). diff --git a/sdk/python/pulumi_datadog/aws/outputs.py b/sdk/python/pulumi_datadog/aws/outputs.py index 9013db45c..d43779cc2 100644 --- a/sdk/python/pulumi_datadog/aws/outputs.py +++ b/sdk/python/pulumi_datadog/aws/outputs.py @@ -26,9 +26,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - label: str, - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[str] = None, + label: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if label is None: + raise TypeError("Missing 'label' argument") + _setter("id", id) _setter("label", label) diff --git a/sdk/python/pulumi_datadog/azure/integration.py b/sdk/python/pulumi_datadog/azure/integration.py index 4b42aeee2..af30a5f69 100644 --- a/sdk/python/pulumi_datadog/azure/integration.py +++ b/sdk/python/pulumi_datadog/azure/integration.py @@ -47,15 +47,37 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - client_id: pulumi.Input[str], - client_secret: pulumi.Input[str], - tenant_name: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + tenant_name: Optional[pulumi.Input[str]] = None, app_service_plan_filters: Optional[pulumi.Input[str]] = None, automute: Optional[pulumi.Input[bool]] = None, cspm_enabled: Optional[pulumi.Input[bool]] = None, custom_metrics_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_id is None: + raise TypeError("Missing 'client_id' argument") + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if client_secret is None: + raise TypeError("Missing 'client_secret' argument") + if tenant_name is None and 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if tenant_name is None: + raise TypeError("Missing 'tenant_name' argument") + if app_service_plan_filters is None and 'appServicePlanFilters' in kwargs: + app_service_plan_filters = kwargs['appServicePlanFilters'] + if cspm_enabled is None and 'cspmEnabled' in kwargs: + cspm_enabled = kwargs['cspmEnabled'] + if custom_metrics_enabled is None and 'customMetricsEnabled' in kwargs: + custom_metrics_enabled = kwargs['customMetricsEnabled'] + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + _setter("client_id", client_id) _setter("client_secret", client_secret) _setter("tenant_name", tenant_name) @@ -211,7 +233,23 @@ def _configure( custom_metrics_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, tenant_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if app_service_plan_filters is None and 'appServicePlanFilters' in kwargs: + app_service_plan_filters = kwargs['appServicePlanFilters'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if cspm_enabled is None and 'cspmEnabled' in kwargs: + cspm_enabled = kwargs['cspmEnabled'] + if custom_metrics_enabled is None and 'customMetricsEnabled' in kwargs: + custom_metrics_enabled = kwargs['customMetricsEnabled'] + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + if tenant_name is None and 'tenantName' in kwargs: + tenant_name = kwargs['tenantName'] + if app_service_plan_filters is not None: _setter("app_service_plan_filters", app_service_plan_filters) if automute is not None: @@ -343,24 +381,6 @@ def __init__(__self__, """ Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Microsoft Azure integration - sandbox = datadog.azure.Integration("sandbox", - app_service_plan_filters="examplefilter:true,example:another", - automute=True, - client_id="", - client_secret="", - cspm_enabled=True, - custom_metrics_enabled=False, - host_filters="examplefilter:true,example:true", - tenant_name="") - ``` - ## Import Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`). @@ -389,24 +409,6 @@ def __init__(__self__, """ Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog - Microsoft Azure integration - sandbox = datadog.azure.Integration("sandbox", - app_service_plan_filters="examplefilter:true,example:another", - automute=True, - client_id="", - client_secret="", - cspm_enabled=True, - custom_metrics_enabled=False, - host_filters="examplefilter:true,example:true", - tenant_name="") - ``` - ## Import Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`). diff --git a/sdk/python/pulumi_datadog/child_organization.py b/sdk/python/pulumi_datadog/child_organization.py index 348a76030..5aed1776a 100644 --- a/sdk/python/pulumi_datadog/child_organization.py +++ b/sdk/python/pulumi_datadog/child_organization.py @@ -28,8 +28,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) @property @@ -85,7 +89,15 @@ def _configure( public_id: Optional[pulumi.Input[str]] = None, settings: Optional[pulumi.Input[Sequence[pulumi.Input['ChildOrganizationSettingArgs']]]] = None, users: Optional[pulumi.Input[Sequence[pulumi.Input['ChildOrganizationUserArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_keys is None and 'apiKeys' in kwargs: + api_keys = kwargs['apiKeys'] + if application_keys is None and 'applicationKeys' in kwargs: + application_keys = kwargs['applicationKeys'] + if public_id is None and 'publicId' in kwargs: + public_id = kwargs['publicId'] + if api_keys is not None: _setter("api_keys", api_keys) if application_keys is not None: @@ -196,16 +208,6 @@ def __init__(__self__, """ Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `OrganizationSettings`. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog Child Organization - organization = datadog.ChildOrganization("organization", name="foo-organization") - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: Name for Child Organization after creation. @@ -219,16 +221,6 @@ def __init__(__self__, """ Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `OrganizationSettings`. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog Child Organization - organization = datadog.ChildOrganization("organization", name="foo-organization") - ``` - :param str resource_name: The name of the resource. :param ChildOrganizationArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_datadog/cloud_configuration_rule.py b/sdk/python/pulumi_datadog/cloud_configuration_rule.py index 34794e5f7..91bfa135b 100644 --- a/sdk/python/pulumi_datadog/cloud_configuration_rule.py +++ b/sdk/python/pulumi_datadog/cloud_configuration_rule.py @@ -58,18 +58,38 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: pulumi.Input[bool], - message: pulumi.Input[str], - name: pulumi.Input[str], - policy: pulumi.Input[str], - resource_type: pulumi.Input[str], - severity: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input['CloudConfigurationRuleFilterArgs']]]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, related_resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") + if message is None: + raise TypeError("Missing 'message' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if policy is None: + raise TypeError("Missing 'policy' argument") + if resource_type is None and 'resourceType' in kwargs: + resource_type = kwargs['resourceType'] + if resource_type is None: + raise TypeError("Missing 'resource_type' argument") + if severity is None: + raise TypeError("Missing 'severity' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if related_resource_types is None and 'relatedResourceTypes' in kwargs: + related_resource_types = kwargs['relatedResourceTypes'] + _setter("enabled", enabled) _setter("message", message) _setter("name", name) @@ -276,7 +296,15 @@ def _configure( resource_type: Optional[pulumi.Input[str]] = None, severity: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if related_resource_types is None and 'relatedResourceTypes' in kwargs: + related_resource_types = kwargs['relatedResourceTypes'] + if resource_type is None and 'resourceType' in kwargs: + resource_type = kwargs['resourceType'] + if enabled is not None: _setter("enabled", enabled) if filters is not None: @@ -453,50 +481,6 @@ def __init__(__self__, """ Provides a Datadog Cloud Configuration Rule resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - myrule = datadog.CloudConfigurationRule("myrule", - enabled=True, - group_bies=["@resource"], - message="Rule has triggered", - name="My cloud configuration rule", - notifications=["@channel"], - policy=\"\"\" package datadog - - import data.datadog.output as dd_output - - import future.keywords.contains - import future.keywords.if - import future.keywords.in - - eval(resource) = "skip" if { - # Logic that evaluates to true if the resource should be skipped - true - } else = "pass" { - # Logic that evaluates to true if the resource is compliant - true - } else = "fail" { - # Logic that evaluates to true if the resource is not compliant - true - } - - # This part remains unchanged for all rules - results contains result if { - some resource in input.resources[input.main_resource_type] - result := dd_output.format(resource, eval(resource)) - } - - \"\"\", - related_resource_types=[], - resource_type="aws_s3_bucket", - severity="high", - tags=["some:tag"]) - ``` - ## Import Security monitoring rules can be imported using ID, e.g. @@ -528,50 +512,6 @@ def __init__(__self__, """ Provides a Datadog Cloud Configuration Rule resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - myrule = datadog.CloudConfigurationRule("myrule", - enabled=True, - group_bies=["@resource"], - message="Rule has triggered", - name="My cloud configuration rule", - notifications=["@channel"], - policy=\"\"\" package datadog - - import data.datadog.output as dd_output - - import future.keywords.contains - import future.keywords.if - import future.keywords.in - - eval(resource) = "skip" if { - # Logic that evaluates to true if the resource should be skipped - true - } else = "pass" { - # Logic that evaluates to true if the resource is compliant - true - } else = "fail" { - # Logic that evaluates to true if the resource is not compliant - true - } - - # This part remains unchanged for all rules - results contains result if { - some resource in input.resources[input.main_resource_type] - result := dd_output.format(resource, eval(resource)) - } - - \"\"\", - related_resource_types=[], - resource_type="aws_s3_bucket", - severity="high", - tags=["some:tag"]) - ``` - ## Import Security monitoring rules can be imported using ID, e.g. diff --git a/sdk/python/pulumi_datadog/cloud_workload_security_agent_rule.py b/sdk/python/pulumi_datadog/cloud_workload_security_agent_rule.py index 7d733b12a..14279e3ab 100644 --- a/sdk/python/pulumi_datadog/cloud_workload_security_agent_rule.py +++ b/sdk/python/pulumi_datadog/cloud_workload_security_agent_rule.py @@ -35,11 +35,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: pulumi.Input[str], - name: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("expression", expression) _setter("name", name) if description is not None: @@ -124,7 +130,9 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, expression: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if description is not None: _setter("description", description) if enabled is not None: @@ -196,19 +204,6 @@ def __init__(__self__, """ Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_agent_rule = datadog.CloudWorkloadSecurityAgentRule("myAgentRule", - description="My agent rule", - enabled=True, - expression="exec.file.name == \\"java\\"", - name="my_agent_rule") - ``` - ## Import Cloud Workload Security Agent rules can be imported using ID, e.g. @@ -233,19 +228,6 @@ def __init__(__self__, """ Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_agent_rule = datadog.CloudWorkloadSecurityAgentRule("myAgentRule", - description="My agent rule", - enabled=True, - expression="exec.file.name == \\"java\\"", - name="my_agent_rule") - ``` - ## Import Cloud Workload Security Agent rules can be imported using ID, e.g. diff --git a/sdk/python/pulumi_datadog/cloudflare/integration_account.py b/sdk/python/pulumi_datadog/cloudflare/integration_account.py index 7805cb22c..01941d38f 100644 --- a/sdk/python/pulumi_datadog/cloudflare/integration_account.py +++ b/sdk/python/pulumi_datadog/cloudflare/integration_account.py @@ -32,10 +32,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - api_key: pulumi.Input[str], - name: pulumi.Input[str], + api_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_key is None: + raise TypeError("Missing 'api_key' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("api_key", api_key) _setter("name", name) if email is not None: @@ -102,7 +110,11 @@ def _configure( api_key: Optional[pulumi.Input[str]] = None, email: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_key is not None: _setter("api_key", api_key) if email is not None: @@ -159,18 +171,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.cloudflare.IntegrationAccount("foo", - api_key="12345678910abc", - email="test-email@example.com", - name="test-name") - ``` - ## Import ```sh @@ -192,18 +192,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationCloudflareAccount resource. This can be used to create and manage Datadog integration_cloudflare_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.cloudflare.IntegrationAccount("foo", - api_key="12345678910abc", - email="test-email@example.com", - name="test-name") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/confluent/integration_account.py b/sdk/python/pulumi_datadog/confluent/integration_account.py index 94a2bfc8e..ccb331d7a 100644 --- a/sdk/python/pulumi_datadog/confluent/integration_account.py +++ b/sdk/python/pulumi_datadog/confluent/integration_account.py @@ -32,10 +32,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - api_key: pulumi.Input[str], - api_secret: pulumi.Input[str], + api_key: Optional[pulumi.Input[str]] = None, + api_secret: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_key is None: + raise TypeError("Missing 'api_key' argument") + if api_secret is None and 'apiSecret' in kwargs: + api_secret = kwargs['apiSecret'] + if api_secret is None: + raise TypeError("Missing 'api_secret' argument") + _setter("api_key", api_key) _setter("api_secret", api_secret) if tags is not None: @@ -102,7 +112,13 @@ def _configure( api_key: Optional[pulumi.Input[str]] = None, api_secret: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_secret is None and 'apiSecret' in kwargs: + api_secret = kwargs['apiSecret'] + if api_key is not None: _setter("api_key", api_key) if api_secret is not None: @@ -159,21 +175,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationConfluentAccount resource. This can be used to create and manage Datadog integration_confluent_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.confluent.IntegrationAccount("foo", - api_key="TESTAPIKEY123", - api_secret="test-api-secret-123", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - ``` - ## Import ```sh @@ -195,21 +196,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationConfluentAccount resource. This can be used to create and manage Datadog integration_confluent_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.confluent.IntegrationAccount("foo", - api_key="TESTAPIKEY123", - api_secret="test-api-secret-123", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/confluent/integration_resource.py b/sdk/python/pulumi_datadog/confluent/integration_resource.py index 7794dc8bb..a0940e170 100644 --- a/sdk/python/pulumi_datadog/confluent/integration_resource.py +++ b/sdk/python/pulumi_datadog/confluent/integration_resource.py @@ -38,12 +38,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: pulumi.Input[str], - resource_id: pulumi.Input[str], + account_id: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, enable_custom_metrics: Optional[pulumi.Input[bool]] = None, resource_type: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if resource_id is None and 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if resource_id is None: + raise TypeError("Missing 'resource_id' argument") + if enable_custom_metrics is None and 'enableCustomMetrics' in kwargs: + enable_custom_metrics = kwargs['enableCustomMetrics'] + if resource_type is None and 'resourceType' in kwargs: + resource_type = kwargs['resourceType'] + _setter("account_id", account_id) _setter("resource_id", resource_id) if enable_custom_metrics is not None: @@ -146,7 +160,17 @@ def _configure( resource_id: Optional[pulumi.Input[str]] = None, resource_type: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if enable_custom_metrics is None and 'enableCustomMetrics' in kwargs: + enable_custom_metrics = kwargs['enableCustomMetrics'] + if resource_id is None and 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if resource_type is None and 'resourceType' in kwargs: + resource_type = kwargs['resourceType'] + if account_id is not None: _setter("account_id", account_id) if enable_custom_metrics is not None: @@ -233,30 +257,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationConfluentResource resource. This can be used to create and manage Datadog integration_confluent_resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_integration_account = datadog.confluent.IntegrationAccount("fooIntegrationAccount", - api_key="TESTAPIKEY123", - api_secret="test-api-secret-123", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - # Create new integration_confluent_resource resource - foo_integration_resource = datadog.confluent.IntegrationResource("fooIntegrationResource", - account_id=foo_integration_account.id, - resource_id="123456", - resource_type="kafka", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - ``` - ## Import ```sh @@ -280,30 +280,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationConfluentResource resource. This can be used to create and manage Datadog integration_confluent_resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_integration_account = datadog.confluent.IntegrationAccount("fooIntegrationAccount", - api_key="TESTAPIKEY123", - api_secret="test-api-secret-123", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - # Create new integration_confluent_resource resource - foo_integration_resource = datadog.confluent.IntegrationResource("fooIntegrationResource", - account_id=foo_integration_account.id, - resource_id="123456", - resource_type="kafka", - tags=[ - "mytag", - "mytag2:myvalue", - ]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/dashboard.py b/sdk/python/pulumi_datadog/dashboard.py index c37d71ff2..cf26f9f48 100644 --- a/sdk/python/pulumi_datadog/dashboard.py +++ b/sdk/python/pulumi_datadog/dashboard.py @@ -65,8 +65,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - layout_type: pulumi.Input[str], - title: pulumi.Input[str], + layout_type: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, dashboard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, description: Optional[pulumi.Input[str]] = None, is_read_only: Optional[pulumi.Input[bool]] = None, @@ -78,7 +78,29 @@ def _configure( template_variables: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardTemplateVariableArgs']]]] = None, url: Optional[pulumi.Input[str]] = None, widgets: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if layout_type is None and 'layoutType' in kwargs: + layout_type = kwargs['layoutType'] + if layout_type is None: + raise TypeError("Missing 'layout_type' argument") + if title is None: + raise TypeError("Missing 'title' argument") + if dashboard_lists is None and 'dashboardLists' in kwargs: + dashboard_lists = kwargs['dashboardLists'] + if is_read_only is None and 'isReadOnly' in kwargs: + is_read_only = kwargs['isReadOnly'] + if notify_lists is None and 'notifyLists' in kwargs: + notify_lists = kwargs['notifyLists'] + if reflow_type is None and 'reflowType' in kwargs: + reflow_type = kwargs['reflowType'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if template_variable_presets is None and 'templateVariablePresets' in kwargs: + template_variable_presets = kwargs['templateVariablePresets'] + if template_variables is None and 'templateVariables' in kwargs: + template_variables = kwargs['templateVariables'] + _setter("layout_type", layout_type) _setter("title", title) if dashboard_lists is not None: @@ -337,7 +359,27 @@ def _configure( title: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, widgets: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dashboard_lists is None and 'dashboardLists' in kwargs: + dashboard_lists = kwargs['dashboardLists'] + if dashboard_lists_removeds is None and 'dashboardListsRemoveds' in kwargs: + dashboard_lists_removeds = kwargs['dashboardListsRemoveds'] + if is_read_only is None and 'isReadOnly' in kwargs: + is_read_only = kwargs['isReadOnly'] + if layout_type is None and 'layoutType' in kwargs: + layout_type = kwargs['layoutType'] + if notify_lists is None and 'notifyLists' in kwargs: + notify_lists = kwargs['notifyLists'] + if reflow_type is None and 'reflowType' in kwargs: + reflow_type = kwargs['reflowType'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if template_variable_presets is None and 'templateVariablePresets' in kwargs: + template_variable_presets = kwargs['templateVariablePresets'] + if template_variables is None and 'templateVariables' in kwargs: + template_variables = kwargs['templateVariables'] + if dashboard_lists is not None: _setter("dashboard_lists", dashboard_lists) if dashboard_lists_removeds is not None: diff --git a/sdk/python/pulumi_datadog/dashboard_json.py b/sdk/python/pulumi_datadog/dashboard_json.py index d03e386aa..f4c62a278 100644 --- a/sdk/python/pulumi_datadog/dashboard_json.py +++ b/sdk/python/pulumi_datadog/dashboard_json.py @@ -33,10 +33,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dashboard: pulumi.Input[str], + dashboard: Optional[pulumi.Input[str]] = None, dashboard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dashboard is None: + raise TypeError("Missing 'dashboard' argument") + if dashboard_lists is None and 'dashboardLists' in kwargs: + dashboard_lists = kwargs['dashboardLists'] + _setter("dashboard", dashboard) if dashboard_lists is not None: _setter("dashboard_lists", dashboard_lists) @@ -110,7 +116,13 @@ def _configure( dashboard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, dashboard_lists_removeds: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dashboard_lists is None and 'dashboardLists' in kwargs: + dashboard_lists = kwargs['dashboardLists'] + if dashboard_lists_removeds is None and 'dashboardListsRemoveds' in kwargs: + dashboard_lists_removeds = kwargs['dashboardListsRemoveds'] + if dashboard is not None: _setter("dashboard", dashboard) if dashboard_lists is not None: @@ -182,502 +194,6 @@ def __init__(__self__, """ Provides a Datadog dashboard JSON resource. This can be used to create and manage Datadog dashboards using the JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Dashboard JSON - dashboard_json = datadog.DashboardJson("dashboardJson", dashboard=\"\"\"{ - "title":"Ordered Layout Dashboard", - "description":"Created using the Datadog provider in Terraform", - "widgets":[ - { - "id":719369537777170, - "definition":{ - "title":"Widget Title", - "type":"alert_graph", - "alert_id":"895605", - "viz_type":"timeseries" - } - }, - { - "id":2306240030393868, - "definition":{ - "title":"Widget Title", - "type":"alert_value", - "alert_id":"895605", - "unit":"b", - "text_align":"center", - "precision":3 - } - }, - { - "id":6990998850881326, - "definition":{ - "title":"Widget Title", - "type":"alert_value", - "alert_id":"895605", - "unit":"b", - "text_align":"center", - "precision":3 - } - }, - { - "id":3351284044659007, - "definition":{ - "title":"Widget Title", - "type":"change", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "compare_to":"week_before", - "change_type":"absolute", - "order_dir":"desc", - "increase_good":true, - "order_by":"name", - "show_present":true - } - ] - } - }, - { - "id":6450290622996182, - "definition":{ - "title":"Widget Title", - "show_legend":false, - "type":"distribution", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "style":{ - "palette":"warm" - } - } - ] - } - }, - { - "id":4902842646291536, - "definition":{ - "title":"Widget Title", - "type":"check_status", - "check":"aws.ecs.agent_connected", - "grouping":"cluster", - "group_by":[ - "account", - "cluster" - ], - "tags":[ - "account:demo", - "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk" - ] - } - }, - { - "id":6392349954822644, - "definition":{ - "title":"Widget Title", - "show_legend":false, - "type":"heatmap", - "yaxis":{ - "scale":"sqrt", - "include_zero":true, - "min":"1", - "max":"2" - }, - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "style":{ - "palette":"warm" - } - } - ] - } - }, - { - "id":5222961478940988, - "definition":{ - "title":"Widget Title", - "type":"hostmap", - "requests":{ - "fill":{ - "q":"avg:system.load.1{*} by {host}" - }, - "size":{ - "q":"avg:memcache.uptime{*} by {host}" - } - }, - "node_type":"container", - "no_metric_hosts":true, - "no_group_hosts":true, - "group":[ - "host", - "region" - ], - "scope":[ - "region:us-east-1", - "aws_account:727006795293" - ], - "style":{ - "palette":"yellow_to_green", - "palette_flip":true, - "fill_min":"10", - "fill_max":"20" - } - } - }, - { - "id":8121199734227072, - "definition":{ - "type":"note", - "content":"note text", - "background_color":"pink", - "font_size":"14", - "text_align":"center", - "show_tick":true, - "tick_pos":"50%", - "tick_edge":"left" - } - }, - { - "id":1775856835833038, - "definition":{ - "title":"Widget Title", - "type":"query_value", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "aggregator":"sum", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ] - } - ], - "autoscale":true, - "custom_unit":"xx", - "text_align":"right", - "precision":4 - } - }, - { - "id":8461455966625581, - "definition":{ - "title":"Widget Title", - "type":"query_table", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "aggregator":"sum", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ], - "limit":10 - } - ] - } - }, - { - "id":8660006349418736, - "definition":{ - "title":"Widget Title", - "type":"scatterplot", - "requests":{ - "x":{ - "q":"avg:system.cpu.user{*} by {service, account}", - "aggregator":"max" - }, - "y":{ - "q":"avg:system.mem.used{*} by {service, account}", - "aggregator":"min" - } - }, - "xaxis":{ - "scale":"pow", - "label":"x", - "include_zero":true, - "min":"1", - "max":"2000" - }, - "yaxis":{ - "scale":"log", - "label":"y", - "include_zero":false, - "min":"5", - "max":"2222" - }, - "color_by_groups":[ - "account", - "apm-role-group" - ] - } - }, - { - "id":1669590772917638, - "definition":{ - "title":"env: prod, datacenter:dc1, service: master-db", - "title_size":"16", - "title_align":"left", - "type":"servicemap", - "service":"master-db", - "filters":[ - "env:prod", - "datacenter:dc1" - ] - } - }, - { - "id":2138829058361817, - "definition":{ - "title":"Widget Title", - "show_legend":true, - "legend_size":"2", - "type":"timeseries", - "requests":[ - { - "q":"avg:system.cpu.user{app:general} by {env}", - "on_right_yaxis":false, - "metadata":[ - { - "expression":"avg:system.cpu.user{app:general} by {env}", - "alias_name":"Alpha" - } - ], - "style":{ - "palette":"warm", - "line_type":"dashed", - "line_width":"thin" - }, - "display_type":"line" - }, - { - "on_right_yaxis":false, - "log_query":{ - "index":"mcnulty", - "search":{ - "query":"status:info" - }, - "group_by":[ - { - "facet":"host", - "sort":{ - "facet":"@duration", - "aggregation":"avg", - "order":"desc" - }, - "limit":10 - } - ], - "compute":{ - "facet":"@duration", - "interval":5000, - "aggregation":"avg" - } - }, - "display_type":"area" - }, - { - "on_right_yaxis":false, - "apm_query":{ - "index":"apm-search", - "search":{ - "query":"type:web" - }, - "group_by":[ - { - "facet":"resource_name", - "sort":{ - "facet":"@string_query.interval", - "aggregation":"avg", - "order":"desc" - }, - "limit":50 - } - ], - "compute":{ - "facet":"@duration", - "interval":5000, - "aggregation":"avg" - } - }, - "display_type":"bars" - }, - { - "on_right_yaxis":false, - "process_query":{ - "search_by":"error", - "metric":"process.stat.cpu.total_pct", - "limit":50, - "filter_by":[ - "active" - ] - }, - "display_type":"area" - } - ], - "yaxis":{ - "scale":"log", - "include_zero":false, - "max":"100" - }, - "events":[ - { - "q":"sources:test tags:1" - }, - { - "q":"sources:test tags:2" - } - ], - "markers":[ - { - "label":" z=6 ", - "value":"y = 4", - "display_type":"error dashed" - }, - { - "label":" x=8 ", - "value":"10 < y < 999", - "display_type":"ok solid" - } - ] - } - }, - { - "id":7307171374656551, - "definition":{ - "title":"Widget Title", - "type":"toplist", - "requests":[ - { - "q":"avg:system.cpu.user{app:general} by {env}", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ] - } - ] - } - }, - { - "id":7086674838553258, - "definition":{ - "title":"Group Widget", - "type":"group", - "layout_type":"ordered", - "widgets":[ - { - "id":3726092277657502, - "definition":{ - "type":"note", - "content":"cluster note widget", - "background_color":"pink", - "font_size":"14", - "text_align":"center", - "show_tick":true, - "tick_pos":"50%", - "tick_edge":"left" - } - }, - { - "id":6376384650558057, - "definition":{ - "title":"Alert Graph", - "type":"alert_graph", - "alert_id":"123", - "viz_type":"toplist" - } - } - ] - } - }, - { - "id":4668903563678912, - "definition":{ - "title":"Widget Title", - "type":"slo", - "view_type":"detail", - "time_windows":[ - "7d", - "previous_week" - ], - "slo_id":"56789", - "show_error_budget":true, - "view_mode":"overall", - "global_time_target":"0" - } - } - ], - "template_variables":[ - { - "name":"var_1", - "default":"aws", - "prefix":"host" - }, - { - "name":"var_2", - "default":"autoscaling", - "prefix":"service_name" - } - ], - "layout_type":"ordered", - "is_read_only":true, - "notify_list":[ - - ], - "template_variable_presets":[ - { - "name":"preset_1", - "template_variables":[ - { - "name":"var_1", - "value":"host.dc" - }, - { - "name":"var_2", - "value":"my_service" - } - ] - } - ] - } - - \"\"\") - ``` - ## Import ```sh @@ -700,502 +216,6 @@ def __init__(__self__, """ Provides a Datadog dashboard JSON resource. This can be used to create and manage Datadog dashboards using the JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Dashboard JSON - dashboard_json = datadog.DashboardJson("dashboardJson", dashboard=\"\"\"{ - "title":"Ordered Layout Dashboard", - "description":"Created using the Datadog provider in Terraform", - "widgets":[ - { - "id":719369537777170, - "definition":{ - "title":"Widget Title", - "type":"alert_graph", - "alert_id":"895605", - "viz_type":"timeseries" - } - }, - { - "id":2306240030393868, - "definition":{ - "title":"Widget Title", - "type":"alert_value", - "alert_id":"895605", - "unit":"b", - "text_align":"center", - "precision":3 - } - }, - { - "id":6990998850881326, - "definition":{ - "title":"Widget Title", - "type":"alert_value", - "alert_id":"895605", - "unit":"b", - "text_align":"center", - "precision":3 - } - }, - { - "id":3351284044659007, - "definition":{ - "title":"Widget Title", - "type":"change", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "compare_to":"week_before", - "change_type":"absolute", - "order_dir":"desc", - "increase_good":true, - "order_by":"name", - "show_present":true - } - ] - } - }, - { - "id":6450290622996182, - "definition":{ - "title":"Widget Title", - "show_legend":false, - "type":"distribution", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "style":{ - "palette":"warm" - } - } - ] - } - }, - { - "id":4902842646291536, - "definition":{ - "title":"Widget Title", - "type":"check_status", - "check":"aws.ecs.agent_connected", - "grouping":"cluster", - "group_by":[ - "account", - "cluster" - ], - "tags":[ - "account:demo", - "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk" - ] - } - }, - { - "id":6392349954822644, - "definition":{ - "title":"Widget Title", - "show_legend":false, - "type":"heatmap", - "yaxis":{ - "scale":"sqrt", - "include_zero":true, - "min":"1", - "max":"2" - }, - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "style":{ - "palette":"warm" - } - } - ] - } - }, - { - "id":5222961478940988, - "definition":{ - "title":"Widget Title", - "type":"hostmap", - "requests":{ - "fill":{ - "q":"avg:system.load.1{*} by {host}" - }, - "size":{ - "q":"avg:memcache.uptime{*} by {host}" - } - }, - "node_type":"container", - "no_metric_hosts":true, - "no_group_hosts":true, - "group":[ - "host", - "region" - ], - "scope":[ - "region:us-east-1", - "aws_account:727006795293" - ], - "style":{ - "palette":"yellow_to_green", - "palette_flip":true, - "fill_min":"10", - "fill_max":"20" - } - } - }, - { - "id":8121199734227072, - "definition":{ - "type":"note", - "content":"note text", - "background_color":"pink", - "font_size":"14", - "text_align":"center", - "show_tick":true, - "tick_pos":"50%", - "tick_edge":"left" - } - }, - { - "id":1775856835833038, - "definition":{ - "title":"Widget Title", - "type":"query_value", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "aggregator":"sum", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ] - } - ], - "autoscale":true, - "custom_unit":"xx", - "text_align":"right", - "precision":4 - } - }, - { - "id":8461455966625581, - "definition":{ - "title":"Widget Title", - "type":"query_table", - "requests":[ - { - "q":"avg:system.load.1{env:staging} by {account}", - "aggregator":"sum", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ], - "limit":10 - } - ] - } - }, - { - "id":8660006349418736, - "definition":{ - "title":"Widget Title", - "type":"scatterplot", - "requests":{ - "x":{ - "q":"avg:system.cpu.user{*} by {service, account}", - "aggregator":"max" - }, - "y":{ - "q":"avg:system.mem.used{*} by {service, account}", - "aggregator":"min" - } - }, - "xaxis":{ - "scale":"pow", - "label":"x", - "include_zero":true, - "min":"1", - "max":"2000" - }, - "yaxis":{ - "scale":"log", - "label":"y", - "include_zero":false, - "min":"5", - "max":"2222" - }, - "color_by_groups":[ - "account", - "apm-role-group" - ] - } - }, - { - "id":1669590772917638, - "definition":{ - "title":"env: prod, datacenter:dc1, service: master-db", - "title_size":"16", - "title_align":"left", - "type":"servicemap", - "service":"master-db", - "filters":[ - "env:prod", - "datacenter:dc1" - ] - } - }, - { - "id":2138829058361817, - "definition":{ - "title":"Widget Title", - "show_legend":true, - "legend_size":"2", - "type":"timeseries", - "requests":[ - { - "q":"avg:system.cpu.user{app:general} by {env}", - "on_right_yaxis":false, - "metadata":[ - { - "expression":"avg:system.cpu.user{app:general} by {env}", - "alias_name":"Alpha" - } - ], - "style":{ - "palette":"warm", - "line_type":"dashed", - "line_width":"thin" - }, - "display_type":"line" - }, - { - "on_right_yaxis":false, - "log_query":{ - "index":"mcnulty", - "search":{ - "query":"status:info" - }, - "group_by":[ - { - "facet":"host", - "sort":{ - "facet":"@duration", - "aggregation":"avg", - "order":"desc" - }, - "limit":10 - } - ], - "compute":{ - "facet":"@duration", - "interval":5000, - "aggregation":"avg" - } - }, - "display_type":"area" - }, - { - "on_right_yaxis":false, - "apm_query":{ - "index":"apm-search", - "search":{ - "query":"type:web" - }, - "group_by":[ - { - "facet":"resource_name", - "sort":{ - "facet":"@string_query.interval", - "aggregation":"avg", - "order":"desc" - }, - "limit":50 - } - ], - "compute":{ - "facet":"@duration", - "interval":5000, - "aggregation":"avg" - } - }, - "display_type":"bars" - }, - { - "on_right_yaxis":false, - "process_query":{ - "search_by":"error", - "metric":"process.stat.cpu.total_pct", - "limit":50, - "filter_by":[ - "active" - ] - }, - "display_type":"area" - } - ], - "yaxis":{ - "scale":"log", - "include_zero":false, - "max":"100" - }, - "events":[ - { - "q":"sources:test tags:1" - }, - { - "q":"sources:test tags:2" - } - ], - "markers":[ - { - "label":" z=6 ", - "value":"y = 4", - "display_type":"error dashed" - }, - { - "label":" x=8 ", - "value":"10 < y < 999", - "display_type":"ok solid" - } - ] - } - }, - { - "id":7307171374656551, - "definition":{ - "title":"Widget Title", - "type":"toplist", - "requests":[ - { - "q":"avg:system.cpu.user{app:general} by {env}", - "conditional_formats":[ - { - "hide_value":false, - "comparator":"<", - "palette":"white_on_green", - "value":2 - }, - { - "hide_value":false, - "comparator":">", - "palette":"white_on_red", - "value":2.2 - } - ] - } - ] - } - }, - { - "id":7086674838553258, - "definition":{ - "title":"Group Widget", - "type":"group", - "layout_type":"ordered", - "widgets":[ - { - "id":3726092277657502, - "definition":{ - "type":"note", - "content":"cluster note widget", - "background_color":"pink", - "font_size":"14", - "text_align":"center", - "show_tick":true, - "tick_pos":"50%", - "tick_edge":"left" - } - }, - { - "id":6376384650558057, - "definition":{ - "title":"Alert Graph", - "type":"alert_graph", - "alert_id":"123", - "viz_type":"toplist" - } - } - ] - } - }, - { - "id":4668903563678912, - "definition":{ - "title":"Widget Title", - "type":"slo", - "view_type":"detail", - "time_windows":[ - "7d", - "previous_week" - ], - "slo_id":"56789", - "show_error_budget":true, - "view_mode":"overall", - "global_time_target":"0" - } - } - ], - "template_variables":[ - { - "name":"var_1", - "default":"aws", - "prefix":"host" - }, - { - "name":"var_2", - "default":"autoscaling", - "prefix":"service_name" - } - ], - "layout_type":"ordered", - "is_read_only":true, - "notify_list":[ - - ], - "template_variable_presets":[ - { - "name":"preset_1", - "template_variables":[ - { - "name":"var_1", - "value":"host.dc" - }, - { - "name":"var_2", - "value":"my_service" - } - ] - } - ] - } - - \"\"\") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/dashboard_list.py b/sdk/python/pulumi_datadog/dashboard_list.py index f689077a9..2439e0a9f 100644 --- a/sdk/python/pulumi_datadog/dashboard_list.py +++ b/sdk/python/pulumi_datadog/dashboard_list.py @@ -31,9 +31,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, dash_items: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardListDashItemArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if dash_items is None and 'dashItems' in kwargs: + dash_items = kwargs['dashItems'] + _setter("name", name) if dash_items is not None: _setter("dash_items", dash_items) @@ -83,7 +89,11 @@ def _configure( _setter: Callable[[Any, Any], None], dash_items: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardListDashItemArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dash_items is None and 'dashItems' in kwargs: + dash_items = kwargs['dashItems'] + if dash_items is not None: _setter("dash_items", dash_items) if name is not None: @@ -125,65 +135,6 @@ def __init__(__self__, """ Provides a Datadog dashboard_list resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - time = datadog.Dashboard("time", - title="TF Test Layout Dashboard", - description="Created using the Datadog provider", - layout_type="ordered", - is_read_only=True, - widgets=[datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="1234", - viz_type="timeseries", - title="Widget Title", - live_span="1h", - ), - )]) - screen = datadog.Dashboard("screen", - title="TF Test Free Layout Dashboard", - description="Created using the Datadog provider", - layout_type="free", - is_read_only=False, - widgets=[datadog.DashboardWidgetArgs( - event_stream_definition=datadog.DashboardWidgetEventStreamDefinitionArgs( - query="*", - event_size="l", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=43, - width=32, - x=5, - y=5, - ), - )]) - # Create a new Dashboard List with two Dashboards - new_list = datadog.DashboardList("newList", - name="Automated Created List", - dash_items=[ - datadog.DashboardListDashItemArgs( - type="custom_timeboard", - dash_id=time.id, - ), - datadog.DashboardListDashItemArgs( - type="custom_screenboard", - dash_id=screen.id, - ), - ], - opts=pulumi.ResourceOptions(depends_on=[ - screen, - time, - ])) - ``` - ## Import ```sh @@ -204,65 +155,6 @@ def __init__(__self__, """ Provides a Datadog dashboard_list resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - time = datadog.Dashboard("time", - title="TF Test Layout Dashboard", - description="Created using the Datadog provider", - layout_type="ordered", - is_read_only=True, - widgets=[datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="1234", - viz_type="timeseries", - title="Widget Title", - live_span="1h", - ), - )]) - screen = datadog.Dashboard("screen", - title="TF Test Free Layout Dashboard", - description="Created using the Datadog provider", - layout_type="free", - is_read_only=False, - widgets=[datadog.DashboardWidgetArgs( - event_stream_definition=datadog.DashboardWidgetEventStreamDefinitionArgs( - query="*", - event_size="l", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=43, - width=32, - x=5, - y=5, - ), - )]) - # Create a new Dashboard List with two Dashboards - new_list = datadog.DashboardList("newList", - name="Automated Created List", - dash_items=[ - datadog.DashboardListDashItemArgs( - type="custom_timeboard", - dash_id=time.id, - ), - datadog.DashboardListDashItemArgs( - type="custom_screenboard", - dash_id=screen.id, - ), - ], - opts=pulumi.ResourceOptions(depends_on=[ - screen, - time, - ])) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/downtime.py b/sdk/python/pulumi_datadog/downtime.py index 2e066c0ba..549e709e2 100644 --- a/sdk/python/pulumi_datadog/downtime.py +++ b/sdk/python/pulumi_datadog/downtime.py @@ -58,7 +58,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - scopes: pulumi.Input[Sequence[pulumi.Input[str]]], + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, end: Optional[pulumi.Input[int]] = None, end_date: Optional[pulumi.Input[str]] = None, message: Optional[pulumi.Input[str]] = None, @@ -69,7 +69,21 @@ def _configure( start: Optional[pulumi.Input[int]] = None, start_date: Optional[pulumi.Input[str]] = None, timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scopes is None: + raise TypeError("Missing 'scopes' argument") + if end_date is None and 'endDate' in kwargs: + end_date = kwargs['endDate'] + if monitor_id is None and 'monitorId' in kwargs: + monitor_id = kwargs['monitorId'] + if monitor_tags is None and 'monitorTags' in kwargs: + monitor_tags = kwargs['monitorTags'] + if mute_first_recovery_notification is None and 'muteFirstRecoveryNotification' in kwargs: + mute_first_recovery_notification = kwargs['muteFirstRecoveryNotification'] + if start_date is None and 'startDate' in kwargs: + start_date = kwargs['startDate'] + _setter("scopes", scopes) if end is not None: _setter("end", end) @@ -293,7 +307,21 @@ def _configure( start: Optional[pulumi.Input[int]] = None, start_date: Optional[pulumi.Input[str]] = None, timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if active_child_id is None and 'activeChildId' in kwargs: + active_child_id = kwargs['activeChildId'] + if end_date is None and 'endDate' in kwargs: + end_date = kwargs['endDate'] + if monitor_id is None and 'monitorId' in kwargs: + monitor_id = kwargs['monitorId'] + if monitor_tags is None and 'monitorTags' in kwargs: + monitor_tags = kwargs['monitorTags'] + if mute_first_recovery_notification is None and 'muteFirstRecoveryNotification' in kwargs: + mute_first_recovery_notification = kwargs['muteFirstRecoveryNotification'] + if start_date is None and 'startDate' in kwargs: + start_date = kwargs['startDate'] + if active is not None: _setter("active", active) if active_child_id is not None: @@ -512,24 +540,6 @@ def __init__(__self__, """ This resource is deprecated — use the `DowntimeSchedule resource` instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example: downtime for all monitors - # Create a new daily 1700-0900 Datadog downtime for all monitors - foo = datadog.Downtime("foo", - end=1483365600, - recurrence=datadog.DowntimeRecurrenceArgs( - period=1, - type="days", - ), - scopes=["*"], - start=1483308000) - ``` - ## Import ```sh @@ -559,24 +569,6 @@ def __init__(__self__, """ This resource is deprecated — use the `DowntimeSchedule resource` instead. Provides a Datadog downtime resource. This can be used to create and manage Datadog downtimes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example: downtime for all monitors - # Create a new daily 1700-0900 Datadog downtime for all monitors - foo = datadog.Downtime("foo", - end=1483365600, - recurrence=datadog.DowntimeRecurrenceArgs( - period=1, - type="days", - ), - scopes=["*"], - start=1483308000) - ``` - ## Import ```sh @@ -628,11 +620,7 @@ def _internal_init(__self__, __props__.__dict__["monitor_id"] = monitor_id __props__.__dict__["monitor_tags"] = monitor_tags __props__.__dict__["mute_first_recovery_notification"] = mute_first_recovery_notification - if recurrence is not None and not isinstance(recurrence, DowntimeRecurrenceArgs): - recurrence = recurrence or {} - def _setter(key, value): - recurrence[key] = value - DowntimeRecurrenceArgs._configure(_setter, **recurrence) + recurrence = _utilities.configure(recurrence, DowntimeRecurrenceArgs, True) __props__.__dict__["recurrence"] = recurrence if scopes is None and not opts.urn: raise TypeError("Missing required property 'scopes'") diff --git a/sdk/python/pulumi_datadog/downtime_schedule.py b/sdk/python/pulumi_datadog/downtime_schedule.py index b110635f0..abac759ba 100644 --- a/sdk/python/pulumi_datadog/downtime_schedule.py +++ b/sdk/python/pulumi_datadog/downtime_schedule.py @@ -49,7 +49,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - scope: pulumi.Input[str], + scope: Optional[pulumi.Input[str]] = None, display_timezone: Optional[pulumi.Input[str]] = None, message: Optional[pulumi.Input[str]] = None, monitor_identifier: Optional[pulumi.Input['DowntimeScheduleMonitorIdentifierArgs']] = None, @@ -58,7 +58,25 @@ def _configure( notify_end_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, one_time_schedule: Optional[pulumi.Input['DowntimeScheduleOneTimeScheduleArgs']] = None, recurring_schedule: Optional[pulumi.Input['DowntimeScheduleRecurringScheduleArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scope is None: + raise TypeError("Missing 'scope' argument") + if display_timezone is None and 'displayTimezone' in kwargs: + display_timezone = kwargs['displayTimezone'] + if monitor_identifier is None and 'monitorIdentifier' in kwargs: + monitor_identifier = kwargs['monitorIdentifier'] + if mute_first_recovery_notification is None and 'muteFirstRecoveryNotification' in kwargs: + mute_first_recovery_notification = kwargs['muteFirstRecoveryNotification'] + if notify_end_states is None and 'notifyEndStates' in kwargs: + notify_end_states = kwargs['notifyEndStates'] + if notify_end_types is None and 'notifyEndTypes' in kwargs: + notify_end_types = kwargs['notifyEndTypes'] + if one_time_schedule is None and 'oneTimeSchedule' in kwargs: + one_time_schedule = kwargs['oneTimeSchedule'] + if recurring_schedule is None and 'recurringSchedule' in kwargs: + recurring_schedule = kwargs['recurringSchedule'] + _setter("scope", scope) if display_timezone is not None: _setter("display_timezone", display_timezone) @@ -222,7 +240,23 @@ def _configure( one_time_schedule: Optional[pulumi.Input['DowntimeScheduleOneTimeScheduleArgs']] = None, recurring_schedule: Optional[pulumi.Input['DowntimeScheduleRecurringScheduleArgs']] = None, scope: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if display_timezone is None and 'displayTimezone' in kwargs: + display_timezone = kwargs['displayTimezone'] + if monitor_identifier is None and 'monitorIdentifier' in kwargs: + monitor_identifier = kwargs['monitorIdentifier'] + if mute_first_recovery_notification is None and 'muteFirstRecoveryNotification' in kwargs: + mute_first_recovery_notification = kwargs['muteFirstRecoveryNotification'] + if notify_end_states is None and 'notifyEndStates' in kwargs: + notify_end_states = kwargs['notifyEndStates'] + if notify_end_types is None and 'notifyEndTypes' in kwargs: + notify_end_types = kwargs['notifyEndTypes'] + if one_time_schedule is None and 'oneTimeSchedule' in kwargs: + one_time_schedule = kwargs['oneTimeSchedule'] + if recurring_schedule is None and 'recurringSchedule' in kwargs: + recurring_schedule = kwargs['recurringSchedule'] + if display_timezone is not None: _setter("display_timezone", display_timezone) if message is not None: @@ -429,26 +463,14 @@ def _internal_init(__self__, __props__.__dict__["display_timezone"] = display_timezone __props__.__dict__["message"] = message - if monitor_identifier is not None and not isinstance(monitor_identifier, DowntimeScheduleMonitorIdentifierArgs): - monitor_identifier = monitor_identifier or {} - def _setter(key, value): - monitor_identifier[key] = value - DowntimeScheduleMonitorIdentifierArgs._configure(_setter, **monitor_identifier) + monitor_identifier = _utilities.configure(monitor_identifier, DowntimeScheduleMonitorIdentifierArgs, True) __props__.__dict__["monitor_identifier"] = monitor_identifier __props__.__dict__["mute_first_recovery_notification"] = mute_first_recovery_notification __props__.__dict__["notify_end_states"] = notify_end_states __props__.__dict__["notify_end_types"] = notify_end_types - if one_time_schedule is not None and not isinstance(one_time_schedule, DowntimeScheduleOneTimeScheduleArgs): - one_time_schedule = one_time_schedule or {} - def _setter(key, value): - one_time_schedule[key] = value - DowntimeScheduleOneTimeScheduleArgs._configure(_setter, **one_time_schedule) + one_time_schedule = _utilities.configure(one_time_schedule, DowntimeScheduleOneTimeScheduleArgs, True) __props__.__dict__["one_time_schedule"] = one_time_schedule - if recurring_schedule is not None and not isinstance(recurring_schedule, DowntimeScheduleRecurringScheduleArgs): - recurring_schedule = recurring_schedule or {} - def _setter(key, value): - recurring_schedule[key] = value - DowntimeScheduleRecurringScheduleArgs._configure(_setter, **recurring_schedule) + recurring_schedule = _utilities.configure(recurring_schedule, DowntimeScheduleRecurringScheduleArgs, True) __props__.__dict__["recurring_schedule"] = recurring_schedule if scope is None and not opts.urn: raise TypeError("Missing required property 'scope'") diff --git a/sdk/python/pulumi_datadog/fastly/integration_account.py b/sdk/python/pulumi_datadog/fastly/integration_account.py index 07c0f7d20..89a1aa653 100644 --- a/sdk/python/pulumi_datadog/fastly/integration_account.py +++ b/sdk/python/pulumi_datadog/fastly/integration_account.py @@ -29,9 +29,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - api_key: pulumi.Input[str], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + api_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_key is None: + raise TypeError("Missing 'api_key' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("api_key", api_key) _setter("name", name) @@ -80,7 +88,11 @@ def _configure( _setter: Callable[[Any, Any], None], api_key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_key is not None: _setter("api_key", api_key) if name is not None: @@ -122,17 +134,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.fastly.IntegrationAccount("foo", - api_key="ABCDEFG123", - name="test-name") - ``` - ## Import ```sh @@ -153,17 +154,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationFastlyAccount resource. This can be used to create and manage Datadog integration_fastly_account. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.fastly.IntegrationAccount("foo", - api_key="ABCDEFG123", - name="test-name") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/fastly/integration_service.py b/sdk/python/pulumi_datadog/fastly/integration_service.py index f112dc398..127ad2b6c 100644 --- a/sdk/python/pulumi_datadog/fastly/integration_service.py +++ b/sdk/python/pulumi_datadog/fastly/integration_service.py @@ -32,10 +32,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - service_id: pulumi.Input[str], + service_id: Optional[pulumi.Input[str]] = None, account_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if service_id is None and 'serviceId' in kwargs: + service_id = kwargs['serviceId'] + if service_id is None: + raise TypeError("Missing 'service_id' argument") + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + _setter("service_id", service_id) if account_id is not None: _setter("account_id", account_id) @@ -103,7 +111,13 @@ def _configure( account_id: Optional[pulumi.Input[str]] = None, service_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if service_id is None and 'serviceId' in kwargs: + service_id = kwargs['serviceId'] + if account_id is not None: _setter("account_id", account_id) if service_id is not None: @@ -160,25 +174,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_integration_account = datadog.fastly.IntegrationAccount("fooIntegrationAccount", - api_key="ABCDEFG123", - name="test-name") - # Create new integration_fastly_service resource - foo_integration_service = datadog.fastly.IntegrationService("fooIntegrationService", - account_id=foo_integration_account.id, - tags=[ - "mytag", - "mytag2:myvalue", - ], - service_id="my-service-id") - ``` - ## Import ```sh @@ -200,25 +195,6 @@ def __init__(__self__, """ Provides a Datadog IntegrationFastlyService resource. This can be used to create and manage Datadog integration_fastly_service. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_integration_account = datadog.fastly.IntegrationAccount("fooIntegrationAccount", - api_key="ABCDEFG123", - name="test-name") - # Create new integration_fastly_service resource - foo_integration_service = datadog.fastly.IntegrationService("fooIntegrationService", - account_id=foo_integration_account.id, - tags=[ - "mytag", - "mytag2:myvalue", - ], - service_id="my-service-id") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/gcp/integration.py b/sdk/python/pulumi_datadog/gcp/integration.py index 633c7aa3e..c78ed24de 100644 --- a/sdk/python/pulumi_datadog/gcp/integration.py +++ b/sdk/python/pulumi_datadog/gcp/integration.py @@ -47,15 +47,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - client_email: pulumi.Input[str], - client_id: pulumi.Input[str], - private_key: pulumi.Input[str], - private_key_id: pulumi.Input[str], - project_id: pulumi.Input[str], + client_email: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + private_key_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, automute: Optional[pulumi.Input[bool]] = None, cspm_resource_collection_enabled: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if client_email is None: + raise TypeError("Missing 'client_email' argument") + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_id is None: + raise TypeError("Missing 'client_id' argument") + if private_key is None and 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if private_key is None: + raise TypeError("Missing 'private_key' argument") + if private_key_id is None and 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + if private_key_id is None: + raise TypeError("Missing 'private_key_id' argument") + if project_id is None and 'projectId' in kwargs: + project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if cspm_resource_collection_enabled is None and 'cspmResourceCollectionEnabled' in kwargs: + cspm_resource_collection_enabled = kwargs['cspmResourceCollectionEnabled'] + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + _setter("client_email", client_email) _setter("client_id", client_id) _setter("private_key", private_key) @@ -209,7 +235,23 @@ def _configure( private_key: Optional[pulumi.Input[str]] = None, private_key_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if cspm_resource_collection_enabled is None and 'cspmResourceCollectionEnabled' in kwargs: + cspm_resource_collection_enabled = kwargs['cspmResourceCollectionEnabled'] + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + if private_key is None and 'privateKey' in kwargs: + private_key = kwargs['privateKey'] + if private_key_id is None and 'privateKeyId' in kwargs: + private_key_id = kwargs['privateKeyId'] + if project_id is None and 'projectId' in kwargs: + project_id = kwargs['projectId'] + if automute is not None: _setter("automute", automute) if client_email is not None: diff --git a/sdk/python/pulumi_datadog/gcp/integration_sts.py b/sdk/python/pulumi_datadog/gcp/integration_sts.py index ad75e2224..5375f3284 100644 --- a/sdk/python/pulumi_datadog/gcp/integration_sts.py +++ b/sdk/python/pulumi_datadog/gcp/integration_sts.py @@ -35,11 +35,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - client_email: pulumi.Input[str], + client_email: Optional[pulumi.Input[str]] = None, automute: Optional[pulumi.Input[bool]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if client_email is None: + raise TypeError("Missing 'client_email' argument") + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + if is_cspm_enabled is None and 'isCspmEnabled' in kwargs: + is_cspm_enabled = kwargs['isCspmEnabled'] + _setter("client_email", client_email) if automute is not None: _setter("automute", automute) @@ -129,7 +139,17 @@ def _configure( delegate_account_email: Optional[pulumi.Input[str]] = None, host_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cspm_enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if delegate_account_email is None and 'delegateAccountEmail' in kwargs: + delegate_account_email = kwargs['delegateAccountEmail'] + if host_filters is None and 'hostFilters' in kwargs: + host_filters = kwargs['hostFilters'] + if is_cspm_enabled is None and 'isCspmEnabled' in kwargs: + is_cspm_enabled = kwargs['isCspmEnabled'] + if automute is not None: _setter("automute", automute) if client_email is not None: diff --git a/sdk/python/pulumi_datadog/get_api_key.py b/sdk/python/pulumi_datadog/get_api_key.py index 915b5cea7..437462567 100644 --- a/sdk/python/pulumi_datadog/get_api_key.py +++ b/sdk/python/pulumi_datadog/get_api_key.py @@ -74,15 +74,6 @@ def get_api_key(id: Optional[str] = None, """ Use this data source to retrieve information about an existing api key. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_api_key(name="foo-application") - ``` - :param str id: The ID of this resource. :param str name: Name for API Key. @@ -106,15 +97,6 @@ def get_api_key_output(id: Optional[pulumi.Input[Optional[str]]] = None, """ Use this data source to retrieve information about an existing api key. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_api_key(name="foo-application") - ``` - :param str id: The ID of this resource. :param str name: Name for API Key. diff --git a/sdk/python/pulumi_datadog/get_application_key.py b/sdk/python/pulumi_datadog/get_application_key.py index de6fa12c1..5feefd9dc 100644 --- a/sdk/python/pulumi_datadog/get_application_key.py +++ b/sdk/python/pulumi_datadog/get_application_key.py @@ -74,15 +74,6 @@ def get_application_key(id: Optional[str] = None, """ Use this data source to retrieve information about an existing application key. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_application_key(name="foo-application") - ``` - :param str id: Id for Application Key. :param str name: Name for Application Key. @@ -106,15 +97,6 @@ def get_application_key_output(id: Optional[pulumi.Input[Optional[str]]] = None, """ Use this data source to retrieve information about an existing application key. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_application_key(name="foo-application") - ``` - :param str id: Id for Application Key. :param str name: Name for Application Key. diff --git a/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py b/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py index 1936372ff..fb5d16277 100644 --- a/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py +++ b/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py @@ -60,15 +60,6 @@ def __await__(self): def get_cloud_workload_security_agent_rules(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudWorkloadSecurityAgentRulesResult: """ Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_cloud_workload_security_agent_rules() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -83,14 +74,5 @@ def get_cloud_workload_security_agent_rules(opts: Optional[pulumi.InvokeOptions] def get_cloud_workload_security_agent_rules_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudWorkloadSecurityAgentRulesResult]: """ Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_cloud_workload_security_agent_rules() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_dashboard.py b/sdk/python/pulumi_datadog/get_dashboard.py index 08ef0273d..28f120b30 100644 --- a/sdk/python/pulumi_datadog/get_dashboard.py +++ b/sdk/python/pulumi_datadog/get_dashboard.py @@ -85,15 +85,6 @@ def get_dashboard(name: Optional[str] = None, """ Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_dashboard(name="My super dashboard") - ``` - :param str name: The dashboard name to search for. Must only match one dashboard. """ @@ -115,15 +106,6 @@ def get_dashboard_output(name: Optional[pulumi.Input[str]] = None, """ Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_dashboard(name="My super dashboard") - ``` - :param str name: The dashboard name to search for. Must only match one dashboard. """ diff --git a/sdk/python/pulumi_datadog/get_dashboard_list.py b/sdk/python/pulumi_datadog/get_dashboard_list.py index aa5049b99..242bf523d 100644 --- a/sdk/python/pulumi_datadog/get_dashboard_list.py +++ b/sdk/python/pulumi_datadog/get_dashboard_list.py @@ -61,30 +61,6 @@ def get_dashboard_list(name: Optional[str] = None, """ Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_dashboard_list(name="My super list") - # Create a dashboard and register it in the list above. - time = datadog.Dashboard("time", - dashboard_lists=[test.id], - description="Created using the Datadog provider in Terraform", - is_read_only=True, - layout_type="ordered", - title="TF Test Layout Dashboard", - widgets=[datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="1234", - live_span="1h", - title="Widget Title", - viz_type="timeseries", - ), - )]) - ``` - :param str name: A dashboard list name to limit the search. """ @@ -104,30 +80,6 @@ def get_dashboard_list_output(name: Optional[pulumi.Input[str]] = None, """ Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_dashboard_list(name="My super list") - # Create a dashboard and register it in the list above. - time = datadog.Dashboard("time", - dashboard_lists=[test.id], - description="Created using the Datadog provider in Terraform", - is_read_only=True, - layout_type="ordered", - title="TF Test Layout Dashboard", - widgets=[datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="1234", - live_span="1h", - title="Widget Title", - viz_type="timeseries", - ), - )]) - ``` - :param str name: A dashboard list name to limit the search. """ diff --git a/sdk/python/pulumi_datadog/get_ip_ranges.py b/sdk/python/pulumi_datadog/get_ip_ranges.py index e4cd18ed5..0b6f06c03 100644 --- a/sdk/python/pulumi_datadog/get_ip_ranges.py +++ b/sdk/python/pulumi_datadog/get_ip_ranges.py @@ -263,15 +263,6 @@ def __await__(self): def get_ip_ranges(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpRangesResult: """ Use this data source to retrieve information about Datadog's IP addresses. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_ip_ranges() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -303,14 +294,5 @@ def get_ip_ranges(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIp def get_ip_ranges_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpRangesResult]: """ Use this data source to retrieve information about Datadog's IP addresses. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_ip_ranges() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_logs_indexes.py b/sdk/python/pulumi_datadog/get_logs_indexes.py index 48d9f2ee4..6555fe06f 100644 --- a/sdk/python/pulumi_datadog/get_logs_indexes.py +++ b/sdk/python/pulumi_datadog/get_logs_indexes.py @@ -60,15 +60,6 @@ def __await__(self): def get_logs_indexes(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogsIndexesResult: """ Use this data source to list several existing logs indexes for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_logs_indexes() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -83,14 +74,5 @@ def get_logs_indexes(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe def get_logs_indexes_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsIndexesResult]: """ Use this data source to list several existing logs indexes for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_logs_indexes() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_logs_indexes_order.py b/sdk/python/pulumi_datadog/get_logs_indexes_order.py index b2c21a76a..5207c7f51 100644 --- a/sdk/python/pulumi_datadog/get_logs_indexes_order.py +++ b/sdk/python/pulumi_datadog/get_logs_indexes_order.py @@ -59,15 +59,6 @@ def __await__(self): def get_logs_indexes_order(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogsIndexesOrderResult: """ Get the current order of your log indexes. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_logs_indexes_order() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -82,14 +73,5 @@ def get_logs_indexes_order(opts: Optional[pulumi.InvokeOptions] = None) -> Await def get_logs_indexes_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsIndexesOrderResult]: """ Get the current order of your log indexes. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_logs_indexes_order() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_logs_pipelines.py b/sdk/python/pulumi_datadog/get_logs_pipelines.py index 77f5c1f5f..99b519c3b 100644 --- a/sdk/python/pulumi_datadog/get_logs_pipelines.py +++ b/sdk/python/pulumi_datadog/get_logs_pipelines.py @@ -73,19 +73,6 @@ def get_logs_pipelines(is_read_only: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogsPipelinesResult: """ Use this data source to list all existing logs pipelines for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - pipelines = datadog.get_logs_pipelines() - # Using data source to set pipeline order - lpo = datadog.LogsPipelineOrder("lpo", - name="lpo", - pipelines=[pipeline.id for pipeline in pipelines.logs_pipelines]) - ``` """ __args__ = dict() __args__['isReadOnly'] = is_read_only @@ -103,18 +90,5 @@ def get_logs_pipelines_output(is_read_only: Optional[pulumi.Input[Optional[str]] opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsPipelinesResult]: """ Use this data source to list all existing logs pipelines for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - pipelines = datadog.get_logs_pipelines() - # Using data source to set pipeline order - lpo = datadog.LogsPipelineOrder("lpo", - name="lpo", - pipelines=[pipeline.id for pipeline in pipelines.logs_pipelines]) - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_monitor.py b/sdk/python/pulumi_datadog/get_monitor.py index 4b764da5a..f431992a3 100644 --- a/sdk/python/pulumi_datadog/get_monitor.py +++ b/sdk/python/pulumi_datadog/get_monitor.py @@ -445,16 +445,6 @@ def get_monitor(monitor_tags_filters: Optional[Sequence[str]] = None, """ Use this data source to retrieve information about an existing monitor for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_monitor(monitor_tags_filters=["foo:bar"], - name_filter="My awesome monitor") - ``` - :param Sequence[str] monitor_tags_filters: A list of monitor tags to limit the search. This filters on the tags set on the monitor itself. :param str name_filter: A monitor name to limit the search. @@ -512,16 +502,6 @@ def get_monitor_output(monitor_tags_filters: Optional[pulumi.Input[Optional[Sequ """ Use this data source to retrieve information about an existing monitor for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_monitor(monitor_tags_filters=["foo:bar"], - name_filter="My awesome monitor") - ``` - :param Sequence[str] monitor_tags_filters: A list of monitor tags to limit the search. This filters on the tags set on the monitor itself. :param str name_filter: A monitor name to limit the search. diff --git a/sdk/python/pulumi_datadog/get_monitor_config_policies.py b/sdk/python/pulumi_datadog/get_monitor_config_policies.py index e8ae93379..9d2c9b2dd 100644 --- a/sdk/python/pulumi_datadog/get_monitor_config_policies.py +++ b/sdk/python/pulumi_datadog/get_monitor_config_policies.py @@ -60,15 +60,6 @@ def __await__(self): def get_monitor_config_policies(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMonitorConfigPoliciesResult: """ Use this data source to list existing monitor config policies for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_monitor_config_policies() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -83,14 +74,5 @@ def get_monitor_config_policies(opts: Optional[pulumi.InvokeOptions] = None) -> def get_monitor_config_policies_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorConfigPoliciesResult]: """ Use this data source to list existing monitor config policies for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_monitor_config_policies() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_permissions.py b/sdk/python/pulumi_datadog/get_permissions.py index 18901c1b4..c046cbfd7 100644 --- a/sdk/python/pulumi_datadog/get_permissions.py +++ b/sdk/python/pulumi_datadog/get_permissions.py @@ -73,15 +73,6 @@ def get_permissions(include_restricted: Optional[bool] = None, """ Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - permissions = datadog.get_permissions() - ``` - :param bool include_restricted: Whether to include restricted permissions. Restricted permissions are granted by default to all users of a Datadog org, and cannot be manually granted or revoked. """ @@ -102,15 +93,6 @@ def get_permissions_output(include_restricted: Optional[pulumi.Input[Optional[bo """ Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - permissions = datadog.get_permissions() - ``` - :param bool include_restricted: Whether to include restricted permissions. Restricted permissions are granted by default to all users of a Datadog org, and cannot be manually granted or revoked. """ diff --git a/sdk/python/pulumi_datadog/get_role.py b/sdk/python/pulumi_datadog/get_role.py index 2e76440ed..3772f0403 100644 --- a/sdk/python/pulumi_datadog/get_role.py +++ b/sdk/python/pulumi_datadog/get_role.py @@ -85,15 +85,6 @@ def get_role(filter: Optional[str] = None, """ Use this data source to retrieve information about an existing role for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_role(filter="Datadog Standard Role") - ``` - :param str filter: A string on which to filter the roles. """ @@ -115,15 +106,6 @@ def get_role_output(filter: Optional[pulumi.Input[str]] = None, """ Use this data source to retrieve information about an existing role for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_role(filter="Datadog Standard Role") - ``` - :param str filter: A string on which to filter the roles. """ diff --git a/sdk/python/pulumi_datadog/get_roles.py b/sdk/python/pulumi_datadog/get_roles.py index 863fd8a67..0bfa16e28 100644 --- a/sdk/python/pulumi_datadog/get_roles.py +++ b/sdk/python/pulumi_datadog/get_roles.py @@ -74,15 +74,6 @@ def get_roles(filter: Optional[str] = None, """ Use this data source to retrieve information about multiple roles for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_roles(filter="Datadog") - ``` - :param str filter: Filter all roles by the given string. """ @@ -103,15 +94,6 @@ def get_roles_output(filter: Optional[pulumi.Input[Optional[str]]] = None, """ Use this data source to retrieve information about multiple roles for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_roles(filter="Datadog") - ``` - :param str filter: Filter all roles by the given string. """ diff --git a/sdk/python/pulumi_datadog/get_security_monitoring_filters.py b/sdk/python/pulumi_datadog/get_security_monitoring_filters.py index 9d655e38f..27006b265 100644 --- a/sdk/python/pulumi_datadog/get_security_monitoring_filters.py +++ b/sdk/python/pulumi_datadog/get_security_monitoring_filters.py @@ -72,15 +72,6 @@ def __await__(self): def get_security_monitoring_filters(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityMonitoringFiltersResult: """ Use this data source to retrieve information about existing security monitoring filters for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_security_monitoring_filters() - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -96,14 +87,5 @@ def get_security_monitoring_filters(opts: Optional[pulumi.InvokeOptions] = None) def get_security_monitoring_filters_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityMonitoringFiltersResult]: """ Use this data source to retrieve information about existing security monitoring filters for use in other resources. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_security_monitoring_filters() - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_security_monitoring_rules.py b/sdk/python/pulumi_datadog/get_security_monitoring_rules.py index cb888b0f7..961d8de45 100644 --- a/sdk/python/pulumi_datadog/get_security_monitoring_rules.py +++ b/sdk/python/pulumi_datadog/get_security_monitoring_rules.py @@ -125,17 +125,6 @@ def get_security_monitoring_rules(default_only_filter: Optional[bool] = None, """ Use this data source to retrieve information about existing security monitoring rules for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_security_monitoring_rules(default_only_filter=True, - name_filter="attack", - tags_filters=["foo:bar"]) - ``` - :param bool default_only_filter: Limit the search to default rules :param str name_filter: A rule name to limit the search @@ -169,17 +158,6 @@ def get_security_monitoring_rules_output(default_only_filter: Optional[pulumi.In """ Use this data source to retrieve information about existing security monitoring rules for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_security_monitoring_rules(default_only_filter=True, - name_filter="attack", - tags_filters=["foo:bar"]) - ``` - :param bool default_only_filter: Limit the search to default rules :param str name_filter: A rule name to limit the search diff --git a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py index cffa8e918..504286065 100644 --- a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py +++ b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py @@ -59,16 +59,6 @@ def __await__(self): def get_sensitive_data_scanner_group_order(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSensitiveDataScannerGroupOrderResult: """ Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_sensitive_data_scanner_group_order() - foobar = datadog.SensitiveDataScannerGroupOrder("foobar", group_ids=foo.group_ids) - ``` """ __args__ = dict() opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -83,15 +73,5 @@ def get_sensitive_data_scanner_group_order(opts: Optional[pulumi.InvokeOptions] def get_sensitive_data_scanner_group_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSensitiveDataScannerGroupOrderResult]: """ Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_sensitive_data_scanner_group_order() - foobar = datadog.SensitiveDataScannerGroupOrder("foobar", group_ids=foo.group_ids) - ``` """ ... diff --git a/sdk/python/pulumi_datadog/get_service_level_objective.py b/sdk/python/pulumi_datadog/get_service_level_objective.py index 93eda9800..31c4d88e4 100644 --- a/sdk/python/pulumi_datadog/get_service_level_objective.py +++ b/sdk/python/pulumi_datadog/get_service_level_objective.py @@ -173,17 +173,6 @@ def get_service_level_objective(id: Optional[str] = None, """ Use this data source to retrieve information about an existing SLO for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_service_level_objective(name_query="My test SLO", - tags_query="foo:bar") - api_slo = datadog.get_service_level_objective(id=data["terraform_remote_state"]["api"]["outputs"]["slo"]) - ``` - :param str id: A SLO ID to limit the search. :param str metrics_query: Filter results based on SLO numerator and denominator. @@ -221,17 +210,6 @@ def get_service_level_objective_output(id: Optional[pulumi.Input[Optional[str]]] """ Use this data source to retrieve information about an existing SLO for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_service_level_objective(name_query="My test SLO", - tags_query="foo:bar") - api_slo = datadog.get_service_level_objective(id=data["terraform_remote_state"]["api"]["outputs"]["slo"]) - ``` - :param str id: A SLO ID to limit the search. :param str metrics_query: Filter results based on SLO numerator and denominator. diff --git a/sdk/python/pulumi_datadog/get_service_level_objectives.py b/sdk/python/pulumi_datadog/get_service_level_objectives.py index 85bec5f64..cf5fee564 100644 --- a/sdk/python/pulumi_datadog/get_service_level_objectives.py +++ b/sdk/python/pulumi_datadog/get_service_level_objectives.py @@ -113,15 +113,6 @@ def get_service_level_objectives(ids: Optional[Sequence[str]] = None, """ Use this data source to retrieve information about multiple SLOs for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ft_foo_slos = datadog.get_service_level_objectives(tags_query="owner:ft-foo") - ``` - :param Sequence[str] ids: An array of SLO IDs to limit the search. :param str metrics_query: Filter results based on SLO numerator and denominator. @@ -154,15 +145,6 @@ def get_service_level_objectives_output(ids: Optional[pulumi.Input[Optional[Sequ """ Use this data source to retrieve information about multiple SLOs for use in other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ft_foo_slos = datadog.get_service_level_objectives(tags_query="owner:ft-foo") - ``` - :param Sequence[str] ids: An array of SLO IDs to limit the search. :param str metrics_query: Filter results based on SLO numerator and denominator. diff --git a/sdk/python/pulumi_datadog/get_team.py b/sdk/python/pulumi_datadog/get_team.py index 44ae8052e..a9c840e20 100644 --- a/sdk/python/pulumi_datadog/get_team.py +++ b/sdk/python/pulumi_datadog/get_team.py @@ -146,15 +146,6 @@ def get_team(filter_keyword: Optional[str] = None, """ Use this data source to retrieve information about an existing Datadog team. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_team(team_id="e6723c40-edb1-11ed-b816-da7ad0900002") - ``` - :param str filter_keyword: Search query. Can be team name, team handle, or email of team member. :param str team_id: The team's identifier. @@ -184,15 +175,6 @@ def get_team_output(filter_keyword: Optional[pulumi.Input[Optional[str]]] = None """ Use this data source to retrieve information about an existing Datadog team. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_team(team_id="e6723c40-edb1-11ed-b816-da7ad0900002") - ``` - :param str filter_keyword: Search query. Can be team name, team handle, or email of team member. :param str team_id: The team's identifier. diff --git a/sdk/python/pulumi_datadog/get_team_memberships.py b/sdk/python/pulumi_datadog/get_team_memberships.py index c104dc304..e0b5136a9 100644 --- a/sdk/python/pulumi_datadog/get_team_memberships.py +++ b/sdk/python/pulumi_datadog/get_team_memberships.py @@ -87,16 +87,6 @@ def get_team_memberships(filter_keyword: Optional[str] = None, """ Use this data source to retrieve information about existing Datadog team memberships. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_team_memberships(filter_keyword="foo@example.com", - team_id="e6723c40-edb1-11ed-b816-da7ad0900002") - ``` - :param str filter_keyword: Search query, can be user email or name. """ @@ -120,16 +110,6 @@ def get_team_memberships_output(filter_keyword: Optional[pulumi.Input[Optional[s """ Use this data source to retrieve information about existing Datadog team memberships. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.get_team_memberships(filter_keyword="foo@example.com", - team_id="e6723c40-edb1-11ed-b816-da7ad0900002") - ``` - :param str filter_keyword: Search query, can be user email or name. """ diff --git a/sdk/python/pulumi_datadog/get_user.py b/sdk/python/pulumi_datadog/get_user.py index 301337255..22687cda0 100644 --- a/sdk/python/pulumi_datadog/get_user.py +++ b/sdk/python/pulumi_datadog/get_user.py @@ -98,15 +98,6 @@ def get_user(exact_match: Optional[bool] = None, """ Use this data source to retrieve information about an existing user to use it in an other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_user(filter="user.name@company.com") - ``` - :param bool exact_match: When true, `filter` string is exact matched against the user's `email`, followed by `name` attribute. :param str filter: Filter all users by the given string. @@ -132,15 +123,6 @@ def get_user_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, """ Use this data source to retrieve information about an existing user to use it in an other resources. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.get_user(filter="user.name@company.com") - ``` - :param bool exact_match: When true, `filter` string is exact matched against the user's `email`, followed by `name` attribute. :param str filter: Filter all users by the given string. diff --git a/sdk/python/pulumi_datadog/ip_allowlist.py b/sdk/python/pulumi_datadog/ip_allowlist.py index 894fd0d93..2e1d545dc 100644 --- a/sdk/python/pulumi_datadog/ip_allowlist.py +++ b/sdk/python/pulumi_datadog/ip_allowlist.py @@ -31,9 +31,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: pulumi.Input[bool], + enabled: Optional[pulumi.Input[bool]] = None, entries: Optional[pulumi.Input[Sequence[pulumi.Input['IpAllowlistEntryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") + _setter("enabled", enabled) if entries is not None: _setter("entries", entries) @@ -83,7 +87,9 @@ def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[pulumi.Input[bool]] = None, entries: Optional[pulumi.Input[Sequence[pulumi.Input['IpAllowlistEntryArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) if entries is not None: diff --git a/sdk/python/pulumi_datadog/logs_archive.py b/sdk/python/pulumi_datadog/logs_archive.py index 7e3e14663..a8d1dec5d 100644 --- a/sdk/python/pulumi_datadog/logs_archive.py +++ b/sdk/python/pulumi_datadog/logs_archive.py @@ -49,15 +49,33 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - query: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, azure_archive: Optional[pulumi.Input['LogsArchiveAzureArchiveArgs']] = None, gcs_archive: Optional[pulumi.Input['LogsArchiveGcsArchiveArgs']] = None, include_tags: Optional[pulumi.Input[bool]] = None, rehydration_max_scan_size_in_gb: Optional[pulumi.Input[int]] = None, rehydration_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, s3_archive: Optional[pulumi.Input['LogsArchiveS3ArchiveArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if azure_archive is None and 'azureArchive' in kwargs: + azure_archive = kwargs['azureArchive'] + if gcs_archive is None and 'gcsArchive' in kwargs: + gcs_archive = kwargs['gcsArchive'] + if include_tags is None and 'includeTags' in kwargs: + include_tags = kwargs['includeTags'] + if rehydration_max_scan_size_in_gb is None and 'rehydrationMaxScanSizeInGb' in kwargs: + rehydration_max_scan_size_in_gb = kwargs['rehydrationMaxScanSizeInGb'] + if rehydration_tags is None and 'rehydrationTags' in kwargs: + rehydration_tags = kwargs['rehydrationTags'] + if s3_archive is None and 's3Archive' in kwargs: + s3_archive = kwargs['s3Archive'] + _setter("name", name) _setter("query", query) if azure_archive is not None: @@ -214,7 +232,21 @@ def _configure( rehydration_max_scan_size_in_gb: Optional[pulumi.Input[int]] = None, rehydration_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, s3_archive: Optional[pulumi.Input['LogsArchiveS3ArchiveArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if azure_archive is None and 'azureArchive' in kwargs: + azure_archive = kwargs['azureArchive'] + if gcs_archive is None and 'gcsArchive' in kwargs: + gcs_archive = kwargs['gcsArchive'] + if include_tags is None and 'includeTags' in kwargs: + include_tags = kwargs['includeTags'] + if rehydration_max_scan_size_in_gb is None and 'rehydrationMaxScanSizeInGb' in kwargs: + rehydration_max_scan_size_in_gb = kwargs['rehydrationMaxScanSizeInGb'] + if rehydration_tags is None and 'rehydrationTags' in kwargs: + rehydration_tags = kwargs['rehydrationTags'] + if s3_archive is None and 's3Archive' in kwargs: + s3_archive = kwargs['s3Archive'] + if azure_archive is not None: _setter("azure_archive", azure_archive) if gcs_archive is not None: @@ -346,23 +378,6 @@ def __init__(__self__, """ Provides a Datadog Logs Archive API resource, which is used to create and manage Datadog logs archives. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_s3_archive = datadog.LogsArchive("myS3Archive", - name="my s3 archive", - query="service:myservice", - s3_archive=datadog.LogsArchiveS3ArchiveArgs( - account_id="001234567888", - bucket="my-bucket", - path="/path/foo", - role_name="my-role-name", - )) - ``` - ## Import ```sh @@ -389,23 +404,6 @@ def __init__(__self__, """ Provides a Datadog Logs Archive API resource, which is used to create and manage Datadog logs archives. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_s3_archive = datadog.LogsArchive("myS3Archive", - name="my s3 archive", - query="service:myservice", - s3_archive=datadog.LogsArchiveS3ArchiveArgs( - account_id="001234567888", - bucket="my-bucket", - path="/path/foo", - role_name="my-role-name", - )) - ``` - ## Import ```sh @@ -448,17 +446,9 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = LogsArchiveArgs.__new__(LogsArchiveArgs) - if azure_archive is not None and not isinstance(azure_archive, LogsArchiveAzureArchiveArgs): - azure_archive = azure_archive or {} - def _setter(key, value): - azure_archive[key] = value - LogsArchiveAzureArchiveArgs._configure(_setter, **azure_archive) + azure_archive = _utilities.configure(azure_archive, LogsArchiveAzureArchiveArgs, True) __props__.__dict__["azure_archive"] = azure_archive - if gcs_archive is not None and not isinstance(gcs_archive, LogsArchiveGcsArchiveArgs): - gcs_archive = gcs_archive or {} - def _setter(key, value): - gcs_archive[key] = value - LogsArchiveGcsArchiveArgs._configure(_setter, **gcs_archive) + gcs_archive = _utilities.configure(gcs_archive, LogsArchiveGcsArchiveArgs, True) __props__.__dict__["gcs_archive"] = gcs_archive __props__.__dict__["include_tags"] = include_tags if name is None and not opts.urn: @@ -469,11 +459,7 @@ def _setter(key, value): __props__.__dict__["query"] = query __props__.__dict__["rehydration_max_scan_size_in_gb"] = rehydration_max_scan_size_in_gb __props__.__dict__["rehydration_tags"] = rehydration_tags - if s3_archive is not None and not isinstance(s3_archive, LogsArchiveS3ArchiveArgs): - s3_archive = s3_archive or {} - def _setter(key, value): - s3_archive[key] = value - LogsArchiveS3ArchiveArgs._configure(_setter, **s3_archive) + s3_archive = _utilities.configure(s3_archive, LogsArchiveS3ArchiveArgs, True) __props__.__dict__["s3_archive"] = s3_archive super(LogsArchive, __self__).__init__( 'datadog:index/logsArchive:LogsArchive', diff --git a/sdk/python/pulumi_datadog/logs_archive_order.py b/sdk/python/pulumi_datadog/logs_archive_order.py index 4ab3dc99b..d2d52abb4 100644 --- a/sdk/python/pulumi_datadog/logs_archive_order.py +++ b/sdk/python/pulumi_datadog/logs_archive_order.py @@ -27,7 +27,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], archive_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if archive_ids is None and 'archiveIds' in kwargs: + archive_ids = kwargs['archiveIds'] + if archive_ids is not None: _setter("archive_ids", archive_ids) @@ -60,7 +64,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], archive_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if archive_ids is None and 'archiveIds' in kwargs: + archive_ids = kwargs['archiveIds'] + if archive_ids is not None: _setter("archive_ids", archive_ids) @@ -87,18 +95,6 @@ def __init__(__self__, """ Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_archive_order = datadog.LogsArchiveOrder("sampleArchiveOrder", archive_ids=[ - datadog_logs_archive["sample_archive_1"]["id"], - datadog_logs_archive["sample_archive_2"]["id"], - ]) - ``` - ## Import There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order. @@ -120,18 +116,6 @@ def __init__(__self__, """ Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_archive_order = datadog.LogsArchiveOrder("sampleArchiveOrder", archive_ids=[ - datadog_logs_archive["sample_archive_1"]["id"], - datadog_logs_archive["sample_archive_2"]["id"], - ]) - ``` - ## Import There must be at most one datadog_logs_archive_order resource. You can import the datadog_logs_archive_order or create an archive order. diff --git a/sdk/python/pulumi_datadog/logs_custom_pipeline.py b/sdk/python/pulumi_datadog/logs_custom_pipeline.py index f14177097..c89a04b66 100644 --- a/sdk/python/pulumi_datadog/logs_custom_pipeline.py +++ b/sdk/python/pulumi_datadog/logs_custom_pipeline.py @@ -35,11 +35,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineFilterArgs']]], - name: pulumi.Input[str], + filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineFilterArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, processors: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("filters", filters) _setter("name", name) if is_enabled is not None: @@ -116,7 +124,11 @@ def _configure( is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, processors: Optional[pulumi.Input[Sequence[pulumi.Input['LogsCustomPipelineProcessorArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if filters is not None: _setter("filters", filters) if is_enabled is not None: diff --git a/sdk/python/pulumi_datadog/logs_index.py b/sdk/python/pulumi_datadog/logs_index.py index 6ca0161b4..52a263d3e 100644 --- a/sdk/python/pulumi_datadog/logs_index.py +++ b/sdk/python/pulumi_datadog/logs_index.py @@ -43,13 +43,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]], - name: pulumi.Input[str], + filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, daily_limit: Optional[pulumi.Input[int]] = None, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]]] = None, retention_days: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if daily_limit is None and 'dailyLimit' in kwargs: + daily_limit = kwargs['dailyLimit'] + if disable_daily_limit is None and 'disableDailyLimit' in kwargs: + disable_daily_limit = kwargs['disableDailyLimit'] + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if retention_days is None and 'retentionDays' in kwargs: + retention_days = kwargs['retentionDays'] + _setter("filters", filters) _setter("name", name) if daily_limit is not None: @@ -170,7 +184,17 @@ def _configure( filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, retention_days: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if daily_limit is None and 'dailyLimit' in kwargs: + daily_limit = kwargs['dailyLimit'] + if disable_daily_limit is None and 'disableDailyLimit' in kwargs: + disable_daily_limit = kwargs['disableDailyLimit'] + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if retention_days is None and 'retentionDays' in kwargs: + retention_days = kwargs['retentionDays'] + if daily_limit is not None: _setter("daily_limit", daily_limit) if disable_daily_limit is not None: @@ -270,39 +294,6 @@ def __init__(__self__, retention_days: Optional[pulumi.Input[int]] = None, __props__=None): """ - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_index = datadog.LogsIndex("sampleIndex", - daily_limit=200000, - exclusion_filters=[ - datadog.LogsIndexExclusionFilterArgs( - filters=[datadog.LogsIndexExclusionFilterFilterArgs( - query="app:coredns", - sample_rate=0.97, - )], - is_enabled=True, - name="Filter coredns logs", - ), - datadog.LogsIndexExclusionFilterArgs( - filters=[datadog.LogsIndexExclusionFilterFilterArgs( - query="service:kube_apiserver", - sample_rate=1, - )], - is_enabled=True, - name="Kubernetes apiserver", - ), - ], - filters=[datadog.LogsIndexFilterArgs( - query="*", - )], - name="your index", - retention_days=7) - ``` - ## Import ```sh @@ -325,39 +316,6 @@ def __init__(__self__, args: LogsIndexArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_index = datadog.LogsIndex("sampleIndex", - daily_limit=200000, - exclusion_filters=[ - datadog.LogsIndexExclusionFilterArgs( - filters=[datadog.LogsIndexExclusionFilterFilterArgs( - query="app:coredns", - sample_rate=0.97, - )], - is_enabled=True, - name="Filter coredns logs", - ), - datadog.LogsIndexExclusionFilterArgs( - filters=[datadog.LogsIndexExclusionFilterFilterArgs( - query="service:kube_apiserver", - sample_rate=1, - )], - is_enabled=True, - name="Kubernetes apiserver", - ), - ], - filters=[datadog.LogsIndexFilterArgs( - query="*", - )], - name="your index", - retention_days=7) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/logs_index_order.py b/sdk/python/pulumi_datadog/logs_index_order.py index fd81630b4..fb5f57c38 100644 --- a/sdk/python/pulumi_datadog/logs_index_order.py +++ b/sdk/python/pulumi_datadog/logs_index_order.py @@ -29,9 +29,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - indexes: pulumi.Input[Sequence[pulumi.Input[str]]], + indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if indexes is None: + raise TypeError("Missing 'indexes' argument") + _setter("indexes", indexes) if name is not None: _setter("name", name) @@ -81,7 +85,9 @@ def _configure( _setter: Callable[[Any, Any], None], indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if indexes is not None: _setter("indexes", indexes) if name is not None: @@ -123,17 +129,6 @@ def __init__(__self__, """ Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_index_order = datadog.LogsIndexOrder("sampleIndexOrder", - name="sample_index_order", - indexes=[datadog_logs_index["sample_index"]["id"]]) - ``` - ## Import The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource `` can be whatever you specify in your code. Datadog does not store the name on the server. @@ -156,17 +151,6 @@ def __init__(__self__, """ Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_index_order = datadog.LogsIndexOrder("sampleIndexOrder", - name="sample_index_order", - indexes=[datadog_logs_index["sample_index"]["id"]]) - ``` - ## Import The Datadog Terraform Provider does not support the creation and deletion of index orders. There must be at most one `datadog_logs_index_order` resource `` can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/python/pulumi_datadog/logs_integration_pipeline.py b/sdk/python/pulumi_datadog/logs_integration_pipeline.py index de52aafa5..aba033150 100644 --- a/sdk/python/pulumi_datadog/logs_integration_pipeline.py +++ b/sdk/python/pulumi_datadog/logs_integration_pipeline.py @@ -27,7 +27,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -60,7 +64,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], is_enabled: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -87,15 +95,6 @@ def __init__(__self__, """ Provides a Datadog Logs Pipeline API resource to manage the integrations. Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don't need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your `LogsPipelineOrder` resource. If you don't need the `pipeline_order` feature, this resource declaration can be omitted. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - python = datadog.LogsIntegrationPipeline("python", is_enabled=True) - ``` - ## Import To find the pipeline ID, click the "view" button in the UI to open the pipeline details. The pipeline ID is the last part of the URL. @@ -117,15 +116,6 @@ def __init__(__self__, """ Provides a Datadog Logs Pipeline API resource to manage the integrations. Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don't need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your `LogsPipelineOrder` resource. If you don't need the `pipeline_order` feature, this resource declaration can be omitted. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - python = datadog.LogsIntegrationPipeline("python", is_enabled=True) - ``` - ## Import To find the pipeline ID, click the "view" button in the UI to open the pipeline details. The pipeline ID is the last part of the URL. diff --git a/sdk/python/pulumi_datadog/logs_metric.py b/sdk/python/pulumi_datadog/logs_metric.py index 12cfea159..25a6d9267 100644 --- a/sdk/python/pulumi_datadog/logs_metric.py +++ b/sdk/python/pulumi_datadog/logs_metric.py @@ -37,11 +37,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - compute: pulumi.Input['LogsMetricComputeArgs'], - filter: pulumi.Input['LogsMetricFilterArgs'], - name: pulumi.Input[str], + compute: Optional[pulumi.Input['LogsMetricComputeArgs']] = None, + filter: Optional[pulumi.Input['LogsMetricFilterArgs']] = None, + name: Optional[pulumi.Input[str]] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['LogsMetricGroupByArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if compute is None: + raise TypeError("Missing 'compute' argument") + if filter is None: + raise TypeError("Missing 'filter' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("compute", compute) _setter("filter", filter) _setter("name", name) @@ -125,7 +135,11 @@ def _configure( filter: Optional[pulumi.Input['LogsMetricFilterArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['LogsMetricGroupByArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if compute is not None: _setter("compute", compute) if filter is not None: @@ -197,33 +211,6 @@ def __init__(__self__, """ Resource for interacting with the logs_metric API - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - testing_logs_metric = datadog.LogsMetric("testingLogsMetric", - compute=datadog.LogsMetricComputeArgs( - aggregation_type="distribution", - path="@duration", - ), - filter=datadog.LogsMetricFilterArgs( - query="service:test", - ), - group_bies=[ - datadog.LogsMetricGroupByArgs( - path="@status", - tag_name="status", - ), - datadog.LogsMetricGroupByArgs( - path="@version", - tag_name="version", - ), - ], - name="testing.logs.metric") - ``` - ## Import ```sh @@ -246,33 +233,6 @@ def __init__(__self__, """ Resource for interacting with the logs_metric API - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - testing_logs_metric = datadog.LogsMetric("testingLogsMetric", - compute=datadog.LogsMetricComputeArgs( - aggregation_type="distribution", - path="@duration", - ), - filter=datadog.LogsMetricFilterArgs( - query="service:test", - ), - group_bies=[ - datadog.LogsMetricGroupByArgs( - path="@status", - tag_name="status", - ), - datadog.LogsMetricGroupByArgs( - path="@version", - tag_name="version", - ), - ], - name="testing.logs.metric") - ``` - ## Import ```sh @@ -311,19 +271,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = LogsMetricArgs.__new__(LogsMetricArgs) - if compute is not None and not isinstance(compute, LogsMetricComputeArgs): - compute = compute or {} - def _setter(key, value): - compute[key] = value - LogsMetricComputeArgs._configure(_setter, **compute) + compute = _utilities.configure(compute, LogsMetricComputeArgs, True) if compute is None and not opts.urn: raise TypeError("Missing required property 'compute'") __props__.__dict__["compute"] = compute - if filter is not None and not isinstance(filter, LogsMetricFilterArgs): - filter = filter or {} - def _setter(key, value): - filter[key] = value - LogsMetricFilterArgs._configure(_setter, **filter) + filter = _utilities.configure(filter, LogsMetricFilterArgs, True) if filter is None and not opts.urn: raise TypeError("Missing required property 'filter'") __props__.__dict__["filter"] = filter diff --git a/sdk/python/pulumi_datadog/logs_pipeline_order.py b/sdk/python/pulumi_datadog/logs_pipeline_order.py index 4648034d2..516006f6d 100644 --- a/sdk/python/pulumi_datadog/logs_pipeline_order.py +++ b/sdk/python/pulumi_datadog/logs_pipeline_order.py @@ -29,9 +29,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - pipelines: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + pipelines: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if pipelines is None: + raise TypeError("Missing 'pipelines' argument") + _setter("name", name) _setter("pipelines", pipelines) @@ -80,7 +86,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: Optional[pulumi.Input[str]] = None, pipelines: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is not None: _setter("name", name) if pipelines is not None: @@ -122,20 +130,6 @@ def __init__(__self__, """ Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_pipeline_order = datadog.LogsPipelineOrder("samplePipelineOrder", - name="sample_pipeline_order", - pipelines=[ - datadog_logs_custom_pipeline["sample_pipeline"]["id"], - datadog_logs_integration_pipeline["python"]["id"], - ]) - ``` - ## Import There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation). @@ -158,20 +152,6 @@ def __init__(__self__, """ Provides a Datadog Logs Pipeline API resource, which is used to manage Datadog log pipelines order. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - sample_pipeline_order = datadog.LogsPipelineOrder("samplePipelineOrder", - name="sample_pipeline_order", - pipelines=[ - datadog_logs_custom_pipeline["sample_pipeline"]["id"], - datadog_logs_integration_pipeline["python"]["id"], - ]) - ``` - ## Import There must be at most one datadog_logs_pipeline_order resource. Pipeline order creation is not supported from logs config API. You can import the datadog_logs_pipeline_order or create a pipeline order (which is actually doing the update operation). diff --git a/sdk/python/pulumi_datadog/metric_metadata.py b/sdk/python/pulumi_datadog/metric_metadata.py index 6ec468f5d..580a70898 100644 --- a/sdk/python/pulumi_datadog/metric_metadata.py +++ b/sdk/python/pulumi_datadog/metric_metadata.py @@ -44,14 +44,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: pulumi.Input[str], + metric: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, per_unit: Optional[pulumi.Input[str]] = None, short_name: Optional[pulumi.Input[str]] = None, statsd_interval: Optional[pulumi.Input[int]] = None, type: Optional[pulumi.Input[str]] = None, unit: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if per_unit is None and 'perUnit' in kwargs: + per_unit = kwargs['perUnit'] + if short_name is None and 'shortName' in kwargs: + short_name = kwargs['shortName'] + if statsd_interval is None and 'statsdInterval' in kwargs: + statsd_interval = kwargs['statsdInterval'] + _setter("metric", metric) if description is not None: _setter("description", description) @@ -191,7 +201,15 @@ def _configure( statsd_interval: Optional[pulumi.Input[int]] = None, type: Optional[pulumi.Input[str]] = None, unit: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if per_unit is None and 'perUnit' in kwargs: + per_unit = kwargs['perUnit'] + if short_name is None and 'shortName' in kwargs: + short_name = kwargs['shortName'] + if statsd_interval is None and 'statsdInterval' in kwargs: + statsd_interval = kwargs['statsdInterval'] + if description is not None: _setter("description", description) if metric is not None: @@ -308,21 +326,6 @@ def __init__(__self__, """ Provides a Datadog metric_metadata resource. This can be used to manage a metric's metadata. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage a Datadog metric's metadata - request_time = datadog.MetricMetadata("requestTime", - description="99th percentile request time in milliseconds", - metric="request.time", - short_name="Request time", - type="gauge", - unit="millisecond") - ``` - ## Import ```sh @@ -348,21 +351,6 @@ def __init__(__self__, """ Provides a Datadog metric_metadata resource. This can be used to manage a metric's metadata. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage a Datadog metric's metadata - request_time = datadog.MetricMetadata("requestTime", - description="99th percentile request time in milliseconds", - metric="request.time", - short_name="Request time", - type="gauge", - unit="millisecond") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/metric_tag_configuration.py b/sdk/python/pulumi_datadog/metric_tag_configuration.py index 20e6a2952..d4ab815bb 100644 --- a/sdk/python/pulumi_datadog/metric_tag_configuration.py +++ b/sdk/python/pulumi_datadog/metric_tag_configuration.py @@ -40,12 +40,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric_name: pulumi.Input[str], - metric_type: pulumi.Input[str], - tags: pulumi.Input[Sequence[pulumi.Input[str]]], + metric_name: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, aggregations: Optional[pulumi.Input[Sequence[pulumi.Input['MetricTagConfigurationAggregationArgs']]]] = None, include_percentiles: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric_name is None and 'metricName' in kwargs: + metric_name = kwargs['metricName'] + if metric_name is None: + raise TypeError("Missing 'metric_name' argument") + if metric_type is None and 'metricType' in kwargs: + metric_type = kwargs['metricType'] + if metric_type is None: + raise TypeError("Missing 'metric_type' argument") + if tags is None: + raise TypeError("Missing 'tags' argument") + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + _setter("metric_name", metric_name) _setter("metric_type", metric_type) _setter("tags", tags) @@ -147,7 +161,15 @@ def _configure( metric_name: Optional[pulumi.Input[str]] = None, metric_type: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + if metric_name is None and 'metricName' in kwargs: + metric_name = kwargs['metricName'] + if metric_type is None and 'metricType' in kwargs: + metric_type = kwargs['metricType'] + if aggregations is not None: _setter("aggregations", aggregations) if include_percentiles is not None: @@ -234,41 +256,6 @@ def __init__(__self__, """ Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage a tag configuration for a Datadog distribution metric with/without percentiles - example_dist_metric = datadog.MetricTagConfiguration("exampleDistMetric", - include_percentiles=False, - metric_name="example.terraform.dist.metric", - metric_type="distribution", - tags=[ - "sport", - "datacenter", - ]) - # Manage tag configurations for a Datadog count or gauge metric - example_count_metric = datadog.MetricTagConfiguration("exampleCountMetric", - aggregations=[ - datadog.MetricTagConfigurationAggregationArgs( - space="min", - time="avg", - ), - datadog.MetricTagConfigurationAggregationArgs( - space="max", - time="avg", - ), - ], - metric_name="example.terraform.count.metric", - metric_type="count", - tags=[ - "sport", - "datacenter", - ]) - ``` - ## Import ```sh @@ -292,41 +279,6 @@ def __init__(__self__, """ Provides a Datadog metric tag configuration resource. This can be used to modify tag configurations for metrics. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage a tag configuration for a Datadog distribution metric with/without percentiles - example_dist_metric = datadog.MetricTagConfiguration("exampleDistMetric", - include_percentiles=False, - metric_name="example.terraform.dist.metric", - metric_type="distribution", - tags=[ - "sport", - "datacenter", - ]) - # Manage tag configurations for a Datadog count or gauge metric - example_count_metric = datadog.MetricTagConfiguration("exampleCountMetric", - aggregations=[ - datadog.MetricTagConfigurationAggregationArgs( - space="min", - time="avg", - ), - datadog.MetricTagConfigurationAggregationArgs( - space="max", - time="avg", - ), - ], - metric_name="example.terraform.count.metric", - metric_type="count", - tags=[ - "sport", - "datacenter", - ]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/monitor.py b/sdk/python/pulumi_datadog/monitor.py index cd233db16..a81ac9223 100644 --- a/sdk/python/pulumi_datadog/monitor.py +++ b/sdk/python/pulumi_datadog/monitor.py @@ -157,10 +157,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - message: pulumi.Input[str], - name: pulumi.Input[str], - query: pulumi.Input[str], - type: pulumi.Input[str], + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, enable_logs_sample: Optional[pulumi.Input[bool]] = None, escalation_message: Optional[pulumi.Input[str]] = None, evaluation_delay: Optional[pulumi.Input[int]] = None, @@ -190,7 +190,65 @@ def _configure( timeout_h: Optional[pulumi.Input[int]] = None, validate: Optional[pulumi.Input[bool]] = None, variables: Optional[pulumi.Input['MonitorVariablesArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if message is None: + raise TypeError("Missing 'message' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if enable_logs_sample is None and 'enableLogsSample' in kwargs: + enable_logs_sample = kwargs['enableLogsSample'] + if escalation_message is None and 'escalationMessage' in kwargs: + escalation_message = kwargs['escalationMessage'] + if evaluation_delay is None and 'evaluationDelay' in kwargs: + evaluation_delay = kwargs['evaluationDelay'] + if force_delete is None and 'forceDelete' in kwargs: + force_delete = kwargs['forceDelete'] + if group_retention_duration is None and 'groupRetentionDuration' in kwargs: + group_retention_duration = kwargs['groupRetentionDuration'] + if groupby_simple_monitor is None and 'groupbySimpleMonitor' in kwargs: + groupby_simple_monitor = kwargs['groupbySimpleMonitor'] + if include_tags is None and 'includeTags' in kwargs: + include_tags = kwargs['includeTags'] + if monitor_threshold_windows is None and 'monitorThresholdWindows' in kwargs: + monitor_threshold_windows = kwargs['monitorThresholdWindows'] + if monitor_thresholds is None and 'monitorThresholds' in kwargs: + monitor_thresholds = kwargs['monitorThresholds'] + if new_group_delay is None and 'newGroupDelay' in kwargs: + new_group_delay = kwargs['newGroupDelay'] + if new_host_delay is None and 'newHostDelay' in kwargs: + new_host_delay = kwargs['newHostDelay'] + if no_data_timeframe is None and 'noDataTimeframe' in kwargs: + no_data_timeframe = kwargs['noDataTimeframe'] + if notification_preset_name is None and 'notificationPresetName' in kwargs: + notification_preset_name = kwargs['notificationPresetName'] + if notify_audit is None and 'notifyAudit' in kwargs: + notify_audit = kwargs['notifyAudit'] + if notify_bies is None and 'notifyBies' in kwargs: + notify_bies = kwargs['notifyBies'] + if notify_no_data is None and 'notifyNoData' in kwargs: + notify_no_data = kwargs['notifyNoData'] + if on_missing_data is None and 'onMissingData' in kwargs: + on_missing_data = kwargs['onMissingData'] + if renotify_interval is None and 'renotifyInterval' in kwargs: + renotify_interval = kwargs['renotifyInterval'] + if renotify_occurrences is None and 'renotifyOccurrences' in kwargs: + renotify_occurrences = kwargs['renotifyOccurrences'] + if renotify_statuses is None and 'renotifyStatuses' in kwargs: + renotify_statuses = kwargs['renotifyStatuses'] + if require_full_window is None and 'requireFullWindow' in kwargs: + require_full_window = kwargs['requireFullWindow'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if scheduling_options is None and 'schedulingOptions' in kwargs: + scheduling_options = kwargs['schedulingOptions'] + if timeout_h is None and 'timeoutH' in kwargs: + timeout_h = kwargs['timeoutH'] + _setter("message", message) _setter("name", name) _setter("query", query) @@ -876,7 +934,59 @@ def _configure( type: Optional[pulumi.Input[str]] = None, validate: Optional[pulumi.Input[bool]] = None, variables: Optional[pulumi.Input['MonitorVariablesArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enable_logs_sample is None and 'enableLogsSample' in kwargs: + enable_logs_sample = kwargs['enableLogsSample'] + if enable_samples is None and 'enableSamples' in kwargs: + enable_samples = kwargs['enableSamples'] + if escalation_message is None and 'escalationMessage' in kwargs: + escalation_message = kwargs['escalationMessage'] + if evaluation_delay is None and 'evaluationDelay' in kwargs: + evaluation_delay = kwargs['evaluationDelay'] + if force_delete is None and 'forceDelete' in kwargs: + force_delete = kwargs['forceDelete'] + if group_retention_duration is None and 'groupRetentionDuration' in kwargs: + group_retention_duration = kwargs['groupRetentionDuration'] + if groupby_simple_monitor is None and 'groupbySimpleMonitor' in kwargs: + groupby_simple_monitor = kwargs['groupbySimpleMonitor'] + if include_tags is None and 'includeTags' in kwargs: + include_tags = kwargs['includeTags'] + if monitor_threshold_windows is None and 'monitorThresholdWindows' in kwargs: + monitor_threshold_windows = kwargs['monitorThresholdWindows'] + if monitor_thresholds is None and 'monitorThresholds' in kwargs: + monitor_thresholds = kwargs['monitorThresholds'] + if new_group_delay is None and 'newGroupDelay' in kwargs: + new_group_delay = kwargs['newGroupDelay'] + if new_host_delay is None and 'newHostDelay' in kwargs: + new_host_delay = kwargs['newHostDelay'] + if no_data_timeframe is None and 'noDataTimeframe' in kwargs: + no_data_timeframe = kwargs['noDataTimeframe'] + if notification_preset_name is None and 'notificationPresetName' in kwargs: + notification_preset_name = kwargs['notificationPresetName'] + if notify_audit is None and 'notifyAudit' in kwargs: + notify_audit = kwargs['notifyAudit'] + if notify_bies is None and 'notifyBies' in kwargs: + notify_bies = kwargs['notifyBies'] + if notify_no_data is None and 'notifyNoData' in kwargs: + notify_no_data = kwargs['notifyNoData'] + if on_missing_data is None and 'onMissingData' in kwargs: + on_missing_data = kwargs['onMissingData'] + if renotify_interval is None and 'renotifyInterval' in kwargs: + renotify_interval = kwargs['renotifyInterval'] + if renotify_occurrences is None and 'renotifyOccurrences' in kwargs: + renotify_occurrences = kwargs['renotifyOccurrences'] + if renotify_statuses is None and 'renotifyStatuses' in kwargs: + renotify_statuses = kwargs['renotifyStatuses'] + if require_full_window is None and 'requireFullWindow' in kwargs: + require_full_window = kwargs['requireFullWindow'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if scheduling_options is None and 'schedulingOptions' in kwargs: + scheduling_options = kwargs['schedulingOptions'] + if timeout_h is None and 'timeoutH' in kwargs: + timeout_h = kwargs['timeoutH'] + if enable_logs_sample is not None: _setter("enable_logs_sample", enable_logs_sample) if enable_samples is not None: @@ -1441,29 +1551,6 @@ def __init__(__self__, """ Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.Monitor("foo", - escalation_message="Escalation message @pagerduty", - include_tags=True, - message="Monitor triggered. Notify: @hipchat-channel", - monitor_thresholds=datadog.MonitorMonitorThresholdsArgs( - critical="4", - warning="2", - ), - name="Name for monitor foo", - query="avg(last_1h):avg:aws.ec2.cpu{environment:foo,host:foo} by {host} > 4", - tags=[ - "foo:bar", - "team:fooBar", - ], - type="metric alert") - ``` - ## Import ```sh @@ -1548,29 +1635,6 @@ def __init__(__self__, """ Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.Monitor("foo", - escalation_message="Escalation message @pagerduty", - include_tags=True, - message="Monitor triggered. Notify: @hipchat-channel", - monitor_thresholds=datadog.MonitorMonitorThresholdsArgs( - critical="4", - warning="2", - ), - name="Name for monitor foo", - query="avg(last_1h):avg:aws.ec2.cpu{environment:foo,host:foo} by {host} > 4", - tags=[ - "foo:bar", - "team:fooBar", - ], - type="metric alert") - ``` - ## Import ```sh @@ -1649,17 +1713,9 @@ def _internal_init(__self__, if message is None and not opts.urn: raise TypeError("Missing required property 'message'") __props__.__dict__["message"] = message - if monitor_threshold_windows is not None and not isinstance(monitor_threshold_windows, MonitorMonitorThresholdWindowsArgs): - monitor_threshold_windows = monitor_threshold_windows or {} - def _setter(key, value): - monitor_threshold_windows[key] = value - MonitorMonitorThresholdWindowsArgs._configure(_setter, **monitor_threshold_windows) + monitor_threshold_windows = _utilities.configure(monitor_threshold_windows, MonitorMonitorThresholdWindowsArgs, True) __props__.__dict__["monitor_threshold_windows"] = monitor_threshold_windows - if monitor_thresholds is not None and not isinstance(monitor_thresholds, MonitorMonitorThresholdsArgs): - monitor_thresholds = monitor_thresholds or {} - def _setter(key, value): - monitor_thresholds[key] = value - MonitorMonitorThresholdsArgs._configure(_setter, **monitor_thresholds) + monitor_thresholds = _utilities.configure(monitor_thresholds, MonitorMonitorThresholdsArgs, True) __props__.__dict__["monitor_thresholds"] = monitor_thresholds if name is None and not opts.urn: raise TypeError("Missing required property 'name'") @@ -1688,11 +1744,7 @@ def _setter(key, value): raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type __props__.__dict__["validate"] = validate - if variables is not None and not isinstance(variables, MonitorVariablesArgs): - variables = variables or {} - def _setter(key, value): - variables[key] = value - MonitorVariablesArgs._configure(_setter, **variables) + variables = _utilities.configure(variables, MonitorVariablesArgs, True) __props__.__dict__["variables"] = variables __props__.__dict__["enable_samples"] = None super(Monitor, __self__).__init__( diff --git a/sdk/python/pulumi_datadog/monitor_config_policy.py b/sdk/python/pulumi_datadog/monitor_config_policy.py index a7ea52899..ff31eb517 100644 --- a/sdk/python/pulumi_datadog/monitor_config_policy.py +++ b/sdk/python/pulumi_datadog/monitor_config_policy.py @@ -31,9 +31,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - policy_type: pulumi.Input[str], + policy_type: Optional[pulumi.Input[str]] = None, tag_policy: Optional[pulumi.Input['MonitorConfigPolicyTagPolicyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if policy_type is None and 'policyType' in kwargs: + policy_type = kwargs['policyType'] + if policy_type is None: + raise TypeError("Missing 'policy_type' argument") + if tag_policy is None and 'tagPolicy' in kwargs: + tag_policy = kwargs['tagPolicy'] + _setter("policy_type", policy_type) if tag_policy is not None: _setter("tag_policy", tag_policy) @@ -83,7 +91,13 @@ def _configure( _setter: Callable[[Any, Any], None], policy_type: Optional[pulumi.Input[str]] = None, tag_policy: Optional[pulumi.Input['MonitorConfigPolicyTagPolicyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if policy_type is None and 'policyType' in kwargs: + policy_type = kwargs['policyType'] + if tag_policy is None and 'tagPolicy' in kwargs: + tag_policy = kwargs['tagPolicy'] + if policy_type is not None: _setter("policy_type", policy_type) if tag_policy is not None: @@ -125,24 +139,6 @@ def __init__(__self__, """ Provides a Datadog monitor config policy resource. This can be used to create and manage Datadog monitor config policies. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.MonitorConfigPolicy("test", - policy_type="tag", - tag_policy=datadog.MonitorConfigPolicyTagPolicyArgs( - tag_key="env", - tag_key_required=False, - valid_tag_values=[ - "staging", - "prod", - ], - )) - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] policy_type: The monitor config policy type Valid values are `tag`. @@ -157,24 +153,6 @@ def __init__(__self__, """ Provides a Datadog monitor config policy resource. This can be used to create and manage Datadog monitor config policies. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test = datadog.MonitorConfigPolicy("test", - policy_type="tag", - tag_policy=datadog.MonitorConfigPolicyTagPolicyArgs( - tag_key="env", - tag_key_required=False, - valid_tag_values=[ - "staging", - "prod", - ], - )) - ``` - :param str resource_name: The name of the resource. :param MonitorConfigPolicyArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -208,11 +186,7 @@ def _internal_init(__self__, if policy_type is None and not opts.urn: raise TypeError("Missing required property 'policy_type'") __props__.__dict__["policy_type"] = policy_type - if tag_policy is not None and not isinstance(tag_policy, MonitorConfigPolicyTagPolicyArgs): - tag_policy = tag_policy or {} - def _setter(key, value): - tag_policy[key] = value - MonitorConfigPolicyTagPolicyArgs._configure(_setter, **tag_policy) + tag_policy = _utilities.configure(tag_policy, MonitorConfigPolicyTagPolicyArgs, True) __props__.__dict__["tag_policy"] = tag_policy super(MonitorConfigPolicy, __self__).__init__( 'datadog:index/monitorConfigPolicy:MonitorConfigPolicy', diff --git a/sdk/python/pulumi_datadog/monitor_json.py b/sdk/python/pulumi_datadog/monitor_json.py index d9c24b20d..a31fd0ea4 100644 --- a/sdk/python/pulumi_datadog/monitor_json.py +++ b/sdk/python/pulumi_datadog/monitor_json.py @@ -29,9 +29,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - monitor: pulumi.Input[str], + monitor: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if monitor is None: + raise TypeError("Missing 'monitor' argument") + _setter("monitor", monitor) if url is not None: _setter("url", url) @@ -81,7 +85,9 @@ def _configure( _setter: Callable[[Any, Any], None], monitor: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if monitor is not None: _setter("monitor", monitor) if url is not None: @@ -123,38 +129,6 @@ def __init__(__self__, """ Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - monitor_json = datadog.MonitorJson("monitorJson", monitor=\"\"\"{ - "name": "Example monitor - service check", - "type": "service check", - "query": "\\"ntp.in_sync\\".by(\\"*\\").last(2).count_by_status()", - "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\\n\\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.", - "tags": [], - "multi": true, - "restricted_roles": null, - "options": { - "include_tags": true, - "locked": false, - "new_host_delay": 150, - "notify_audit": false, - "notify_no_data": false, - "thresholds": { - "warning": 1, - "ok": 1, - "critical": 1 - } - }, - "priority": null, - "classification": "custom" - } - \"\"\") - ``` - ## Import ```sh @@ -175,38 +149,6 @@ def __init__(__self__, """ Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - monitor_json = datadog.MonitorJson("monitorJson", monitor=\"\"\"{ - "name": "Example monitor - service check", - "type": "service check", - "query": "\\"ntp.in_sync\\".by(\\"*\\").last(2).count_by_status()", - "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\\n\\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.", - "tags": [], - "multi": true, - "restricted_roles": null, - "options": { - "include_tags": true, - "locked": false, - "new_host_delay": 150, - "notify_audit": false, - "notify_no_data": false, - "thresholds": { - "warning": 1, - "ok": 1, - "critical": 1 - } - }, - "priority": null, - "classification": "custom" - } - \"\"\") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/opsgenie/service_object.py b/sdk/python/pulumi_datadog/opsgenie/service_object.py index b69d3ca28..6df6c2f35 100644 --- a/sdk/python/pulumi_datadog/opsgenie/service_object.py +++ b/sdk/python/pulumi_datadog/opsgenie/service_object.py @@ -35,11 +35,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - opsgenie_api_key: pulumi.Input[str], - region: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opsgenie_api_key: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, custom_url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if opsgenie_api_key is None and 'opsgenieApiKey' in kwargs: + opsgenie_api_key = kwargs['opsgenieApiKey'] + if opsgenie_api_key is None: + raise TypeError("Missing 'opsgenie_api_key' argument") + if region is None: + raise TypeError("Missing 'region' argument") + if custom_url is None and 'customUrl' in kwargs: + custom_url = kwargs['customUrl'] + _setter("name", name) _setter("opsgenie_api_key", opsgenie_api_key) _setter("region", region) @@ -123,7 +135,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, opsgenie_api_key: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_url is None and 'customUrl' in kwargs: + custom_url = kwargs['customUrl'] + if opsgenie_api_key is None and 'opsgenieApiKey' in kwargs: + opsgenie_api_key = kwargs['opsgenieApiKey'] + if custom_url is not None: _setter("custom_url", custom_url) if name is not None: @@ -195,22 +213,6 @@ def __init__(__self__, """ Resource for interacting with Datadog Opsgenie Service API. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - fake_service_name = datadog.opsgenie.ServiceObject("fakeServiceName", - name="fake_service_name", - opsgenie_api_key="00000000-0000-0000-0000-000000000000", - region="us") - fake_service_name2 = datadog.opsgenie.ServiceObject("fakeServiceName2", - name="fake_service_name_2", - opsgenie_api_key="11111111-1111-1111-1111-111111111111", - region="eu") - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] custom_url: The custom url for a custom region. @@ -227,22 +229,6 @@ def __init__(__self__, """ Resource for interacting with Datadog Opsgenie Service API. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - fake_service_name = datadog.opsgenie.ServiceObject("fakeServiceName", - name="fake_service_name", - opsgenie_api_key="00000000-0000-0000-0000-000000000000", - region="us") - fake_service_name2 = datadog.opsgenie.ServiceObject("fakeServiceName2", - name="fake_service_name_2", - opsgenie_api_key="11111111-1111-1111-1111-111111111111", - region="eu") - ``` - :param str resource_name: The name of the resource. :param ServiceObjectArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_datadog/organization_settings.py b/sdk/python/pulumi_datadog/organization_settings.py index c86ef7e1a..f4d542cf8 100644 --- a/sdk/python/pulumi_datadog/organization_settings.py +++ b/sdk/python/pulumi_datadog/organization_settings.py @@ -33,7 +33,9 @@ def _configure( _setter: Callable[[Any, Any], None], name: Optional[pulumi.Input[str]] = None, settings: Optional[pulumi.Input['OrganizationSettingsSettingsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is not None: _setter("name", name) if settings is not None: @@ -92,7 +94,11 @@ def _configure( name: Optional[pulumi.Input[str]] = None, public_id: Optional[pulumi.Input[str]] = None, settings: Optional[pulumi.Input['OrganizationSettingsSettingsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if public_id is None and 'publicId' in kwargs: + public_id = kwargs['publicId'] + if description is not None: _setter("description", description) if name is not None: @@ -162,16 +168,6 @@ def __init__(__self__, """ Provides a Datadog Organization resource. This can be used to manage your Datadog organization's settings. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage Datadog Organization - organization = datadog.OrganizationSettings("organization", name="foo-organization") - ``` - ## Import ```sh @@ -192,16 +188,6 @@ def __init__(__self__, """ Provides a Datadog Organization resource. This can be used to manage your Datadog organization's settings. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Manage Datadog Organization - organization = datadog.OrganizationSettings("organization", name="foo-organization") - ``` - ## Import ```sh @@ -239,11 +225,7 @@ def _internal_init(__self__, __props__ = OrganizationSettingsArgs.__new__(OrganizationSettingsArgs) __props__.__dict__["name"] = name - if settings is not None and not isinstance(settings, OrganizationSettingsSettingsArgs): - settings = settings or {} - def _setter(key, value): - settings[key] = value - OrganizationSettingsSettingsArgs._configure(_setter, **settings) + settings = _utilities.configure(settings, OrganizationSettingsSettingsArgs, True) __props__.__dict__["settings"] = settings __props__.__dict__["description"] = None __props__.__dict__["public_id"] = None diff --git a/sdk/python/pulumi_datadog/outputs.py b/sdk/python/pulumi_datadog/outputs.py index 613194910..f574296a2 100644 --- a/sdk/python/pulumi_datadog/outputs.py +++ b/sdk/python/pulumi_datadog/outputs.py @@ -1259,7 +1259,9 @@ def _configure( _setter: Callable[[Any, Any], None], key: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if key is not None: _setter("key", key) if name is not None: @@ -1294,7 +1296,9 @@ def _configure( hash: Optional[str] = None, name: Optional[str] = None, owner: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if hash is not None: _setter("hash", hash) if name is not None: @@ -1390,7 +1394,27 @@ def _configure( saml_login_url: Optional[str] = None, saml_strict_modes: Optional[Sequence['outputs.ChildOrganizationSettingSamlStrictMode']] = None, samls: Optional[Sequence['outputs.ChildOrganizationSettingSaml']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if private_widget_share is None and 'privateWidgetShare' in kwargs: + private_widget_share = kwargs['privateWidgetShare'] + if saml_autocreate_access_role is None and 'samlAutocreateAccessRole' in kwargs: + saml_autocreate_access_role = kwargs['samlAutocreateAccessRole'] + if saml_autocreate_users_domains is None and 'samlAutocreateUsersDomains' in kwargs: + saml_autocreate_users_domains = kwargs['samlAutocreateUsersDomains'] + if saml_can_be_enabled is None and 'samlCanBeEnabled' in kwargs: + saml_can_be_enabled = kwargs['samlCanBeEnabled'] + if saml_idp_endpoint is None and 'samlIdpEndpoint' in kwargs: + saml_idp_endpoint = kwargs['samlIdpEndpoint'] + if saml_idp_initiated_logins is None and 'samlIdpInitiatedLogins' in kwargs: + saml_idp_initiated_logins = kwargs['samlIdpInitiatedLogins'] + if saml_idp_metadata_uploaded is None and 'samlIdpMetadataUploaded' in kwargs: + saml_idp_metadata_uploaded = kwargs['samlIdpMetadataUploaded'] + if saml_login_url is None and 'samlLoginUrl' in kwargs: + saml_login_url = kwargs['samlLoginUrl'] + if saml_strict_modes is None and 'samlStrictModes' in kwargs: + saml_strict_modes = kwargs['samlStrictModes'] + if private_widget_share is not None: _setter("private_widget_share", private_widget_share) if saml_autocreate_access_role is not None: @@ -1475,7 +1499,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1500,7 +1526,9 @@ def _configure( _setter: Callable[[Any, Any], None], domains: Optional[Sequence[str]] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if domains is not None: _setter("domains", domains) if enabled is not None: @@ -1529,7 +1557,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1551,7 +1581,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -1596,7 +1628,11 @@ def _configure( access_role: Optional[str] = None, email: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_role is None and 'accessRole' in kwargs: + access_role = kwargs['accessRole'] + if access_role is not None: _setter("access_role", access_role) if email is not None: @@ -1637,9 +1673,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -1694,9 +1736,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dash_id: str, - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + dash_id: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dash_id is None and 'dashId' in kwargs: + dash_id = kwargs['dashId'] + if dash_id is None: + raise TypeError("Missing 'dash_id' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("dash_id", dash_id) _setter("type", type) @@ -1760,12 +1810,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, available_values: Optional[Sequence[str]] = None, default: Optional[str] = None, defaults: Optional[Sequence[str]] = None, prefix: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if available_values is None and 'availableValues' in kwargs: + available_values = kwargs['availableValues'] + _setter("name", name) if available_values is not None: _setter("available_values", available_values) @@ -1856,7 +1912,11 @@ def _configure( _setter: Callable[[Any, Any], None], name: Optional[str] = None, template_variables: Optional[Sequence['outputs.DashboardTemplateVariablePresetTemplateVariable']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if template_variables is None and 'templateVariables' in kwargs: + template_variables = kwargs['templateVariables'] + if name is not None: _setter("name", name) if template_variables is not None: @@ -1902,7 +1962,9 @@ def _configure( name: Optional[str] = None, value: Optional[str] = None, values: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is not None: _setter("name", name) if value is not None: @@ -2160,7 +2222,73 @@ def _configure( trace_service_definition: Optional['outputs.DashboardWidgetTraceServiceDefinition'] = None, treemap_definition: Optional['outputs.DashboardWidgetTreemapDefinition'] = None, widget_layout: Optional['outputs.DashboardWidgetWidgetLayout'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_graph_definition is None and 'alertGraphDefinition' in kwargs: + alert_graph_definition = kwargs['alertGraphDefinition'] + if alert_value_definition is None and 'alertValueDefinition' in kwargs: + alert_value_definition = kwargs['alertValueDefinition'] + if change_definition is None and 'changeDefinition' in kwargs: + change_definition = kwargs['changeDefinition'] + if check_status_definition is None and 'checkStatusDefinition' in kwargs: + check_status_definition = kwargs['checkStatusDefinition'] + if distribution_definition is None and 'distributionDefinition' in kwargs: + distribution_definition = kwargs['distributionDefinition'] + if event_stream_definition is None and 'eventStreamDefinition' in kwargs: + event_stream_definition = kwargs['eventStreamDefinition'] + if event_timeline_definition is None and 'eventTimelineDefinition' in kwargs: + event_timeline_definition = kwargs['eventTimelineDefinition'] + if free_text_definition is None and 'freeTextDefinition' in kwargs: + free_text_definition = kwargs['freeTextDefinition'] + if geomap_definition is None and 'geomapDefinition' in kwargs: + geomap_definition = kwargs['geomapDefinition'] + if group_definition is None and 'groupDefinition' in kwargs: + group_definition = kwargs['groupDefinition'] + if heatmap_definition is None and 'heatmapDefinition' in kwargs: + heatmap_definition = kwargs['heatmapDefinition'] + if hostmap_definition is None and 'hostmapDefinition' in kwargs: + hostmap_definition = kwargs['hostmapDefinition'] + if iframe_definition is None and 'iframeDefinition' in kwargs: + iframe_definition = kwargs['iframeDefinition'] + if image_definition is None and 'imageDefinition' in kwargs: + image_definition = kwargs['imageDefinition'] + if list_stream_definition is None and 'listStreamDefinition' in kwargs: + list_stream_definition = kwargs['listStreamDefinition'] + if log_stream_definition is None and 'logStreamDefinition' in kwargs: + log_stream_definition = kwargs['logStreamDefinition'] + if manage_status_definition is None and 'manageStatusDefinition' in kwargs: + manage_status_definition = kwargs['manageStatusDefinition'] + if note_definition is None and 'noteDefinition' in kwargs: + note_definition = kwargs['noteDefinition'] + if query_table_definition is None and 'queryTableDefinition' in kwargs: + query_table_definition = kwargs['queryTableDefinition'] + if query_value_definition is None and 'queryValueDefinition' in kwargs: + query_value_definition = kwargs['queryValueDefinition'] + if run_workflow_definition is None and 'runWorkflowDefinition' in kwargs: + run_workflow_definition = kwargs['runWorkflowDefinition'] + if scatterplot_definition is None and 'scatterplotDefinition' in kwargs: + scatterplot_definition = kwargs['scatterplotDefinition'] + if service_level_objective_definition is None and 'serviceLevelObjectiveDefinition' in kwargs: + service_level_objective_definition = kwargs['serviceLevelObjectiveDefinition'] + if servicemap_definition is None and 'servicemapDefinition' in kwargs: + servicemap_definition = kwargs['servicemapDefinition'] + if slo_list_definition is None and 'sloListDefinition' in kwargs: + slo_list_definition = kwargs['sloListDefinition'] + if sunburst_definition is None and 'sunburstDefinition' in kwargs: + sunburst_definition = kwargs['sunburstDefinition'] + if timeseries_definition is None and 'timeseriesDefinition' in kwargs: + timeseries_definition = kwargs['timeseriesDefinition'] + if toplist_definition is None and 'toplistDefinition' in kwargs: + toplist_definition = kwargs['toplistDefinition'] + if topology_map_definition is None and 'topologyMapDefinition' in kwargs: + topology_map_definition = kwargs['topologyMapDefinition'] + if trace_service_definition is None and 'traceServiceDefinition' in kwargs: + trace_service_definition = kwargs['traceServiceDefinition'] + if treemap_definition is None and 'treemapDefinition' in kwargs: + treemap_definition = kwargs['treemapDefinition'] + if widget_layout is None and 'widgetLayout' in kwargs: + widget_layout = kwargs['widgetLayout'] + if alert_graph_definition is not None: _setter("alert_graph_definition", alert_graph_definition) if alert_value_definition is not None: @@ -2547,13 +2675,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: str, - viz_type: str, + alert_id: Optional[str] = None, + viz_type: Optional[str] = None, live_span: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if viz_type is None and 'vizType' in kwargs: + viz_type = kwargs['vizType'] + if viz_type is None: + raise TypeError("Missing 'viz_type' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) _setter("viz_type", viz_type) if live_span is not None: @@ -2669,14 +2813,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: str, + alert_id: Optional[str] = None, precision: Optional[int] = None, text_align: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, unit: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) if precision is not None: _setter("precision", precision) @@ -2806,7 +2962,17 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -2915,7 +3081,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -3060,7 +3232,31 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQuery'] = None, show_present: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if change_type is None and 'changeType' in kwargs: + change_type = kwargs['changeType'] + if compare_to is None and 'compareTo' in kwargs: + compare_to = kwargs['compareTo'] + if increase_good is None and 'increaseGood' in kwargs: + increase_good = kwargs['increaseGood'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if order_by is None and 'orderBy' in kwargs: + order_by = kwargs['orderBy'] + if order_dir is None and 'orderDir' in kwargs: + order_dir = kwargs['orderDir'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if show_present is None and 'showPresent' in kwargs: + show_present = kwargs['showPresent'] + if apm_query is not None: _setter("apm_query", apm_query) if change_type is not None: @@ -3246,12 +3442,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -3323,10 +3531,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -3398,7 +3610,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -3451,10 +3667,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -3505,10 +3727,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -3590,13 +3816,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetChangeDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetChangeDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -3719,16 +3955,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -3837,7 +4089,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -3896,7 +4150,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -3968,12 +4226,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -4045,10 +4315,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -4120,7 +4394,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -4173,10 +4451,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -4227,10 +4511,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -4304,11 +4592,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -4412,7 +4708,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -4543,17 +4853,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -4717,17 +5055,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -4876,14 +5238,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -4973,10 +5347,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -5028,10 +5406,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -5083,10 +5465,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -5129,8 +5515,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -5178,11 +5568,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -5281,16 +5679,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -5437,14 +5851,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -5563,12 +5995,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -5640,10 +6084,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -5715,7 +6163,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -5768,10 +6220,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -5822,10 +6280,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -5906,12 +6368,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -5983,10 +6457,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6058,7 +6536,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -6111,10 +6593,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -6165,10 +6653,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6261,8 +6753,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - check: str, - grouping: str, + check: Optional[str] = None, + grouping: Optional[str] = None, group: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, live_span: Optional[str] = None, @@ -6270,7 +6762,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if check is None: + raise TypeError("Missing 'check' argument") + if grouping is None: + raise TypeError("Missing 'grouping' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("check", check) _setter("grouping", grouping) if group is not None: @@ -6425,7 +6931,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if legend_size is not None: _setter("legend_size", legend_size) if live_span is not None: @@ -6567,7 +7085,21 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetDistributionDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if apm_stats_query is not None: @@ -6696,12 +7228,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -6773,10 +7317,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -6848,7 +7396,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -6901,10 +7453,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -6955,10 +7513,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7041,14 +7603,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - name: str, - primary_tag: str, - row_type: str, - service: str, + env: Optional[str] = None, + name: Optional[str] = None, + primary_tag: Optional[str] = None, + row_type: Optional[str] = None, + service: Optional[str] = None, columns: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmStatsQueryColumn']] = None, resource: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -7156,11 +7734,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -7251,12 +7835,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -7328,10 +7924,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7403,7 +8003,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -7456,10 +8060,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -7510,10 +8120,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7587,11 +8201,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -7682,12 +8304,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -7759,10 +8393,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -7834,7 +8472,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -7887,10 +8529,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -7941,10 +8589,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8025,12 +8677,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -8102,10 +8766,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8177,7 +8845,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -8230,10 +8902,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -8284,10 +8962,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -8334,7 +9016,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -8403,14 +9087,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, event_size: Optional[str] = None, live_span: Optional[str] = None, tags_execution: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if event_size is not None: _setter("event_size", event_size) @@ -8530,13 +9228,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, live_span: Optional[str] = None, tags_execution: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if live_span is not None: _setter("live_span", live_span) @@ -8637,11 +9347,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - text: str, + text: Optional[str] = None, color: Optional[str] = None, font_size: Optional[str] = None, text_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if text is None: + raise TypeError("Missing 'text' argument") + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + _setter("text", text) if color is not None: _setter("color", color) @@ -8741,7 +9459,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - view: 'outputs.DashboardWidgetGeomapDefinitionView', + view: Optional['outputs.DashboardWidgetGeomapDefinitionView'] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionCustomLink']] = None, live_span: Optional[str] = None, requests: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequest']] = None, @@ -8749,7 +9467,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if view is None: + raise TypeError("Missing 'view' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("view", view) if custom_links is not None: _setter("custom_links", custom_links) @@ -8877,7 +9607,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -8968,7 +9704,13 @@ def _configure( q: Optional[str] = None, queries: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if formulas is not None: _setter("formulas", formulas) if log_query is not None: @@ -9065,13 +9807,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGeomapDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGeomapDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -9194,16 +9946,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -9312,7 +10080,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -9371,7 +10141,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -9443,12 +10217,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -9520,10 +10306,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -9595,7 +10385,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -9648,10 +10442,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -9702,10 +10502,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -9799,7 +10603,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -9930,17 +10748,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -10104,17 +10950,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -10263,14 +11133,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -10360,10 +11242,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -10415,10 +11301,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -10470,10 +11360,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -10516,8 +11410,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -10565,11 +11463,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -10668,16 +11574,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -10824,14 +11746,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -10950,12 +11890,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -11027,10 +11979,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -11102,7 +12058,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -11155,10 +12115,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -11209,10 +12175,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -11278,9 +12248,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - palette: str, - palette_flip: bool, - opts: Optional[pulumi.ResourceOptions]=None): + palette: Optional[str] = None, + palette_flip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is None: + raise TypeError("Missing 'palette' argument") + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if palette_flip is None: + raise TypeError("Missing 'palette_flip' argument") + _setter("palette", palette) _setter("palette_flip", palette_flip) @@ -11315,8 +12293,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - focus: str, - opts: Optional[pulumi.ResourceOptions]=None): + focus: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if focus is None: + raise TypeError("Missing 'focus' argument") + _setter("focus", focus) @property @@ -11380,13 +12362,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - layout_type: str, + layout_type: Optional[str] = None, background_color: Optional[str] = None, banner_img: Optional[str] = None, show_title: Optional[bool] = None, title: Optional[str] = None, widgets: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidget']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if layout_type is None and 'layoutType' in kwargs: + layout_type = kwargs['layoutType'] + if layout_type is None: + raise TypeError("Missing 'layout_type' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if banner_img is None and 'bannerImg' in kwargs: + banner_img = kwargs['bannerImg'] + if show_title is None and 'showTitle' in kwargs: + show_title = kwargs['showTitle'] + _setter("layout_type", layout_type) if background_color is not None: _setter("background_color", background_color) @@ -11664,7 +12658,71 @@ def _configure( trace_service_definition: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTraceServiceDefinition'] = None, treemap_definition: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinition'] = None, widget_layout: Optional['outputs.DashboardWidgetGroupDefinitionWidgetWidgetLayout'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_graph_definition is None and 'alertGraphDefinition' in kwargs: + alert_graph_definition = kwargs['alertGraphDefinition'] + if alert_value_definition is None and 'alertValueDefinition' in kwargs: + alert_value_definition = kwargs['alertValueDefinition'] + if change_definition is None and 'changeDefinition' in kwargs: + change_definition = kwargs['changeDefinition'] + if check_status_definition is None and 'checkStatusDefinition' in kwargs: + check_status_definition = kwargs['checkStatusDefinition'] + if distribution_definition is None and 'distributionDefinition' in kwargs: + distribution_definition = kwargs['distributionDefinition'] + if event_stream_definition is None and 'eventStreamDefinition' in kwargs: + event_stream_definition = kwargs['eventStreamDefinition'] + if event_timeline_definition is None and 'eventTimelineDefinition' in kwargs: + event_timeline_definition = kwargs['eventTimelineDefinition'] + if free_text_definition is None and 'freeTextDefinition' in kwargs: + free_text_definition = kwargs['freeTextDefinition'] + if geomap_definition is None and 'geomapDefinition' in kwargs: + geomap_definition = kwargs['geomapDefinition'] + if heatmap_definition is None and 'heatmapDefinition' in kwargs: + heatmap_definition = kwargs['heatmapDefinition'] + if hostmap_definition is None and 'hostmapDefinition' in kwargs: + hostmap_definition = kwargs['hostmapDefinition'] + if iframe_definition is None and 'iframeDefinition' in kwargs: + iframe_definition = kwargs['iframeDefinition'] + if image_definition is None and 'imageDefinition' in kwargs: + image_definition = kwargs['imageDefinition'] + if list_stream_definition is None and 'listStreamDefinition' in kwargs: + list_stream_definition = kwargs['listStreamDefinition'] + if log_stream_definition is None and 'logStreamDefinition' in kwargs: + log_stream_definition = kwargs['logStreamDefinition'] + if manage_status_definition is None and 'manageStatusDefinition' in kwargs: + manage_status_definition = kwargs['manageStatusDefinition'] + if note_definition is None and 'noteDefinition' in kwargs: + note_definition = kwargs['noteDefinition'] + if query_table_definition is None and 'queryTableDefinition' in kwargs: + query_table_definition = kwargs['queryTableDefinition'] + if query_value_definition is None and 'queryValueDefinition' in kwargs: + query_value_definition = kwargs['queryValueDefinition'] + if run_workflow_definition is None and 'runWorkflowDefinition' in kwargs: + run_workflow_definition = kwargs['runWorkflowDefinition'] + if scatterplot_definition is None and 'scatterplotDefinition' in kwargs: + scatterplot_definition = kwargs['scatterplotDefinition'] + if service_level_objective_definition is None and 'serviceLevelObjectiveDefinition' in kwargs: + service_level_objective_definition = kwargs['serviceLevelObjectiveDefinition'] + if servicemap_definition is None and 'servicemapDefinition' in kwargs: + servicemap_definition = kwargs['servicemapDefinition'] + if slo_list_definition is None and 'sloListDefinition' in kwargs: + slo_list_definition = kwargs['sloListDefinition'] + if sunburst_definition is None and 'sunburstDefinition' in kwargs: + sunburst_definition = kwargs['sunburstDefinition'] + if timeseries_definition is None and 'timeseriesDefinition' in kwargs: + timeseries_definition = kwargs['timeseriesDefinition'] + if toplist_definition is None and 'toplistDefinition' in kwargs: + toplist_definition = kwargs['toplistDefinition'] + if topology_map_definition is None and 'topologyMapDefinition' in kwargs: + topology_map_definition = kwargs['topologyMapDefinition'] + if trace_service_definition is None and 'traceServiceDefinition' in kwargs: + trace_service_definition = kwargs['traceServiceDefinition'] + if treemap_definition is None and 'treemapDefinition' in kwargs: + treemap_definition = kwargs['treemapDefinition'] + if widget_layout is None and 'widgetLayout' in kwargs: + widget_layout = kwargs['widgetLayout'] + if alert_graph_definition is not None: _setter("alert_graph_definition", alert_graph_definition) if alert_value_definition is not None: @@ -12041,13 +13099,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: str, - viz_type: str, + alert_id: Optional[str] = None, + viz_type: Optional[str] = None, live_span: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if viz_type is None and 'vizType' in kwargs: + viz_type = kwargs['vizType'] + if viz_type is None: + raise TypeError("Missing 'viz_type' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) _setter("viz_type", viz_type) if live_span is not None: @@ -12163,14 +13237,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - alert_id: str, + alert_id: Optional[str] = None, precision: Optional[int] = None, text_align: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, unit: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if alert_id is None and 'alertId' in kwargs: + alert_id = kwargs['alertId'] + if alert_id is None: + raise TypeError("Missing 'alert_id' argument") + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("alert_id", alert_id) if precision is not None: _setter("precision", precision) @@ -12300,7 +13386,17 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -12409,7 +13505,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -12554,7 +13656,31 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQuery'] = None, show_present: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if change_type is None and 'changeType' in kwargs: + change_type = kwargs['changeType'] + if compare_to is None and 'compareTo' in kwargs: + compare_to = kwargs['compareTo'] + if increase_good is None and 'increaseGood' in kwargs: + increase_good = kwargs['increaseGood'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if order_by is None and 'orderBy' in kwargs: + order_by = kwargs['orderBy'] + if order_dir is None and 'orderDir' in kwargs: + order_dir = kwargs['orderDir'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if show_present is None and 'showPresent' in kwargs: + show_present = kwargs['showPresent'] + if apm_query is not None: _setter("apm_query", apm_query) if change_type is not None: @@ -12740,12 +13866,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -12817,10 +13955,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -12892,7 +14034,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -12945,10 +14091,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -12999,10 +14151,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -13084,13 +14240,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -13213,16 +14379,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -13331,7 +14513,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -13390,7 +14574,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -13462,12 +14650,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -13539,10 +14739,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -13614,7 +14818,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -13667,10 +14875,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -13721,10 +14935,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -13798,11 +15016,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -13906,7 +15132,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -14037,17 +15277,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -14211,17 +15479,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -14370,14 +15662,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -14467,10 +15771,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -14522,10 +15830,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -14577,10 +15889,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -14623,8 +15939,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -14672,11 +15992,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -14775,16 +16103,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -14931,14 +16275,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -15057,12 +16419,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -15134,10 +16508,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -15209,7 +16587,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -15262,10 +16644,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -15316,10 +16704,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -15400,12 +16792,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -15477,10 +16881,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -15552,7 +16960,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -15605,10 +17017,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -15659,10 +17077,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -15755,8 +17177,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - check: str, - grouping: str, + check: Optional[str] = None, + grouping: Optional[str] = None, group: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, live_span: Optional[str] = None, @@ -15764,7 +17186,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if check is None: + raise TypeError("Missing 'check' argument") + if grouping is None: + raise TypeError("Missing 'grouping' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("check", check) _setter("grouping", grouping) if group is not None: @@ -15919,7 +17355,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if legend_size is not None: _setter("legend_size", legend_size) if live_span is not None: @@ -16061,7 +17509,21 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if apm_stats_query is not None: @@ -16190,12 +17652,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -16267,10 +17741,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16342,7 +17820,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -16395,10 +17877,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -16449,10 +17937,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16535,14 +18027,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - name: str, - primary_tag: str, - row_type: str, - service: str, + env: Optional[str] = None, + name: Optional[str] = None, + primary_tag: Optional[str] = None, + row_type: Optional[str] = None, + service: Optional[str] = None, columns: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmStatsQueryColumn']] = None, resource: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -16650,11 +18158,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -16745,12 +18259,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -16822,10 +18348,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -16897,7 +18427,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -16950,10 +18484,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -17004,10 +18544,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17081,11 +18625,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -17176,12 +18728,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -17253,10 +18817,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17328,7 +18896,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -17381,10 +18953,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -17435,10 +19013,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17519,12 +19101,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -17596,10 +19190,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17671,7 +19269,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -17724,10 +19326,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -17778,10 +19386,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -17828,7 +19440,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -17897,14 +19511,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, event_size: Optional[str] = None, live_span: Optional[str] = None, tags_execution: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if event_size is not None: _setter("event_size", event_size) @@ -18024,13 +19652,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, live_span: Optional[str] = None, tags_execution: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if live_span is not None: _setter("live_span", live_span) @@ -18131,11 +19771,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - text: str, + text: Optional[str] = None, color: Optional[str] = None, font_size: Optional[str] = None, text_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if text is None: + raise TypeError("Missing 'text' argument") + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + _setter("text", text) if color is not None: _setter("color", color) @@ -18235,7 +19883,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - view: 'outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionView', + view: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionView'] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionCustomLink']] = None, live_span: Optional[str] = None, requests: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequest']] = None, @@ -18243,7 +19891,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if view is None: + raise TypeError("Missing 'view' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("view", view) if custom_links is not None: _setter("custom_links", custom_links) @@ -18371,7 +20031,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -18462,7 +20128,13 @@ def _configure( q: Optional[str] = None, queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if formulas is not None: _setter("formulas", formulas) if log_query is not None: @@ -18559,13 +20231,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -18688,16 +20370,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -18806,7 +20504,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -18865,7 +20565,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -18937,12 +20641,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -19014,10 +20730,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -19089,7 +20809,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -19142,10 +20866,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -19196,10 +20926,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -19293,7 +21027,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -19424,17 +21172,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -19598,17 +21374,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -19757,14 +21557,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -19854,10 +21666,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -19909,10 +21725,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -19964,10 +21784,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -20010,8 +21834,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -20059,11 +21887,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -20162,16 +21998,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -20318,14 +22170,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -20444,12 +22314,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -20521,10 +22403,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -20596,7 +22482,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -20649,10 +22539,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -20703,10 +22599,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -20772,9 +22672,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - palette: str, - palette_flip: bool, - opts: Optional[pulumi.ResourceOptions]=None): + palette: Optional[str] = None, + palette_flip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is None: + raise TypeError("Missing 'palette' argument") + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if palette_flip is None: + raise TypeError("Missing 'palette_flip' argument") + _setter("palette", palette) _setter("palette_flip", palette_flip) @@ -20809,8 +22717,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - focus: str, - opts: Optional[pulumi.ResourceOptions]=None): + focus: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if focus is None: + raise TypeError("Missing 'focus' argument") + _setter("focus", focus) @property @@ -20900,7 +22812,21 @@ def _configure( title_align: Optional[str] = None, title_size: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -21049,7 +22975,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -21126,9 +23058,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: str, + q: Optional[str] = None, tags_execution: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -21214,7 +23152,19 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -21336,12 +23286,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -21413,10 +23375,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -21488,7 +23454,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -21541,10 +23511,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -21595,10 +23571,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -21679,12 +23659,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -21756,10 +23748,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -21831,7 +23827,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -21884,10 +23884,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -21938,10 +23944,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22015,11 +24025,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -22110,12 +24128,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -22187,10 +24217,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22262,7 +24296,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -22315,10 +24353,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -22369,10 +24413,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22453,12 +24501,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -22530,10 +24590,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22605,7 +24669,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -22658,10 +24726,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -22712,10 +24786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -22762,7 +24840,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -22823,7 +24903,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -22958,7 +25042,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if no_group_hosts is None and 'noGroupHosts' in kwargs: + no_group_hosts = kwargs['noGroupHosts'] + if no_metric_hosts is None and 'noMetricHosts' in kwargs: + no_metric_hosts = kwargs['noMetricHosts'] + if node_type is None and 'nodeType' in kwargs: + node_type = kwargs['nodeType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if groups is not None: @@ -23117,7 +25215,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -23179,7 +25283,9 @@ def _configure( _setter: Callable[[Any, Any], None], fills: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFill']] = None, sizes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSize']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fills is not None: _setter("fills", fills) if sizes is not None: @@ -23262,7 +25368,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -23374,12 +25492,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -23451,10 +25581,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23526,7 +25660,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -23579,10 +25717,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -23633,10 +25777,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23717,12 +25865,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -23794,10 +25954,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -23869,7 +26033,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -23922,10 +26090,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -23976,10 +26150,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24053,11 +26231,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -24148,12 +26334,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -24225,10 +26423,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24300,7 +26502,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -24353,10 +26559,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -24407,10 +26619,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24491,12 +26707,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -24568,10 +26796,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24643,7 +26875,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -24696,10 +26932,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -24750,10 +26992,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -24845,7 +27091,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -24957,12 +27215,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25034,10 +27304,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25109,7 +27383,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -25162,10 +27440,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -25216,10 +27500,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25300,12 +27588,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25377,10 +27677,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25452,7 +27756,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -25505,10 +27813,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -25559,10 +27873,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25636,11 +27954,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -25731,12 +28057,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -25808,10 +28146,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -25883,7 +28225,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -25936,10 +28282,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -25990,10 +28342,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26074,12 +28430,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -26151,10 +28519,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26226,7 +28598,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -26279,10 +28655,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -26333,10 +28715,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -26416,7 +28802,15 @@ def _configure( fill_min: Optional[str] = None, palette: Optional[str] = None, palette_flip: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fill_max is None and 'fillMax' in kwargs: + fill_max = kwargs['fillMax'] + if fill_min is None and 'fillMin' in kwargs: + fill_min = kwargs['fillMin'] + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if fill_max is not None: _setter("fill_max", fill_max) if fill_min is not None: @@ -26473,8 +28867,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, - opts: Optional[pulumi.ResourceOptions]=None): + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) @property @@ -26546,7 +28944,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, + url: Optional[str] = None, has_background: Optional[bool] = None, has_border: Optional[bool] = None, horizontal_align: Optional[str] = None, @@ -26554,7 +28952,21 @@ def _configure( sizing: Optional[str] = None, url_dark_theme: Optional[str] = None, vertical_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + if has_background is None and 'hasBackground' in kwargs: + has_background = kwargs['hasBackground'] + if has_border is None and 'hasBorder' in kwargs: + has_border = kwargs['hasBorder'] + if horizontal_align is None and 'horizontalAlign' in kwargs: + horizontal_align = kwargs['horizontalAlign'] + if url_dark_theme is None and 'urlDarkTheme' in kwargs: + url_dark_theme = kwargs['urlDarkTheme'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("url", url) if has_background is not None: _setter("has_background", has_background) @@ -26678,11 +29090,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - requests: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequest'], + requests: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequest']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is None: + raise TypeError("Missing 'requests' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("requests", requests) if title is not None: _setter("title", title) @@ -26760,10 +29180,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - columns: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestColumn'], - query: 'outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQuery', - response_format: str, - opts: Optional[pulumi.ResourceOptions]=None): + columns: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestColumn']] = None, + query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQuery'] = None, + response_format: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if columns is None: + raise TypeError("Missing 'columns' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if response_format is None and 'responseFormat' in kwargs: + response_format = kwargs['responseFormat'] + if response_format is None: + raise TypeError("Missing 'response_format' argument") + _setter("columns", columns) _setter("query", query) _setter("response_format", response_format) @@ -26807,9 +29237,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - field: str, - width: str, - opts: Optional[pulumi.ResourceOptions]=None): + field: Optional[str] = None, + width: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if field is None: + raise TypeError("Missing 'field' argument") + if width is None: + raise TypeError("Missing 'width' argument") + _setter("field", field) _setter("width", width) @@ -26880,13 +29316,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, + data_source: Optional[str] = None, event_size: Optional[str] = None, indexes: Optional[Sequence[str]] = None, query_string: Optional[str] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetListStreamDefinitionRequestQuerySort'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + _setter("data_source", data_source) if event_size is not None: _setter("event_size", event_size) @@ -26965,9 +29411,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -27069,7 +29521,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if message_display is None and 'messageDisplay' in kwargs: + message_display = kwargs['messageDisplay'] + if show_date_column is None and 'showDateColumn' in kwargs: + show_date_column = kwargs['showDateColumn'] + if show_message_column is None and 'showMessageColumn' in kwargs: + show_message_column = kwargs['showMessageColumn'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if columns is not None: _setter("columns", columns) if indexes is not None: @@ -27196,9 +29662,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -27293,7 +29765,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, color_preference: Optional[str] = None, display_format: Optional[str] = None, hide_zero_counts: Optional[bool] = None, @@ -27304,7 +29776,27 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if color_preference is None and 'colorPreference' in kwargs: + color_preference = kwargs['colorPreference'] + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if hide_zero_counts is None and 'hideZeroCounts' in kwargs: + hide_zero_counts = kwargs['hideZeroCounts'] + if show_last_triggered is None and 'showLastTriggered' in kwargs: + show_last_triggered = kwargs['showLastTriggered'] + if show_priority is None and 'showPriority' in kwargs: + show_priority = kwargs['showPriority'] + if summary_type is None and 'summaryType' in kwargs: + summary_type = kwargs['summaryType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if color_preference is not None: _setter("color_preference", color_preference) @@ -27482,7 +29974,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, background_color: Optional[str] = None, font_size: Optional[str] = None, has_padding: Optional[bool] = None, @@ -27491,7 +29983,27 @@ def _configure( tick_edge: Optional[str] = None, tick_pos: Optional[str] = None, vertical_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if has_padding is None and 'hasPadding' in kwargs: + has_padding = kwargs['hasPadding'] + if show_tick is None and 'showTick' in kwargs: + show_tick = kwargs['showTick'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if tick_edge is None and 'tickEdge' in kwargs: + tick_edge = kwargs['tickEdge'] + if tick_pos is None and 'tickPos' in kwargs: + tick_pos = kwargs['tickPos'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("content", content) if background_color is not None: _setter("background_color", background_color) @@ -27647,7 +30159,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if has_search_bar is None and 'hasSearchBar' in kwargs: + has_search_bar = kwargs['hasSearchBar'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if has_search_bar is not None: @@ -27766,7 +30290,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -27908,7 +30438,25 @@ def _configure( queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if cell_display_modes is None and 'cellDisplayModes' in kwargs: + cell_display_modes = kwargs['cellDisplayModes'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if alias is not None: @@ -28101,12 +30649,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -28178,10 +30738,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -28253,7 +30817,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -28306,10 +30874,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -28360,10 +30934,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -28446,14 +31024,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - name: str, - primary_tag: str, - row_type: str, - service: str, + env: Optional[str] = None, + name: Optional[str] = None, + primary_tag: Optional[str] = None, + row_type: Optional[str] = None, + service: Optional[str] = None, columns: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestApmStatsQueryColumn']] = None, resource: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -28561,11 +31155,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -28668,16 +31268,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -28817,13 +31433,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -28946,16 +31572,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -29064,7 +31706,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -29123,7 +31767,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -29195,12 +31843,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -29272,10 +31932,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -29347,7 +32011,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -29400,10 +32068,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -29454,10 +32128,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -29531,11 +32209,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -29639,7 +32325,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -29770,17 +32470,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -29944,17 +32672,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -30103,14 +32855,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -30200,10 +32964,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -30255,10 +33023,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -30310,10 +33082,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -30356,8 +33132,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -30405,11 +33185,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -30508,16 +33296,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -30664,14 +33468,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -30790,12 +33612,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -30867,10 +33701,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -30942,7 +33780,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -30995,10 +33837,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -31049,10 +33897,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -31133,12 +33985,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -31210,10 +34074,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -31285,7 +34153,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -31338,10 +34210,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -31392,10 +34270,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -31511,7 +34393,23 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if custom_unit is None and 'customUnit' in kwargs: + custom_unit = kwargs['customUnit'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if timeseries_background is None and 'timeseriesBackground' in kwargs: + timeseries_background = kwargs['timeseriesBackground'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if autoscale is not None: _setter("autoscale", autoscale) if custom_links is not None: @@ -31670,7 +34568,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -31795,7 +34699,23 @@ def _configure( queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -31951,12 +34871,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -32028,10 +34960,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32103,7 +35039,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -32156,10 +35096,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -32210,10 +35156,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32294,12 +35244,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -32371,10 +35333,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32446,7 +35412,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -32499,10 +35469,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -32553,10 +35529,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -32649,16 +35629,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -32798,13 +35794,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -32927,16 +35933,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -33045,7 +36067,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -33104,7 +36128,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -33176,12 +36204,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -33253,10 +36293,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -33328,7 +36372,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -33381,10 +36429,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -33435,10 +36489,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -33512,11 +36570,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -33620,7 +36686,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -33751,17 +36831,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -33925,17 +37033,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -34084,14 +37216,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -34181,10 +37325,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -34236,10 +37384,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -34291,10 +37443,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -34337,8 +37493,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -34386,11 +37546,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -34489,16 +37657,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -34645,14 +37829,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -34771,12 +37973,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -34848,10 +38062,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -34923,7 +38141,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -34976,10 +38198,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -35030,10 +38258,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -35114,12 +38346,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -35191,10 +38435,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -35266,7 +38514,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -35319,10 +38571,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -35373,10 +38631,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -35425,9 +38687,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionTimeseriesBackgroundYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if yaxis is not None: _setter("yaxis", yaxis) @@ -35497,7 +38763,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -35607,14 +38877,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - workflow_id: str, + workflow_id: Optional[str] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetRunWorkflowDefinitionCustomLink']] = None, inputs: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetRunWorkflowDefinitionInput']] = None, live_span: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if workflow_id is None and 'workflowId' in kwargs: + workflow_id = kwargs['workflowId'] + if workflow_id is None: + raise TypeError("Missing 'workflow_id' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("workflow_id", workflow_id) if custom_links is not None: _setter("custom_links", custom_links) @@ -35732,7 +39016,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -35792,9 +39082,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - value: str, - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("name", name) _setter("value", value) @@ -35887,7 +39183,19 @@ def _configure( title_size: Optional[str] = None, xaxis: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionXaxis'] = None, yaxis: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if color_by_groups is None and 'colorByGroups' in kwargs: + color_by_groups = kwargs['colorByGroups'] + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if color_by_groups is not None: _setter("color_by_groups", color_by_groups) if custom_links is not None: @@ -36026,7 +39334,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -36109,7 +39423,11 @@ def _configure( scatterplot_tables: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTable']] = None, xes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestX']] = None, ys: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestY']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scatterplot_tables is None and 'scatterplotTables' in kwargs: + scatterplot_tables = kwargs['scatterplotTables'] + if scatterplot_tables is not None: _setter("scatterplot_tables", scatterplot_tables) if xes is not None: @@ -36157,7 +39475,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableFormula']] = None, queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQuery']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -36211,10 +39531,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dimension: str, - formula_expression: str, + dimension: Optional[str] = None, + formula_expression: Optional[str] = None, alias: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dimension is None: + raise TypeError("Missing 'dimension' argument") + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + _setter("dimension", dimension) _setter("formula_expression", formula_expression) if alias is not None: @@ -36307,7 +39635,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -36438,17 +39780,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -36612,17 +39982,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -36771,14 +40165,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -36868,10 +40274,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -36923,10 +40333,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -36978,10 +40392,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -37024,8 +40442,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -37073,11 +40495,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -37176,16 +40606,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -37332,14 +40778,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -37473,7 +40937,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -37595,12 +41071,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -37672,10 +41160,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37747,7 +41239,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -37800,10 +41296,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -37854,10 +41356,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -37938,12 +41444,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -38015,10 +41533,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -38090,7 +41612,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -38143,10 +41669,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -38197,10 +41729,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -38274,11 +41810,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -38369,12 +41913,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -38446,10 +42002,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -38521,7 +42081,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -38574,10 +42138,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -38628,10 +42198,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -38712,12 +42286,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -38789,10 +42375,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -38864,7 +42454,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -38917,10 +42511,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -38971,10 +42571,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -39070,7 +42674,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -39192,12 +42808,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -39269,10 +42897,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -39344,7 +42976,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -39397,10 +43033,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -39451,10 +43093,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -39535,12 +43181,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -39612,10 +43270,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -39687,7 +43349,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -39740,10 +43406,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -39794,10 +43466,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -39871,11 +43547,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -39966,12 +43650,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -40043,10 +43739,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40118,7 +43818,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -40171,10 +43875,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -40225,10 +43935,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40309,12 +44023,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -40386,10 +44112,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40461,7 +44191,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -40514,10 +44248,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -40568,10 +44308,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -40651,7 +44395,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -40752,7 +44500,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -40879,17 +44631,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - slo_id: str, - time_windows: Sequence[str], - view_mode: str, - view_type: str, + slo_id: Optional[str] = None, + time_windows: Optional[Sequence[str]] = None, + view_mode: Optional[str] = None, + view_type: Optional[str] = None, additional_query_filters: Optional[str] = None, global_time_target: Optional[str] = None, show_error_budget: Optional[bool] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if time_windows is None and 'timeWindows' in kwargs: + time_windows = kwargs['timeWindows'] + if time_windows is None: + raise TypeError("Missing 'time_windows' argument") + if view_mode is None and 'viewMode' in kwargs: + view_mode = kwargs['viewMode'] + if view_mode is None: + raise TypeError("Missing 'view_mode' argument") + if view_type is None and 'viewType' in kwargs: + view_type = kwargs['viewType'] + if view_type is None: + raise TypeError("Missing 'view_type' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if global_time_target is None and 'globalTimeTarget' in kwargs: + global_time_target = kwargs['globalTimeTarget'] + if show_error_budget is None and 'showErrorBudget' in kwargs: + show_error_budget = kwargs['showErrorBudget'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("slo_id", slo_id) _setter("time_windows", time_windows) _setter("view_mode", view_mode) @@ -41038,13 +44818,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: Sequence[str], - service: str, + filters: Optional[Sequence[str]] = None, + service: Optional[str] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetServicemapDefinitionCustomLink']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("filters", filters) _setter("service", service) if custom_links is not None: @@ -41151,7 +44943,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -41236,11 +45034,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - request: 'outputs.DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequest', + request: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequest'] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if request is None: + raise TypeError("Missing 'request' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("request", request) if title is not None: _setter("title", title) @@ -41315,9 +45121,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: 'outputs.DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQuery', - request_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQuery'] = None, + request_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("query", query) _setter("request_type", request_type) @@ -41372,10 +45186,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query_string: str, + query_string: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSloListDefinitionRequestQuerySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + if query_string is None: + raise TypeError("Missing 'query_string' argument") + _setter("query_string", query_string) if limit is not None: _setter("limit", limit) @@ -41424,9 +45244,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -41523,7 +45349,23 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if hide_total is None and 'hideTotal' in kwargs: + hide_total = kwargs['hideTotal'] + if legend_inline is None and 'legendInline' in kwargs: + legend_inline = kwargs['legendInline'] + if legend_table is None and 'legendTable' in kwargs: + legend_table = kwargs['legendTable'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if hide_total is not None: @@ -41662,7 +45504,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -41744,10 +45592,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, hide_percent: Optional[bool] = None, hide_value: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if hide_percent is None and 'hidePercent' in kwargs: + hide_percent = kwargs['hidePercent'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + _setter("type", type) if hide_percent is not None: _setter("hide_percent", hide_percent) @@ -41793,8 +45649,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) @property @@ -41888,7 +45748,23 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -42044,12 +45920,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -42121,10 +46009,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42196,7 +46088,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -42249,10 +46145,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -42303,10 +46205,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42387,12 +46293,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -42464,10 +46382,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42539,7 +46461,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -42592,10 +46518,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -42646,10 +46578,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -42731,13 +46667,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -42860,16 +46806,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -42978,7 +46940,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -43037,7 +47001,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -43109,12 +47077,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -43186,10 +47166,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -43261,7 +47245,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -43314,10 +47302,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -43368,10 +47362,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -43452,12 +47450,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -43529,10 +47539,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -43604,7 +47618,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -43657,10 +47675,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -43711,10 +47735,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -43788,11 +47816,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -43896,7 +47932,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -44027,17 +48077,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -44201,17 +48279,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -44360,14 +48462,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -44457,10 +48571,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -44512,10 +48630,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -44567,10 +48689,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -44613,8 +48739,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -44662,11 +48792,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -44765,16 +48903,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -44921,14 +49075,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -45047,12 +49219,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -45124,10 +49308,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45199,7 +49387,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -45252,10 +49444,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -45306,10 +49504,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45390,12 +49592,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -45467,10 +49681,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45542,7 +49760,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -45595,10 +49817,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -45649,10 +49877,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -45699,7 +49931,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -45812,7 +50046,27 @@ def _configure( title_align: Optional[str] = None, title_size: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_columns is None and 'legendColumns' in kwargs: + legend_columns = kwargs['legendColumns'] + if legend_layout is None and 'legendLayout' in kwargs: + legend_layout = kwargs['legendLayout'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if right_yaxis is None and 'rightYaxis' in kwargs: + right_yaxis = kwargs['rightYaxis'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -46001,7 +50255,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -46078,9 +50338,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: str, + q: Optional[str] = None, tags_execution: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -46139,10 +50405,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: str, + value: Optional[str] = None, display_type: Optional[str] = None, label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + _setter("value", value) if display_type is not None: _setter("display_type", display_type) @@ -46272,7 +50544,27 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if on_right_yaxis is None and 'onRightYaxis' in kwargs: + on_right_yaxis = kwargs['onRightYaxis'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -46458,12 +50750,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -46535,10 +50839,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46610,7 +50918,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -46663,10 +50975,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -46717,10 +51035,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46801,12 +51123,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -46878,10 +51212,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -46953,7 +51291,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -47006,10 +51348,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -47060,10 +51408,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -47145,13 +51497,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -47274,16 +51636,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -47392,7 +51770,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -47451,7 +51831,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -47523,12 +51907,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -47600,10 +51996,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -47675,7 +52075,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -47728,10 +52132,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -47782,10 +52192,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -47851,9 +52265,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: str, + expression: Optional[str] = None, alias_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if alias_name is None and 'aliasName' in kwargs: + alias_name = kwargs['aliasName'] + _setter("expression", expression) if alias_name is not None: _setter("alias_name", alias_name) @@ -47924,12 +52344,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -48001,10 +52433,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -48076,7 +52512,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -48129,10 +52569,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -48183,10 +52629,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -48260,11 +52710,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -48368,7 +52826,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -48499,17 +52971,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -48673,17 +53173,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -48832,14 +53356,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -48929,10 +53465,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -48984,10 +53524,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -49039,10 +53583,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -49085,8 +53633,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -49134,11 +53686,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -49237,16 +53797,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -49393,14 +53969,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -49519,12 +54113,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -49596,10 +54202,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49671,7 +54281,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -49724,10 +54338,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -49778,10 +54398,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -49862,12 +54486,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -49939,10 +54575,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -50014,7 +54654,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -50067,10 +54711,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -50121,10 +54771,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -50198,7 +54852,13 @@ def _configure( line_type: Optional[str] = None, line_width: Optional[str] = None, palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if line_type is None and 'lineType' in kwargs: + line_type = kwargs['lineType'] + if line_width is None and 'lineWidth' in kwargs: + line_width = kwargs['lineWidth'] + if line_type is not None: _setter("line_type", line_type) if line_width is not None: @@ -50279,7 +54939,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -50380,7 +55044,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -50491,7 +55159,17 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -50600,7 +55278,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -50725,7 +55409,23 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -50881,12 +55581,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -50958,10 +55670,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -51033,7 +55749,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -51086,10 +55806,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -51140,10 +55866,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -51224,12 +55954,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -51301,10 +56043,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -51376,7 +56122,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -51429,10 +56179,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -51483,10 +56239,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -51579,16 +56339,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -51728,13 +56504,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -51857,16 +56643,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -51975,7 +56777,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -52034,7 +56838,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -52106,12 +56914,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -52183,10 +57003,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -52258,7 +57082,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -52311,10 +57139,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -52365,10 +57199,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -52442,11 +57280,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -52550,7 +57396,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -52681,17 +57541,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -52855,17 +57743,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -53014,14 +57926,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -53111,10 +58035,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -53166,10 +58094,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -53221,10 +58153,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -53267,8 +58203,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -53316,11 +58256,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -53419,16 +58367,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -53575,14 +58539,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -53701,12 +58683,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -53778,10 +58772,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -53853,7 +58851,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -53906,10 +58908,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -53960,10 +58968,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54044,12 +59056,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -54121,10 +59145,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54196,7 +59224,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -54249,10 +59281,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -54303,10 +59341,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -54353,7 +59395,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -54418,7 +59462,15 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if requests is not None: @@ -54517,7 +59569,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -54593,9 +59651,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - queries: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTopologyMapDefinitionRequestQuery'], - request_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTopologyMapDefinitionRequestQuery']] = None, + request_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if queries is None: + raise TypeError("Missing 'queries' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("queries", queries) _setter("request_type", request_type) @@ -54650,10 +59716,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - filters: Sequence[str], - service: str, - opts: Optional[pulumi.ResourceOptions]=None): + data_source: Optional[str] = None, + filters: Optional[Sequence[str]] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("data_source", data_source) _setter("filters", filters) _setter("service", service) @@ -54778,9 +59854,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - service: str, - span_name: str, + env: Optional[str] = None, + service: Optional[str] = None, + span_name: Optional[str] = None, display_format: Optional[str] = None, live_span: Optional[str] = None, show_breakdown: Optional[bool] = None, @@ -54793,7 +59869,39 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if span_name is None and 'spanName' in kwargs: + span_name = kwargs['spanName'] + if span_name is None: + raise TypeError("Missing 'span_name' argument") + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_breakdown is None and 'showBreakdown' in kwargs: + show_breakdown = kwargs['showBreakdown'] + if show_distribution is None and 'showDistribution' in kwargs: + show_distribution = kwargs['showDistribution'] + if show_errors is None and 'showErrors' in kwargs: + show_errors = kwargs['showErrors'] + if show_hits is None and 'showHits' in kwargs: + show_hits = kwargs['showHits'] + if show_latency is None and 'showLatency' in kwargs: + show_latency = kwargs['showLatency'] + if show_resource_list is None and 'showResourceList' in kwargs: + show_resource_list = kwargs['showResourceList'] + if size_format is None and 'sizeFormat' in kwargs: + size_format = kwargs['sizeFormat'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("env", env) _setter("service", service) _setter("span_name", span_name) @@ -54962,7 +60070,9 @@ def _configure( _setter: Callable[[Any, Any], None], requests: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequest']] = None, title: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is not None: _setter("requests", requests) if title is not None: @@ -55000,7 +60110,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormula']] = None, queries: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQuery']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -55067,13 +60179,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -55196,16 +60318,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -55314,7 +60452,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -55373,7 +60513,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -55458,7 +60602,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -55589,17 +60747,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -55763,17 +60949,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -55922,14 +61132,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -56019,10 +61241,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -56074,10 +61300,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetGroupDefinitionWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -56129,10 +61359,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -56175,8 +61409,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -56224,11 +61462,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -56327,16 +61573,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -56483,14 +61745,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -56603,12 +61883,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - height: int, - width: int, - x: int, - y: int, + height: Optional[int] = None, + width: Optional[int] = None, + x: Optional[int] = None, + y: Optional[int] = None, is_column_break: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if height is None: + raise TypeError("Missing 'height' argument") + if width is None: + raise TypeError("Missing 'width' argument") + if x is None: + raise TypeError("Missing 'x' argument") + if y is None: + raise TypeError("Missing 'y' argument") + if is_column_break is None and 'isColumnBreak' in kwargs: + is_column_break = kwargs['isColumnBreak'] + _setter("height", height) _setter("width", width) _setter("x", x) @@ -56735,7 +62027,21 @@ def _configure( title_align: Optional[str] = None, title_size: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetHeatmapDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -56884,7 +62190,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -56961,9 +62273,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: str, + q: Optional[str] = None, tags_execution: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -57049,7 +62367,19 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -57171,12 +62501,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -57248,10 +62590,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57323,7 +62669,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -57376,10 +62726,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -57430,10 +62786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57514,12 +62874,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -57591,10 +62963,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57666,7 +63042,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -57719,10 +63099,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -57773,10 +63159,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -57850,11 +63240,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -57945,12 +63343,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -58022,10 +63432,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -58097,7 +63511,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -58150,10 +63568,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -58204,10 +63628,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -58288,12 +63716,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -58365,10 +63805,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -58440,7 +63884,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -58493,10 +63941,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -58547,10 +64001,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -58597,7 +64055,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -58658,7 +64118,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -58793,7 +64257,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if no_group_hosts is None and 'noGroupHosts' in kwargs: + no_group_hosts = kwargs['noGroupHosts'] + if no_metric_hosts is None and 'noMetricHosts' in kwargs: + no_metric_hosts = kwargs['noMetricHosts'] + if node_type is None and 'nodeType' in kwargs: + node_type = kwargs['nodeType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if groups is not None: @@ -58952,7 +64430,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -59014,7 +64498,9 @@ def _configure( _setter: Callable[[Any, Any], None], fills: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFill']] = None, sizes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSize']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fills is not None: _setter("fills", fills) if sizes is not None: @@ -59097,7 +64583,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -59209,12 +64707,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -59286,10 +64796,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -59361,7 +64875,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -59414,10 +64932,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -59468,10 +64992,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -59552,12 +65080,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -59629,10 +65169,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -59704,7 +65248,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -59757,10 +65305,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -59811,10 +65365,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -59888,11 +65446,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -59983,12 +65549,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -60060,10 +65638,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60135,7 +65717,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -60188,10 +65774,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -60242,10 +65834,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60326,12 +65922,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -60403,10 +66011,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60478,7 +66090,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -60531,10 +66147,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -60585,10 +66207,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60680,7 +66306,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if log_query is not None: @@ -60792,12 +66430,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -60869,10 +66519,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -60944,7 +66598,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -60997,10 +66655,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -61051,10 +66715,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61135,12 +66803,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61212,10 +66892,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61287,7 +66971,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -61340,10 +67028,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -61394,10 +67088,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61471,11 +67169,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -61566,12 +67272,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61643,10 +67361,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61718,7 +67440,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -61771,10 +67497,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -61825,10 +67557,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -61909,12 +67645,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -61986,10 +67734,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -62061,7 +67813,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -62114,10 +67870,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -62168,10 +67930,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -62251,7 +68017,15 @@ def _configure( fill_min: Optional[str] = None, palette: Optional[str] = None, palette_flip: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if fill_max is None and 'fillMax' in kwargs: + fill_max = kwargs['fillMax'] + if fill_min is None and 'fillMin' in kwargs: + fill_min = kwargs['fillMin'] + if palette_flip is None and 'paletteFlip' in kwargs: + palette_flip = kwargs['paletteFlip'] + if fill_max is not None: _setter("fill_max", fill_max) if fill_min is not None: @@ -62308,8 +68082,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, - opts: Optional[pulumi.ResourceOptions]=None): + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) @property @@ -62381,7 +68159,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, + url: Optional[str] = None, has_background: Optional[bool] = None, has_border: Optional[bool] = None, horizontal_align: Optional[str] = None, @@ -62389,7 +68167,21 @@ def _configure( sizing: Optional[str] = None, url_dark_theme: Optional[str] = None, vertical_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + if has_background is None and 'hasBackground' in kwargs: + has_background = kwargs['hasBackground'] + if has_border is None and 'hasBorder' in kwargs: + has_border = kwargs['hasBorder'] + if horizontal_align is None and 'horizontalAlign' in kwargs: + horizontal_align = kwargs['horizontalAlign'] + if url_dark_theme is None and 'urlDarkTheme' in kwargs: + url_dark_theme = kwargs['urlDarkTheme'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("url", url) if has_background is not None: _setter("has_background", has_background) @@ -62513,11 +68305,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - requests: Sequence['outputs.DashboardWidgetListStreamDefinitionRequest'], + requests: Optional[Sequence['outputs.DashboardWidgetListStreamDefinitionRequest']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is None: + raise TypeError("Missing 'requests' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("requests", requests) if title is not None: _setter("title", title) @@ -62595,10 +68395,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - columns: Sequence['outputs.DashboardWidgetListStreamDefinitionRequestColumn'], - query: 'outputs.DashboardWidgetListStreamDefinitionRequestQuery', - response_format: str, - opts: Optional[pulumi.ResourceOptions]=None): + columns: Optional[Sequence['outputs.DashboardWidgetListStreamDefinitionRequestColumn']] = None, + query: Optional['outputs.DashboardWidgetListStreamDefinitionRequestQuery'] = None, + response_format: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if columns is None: + raise TypeError("Missing 'columns' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if response_format is None and 'responseFormat' in kwargs: + response_format = kwargs['responseFormat'] + if response_format is None: + raise TypeError("Missing 'response_format' argument") + _setter("columns", columns) _setter("query", query) _setter("response_format", response_format) @@ -62642,9 +68452,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - field: str, - width: str, - opts: Optional[pulumi.ResourceOptions]=None): + field: Optional[str] = None, + width: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if field is None: + raise TypeError("Missing 'field' argument") + if width is None: + raise TypeError("Missing 'width' argument") + _setter("field", field) _setter("width", width) @@ -62715,13 +68531,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, + data_source: Optional[str] = None, event_size: Optional[str] = None, indexes: Optional[Sequence[str]] = None, query_string: Optional[str] = None, sort: Optional['outputs.DashboardWidgetListStreamDefinitionRequestQuerySort'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if event_size is None and 'eventSize' in kwargs: + event_size = kwargs['eventSize'] + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + _setter("data_source", data_source) if event_size is not None: _setter("event_size", event_size) @@ -62800,9 +68626,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -62904,7 +68736,21 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if message_display is None and 'messageDisplay' in kwargs: + message_display = kwargs['messageDisplay'] + if show_date_column is None and 'showDateColumn' in kwargs: + show_date_column = kwargs['showDateColumn'] + if show_message_column is None and 'showMessageColumn' in kwargs: + show_message_column = kwargs['showMessageColumn'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if columns is not None: _setter("columns", columns) if indexes is not None: @@ -63031,9 +68877,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -63128,7 +68980,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, color_preference: Optional[str] = None, display_format: Optional[str] = None, hide_zero_counts: Optional[bool] = None, @@ -63139,7 +68991,27 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if color_preference is None and 'colorPreference' in kwargs: + color_preference = kwargs['colorPreference'] + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if hide_zero_counts is None and 'hideZeroCounts' in kwargs: + hide_zero_counts = kwargs['hideZeroCounts'] + if show_last_triggered is None and 'showLastTriggered' in kwargs: + show_last_triggered = kwargs['showLastTriggered'] + if show_priority is None and 'showPriority' in kwargs: + show_priority = kwargs['showPriority'] + if summary_type is None and 'summaryType' in kwargs: + summary_type = kwargs['summaryType'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("query", query) if color_preference is not None: _setter("color_preference", color_preference) @@ -63317,7 +69189,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, background_color: Optional[str] = None, font_size: Optional[str] = None, has_padding: Optional[bool] = None, @@ -63326,7 +69198,27 @@ def _configure( tick_edge: Optional[str] = None, tick_pos: Optional[str] = None, vertical_align: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + if background_color is None and 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if font_size is None and 'fontSize' in kwargs: + font_size = kwargs['fontSize'] + if has_padding is None and 'hasPadding' in kwargs: + has_padding = kwargs['hasPadding'] + if show_tick is None and 'showTick' in kwargs: + show_tick = kwargs['showTick'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if tick_edge is None and 'tickEdge' in kwargs: + tick_edge = kwargs['tickEdge'] + if tick_pos is None and 'tickPos' in kwargs: + tick_pos = kwargs['tickPos'] + if vertical_align is None and 'verticalAlign' in kwargs: + vertical_align = kwargs['verticalAlign'] + _setter("content", content) if background_color is not None: _setter("background_color", background_color) @@ -63482,7 +69374,19 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if has_search_bar is None and 'hasSearchBar' in kwargs: + has_search_bar = kwargs['hasSearchBar'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if has_search_bar is not None: @@ -63601,7 +69505,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -63743,7 +69653,25 @@ def _configure( queries: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if apm_stats_query is None and 'apmStatsQuery' in kwargs: + apm_stats_query = kwargs['apmStatsQuery'] + if cell_display_modes is None and 'cellDisplayModes' in kwargs: + cell_display_modes = kwargs['cellDisplayModes'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if alias is not None: @@ -63936,12 +69864,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -64013,10 +69953,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64088,7 +70032,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -64141,10 +70089,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -64195,10 +70149,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -64281,14 +70239,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - name: str, - primary_tag: str, - row_type: str, - service: str, + env: Optional[str] = None, + name: Optional[str] = None, + primary_tag: Optional[str] = None, + row_type: Optional[str] = None, + service: Optional[str] = None, columns: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmStatsQueryColumn']] = None, resource: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if primary_tag is None and 'primaryTag' in kwargs: + primary_tag = kwargs['primaryTag'] + if primary_tag is None: + raise TypeError("Missing 'primary_tag' argument") + if row_type is None and 'rowType' in kwargs: + row_type = kwargs['rowType'] + if row_type is None: + raise TypeError("Missing 'row_type' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("env", env) _setter("name", name) _setter("primary_tag", primary_tag) @@ -64396,11 +70370,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + _setter("name", name) if alias is not None: _setter("alias", alias) @@ -64503,16 +70483,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -64652,13 +70648,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -64781,16 +70787,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -64899,7 +70921,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -64958,7 +70982,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -65030,12 +71058,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -65107,10 +71147,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65182,7 +71226,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -65235,10 +71283,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -65289,10 +71343,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -65366,11 +71424,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -65474,7 +71540,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -65605,17 +71685,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -65779,17 +71887,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -65938,14 +72070,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -66035,10 +72179,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -66090,10 +72238,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -66145,10 +72297,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -66191,8 +72347,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -66240,11 +72400,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -66343,16 +72511,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -66499,14 +72683,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -66625,12 +72827,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -66702,10 +72916,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -66777,7 +72995,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -66830,10 +73052,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -66884,10 +73112,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -66968,12 +73200,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -67045,10 +73289,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -67120,7 +73368,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -67173,10 +73425,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -67227,10 +73485,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -67346,7 +73608,23 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if custom_unit is None and 'customUnit' in kwargs: + custom_unit = kwargs['customUnit'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if text_align is None and 'textAlign' in kwargs: + text_align = kwargs['textAlign'] + if timeseries_background is None and 'timeseriesBackground' in kwargs: + timeseries_background = kwargs['timeseriesBackground'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if autoscale is not None: _setter("autoscale", autoscale) if custom_links is not None: @@ -67505,7 +73783,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -67630,7 +73914,23 @@ def _configure( queries: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -67786,12 +74086,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -67863,10 +74175,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -67938,7 +74254,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -67991,10 +74311,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -68045,10 +74371,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -68129,12 +74459,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -68206,10 +74548,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -68281,7 +74627,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -68334,10 +74684,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -68388,10 +74744,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -68484,16 +74844,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -68633,13 +75009,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -68762,16 +75148,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -68880,7 +75282,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -68939,7 +75343,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -69011,12 +75419,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -69088,10 +75508,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -69163,7 +75587,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -69216,10 +75644,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -69270,10 +75704,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -69347,11 +75785,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -69455,7 +75901,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -69586,17 +76046,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -69760,17 +76248,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -69919,14 +76431,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -70016,10 +76540,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -70071,10 +76599,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -70126,10 +76658,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -70172,8 +76708,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -70221,11 +76761,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -70324,16 +76872,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -70480,14 +77044,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -70606,12 +77188,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -70683,10 +77277,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -70758,7 +77356,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -70811,10 +77413,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -70865,10 +77473,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -70949,12 +77561,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -71026,10 +77650,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -71101,7 +77729,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -71154,10 +77786,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -71208,10 +77846,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -71260,9 +77902,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetQueryValueDefinitionTimeseriesBackgroundYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if yaxis is not None: _setter("yaxis", yaxis) @@ -71332,7 +77978,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -71442,14 +78092,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - workflow_id: str, + workflow_id: Optional[str] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetRunWorkflowDefinitionCustomLink']] = None, inputs: Optional[Sequence['outputs.DashboardWidgetRunWorkflowDefinitionInput']] = None, live_span: Optional[str] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if workflow_id is None and 'workflowId' in kwargs: + workflow_id = kwargs['workflowId'] + if workflow_id is None: + raise TypeError("Missing 'workflow_id' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("workflow_id", workflow_id) if custom_links is not None: _setter("custom_links", custom_links) @@ -71567,7 +78231,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -71627,9 +78297,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - value: str, - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("name", name) _setter("value", value) @@ -71722,7 +78398,19 @@ def _configure( title_size: Optional[str] = None, xaxis: Optional['outputs.DashboardWidgetScatterplotDefinitionXaxis'] = None, yaxis: Optional['outputs.DashboardWidgetScatterplotDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if color_by_groups is None and 'colorByGroups' in kwargs: + color_by_groups = kwargs['colorByGroups'] + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if color_by_groups is not None: _setter("color_by_groups", color_by_groups) if custom_links is not None: @@ -71861,7 +78549,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -71944,7 +78638,11 @@ def _configure( scatterplot_tables: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTable']] = None, xes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestX']] = None, ys: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestY']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if scatterplot_tables is None and 'scatterplotTables' in kwargs: + scatterplot_tables = kwargs['scatterplotTables'] + if scatterplot_tables is not None: _setter("scatterplot_tables", scatterplot_tables) if xes is not None: @@ -71992,7 +78690,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableFormula']] = None, queries: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuery']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -72046,10 +78746,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dimension: str, - formula_expression: str, + dimension: Optional[str] = None, + formula_expression: Optional[str] = None, alias: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if dimension is None: + raise TypeError("Missing 'dimension' argument") + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + _setter("dimension", dimension) _setter("formula_expression", formula_expression) if alias is not None: @@ -72142,7 +78850,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -72273,17 +78995,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -72447,17 +79197,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -72606,14 +79380,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -72703,10 +79489,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -72758,10 +79548,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -72813,10 +79607,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -72859,8 +79657,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -72908,11 +79710,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -73011,16 +79821,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -73167,14 +79993,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -73308,7 +80152,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -73430,12 +80286,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -73507,10 +80375,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -73582,7 +80454,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -73635,10 +80511,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -73689,10 +80571,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -73773,12 +80659,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -73850,10 +80748,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -73925,7 +80827,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -73978,10 +80884,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -74032,10 +80944,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -74109,11 +81025,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -74204,12 +81128,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -74281,10 +81217,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -74356,7 +81296,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -74409,10 +81353,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -74463,10 +81413,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -74547,12 +81501,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -74624,10 +81590,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -74699,7 +81669,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -74752,10 +81726,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -74806,10 +81786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -74905,7 +81889,19 @@ def _configure( q: Optional[str] = None, rum_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if aggregator is not None: _setter("aggregator", aggregator) if apm_query is not None: @@ -75027,12 +82023,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -75104,10 +82112,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75179,7 +82191,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -75232,10 +82248,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -75286,10 +82308,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75370,12 +82396,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -75447,10 +82485,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75522,7 +82564,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -75575,10 +82621,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -75629,10 +82681,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75706,11 +82762,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -75801,12 +82865,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -75878,10 +82954,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -75953,7 +83033,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -76006,10 +83090,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -76060,10 +83150,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -76144,12 +83238,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -76221,10 +83327,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -76296,7 +83406,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -76349,10 +83463,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -76403,10 +83523,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -76486,7 +83610,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -76587,7 +83715,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -76714,17 +83846,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - slo_id: str, - time_windows: Sequence[str], - view_mode: str, - view_type: str, + slo_id: Optional[str] = None, + time_windows: Optional[Sequence[str]] = None, + view_mode: Optional[str] = None, + view_type: Optional[str] = None, additional_query_filters: Optional[str] = None, global_time_target: Optional[str] = None, show_error_budget: Optional[bool] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if time_windows is None and 'timeWindows' in kwargs: + time_windows = kwargs['timeWindows'] + if time_windows is None: + raise TypeError("Missing 'time_windows' argument") + if view_mode is None and 'viewMode' in kwargs: + view_mode = kwargs['viewMode'] + if view_mode is None: + raise TypeError("Missing 'view_mode' argument") + if view_type is None and 'viewType' in kwargs: + view_type = kwargs['viewType'] + if view_type is None: + raise TypeError("Missing 'view_type' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if global_time_target is None and 'globalTimeTarget' in kwargs: + global_time_target = kwargs['globalTimeTarget'] + if show_error_budget is None and 'showErrorBudget' in kwargs: + show_error_budget = kwargs['showErrorBudget'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("slo_id", slo_id) _setter("time_windows", time_windows) _setter("view_mode", view_mode) @@ -76873,13 +84033,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: Sequence[str], - service: str, + filters: Optional[Sequence[str]] = None, + service: Optional[str] = None, custom_links: Optional[Sequence['outputs.DashboardWidgetServicemapDefinitionCustomLink']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("filters", filters) _setter("service", service) if custom_links is not None: @@ -76986,7 +84158,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -77071,11 +84249,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - request: 'outputs.DashboardWidgetSloListDefinitionRequest', + request: Optional['outputs.DashboardWidgetSloListDefinitionRequest'] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if request is None: + raise TypeError("Missing 'request' argument") + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("request", request) if title is not None: _setter("title", title) @@ -77150,9 +84336,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: 'outputs.DashboardWidgetSloListDefinitionRequestQuery', - request_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional['outputs.DashboardWidgetSloListDefinitionRequestQuery'] = None, + request_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("query", query) _setter("request_type", request_type) @@ -77207,10 +84401,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query_string: str, + query_string: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetSloListDefinitionRequestQuerySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query_string is None and 'queryString' in kwargs: + query_string = kwargs['queryString'] + if query_string is None: + raise TypeError("Missing 'query_string' argument") + _setter("query_string", query_string) if limit is not None: _setter("limit", limit) @@ -77259,9 +84459,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - column: str, - order: str, - opts: Optional[pulumi.ResourceOptions]=None): + column: Optional[str] = None, + order: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if column is None: + raise TypeError("Missing 'column' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("column", column) _setter("order", order) @@ -77358,7 +84564,23 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if hide_total is None and 'hideTotal' in kwargs: + hide_total = kwargs['hideTotal'] + if legend_inline is None and 'legendInline' in kwargs: + legend_inline = kwargs['legendInline'] + if legend_table is None and 'legendTable' in kwargs: + legend_table = kwargs['legendTable'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if hide_total is not None: @@ -77497,7 +84719,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -77579,10 +84807,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, hide_percent: Optional[bool] = None, hide_value: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if hide_percent is None and 'hidePercent' in kwargs: + hide_percent = kwargs['hidePercent'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + _setter("type", type) if hide_percent is not None: _setter("hide_percent", hide_percent) @@ -77628,8 +84864,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) @property @@ -77723,7 +84963,23 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetSunburstDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -77879,12 +85135,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -77956,10 +85224,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78031,7 +85303,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -78084,10 +85360,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -78138,10 +85420,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78222,12 +85508,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -78299,10 +85597,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78374,7 +85676,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -78427,10 +85733,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -78481,10 +85793,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -78566,13 +85882,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetSunburstDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetSunburstDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -78695,16 +86021,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -78813,7 +86155,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -78872,7 +86216,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -78944,12 +86292,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -79021,10 +86381,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79096,7 +86460,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -79149,10 +86517,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -79203,10 +86577,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79287,12 +86665,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -79364,10 +86754,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79439,7 +86833,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -79492,10 +86890,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -79546,10 +86950,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -79623,11 +87031,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -79731,7 +87147,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -79862,17 +87292,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -80036,17 +87494,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -80195,14 +87677,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -80292,10 +87786,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -80347,10 +87845,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -80402,10 +87904,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -80448,8 +87954,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -80497,11 +88007,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -80600,16 +88118,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -80756,14 +88290,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -80882,12 +88434,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -80959,10 +88523,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81034,7 +88602,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -81087,10 +88659,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -81141,10 +88719,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81225,12 +88807,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -81302,10 +88896,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81377,7 +88975,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -81430,10 +89032,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -81484,10 +89092,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -81534,7 +89146,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -81647,7 +89261,27 @@ def _configure( title_align: Optional[str] = None, title_size: Optional[str] = None, yaxis: Optional['outputs.DashboardWidgetTimeseriesDefinitionYaxis'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if legend_columns is None and 'legendColumns' in kwargs: + legend_columns = kwargs['legendColumns'] + if legend_layout is None and 'legendLayout' in kwargs: + legend_layout = kwargs['legendLayout'] + if legend_size is None and 'legendSize' in kwargs: + legend_size = kwargs['legendSize'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if right_yaxis is None and 'rightYaxis' in kwargs: + right_yaxis = kwargs['rightYaxis'] + if show_legend is None and 'showLegend' in kwargs: + show_legend = kwargs['showLegend'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if events is not None: @@ -81836,7 +89470,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -81913,9 +89553,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - q: str, + q: Optional[str] = None, tags_execution: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if q is None: + raise TypeError("Missing 'q' argument") + if tags_execution is None and 'tagsExecution' in kwargs: + tags_execution = kwargs['tagsExecution'] + _setter("q", q) if tags_execution is not None: _setter("tags_execution", tags_execution) @@ -81974,10 +89620,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: str, + value: Optional[str] = None, display_type: Optional[str] = None, label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + _setter("value", value) if display_type is not None: _setter("display_type", display_type) @@ -82107,7 +89759,27 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if display_type is None and 'displayType' in kwargs: + display_type = kwargs['displayType'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if network_query is None and 'networkQuery' in kwargs: + network_query = kwargs['networkQuery'] + if on_right_yaxis is None and 'onRightYaxis' in kwargs: + on_right_yaxis = kwargs['onRightYaxis'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -82293,12 +89965,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -82370,10 +90054,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -82445,7 +90133,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -82498,10 +90190,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -82552,10 +90250,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -82636,12 +90338,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -82713,10 +90427,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -82788,7 +90506,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -82841,10 +90563,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -82895,10 +90623,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -82980,13 +90712,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -83109,16 +90851,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -83227,7 +90985,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -83286,7 +91046,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -83358,12 +91122,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -83435,10 +91211,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83510,7 +91290,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -83563,10 +91347,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -83617,10 +91407,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83686,9 +91480,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: str, + expression: Optional[str] = None, alias_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if alias_name is None and 'aliasName' in kwargs: + alias_name = kwargs['aliasName'] + _setter("expression", expression) if alias_name is not None: _setter("alias_name", alias_name) @@ -83759,12 +91559,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -83836,10 +91648,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -83911,7 +91727,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -83964,10 +91784,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -84018,10 +91844,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -84095,11 +91925,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -84203,7 +92041,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -84334,17 +92186,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -84508,17 +92388,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -84667,14 +92571,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -84764,10 +92680,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -84819,10 +92739,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -84874,10 +92798,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -84920,8 +92848,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -84969,11 +92901,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -85072,16 +93012,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -85228,14 +93184,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -85354,12 +93328,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -85431,10 +93417,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -85506,7 +93496,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -85559,10 +93553,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -85613,10 +93613,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -85697,12 +93701,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -85774,10 +93790,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -85849,7 +93869,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -85902,10 +93926,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -85956,10 +93986,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86033,7 +94067,13 @@ def _configure( line_type: Optional[str] = None, line_width: Optional[str] = None, palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if line_type is None and 'lineType' in kwargs: + line_type = kwargs['lineType'] + if line_width is None and 'lineWidth' in kwargs: + line_width = kwargs['lineWidth'] + if line_type is not None: _setter("line_type", line_type) if line_width is not None: @@ -86114,7 +94154,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -86215,7 +94259,11 @@ def _configure( max: Optional[str] = None, min: Optional[str] = None, scale: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if include_zero is None and 'includeZero' in kwargs: + include_zero = kwargs['includeZero'] + if include_zero is not None: _setter("include_zero", include_zero) if label is not None: @@ -86326,7 +94374,17 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if live_span is not None: @@ -86435,7 +94493,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -86560,7 +94624,23 @@ def _configure( rum_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQuery'] = None, security_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQuery'] = None, style: Optional['outputs.DashboardWidgetToplistDefinitionRequestStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_query is None and 'apmQuery' in kwargs: + apm_query = kwargs['apmQuery'] + if audit_query is None and 'auditQuery' in kwargs: + audit_query = kwargs['auditQuery'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + if log_query is None and 'logQuery' in kwargs: + log_query = kwargs['logQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if rum_query is None and 'rumQuery' in kwargs: + rum_query = kwargs['rumQuery'] + if security_query is None and 'securityQuery' in kwargs: + security_query = kwargs['securityQuery'] + if apm_query is not None: _setter("apm_query", apm_query) if audit_query is not None: @@ -86716,12 +94796,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -86793,10 +94885,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -86868,7 +94964,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -86921,10 +95021,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -86975,10 +95081,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87059,12 +95169,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -87136,10 +95258,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87211,7 +95337,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -87264,10 +95394,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -87318,10 +95454,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -87414,16 +95554,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -87563,13 +95719,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetToplistDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetToplistDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -87692,16 +95858,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -87810,7 +95992,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -87869,7 +96053,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -87941,12 +96129,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -88018,10 +96218,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -88093,7 +96297,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -88146,10 +96354,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -88200,10 +96414,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -88277,11 +96495,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metric: str, + metric: Optional[str] = None, filter_bies: Optional[Sequence[str]] = None, limit: Optional[int] = None, search_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metric is None: + raise TypeError("Missing 'metric' argument") + if filter_bies is None and 'filterBies' in kwargs: + filter_bies = kwargs['filterBies'] + if search_by is None and 'searchBy' in kwargs: + search_by = kwargs['searchBy'] + _setter("metric", metric) if filter_bies is not None: _setter("filter_bies", filter_bies) @@ -88385,7 +96611,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -88516,17 +96756,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -88690,17 +96958,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -88849,14 +97141,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -88946,10 +97250,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -89001,10 +97309,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -89056,10 +97368,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -89102,8 +97418,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -89151,11 +97471,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -89254,16 +97582,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -89410,14 +97754,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -89536,12 +97898,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -89613,10 +97987,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -89688,7 +98066,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -89741,10 +98123,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -89795,10 +98183,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -89879,12 +98271,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - index: str, + index: Optional[str] = None, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery'] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if index is None: + raise TypeError("Missing 'index' argument") + if compute_query is None and 'computeQuery' in kwargs: + compute_query = kwargs['computeQuery'] + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if multi_computes is None and 'multiComputes' in kwargs: + multi_computes = kwargs['multiComputes'] + if search_query is None and 'searchQuery' in kwargs: + search_query = kwargs['searchQuery'] + _setter("index", index) if compute_query is not None: _setter("compute_query", compute_query) @@ -89956,10 +98360,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -90031,7 +98439,11 @@ def _configure( facet: Optional[str] = None, limit: Optional[int] = None, sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sort_query is None and 'sortQuery' in kwargs: + sort_query = kwargs['sortQuery'] + if facet is not None: _setter("facet", facet) if limit is not None: @@ -90084,10 +98496,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, - order: str, + aggregation: Optional[str] = None, + order: Optional[str] = None, facet: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + if order is None: + raise TypeError("Missing 'order' argument") + _setter("aggregation", aggregation) _setter("order", order) if facet is not None: @@ -90138,10 +98556,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, facet: Optional[str] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if facet is not None: _setter("facet", facet) @@ -90188,7 +98610,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette is not None: _setter("palette", palette) @@ -90253,7 +98677,15 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_links is None and 'customLinks' in kwargs: + custom_links = kwargs['customLinks'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + if custom_links is not None: _setter("custom_links", custom_links) if requests is not None: @@ -90352,7 +98784,13 @@ def _configure( label: Optional[str] = None, link: Optional[str] = None, override_label: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_hidden is None and 'isHidden' in kwargs: + is_hidden = kwargs['isHidden'] + if override_label is None and 'overrideLabel' in kwargs: + override_label = kwargs['overrideLabel'] + if is_hidden is not None: _setter("is_hidden", is_hidden) if label is not None: @@ -90428,9 +98866,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - queries: Sequence['outputs.DashboardWidgetTopologyMapDefinitionRequestQuery'], - request_type: str, - opts: Optional[pulumi.ResourceOptions]=None): + queries: Optional[Sequence['outputs.DashboardWidgetTopologyMapDefinitionRequestQuery']] = None, + request_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if queries is None: + raise TypeError("Missing 'queries' argument") + if request_type is None and 'requestType' in kwargs: + request_type = kwargs['requestType'] + if request_type is None: + raise TypeError("Missing 'request_type' argument") + _setter("queries", queries) _setter("request_type", request_type) @@ -90485,10 +98931,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - filters: Sequence[str], - service: str, - opts: Optional[pulumi.ResourceOptions]=None): + data_source: Optional[str] = None, + filters: Optional[Sequence[str]] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if filters is None: + raise TypeError("Missing 'filters' argument") + if service is None: + raise TypeError("Missing 'service' argument") + _setter("data_source", data_source) _setter("filters", filters) _setter("service", service) @@ -90613,9 +99069,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - env: str, - service: str, - span_name: str, + env: Optional[str] = None, + service: Optional[str] = None, + span_name: Optional[str] = None, display_format: Optional[str] = None, live_span: Optional[str] = None, show_breakdown: Optional[bool] = None, @@ -90628,7 +99084,39 @@ def _configure( title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if env is None: + raise TypeError("Missing 'env' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if span_name is None and 'spanName' in kwargs: + span_name = kwargs['spanName'] + if span_name is None: + raise TypeError("Missing 'span_name' argument") + if display_format is None and 'displayFormat' in kwargs: + display_format = kwargs['displayFormat'] + if live_span is None and 'liveSpan' in kwargs: + live_span = kwargs['liveSpan'] + if show_breakdown is None and 'showBreakdown' in kwargs: + show_breakdown = kwargs['showBreakdown'] + if show_distribution is None and 'showDistribution' in kwargs: + show_distribution = kwargs['showDistribution'] + if show_errors is None and 'showErrors' in kwargs: + show_errors = kwargs['showErrors'] + if show_hits is None and 'showHits' in kwargs: + show_hits = kwargs['showHits'] + if show_latency is None and 'showLatency' in kwargs: + show_latency = kwargs['showLatency'] + if show_resource_list is None and 'showResourceList' in kwargs: + show_resource_list = kwargs['showResourceList'] + if size_format is None and 'sizeFormat' in kwargs: + size_format = kwargs['sizeFormat'] + if title_align is None and 'titleAlign' in kwargs: + title_align = kwargs['titleAlign'] + if title_size is None and 'titleSize' in kwargs: + title_size = kwargs['titleSize'] + _setter("env", env) _setter("service", service) _setter("span_name", span_name) @@ -90797,7 +99285,9 @@ def _configure( _setter: Callable[[Any, Any], None], requests: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequest']] = None, title: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if requests is not None: _setter("requests", requests) if title is not None: @@ -90835,7 +99325,9 @@ def _configure( _setter: Callable[[Any, Any], None], formulas: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestFormula']] = None, queries: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQuery']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formulas is not None: _setter("formulas", formulas) if queries is not None: @@ -90902,13 +99394,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - formula_expression: str, + formula_expression: Optional[str] = None, alias: Optional[str] = None, cell_display_mode: Optional[str] = None, conditional_formats: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat']] = None, limit: Optional['outputs.DashboardWidgetTreemapDefinitionRequestFormulaLimit'] = None, style: Optional['outputs.DashboardWidgetTreemapDefinitionRequestFormulaStyle'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if formula_expression is None and 'formulaExpression' in kwargs: + formula_expression = kwargs['formulaExpression'] + if formula_expression is None: + raise TypeError("Missing 'formula_expression' argument") + if cell_display_mode is None and 'cellDisplayMode' in kwargs: + cell_display_mode = kwargs['cellDisplayMode'] + if conditional_formats is None and 'conditionalFormats' in kwargs: + conditional_formats = kwargs['conditionalFormats'] + _setter("formula_expression", formula_expression) if alias is not None: _setter("alias", alias) @@ -91031,16 +99533,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - comparator: str, - palette: str, - value: float, + comparator: Optional[str] = None, + palette: Optional[str] = None, + value: Optional[float] = None, custom_bg_color: Optional[str] = None, custom_fg_color: Optional[str] = None, hide_value: Optional[bool] = None, image_url: Optional[str] = None, metric: Optional[str] = None, timeframe: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if comparator is None: + raise TypeError("Missing 'comparator' argument") + if palette is None: + raise TypeError("Missing 'palette' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if custom_bg_color is None and 'customBgColor' in kwargs: + custom_bg_color = kwargs['customBgColor'] + if custom_fg_color is None and 'customFgColor' in kwargs: + custom_fg_color = kwargs['customFgColor'] + if hide_value is None and 'hideValue' in kwargs: + hide_value = kwargs['hideValue'] + if image_url is None and 'imageUrl' in kwargs: + image_url = kwargs['imageUrl'] + _setter("comparator", comparator) _setter("palette", palette) _setter("value", value) @@ -91149,7 +99667,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if order is not None: @@ -91208,7 +99728,11 @@ def _configure( _setter: Callable[[Any, Any], None], palette: Optional[str] = None, palette_index: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if palette_index is None and 'paletteIndex' in kwargs: + palette_index = kwargs['paletteIndex'] + if palette is not None: _setter("palette", palette) if palette_index is not None: @@ -91293,7 +99817,21 @@ def _configure( metric_query: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryMetricQuery'] = None, process_query: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryProcessQuery'] = None, slo_query: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQuerySloQuery'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if apm_dependency_stats_query is None and 'apmDependencyStatsQuery' in kwargs: + apm_dependency_stats_query = kwargs['apmDependencyStatsQuery'] + if apm_resource_stats_query is None and 'apmResourceStatsQuery' in kwargs: + apm_resource_stats_query = kwargs['apmResourceStatsQuery'] + if event_query is None and 'eventQuery' in kwargs: + event_query = kwargs['eventQuery'] + if metric_query is None and 'metricQuery' in kwargs: + metric_query = kwargs['metricQuery'] + if process_query is None and 'processQuery' in kwargs: + process_query = kwargs['processQuery'] + if slo_query is None and 'sloQuery' in kwargs: + slo_query = kwargs['sloQuery'] + if apm_dependency_stats_query is not None: _setter("apm_dependency_stats_query", apm_dependency_stats_query) if apm_resource_stats_query is not None: @@ -91424,17 +99962,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - operation_name: str, - resource_name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + operation_name: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, is_upstream: Optional[bool] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if operation_name is None: + raise TypeError("Missing 'operation_name' argument") + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + if resource_name is None: + raise TypeError("Missing 'resource_name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if is_upstream is None and 'isUpstream' in kwargs: + is_upstream = kwargs['isUpstream'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -91598,17 +100164,41 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - env: str, - name: str, - service: str, - stat: str, + data_source: Optional[str] = None, + env: Optional[str] = None, + name: Optional[str] = None, + service: Optional[str] = None, + stat: Optional[str] = None, group_bies: Optional[Sequence[str]] = None, operation_name: Optional[str] = None, primary_tag_name: Optional[str] = None, primary_tag_value: Optional[str] = None, resource_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if env is None: + raise TypeError("Missing 'env' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if service is None: + raise TypeError("Missing 'service' argument") + if stat is None: + raise TypeError("Missing 'stat' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if operation_name is None and 'operationName' in kwargs: + operation_name = kwargs['operationName'] + if primary_tag_name is None and 'primaryTagName' in kwargs: + primary_tag_name = kwargs['primaryTagName'] + if primary_tag_value is None and 'primaryTagValue' in kwargs: + primary_tag_value = kwargs['primaryTagValue'] + if resource_name is None and 'resourceName' in kwargs: + resource_name = kwargs['resourceName'] + _setter("data_source", data_source) _setter("env", env) _setter("name", name) @@ -91757,14 +100347,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute'], - data_source: str, - name: str, + computes: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, group_bies: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -91854,10 +100456,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -91909,10 +100515,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -91964,10 +100574,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -92010,8 +100624,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -92059,11 +100677,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, + name: Optional[str] = None, + query: Optional[str] = None, aggregator: Optional[str] = None, data_source: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + _setter("name", name) _setter("query", query) if aggregator is not None: @@ -92162,16 +100788,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - metric: str, - name: str, + data_source: Optional[str] = None, + metric: Optional[str] = None, + name: Optional[str] = None, aggregator: Optional[str] = None, is_normalized_cpu: Optional[bool] = None, limit: Optional[int] = None, sort: Optional[str] = None, tag_filters: Optional[Sequence[str]] = None, text_filter: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if metric is None: + raise TypeError("Missing 'metric' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_normalized_cpu is None and 'isNormalizedCpu' in kwargs: + is_normalized_cpu = kwargs['isNormalizedCpu'] + if tag_filters is None and 'tagFilters' in kwargs: + tag_filters = kwargs['tagFilters'] + if text_filter is None and 'textFilter' in kwargs: + text_filter = kwargs['textFilter'] + _setter("data_source", data_source) _setter("metric", metric) _setter("name", name) @@ -92318,14 +100960,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_source: str, - measure: str, - slo_id: str, + data_source: Optional[str] = None, + measure: Optional[str] = None, + slo_id: Optional[str] = None, additional_query_filters: Optional[str] = None, group_mode: Optional[str] = None, name: Optional[str] = None, slo_query_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if measure is None: + raise TypeError("Missing 'measure' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if additional_query_filters is None and 'additionalQueryFilters' in kwargs: + additional_query_filters = kwargs['additionalQueryFilters'] + if group_mode is None and 'groupMode' in kwargs: + group_mode = kwargs['groupMode'] + if slo_query_type is None and 'sloQueryType' in kwargs: + slo_query_type = kwargs['sloQueryType'] + _setter("data_source", data_source) _setter("measure", measure) _setter("slo_id", slo_id) @@ -92438,12 +101098,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - height: int, - width: int, - x: int, - y: int, + height: Optional[int] = None, + width: Optional[int] = None, + x: Optional[int] = None, + y: Optional[int] = None, is_column_break: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if height is None: + raise TypeError("Missing 'height' argument") + if width is None: + raise TypeError("Missing 'width' argument") + if x is None: + raise TypeError("Missing 'x' argument") + if y is None: + raise TypeError("Missing 'y' argument") + if is_column_break is None and 'isColumnBreak' in kwargs: + is_column_break = kwargs['isColumnBreak'] + _setter("height", height) _setter("width", width) _setter("x", x) @@ -92542,13 +101214,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, period: Optional[int] = None, rrule: Optional[str] = None, until_date: Optional[int] = None, until_occurrences: Optional[int] = None, week_days: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if until_date is None and 'untilDate' in kwargs: + until_date = kwargs['untilDate'] + if until_occurrences is None and 'untilOccurrences' in kwargs: + until_occurrences = kwargs['untilOccurrences'] + if week_days is None and 'weekDays' in kwargs: + week_days = kwargs['weekDays'] + _setter("type", type) if period is not None: _setter("period", period) @@ -92648,7 +101330,13 @@ def _configure( _setter: Callable[[Any, Any], None], monitor_id: Optional[int] = None, monitor_tags: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if monitor_id is None and 'monitorId' in kwargs: + monitor_id = kwargs['monitorId'] + if monitor_tags is None and 'monitorTags' in kwargs: + monitor_tags = kwargs['monitorTags'] + if monitor_id is not None: _setter("monitor_id", monitor_id) if monitor_tags is not None: @@ -92690,7 +101378,9 @@ def _configure( _setter: Callable[[Any, Any], None], end: Optional[str] = None, start: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if end is not None: _setter("end", end) if start is not None: @@ -92731,7 +101421,9 @@ def _configure( _setter: Callable[[Any, Any], None], recurrences: Optional[Sequence['outputs.DowntimeScheduleRecurringScheduleRecurrence']] = None, timezone: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if recurrences is not None: _setter("recurrences", recurrences) if timezone is not None: @@ -92771,10 +101463,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - duration: str, - rrule: str, + duration: Optional[str] = None, + rrule: Optional[str] = None, start: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if duration is None: + raise TypeError("Missing 'duration' argument") + if rrule is None: + raise TypeError("Missing 'rrule' argument") + _setter("duration", duration) _setter("rrule", rrule) if start is not None: @@ -92838,9 +101536,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cidr_block: str, + cidr_block: Optional[str] = None, note: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cidr_block is None and 'cidrBlock' in kwargs: + cidr_block = kwargs['cidrBlock'] + if cidr_block is None: + raise TypeError("Missing 'cidr_block' argument") + _setter("cidr_block", cidr_block) if note is not None: _setter("note", note) @@ -92906,12 +101610,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - client_id: str, - container: str, - storage_account: str, - tenant_id: str, + client_id: Optional[str] = None, + container: Optional[str] = None, + storage_account: Optional[str] = None, + tenant_id: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_id is None: + raise TypeError("Missing 'client_id' argument") + if container is None: + raise TypeError("Missing 'container' argument") + if storage_account is None and 'storageAccount' in kwargs: + storage_account = kwargs['storageAccount'] + if storage_account is None: + raise TypeError("Missing 'storage_account' argument") + if tenant_id is None and 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if tenant_id is None: + raise TypeError("Missing 'tenant_id' argument") + _setter("client_id", client_id) _setter("container", container) _setter("storage_account", storage_account) @@ -93002,11 +101722,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: str, - client_email: str, - project_id: str, + bucket: Optional[str] = None, + client_email: Optional[str] = None, + project_id: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if client_email is None and 'clientEmail' in kwargs: + client_email = kwargs['clientEmail'] + if client_email is None: + raise TypeError("Missing 'client_email' argument") + if project_id is None and 'projectId' in kwargs: + project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") + _setter("bucket", bucket) _setter("client_email", client_email) _setter("project_id", project_id) @@ -93088,11 +101820,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_id: str, - bucket: str, - role_name: str, + account_id: Optional[str] = None, + bucket: Optional[str] = None, + role_name: Optional[str] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_id is None and 'accountId' in kwargs: + account_id = kwargs['accountId'] + if account_id is None: + raise TypeError("Missing 'account_id' argument") + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if role_name is None and 'roleName' in kwargs: + role_name = kwargs['roleName'] + if role_name is None: + raise TypeError("Missing 'role_name' argument") + _setter("account_id", account_id) _setter("bucket", bucket) _setter("role_name", role_name) @@ -93146,8 +101890,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -93278,7 +102026,39 @@ def _configure( trace_id_remapper: Optional['outputs.LogsCustomPipelineProcessorTraceIdRemapper'] = None, url_parser: Optional['outputs.LogsCustomPipelineProcessorUrlParser'] = None, user_agent_parser: Optional['outputs.LogsCustomPipelineProcessorUserAgentParser'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if arithmetic_processor is None and 'arithmeticProcessor' in kwargs: + arithmetic_processor = kwargs['arithmeticProcessor'] + if attribute_remapper is None and 'attributeRemapper' in kwargs: + attribute_remapper = kwargs['attributeRemapper'] + if category_processor is None and 'categoryProcessor' in kwargs: + category_processor = kwargs['categoryProcessor'] + if date_remapper is None and 'dateRemapper' in kwargs: + date_remapper = kwargs['dateRemapper'] + if geo_ip_parser is None and 'geoIpParser' in kwargs: + geo_ip_parser = kwargs['geoIpParser'] + if grok_parser is None and 'grokParser' in kwargs: + grok_parser = kwargs['grokParser'] + if lookup_processor is None and 'lookupProcessor' in kwargs: + lookup_processor = kwargs['lookupProcessor'] + if message_remapper is None and 'messageRemapper' in kwargs: + message_remapper = kwargs['messageRemapper'] + if reference_table_lookup_processor is None and 'referenceTableLookupProcessor' in kwargs: + reference_table_lookup_processor = kwargs['referenceTableLookupProcessor'] + if service_remapper is None and 'serviceRemapper' in kwargs: + service_remapper = kwargs['serviceRemapper'] + if status_remapper is None and 'statusRemapper' in kwargs: + status_remapper = kwargs['statusRemapper'] + if string_builder_processor is None and 'stringBuilderProcessor' in kwargs: + string_builder_processor = kwargs['stringBuilderProcessor'] + if trace_id_remapper is None and 'traceIdRemapper' in kwargs: + trace_id_remapper = kwargs['traceIdRemapper'] + if url_parser is None and 'urlParser' in kwargs: + url_parser = kwargs['urlParser'] + if user_agent_parser is None and 'userAgentParser' in kwargs: + user_agent_parser = kwargs['userAgentParser'] + if arithmetic_processor is not None: _setter("arithmetic_processor", arithmetic_processor) if attribute_remapper is not None: @@ -93483,12 +102263,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: str, - target: str, + expression: Optional[str] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, is_replace_missing: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("expression", expression) _setter("target", target) if is_enabled is not None: @@ -93604,16 +102394,38 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - source_type: str, - sources: Sequence[str], - target: str, - target_type: str, + source_type: Optional[str] = None, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, + target_type: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, override_on_conflict: Optional[bool] = None, preserve_source: Optional[bool] = None, target_format: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if source_type is None and 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + if source_type is None: + raise TypeError("Missing 'source_type' argument") + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if target_type is None and 'targetType' in kwargs: + target_type = kwargs['targetType'] + if target_type is None: + raise TypeError("Missing 'target_type' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if override_on_conflict is None and 'overrideOnConflict' in kwargs: + override_on_conflict = kwargs['overrideOnConflict'] + if preserve_source is None and 'preserveSource' in kwargs: + preserve_source = kwargs['preserveSource'] + if target_format is None and 'targetFormat' in kwargs: + target_format = kwargs['targetFormat'] + _setter("source_type", source_type) _setter("sources", sources) _setter("target", target) @@ -93742,11 +102554,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - categories: Sequence['outputs.LogsCustomPipelineProcessorCategoryProcessorCategory'], - target: str, + categories: Optional[Sequence['outputs.LogsCustomPipelineProcessorCategoryProcessorCategory']] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if categories is None: + raise TypeError("Missing 'categories' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("categories", categories) _setter("target", target) if is_enabled is not None: @@ -93803,9 +102623,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filter: 'outputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilter', - name: str, - opts: Optional[pulumi.ResourceOptions]=None): + filter: Optional['outputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilter'] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filter is None: + raise TypeError("Missing 'filter' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("filter", filter) _setter("name", name) @@ -93837,8 +102663,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -93887,10 +102717,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -93962,11 +102798,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -94049,12 +102893,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - grok: 'outputs.LogsCustomPipelineProcessorGrokParserGrok', - source: str, + grok: Optional['outputs.LogsCustomPipelineProcessorGrokParserGrok'] = None, + source: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, samples: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if grok is None: + raise TypeError("Missing 'grok' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("grok", grok) _setter("source", source) if is_enabled is not None: @@ -94138,9 +102990,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - match_rules: str, - support_rules: str, - opts: Optional[pulumi.ResourceOptions]=None): + match_rules: Optional[str] = None, + support_rules: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if match_rules is None and 'matchRules' in kwargs: + match_rules = kwargs['matchRules'] + if match_rules is None: + raise TypeError("Missing 'match_rules' argument") + if support_rules is None and 'supportRules' in kwargs: + support_rules = kwargs['supportRules'] + if support_rules is None: + raise TypeError("Missing 'support_rules' argument") + _setter("match_rules", match_rules) _setter("support_rules", support_rules) @@ -94211,13 +103073,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_tables: Sequence[str], - source: str, - target: str, + lookup_tables: Optional[Sequence[str]] = None, + source: Optional[str] = None, + target: Optional[str] = None, default_lookup: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_tables is None and 'lookupTables' in kwargs: + lookup_tables = kwargs['lookupTables'] + if lookup_tables is None: + raise TypeError("Missing 'lookup_tables' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if default_lookup is None and 'defaultLookup' in kwargs: + default_lookup = kwargs['defaultLookup'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_tables", lookup_tables) _setter("source", source) _setter("target", target) @@ -94314,10 +103190,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -94387,11 +103269,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: Sequence['outputs.LogsCustomPipelineProcessorPipelineFilter'], - name: str, + filters: Optional[Sequence['outputs.LogsCustomPipelineProcessorPipelineFilter']] = None, + name: Optional[str] = None, is_enabled: Optional[bool] = None, processors: Optional[Sequence['outputs.LogsCustomPipelineProcessorPipelineProcessor']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("filters", filters) _setter("name", name) if is_enabled is not None: @@ -94440,8 +103330,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -94569,7 +103463,39 @@ def _configure( trace_id_remapper: Optional['outputs.LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper'] = None, url_parser: Optional['outputs.LogsCustomPipelineProcessorPipelineProcessorUrlParser'] = None, user_agent_parser: Optional['outputs.LogsCustomPipelineProcessorPipelineProcessorUserAgentParser'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if arithmetic_processor is None and 'arithmeticProcessor' in kwargs: + arithmetic_processor = kwargs['arithmeticProcessor'] + if attribute_remapper is None and 'attributeRemapper' in kwargs: + attribute_remapper = kwargs['attributeRemapper'] + if category_processor is None and 'categoryProcessor' in kwargs: + category_processor = kwargs['categoryProcessor'] + if date_remapper is None and 'dateRemapper' in kwargs: + date_remapper = kwargs['dateRemapper'] + if geo_ip_parser is None and 'geoIpParser' in kwargs: + geo_ip_parser = kwargs['geoIpParser'] + if grok_parser is None and 'grokParser' in kwargs: + grok_parser = kwargs['grokParser'] + if lookup_processor is None and 'lookupProcessor' in kwargs: + lookup_processor = kwargs['lookupProcessor'] + if message_remapper is None and 'messageRemapper' in kwargs: + message_remapper = kwargs['messageRemapper'] + if reference_table_lookup_processor is None and 'referenceTableLookupProcessor' in kwargs: + reference_table_lookup_processor = kwargs['referenceTableLookupProcessor'] + if service_remapper is None and 'serviceRemapper' in kwargs: + service_remapper = kwargs['serviceRemapper'] + if status_remapper is None and 'statusRemapper' in kwargs: + status_remapper = kwargs['statusRemapper'] + if string_builder_processor is None and 'stringBuilderProcessor' in kwargs: + string_builder_processor = kwargs['stringBuilderProcessor'] + if trace_id_remapper is None and 'traceIdRemapper' in kwargs: + trace_id_remapper = kwargs['traceIdRemapper'] + if url_parser is None and 'urlParser' in kwargs: + url_parser = kwargs['urlParser'] + if user_agent_parser is None and 'userAgentParser' in kwargs: + user_agent_parser = kwargs['userAgentParser'] + if arithmetic_processor is not None: _setter("arithmetic_processor", arithmetic_processor) if attribute_remapper is not None: @@ -94767,12 +103693,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expression: str, - target: str, + expression: Optional[str] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, is_replace_missing: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if expression is None: + raise TypeError("Missing 'expression' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("expression", expression) _setter("target", target) if is_enabled is not None: @@ -94888,16 +103824,38 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - source_type: str, - sources: Sequence[str], - target: str, - target_type: str, + source_type: Optional[str] = None, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, + target_type: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, override_on_conflict: Optional[bool] = None, preserve_source: Optional[bool] = None, target_format: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if source_type is None and 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + if source_type is None: + raise TypeError("Missing 'source_type' argument") + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if target_type is None and 'targetType' in kwargs: + target_type = kwargs['targetType'] + if target_type is None: + raise TypeError("Missing 'target_type' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if override_on_conflict is None and 'overrideOnConflict' in kwargs: + override_on_conflict = kwargs['overrideOnConflict'] + if preserve_source is None and 'preserveSource' in kwargs: + preserve_source = kwargs['preserveSource'] + if target_format is None and 'targetFormat' in kwargs: + target_format = kwargs['targetFormat'] + _setter("source_type", source_type) _setter("sources", sources) _setter("target", target) @@ -95026,11 +103984,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - categories: Sequence['outputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory'], - target: str, + categories: Optional[Sequence['outputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory']] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if categories is None: + raise TypeError("Missing 'categories' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("categories", categories) _setter("target", target) if is_enabled is not None: @@ -95087,9 +104053,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filter: 'outputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter', - name: str, - opts: Optional[pulumi.ResourceOptions]=None): + filter: Optional['outputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter'] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filter is None: + raise TypeError("Missing 'filter' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("filter", filter) _setter("name", name) @@ -95121,8 +104093,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -95171,10 +104147,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -95246,11 +104228,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -95333,12 +104323,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - grok: 'outputs.LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok', - source: str, + grok: Optional['outputs.LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok'] = None, + source: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, samples: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if grok is None: + raise TypeError("Missing 'grok' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("grok", grok) _setter("source", source) if is_enabled is not None: @@ -95422,9 +104420,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - match_rules: str, - support_rules: str, - opts: Optional[pulumi.ResourceOptions]=None): + match_rules: Optional[str] = None, + support_rules: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if match_rules is None and 'matchRules' in kwargs: + match_rules = kwargs['matchRules'] + if match_rules is None: + raise TypeError("Missing 'match_rules' argument") + if support_rules is None and 'supportRules' in kwargs: + support_rules = kwargs['supportRules'] + if support_rules is None: + raise TypeError("Missing 'support_rules' argument") + _setter("match_rules", match_rules) _setter("support_rules", support_rules) @@ -95495,13 +104503,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_tables: Sequence[str], - source: str, - target: str, + lookup_tables: Optional[Sequence[str]] = None, + source: Optional[str] = None, + target: Optional[str] = None, default_lookup: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_tables is None and 'lookupTables' in kwargs: + lookup_tables = kwargs['lookupTables'] + if lookup_tables is None: + raise TypeError("Missing 'lookup_tables' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if default_lookup is None and 'defaultLookup' in kwargs: + default_lookup = kwargs['defaultLookup'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_tables", lookup_tables) _setter("source", source) _setter("target", target) @@ -95598,10 +104620,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -95678,12 +104706,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_enrichment_table: str, - source: str, - target: str, + lookup_enrichment_table: Optional[str] = None, + source: Optional[str] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_enrichment_table is None and 'lookupEnrichmentTable' in kwargs: + lookup_enrichment_table = kwargs['lookupEnrichmentTable'] + if lookup_enrichment_table is None: + raise TypeError("Missing 'lookup_enrichment_table' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_enrichment_table", lookup_enrichment_table) _setter("source", source) _setter("target", target) @@ -95770,10 +104810,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -95842,10 +104888,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -95922,12 +104974,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: str, - template: str, + target: Optional[str] = None, + template: Optional[str] = None, is_enabled: Optional[bool] = None, is_replace_missing: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if template is None: + raise TypeError("Missing 'template' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("target", target) _setter("template", template) if is_enabled is not None: @@ -96015,10 +105077,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -96095,12 +105163,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, normalize_ending_slashes: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if normalize_ending_slashes is None and 'normalizeEndingSlashes' in kwargs: + normalize_ending_slashes = kwargs['normalizeEndingSlashes'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -96196,12 +105274,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, is_encoded: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_encoded is None and 'isEncoded' in kwargs: + is_encoded = kwargs['isEncoded'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -96297,12 +105385,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - lookup_enrichment_table: str, - source: str, - target: str, + lookup_enrichment_table: Optional[str] = None, + source: Optional[str] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if lookup_enrichment_table is None and 'lookupEnrichmentTable' in kwargs: + lookup_enrichment_table = kwargs['lookupEnrichmentTable'] + if lookup_enrichment_table is None: + raise TypeError("Missing 'lookup_enrichment_table' argument") + if source is None: + raise TypeError("Missing 'source' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("lookup_enrichment_table", lookup_enrichment_table) _setter("source", source) _setter("target", target) @@ -96389,10 +105489,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -96461,10 +105567,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -96541,12 +105653,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: str, - template: str, + target: Optional[str] = None, + template: Optional[str] = None, is_enabled: Optional[bool] = None, is_replace_missing: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if template is None: + raise TypeError("Missing 'template' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_replace_missing is None and 'isReplaceMissing' in kwargs: + is_replace_missing = kwargs['isReplaceMissing'] + _setter("target", target) _setter("template", template) if is_enabled is not None: @@ -96634,10 +105756,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], + sources: Optional[Sequence[str]] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + _setter("sources", sources) if is_enabled is not None: _setter("is_enabled", is_enabled) @@ -96714,12 +105842,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, normalize_ending_slashes: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if normalize_ending_slashes is None and 'normalizeEndingSlashes' in kwargs: + normalize_ending_slashes = kwargs['normalizeEndingSlashes'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -96815,12 +105953,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - sources: Sequence[str], - target: str, + sources: Optional[Sequence[str]] = None, + target: Optional[str] = None, is_enabled: Optional[bool] = None, is_encoded: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sources is None: + raise TypeError("Missing 'sources' argument") + if target is None: + raise TypeError("Missing 'target' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_encoded is None and 'isEncoded' in kwargs: + is_encoded = kwargs['isEncoded'] + _setter("sources", sources) _setter("target", target) if is_enabled is not None: @@ -96910,7 +106058,11 @@ def _configure( filters: Optional[Sequence['outputs.LogsIndexExclusionFilterFilter']] = None, is_enabled: Optional[bool] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if filters is not None: _setter("filters", filters) if is_enabled is not None: @@ -96976,7 +106128,11 @@ def _configure( _setter: Callable[[Any, Any], None], query: Optional[str] = None, sample_rate: Optional[float] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if sample_rate is None and 'sampleRate' in kwargs: + sample_rate = kwargs['sampleRate'] + if query is not None: _setter("query", query) if sample_rate is not None: @@ -97013,8 +106169,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -97065,10 +106225,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation_type: str, + aggregation_type: Optional[str] = None, include_percentiles: Optional[bool] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation_type is None and 'aggregationType' in kwargs: + aggregation_type = kwargs['aggregationType'] + if aggregation_type is None: + raise TypeError("Missing 'aggregation_type' argument") + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + _setter("aggregation_type", aggregation_type) if include_percentiles is not None: _setter("include_percentiles", include_percentiles) @@ -97114,8 +106282,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -97161,9 +106333,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - path: str, - tag_name: str, - opts: Optional[pulumi.ResourceOptions]=None): + path: Optional[str] = None, + tag_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if path is None: + raise TypeError("Missing 'path' argument") + if tag_name is None and 'tagName' in kwargs: + tag_name = kwargs['tagName'] + if tag_name is None: + raise TypeError("Missing 'tag_name' argument") + _setter("path", path) _setter("tag_name", tag_name) @@ -97201,9 +106381,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - space: str, - time: str, - opts: Optional[pulumi.ResourceOptions]=None): + space: Optional[str] = None, + time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if space is None: + raise TypeError("Missing 'space' argument") + if time is None: + raise TypeError("Missing 'time' argument") + _setter("space", space) _setter("time", time) @@ -97265,10 +106451,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tag_key: str, - tag_key_required: bool, - valid_tag_values: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + tag_key: Optional[str] = None, + tag_key_required: Optional[bool] = None, + valid_tag_values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if tag_key is None and 'tagKey' in kwargs: + tag_key = kwargs['tagKey'] + if tag_key is None: + raise TypeError("Missing 'tag_key' argument") + if tag_key_required is None and 'tagKeyRequired' in kwargs: + tag_key_required = kwargs['tagKeyRequired'] + if tag_key_required is None: + raise TypeError("Missing 'tag_key_required' argument") + if valid_tag_values is None and 'validTagValues' in kwargs: + valid_tag_values = kwargs['validTagValues'] + if valid_tag_values is None: + raise TypeError("Missing 'valid_tag_values' argument") + _setter("tag_key", tag_key) _setter("tag_key_required", tag_key_required) _setter("valid_tag_values", valid_tag_values) @@ -97336,7 +106536,13 @@ def _configure( _setter: Callable[[Any, Any], None], recovery_window: Optional[str] = None, trigger_window: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if recovery_window is None and 'recoveryWindow' in kwargs: + recovery_window = kwargs['recoveryWindow'] + if trigger_window is None and 'triggerWindow' in kwargs: + trigger_window = kwargs['triggerWindow'] + if recovery_window is not None: _setter("recovery_window", recovery_window) if trigger_window is not None: @@ -97413,7 +106619,13 @@ def _configure( unknown: Optional[str] = None, warning: Optional[str] = None, warning_recovery: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if critical_recovery is None and 'criticalRecovery' in kwargs: + critical_recovery = kwargs['criticalRecovery'] + if warning_recovery is None and 'warningRecovery' in kwargs: + warning_recovery = kwargs['warningRecovery'] + if critical is not None: _setter("critical", critical) if critical_recovery is not None: @@ -97507,8 +106719,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - evaluation_windows: Sequence['outputs.MonitorSchedulingOptionEvaluationWindow'], - opts: Optional[pulumi.ResourceOptions]=None): + evaluation_windows: Optional[Sequence['outputs.MonitorSchedulingOptionEvaluationWindow']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if evaluation_windows is None and 'evaluationWindows' in kwargs: + evaluation_windows = kwargs['evaluationWindows'] + if evaluation_windows is None: + raise TypeError("Missing 'evaluation_windows' argument") + _setter("evaluation_windows", evaluation_windows) @property @@ -97564,7 +106782,15 @@ def _configure( day_starts: Optional[str] = None, hour_starts: Optional[int] = None, month_starts: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if day_starts is None and 'dayStarts' in kwargs: + day_starts = kwargs['dayStarts'] + if hour_starts is None and 'hourStarts' in kwargs: + hour_starts = kwargs['hourStarts'] + if month_starts is None and 'monthStarts' in kwargs: + month_starts = kwargs['monthStarts'] + if day_starts is not None: _setter("day_starts", day_starts) if hour_starts is not None: @@ -97629,7 +106855,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], event_queries: Optional[Sequence['outputs.MonitorVariablesEventQuery']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if event_queries is None and 'eventQueries' in kwargs: + event_queries = kwargs['eventQueries'] + if event_queries is not None: _setter("event_queries", event_queries) @@ -97690,13 +106920,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - computes: Sequence['outputs.MonitorVariablesEventQueryCompute'], - data_source: str, - name: str, - search: 'outputs.MonitorVariablesEventQuerySearch', + computes: Optional[Sequence['outputs.MonitorVariablesEventQueryCompute']] = None, + data_source: Optional[str] = None, + name: Optional[str] = None, + search: Optional['outputs.MonitorVariablesEventQuerySearch'] = None, group_bies: Optional[Sequence['outputs.MonitorVariablesEventQueryGroupBy']] = None, indexes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if computes is None: + raise TypeError("Missing 'computes' argument") + if data_source is None and 'dataSource' in kwargs: + data_source = kwargs['dataSource'] + if data_source is None: + raise TypeError("Missing 'data_source' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if search is None: + raise TypeError("Missing 'search' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("computes", computes) _setter("data_source", data_source) _setter("name", name) @@ -97775,10 +107019,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, interval: Optional[int] = None, metric: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if interval is not None: _setter("interval", interval) @@ -97830,10 +107078,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - facet: str, + facet: Optional[str] = None, limit: Optional[int] = None, sort: Optional['outputs.MonitorVariablesEventQueryGroupBySort'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if facet is None: + raise TypeError("Missing 'facet' argument") + _setter("facet", facet) if limit is not None: _setter("limit", limit) @@ -97885,10 +107137,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation: str, + aggregation: Optional[str] = None, metric: Optional[str] = None, order: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation is None: + raise TypeError("Missing 'aggregation' argument") + _setter("aggregation", aggregation) if metric is not None: _setter("metric", metric) @@ -97934,8 +107190,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -98021,17 +107281,45 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - saml: 'outputs.OrganizationSettingsSettingsSaml', - saml_autocreate_users_domains: 'outputs.OrganizationSettingsSettingsSamlAutocreateUsersDomains', - saml_idp_initiated_login: 'outputs.OrganizationSettingsSettingsSamlIdpInitiatedLogin', - saml_strict_mode: 'outputs.OrganizationSettingsSettingsSamlStrictMode', + saml: Optional['outputs.OrganizationSettingsSettingsSaml'] = None, + saml_autocreate_users_domains: Optional['outputs.OrganizationSettingsSettingsSamlAutocreateUsersDomains'] = None, + saml_idp_initiated_login: Optional['outputs.OrganizationSettingsSettingsSamlIdpInitiatedLogin'] = None, + saml_strict_mode: Optional['outputs.OrganizationSettingsSettingsSamlStrictMode'] = None, private_widget_share: Optional[bool] = None, saml_autocreate_access_role: Optional[str] = None, saml_can_be_enabled: Optional[bool] = None, saml_idp_endpoint: Optional[str] = None, saml_idp_metadata_uploaded: Optional[bool] = None, saml_login_url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if saml is None: + raise TypeError("Missing 'saml' argument") + if saml_autocreate_users_domains is None and 'samlAutocreateUsersDomains' in kwargs: + saml_autocreate_users_domains = kwargs['samlAutocreateUsersDomains'] + if saml_autocreate_users_domains is None: + raise TypeError("Missing 'saml_autocreate_users_domains' argument") + if saml_idp_initiated_login is None and 'samlIdpInitiatedLogin' in kwargs: + saml_idp_initiated_login = kwargs['samlIdpInitiatedLogin'] + if saml_idp_initiated_login is None: + raise TypeError("Missing 'saml_idp_initiated_login' argument") + if saml_strict_mode is None and 'samlStrictMode' in kwargs: + saml_strict_mode = kwargs['samlStrictMode'] + if saml_strict_mode is None: + raise TypeError("Missing 'saml_strict_mode' argument") + if private_widget_share is None and 'privateWidgetShare' in kwargs: + private_widget_share = kwargs['privateWidgetShare'] + if saml_autocreate_access_role is None and 'samlAutocreateAccessRole' in kwargs: + saml_autocreate_access_role = kwargs['samlAutocreateAccessRole'] + if saml_can_be_enabled is None and 'samlCanBeEnabled' in kwargs: + saml_can_be_enabled = kwargs['samlCanBeEnabled'] + if saml_idp_endpoint is None and 'samlIdpEndpoint' in kwargs: + saml_idp_endpoint = kwargs['samlIdpEndpoint'] + if saml_idp_metadata_uploaded is None and 'samlIdpMetadataUploaded' in kwargs: + saml_idp_metadata_uploaded = kwargs['samlIdpMetadataUploaded'] + if saml_login_url is None and 'samlLoginUrl' in kwargs: + saml_login_url = kwargs['samlLoginUrl'] + _setter("saml", saml) _setter("saml_autocreate_users_domains", saml_autocreate_users_domains) _setter("saml_idp_initiated_login", saml_idp_initiated_login) @@ -98145,7 +107433,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -98177,7 +107467,9 @@ def _configure( _setter: Callable[[Any, Any], None], domains: Optional[Sequence[str]] = None, enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if domains is not None: _setter("domains", domains) if enabled is not None: @@ -98215,7 +107507,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -98243,7 +107537,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if enabled is not None: _setter("enabled", enabled) @@ -98273,9 +107569,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - principals: Sequence[str], - relation: str, - opts: Optional[pulumi.ResourceOptions]=None): + principals: Optional[Sequence[str]] = None, + relation: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if principals is None: + raise TypeError("Missing 'principals' argument") + if relation is None: + raise TypeError("Missing 'relation' argument") + _setter("principals", principals) _setter("relation", relation) @@ -98313,9 +107615,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, + id: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + _setter("id", id) if name is not None: _setter("name", name) @@ -98354,9 +107660,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - notifications: Sequence[str], - status: str, - opts: Optional[pulumi.ResourceOptions]=None): + notifications: Optional[Sequence[str]] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if status is None: + raise TypeError("Missing 'status' argument") + _setter("notifications", notifications) _setter("status", status) @@ -98394,9 +107706,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -98449,7 +107767,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], decrease_criticality_based_on_env: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if decrease_criticality_based_on_env is None and 'decreaseCriticalityBasedOnEnv' in kwargs: + decrease_criticality_based_on_env = kwargs['decreaseCriticalityBasedOnEnv'] + if decrease_criticality_based_on_env is not None: _setter("decrease_criticality_based_on_env", decrease_criticality_based_on_env) @@ -98479,9 +107801,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("name", name) _setter("query", query) @@ -98525,11 +107853,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - status: str, + status: Optional[str] = None, condition: Optional[str] = None, name: Optional[str] = None, notifications: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if status is None: + raise TypeError("Missing 'status' argument") + _setter("status", status) if condition is not None: _setter("condition", condition) @@ -98588,9 +107920,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -98672,14 +108010,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - keep_alive: int, - max_signal_duration: int, + keep_alive: Optional[int] = None, + max_signal_duration: Optional[int] = None, decrease_criticality_based_on_env: Optional[bool] = None, detection_method: Optional[str] = None, evaluation_window: Optional[int] = None, impossible_travel_options: Optional['outputs.SecurityMonitoringRuleOptionsImpossibleTravelOptions'] = None, new_value_options: Optional['outputs.SecurityMonitoringRuleOptionsNewValueOptions'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if keep_alive is None and 'keepAlive' in kwargs: + keep_alive = kwargs['keepAlive'] + if keep_alive is None: + raise TypeError("Missing 'keep_alive' argument") + if max_signal_duration is None and 'maxSignalDuration' in kwargs: + max_signal_duration = kwargs['maxSignalDuration'] + if max_signal_duration is None: + raise TypeError("Missing 'max_signal_duration' argument") + if decrease_criticality_based_on_env is None and 'decreaseCriticalityBasedOnEnv' in kwargs: + decrease_criticality_based_on_env = kwargs['decreaseCriticalityBasedOnEnv'] + if detection_method is None and 'detectionMethod' in kwargs: + detection_method = kwargs['detectionMethod'] + if evaluation_window is None and 'evaluationWindow' in kwargs: + evaluation_window = kwargs['evaluationWindow'] + if impossible_travel_options is None and 'impossibleTravelOptions' in kwargs: + impossible_travel_options = kwargs['impossibleTravelOptions'] + if new_value_options is None and 'newValueOptions' in kwargs: + new_value_options = kwargs['newValueOptions'] + _setter("keep_alive", keep_alive) _setter("max_signal_duration", max_signal_duration) if decrease_criticality_based_on_env is not None: @@ -98782,7 +108140,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], baseline_user_locations: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if baseline_user_locations is None and 'baselineUserLocations' in kwargs: + baseline_user_locations = kwargs['baselineUserLocations'] + if baseline_user_locations is not None: _setter("baseline_user_locations", baseline_user_locations) @@ -98841,11 +108203,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - forget_after: int, + forget_after: Optional[int] = None, learning_duration: Optional[int] = None, learning_method: Optional[str] = None, learning_threshold: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if forget_after is None and 'forgetAfter' in kwargs: + forget_after = kwargs['forgetAfter'] + if forget_after is None: + raise TypeError("Missing 'forget_after' argument") + if learning_duration is None and 'learningDuration' in kwargs: + learning_duration = kwargs['learningDuration'] + if learning_method is None and 'learningMethod' in kwargs: + learning_method = kwargs['learningMethod'] + if learning_threshold is None and 'learningThreshold' in kwargs: + learning_threshold = kwargs['learningThreshold'] + _setter("forget_after", forget_after) if learning_duration is not None: _setter("learning_duration", learning_duration) @@ -98943,7 +108317,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, + query: Optional[str] = None, agent_rules: Optional[Sequence['outputs.SecurityMonitoringRuleQueryAgentRule']] = None, aggregation: Optional[str] = None, distinct_fields: Optional[Sequence[str]] = None, @@ -98951,7 +108325,17 @@ def _configure( metric: Optional[str] = None, metrics: Optional[Sequence[str]] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if agent_rules is None and 'agentRules' in kwargs: + agent_rules = kwargs['agentRules'] + if distinct_fields is None and 'distinctFields' in kwargs: + distinct_fields = kwargs['distinctFields'] + if group_by_fields is None and 'groupByFields' in kwargs: + group_by_fields = kwargs['groupByFields'] + _setter("query", query) if agent_rules is not None: _setter("agent_rules", agent_rules) @@ -99073,9 +108457,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - agent_rule_id: str, - expression: str, - opts: Optional[pulumi.ResourceOptions]=None): + agent_rule_id: Optional[str] = None, + expression: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if agent_rule_id is None and 'agentRuleId' in kwargs: + agent_rule_id = kwargs['agentRuleId'] + if agent_rule_id is None: + raise TypeError("Missing 'agent_rule_id' argument") + if expression is None: + raise TypeError("Missing 'expression' argument") + _setter("agent_rule_id", agent_rule_id) _setter("expression", expression) @@ -99148,13 +108540,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - rule_id: str, + rule_id: Optional[str] = None, aggregation: Optional[str] = None, correlated_by_fields: Optional[Sequence[str]] = None, correlated_query_index: Optional[str] = None, default_rule_id: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if rule_id is None and 'ruleId' in kwargs: + rule_id = kwargs['ruleId'] + if rule_id is None: + raise TypeError("Missing 'rule_id' argument") + if correlated_by_fields is None and 'correlatedByFields' in kwargs: + correlated_by_fields = kwargs['correlatedByFields'] + if correlated_query_index is None and 'correlatedQueryIndex' in kwargs: + correlated_query_index = kwargs['correlatedQueryIndex'] + if default_rule_id is None and 'defaultRuleId' in kwargs: + default_rule_id = kwargs['defaultRuleId'] + _setter("rule_id", rule_id) if aggregation is not None: _setter("aggregation", aggregation) @@ -99230,8 +108634,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -99282,10 +108690,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, number_of_chars: Optional[int] = None, replacement_string: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if number_of_chars is None and 'numberOfChars' in kwargs: + number_of_chars = kwargs['numberOfChars'] + if replacement_string is None and 'replacementString' in kwargs: + replacement_string = kwargs['replacementString'] + _setter("type", type) if number_of_chars is not None: _setter("number_of_chars", number_of_chars) @@ -99334,9 +108750,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - denominator: str, - numerator: str, - opts: Optional[pulumi.ResourceOptions]=None): + denominator: Optional[str] = None, + numerator: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if denominator is None: + raise TypeError("Missing 'denominator' argument") + if numerator is None: + raise TypeError("Missing 'numerator' argument") + _setter("denominator", denominator) _setter("numerator", numerator) @@ -99402,12 +108824,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target: float, - timeframe: str, + target: Optional[float] = None, + timeframe: Optional[str] = None, target_display: Optional[str] = None, warning: Optional[float] = None, warning_display: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if target is None: + raise TypeError("Missing 'target' argument") + if timeframe is None: + raise TypeError("Missing 'timeframe' argument") + if target_display is None and 'targetDisplay' in kwargs: + target_display = kwargs['targetDisplay'] + if warning_display is None and 'warningDisplay' in kwargs: + warning_display = kwargs['warningDisplay'] + _setter("target", target) _setter("timeframe", timeframe) if target_display is not None: @@ -99497,10 +108929,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aggregation_type: str, + aggregation_type: Optional[str] = None, include_percentiles: Optional[bool] = None, path: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aggregation_type is None and 'aggregationType' in kwargs: + aggregation_type = kwargs['aggregationType'] + if aggregation_type is None: + raise TypeError("Missing 'aggregation_type' argument") + if include_percentiles is None and 'includePercentiles' in kwargs: + include_percentiles = kwargs['includePercentiles'] + _setter("aggregation_type", aggregation_type) if include_percentiles is not None: _setter("include_percentiles", include_percentiles) @@ -99547,7 +108987,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], query: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is not None: _setter("query", query) @@ -99594,9 +109036,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - path: str, + path: Optional[str] = None, tag_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if path is None: + raise TypeError("Missing 'path' argument") + if tag_name is None and 'tagName' in kwargs: + tag_name = kwargs['tagName'] + _setter("path", path) if tag_name is not None: _setter("tag_name", tag_name) @@ -99650,7 +109098,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], totp_parameters: Optional['outputs.SyntheticsGlobalVariableOptionsTotpParameters'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if totp_parameters is None and 'totpParameters' in kwargs: + totp_parameters = kwargs['totpParameters'] + if totp_parameters is not None: _setter("totp_parameters", totp_parameters) @@ -99697,9 +109149,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - digits: int, - refresh_interval: int, - opts: Optional[pulumi.ResourceOptions]=None): + digits: Optional[int] = None, + refresh_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if digits is None: + raise TypeError("Missing 'digits' argument") + if refresh_interval is None and 'refreshInterval' in kwargs: + refresh_interval = kwargs['refreshInterval'] + if refresh_interval is None: + raise TypeError("Missing 'refresh_interval' argument") + _setter("digits", digits) _setter("refresh_interval", refresh_interval) @@ -99759,11 +109219,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, field: Optional[str] = None, local_variable_name: Optional[str] = None, parser: Optional['outputs.SyntheticsGlobalVariableParseTestOptionsParser'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + if local_variable_name is None and 'localVariableName' in kwargs: + local_variable_name = kwargs['localVariableName'] + _setter("type", type) if field is not None: _setter("field", field) @@ -99819,9 +109285,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if value is not None: _setter("value", value) @@ -99875,7 +109345,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], restricted_roles: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if restricted_roles is not None: _setter("restricted_roles", restricted_roles) @@ -99970,7 +109444,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, + name: Optional[str] = None, allow_failure: Optional[bool] = None, assertions: Optional[Sequence['outputs.SyntheticsTestApiStepAssertion']] = None, extracted_values: Optional[Sequence['outputs.SyntheticsTestApiStepExtractedValue']] = None, @@ -99983,7 +109457,29 @@ def _configure( request_query: Optional[Mapping[str, Any]] = None, retry: Optional['outputs.SyntheticsTestApiStepRetry'] = None, subtype: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if allow_failure is None and 'allowFailure' in kwargs: + allow_failure = kwargs['allowFailure'] + if extracted_values is None and 'extractedValues' in kwargs: + extracted_values = kwargs['extractedValues'] + if is_critical is None and 'isCritical' in kwargs: + is_critical = kwargs['isCritical'] + if request_basicauth is None and 'requestBasicauth' in kwargs: + request_basicauth = kwargs['requestBasicauth'] + if request_client_certificate is None and 'requestClientCertificate' in kwargs: + request_client_certificate = kwargs['requestClientCertificate'] + if request_definition is None and 'requestDefinition' in kwargs: + request_definition = kwargs['requestDefinition'] + if request_headers is None and 'requestHeaders' in kwargs: + request_headers = kwargs['requestHeaders'] + if request_proxy is None and 'requestProxy' in kwargs: + request_proxy = kwargs['requestProxy'] + if request_query is None and 'requestQuery' in kwargs: + request_query = kwargs['requestQuery'] + _setter("name", name) if allow_failure is not None: _setter("allow_failure", allow_failure) @@ -100141,13 +109637,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: str, - type: str, + operator: Optional[str] = None, + type: Optional[str] = None, property: Optional[str] = None, target: Optional[str] = None, targetjsonpath: Optional['outputs.SyntheticsTestApiStepAssertionTargetjsonpath'] = None, targetxpath: Optional['outputs.SyntheticsTestApiStepAssertionTargetxpath'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("operator", operator) _setter("type", type) if property is not None: @@ -100228,10 +109730,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - jsonpath: str, - operator: str, + jsonpath: Optional[str] = None, + operator: Optional[str] = None, targetvalue: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if jsonpath is None: + raise TypeError("Missing 'jsonpath' argument") + if operator is None: + raise TypeError("Missing 'operator' argument") + _setter("jsonpath", jsonpath) _setter("operator", operator) if targetvalue is not None: @@ -100282,10 +109790,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: str, - xpath: str, + operator: Optional[str] = None, + xpath: Optional[str] = None, targetvalue: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if xpath is None: + raise TypeError("Missing 'xpath' argument") + _setter("operator", operator) _setter("xpath", xpath) if targetvalue is not None: @@ -100340,12 +109854,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - parser: 'outputs.SyntheticsTestApiStepExtractedValueParser', - type: str, + name: Optional[str] = None, + parser: Optional['outputs.SyntheticsTestApiStepExtractedValueParser'] = None, + type: Optional[str] = None, field: Optional[str] = None, secure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if parser is None: + raise TypeError("Missing 'parser' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("parser", parser) _setter("type", type) @@ -100406,9 +109928,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, value: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if type is None: + raise TypeError("Missing 'type' argument") + _setter("type", type) if value is not None: _setter("value", value) @@ -100540,7 +110066,25 @@ def _configure( type: Optional[str] = None, username: Optional[str] = None, workstation: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key is None and 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if access_token_url is None and 'accessTokenUrl' in kwargs: + access_token_url = kwargs['accessTokenUrl'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if secret_key is None and 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if session_token is None and 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if token_api_authentication is None and 'tokenApiAuthentication' in kwargs: + token_api_authentication = kwargs['tokenApiAuthentication'] + if access_key is not None: _setter("access_key", access_key) if access_token_url is not None: @@ -100726,9 +110270,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cert: 'outputs.SyntheticsTestApiStepRequestClientCertificateCert', - key: 'outputs.SyntheticsTestApiStepRequestClientCertificateKey', - opts: Optional[pulumi.ResourceOptions]=None): + cert: Optional['outputs.SyntheticsTestApiStepRequestClientCertificateCert'] = None, + key: Optional['outputs.SyntheticsTestApiStepRequestClientCertificateKey'] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cert is None: + raise TypeError("Missing 'cert' argument") + if key is None: + raise TypeError("Missing 'key' argument") + _setter("cert", cert) _setter("key", key) @@ -100760,9 +110310,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, filename: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -100801,9 +110355,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, filename: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -100953,7 +110511,31 @@ def _configure( should_track_hops: Optional[bool] = None, timeout: Optional[int] = None, url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if allow_insecure is None and 'allowInsecure' in kwargs: + allow_insecure = kwargs['allowInsecure'] + if body_type is None and 'bodyType' in kwargs: + body_type = kwargs['bodyType'] + if call_type is None and 'callType' in kwargs: + call_type = kwargs['callType'] + if certificate_domains is None and 'certificateDomains' in kwargs: + certificate_domains = kwargs['certificateDomains'] + if dns_server is None and 'dnsServer' in kwargs: + dns_server = kwargs['dnsServer'] + if dns_server_port is None and 'dnsServerPort' in kwargs: + dns_server_port = kwargs['dnsServerPort'] + if follow_redirects is None and 'followRedirects' in kwargs: + follow_redirects = kwargs['followRedirects'] + if no_saving_response_body is None and 'noSavingResponseBody' in kwargs: + no_saving_response_body = kwargs['noSavingResponseBody'] + if number_of_packets is None and 'numberOfPackets' in kwargs: + number_of_packets = kwargs['numberOfPackets'] + if persist_cookies is None and 'persistCookies' in kwargs: + persist_cookies = kwargs['persistCookies'] + if should_track_hops is None and 'shouldTrackHops' in kwargs: + should_track_hops = kwargs['shouldTrackHops'] + if allow_insecure is not None: _setter("allow_insecure", allow_insecure) if body is not None: @@ -101173,9 +110755,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, + url: Optional[str] = None, headers: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) if headers is not None: _setter("headers", headers) @@ -101216,7 +110802,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if interval is not None: @@ -101268,13 +110856,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: str, - type: str, + operator: Optional[str] = None, + type: Optional[str] = None, property: Optional[str] = None, target: Optional[str] = None, targetjsonpath: Optional['outputs.SyntheticsTestAssertionTargetjsonpath'] = None, targetxpath: Optional['outputs.SyntheticsTestAssertionTargetxpath'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("operator", operator) _setter("type", type) if property is not None: @@ -101355,10 +110949,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - jsonpath: str, - operator: str, + jsonpath: Optional[str] = None, + operator: Optional[str] = None, targetvalue: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if jsonpath is None: + raise TypeError("Missing 'jsonpath' argument") + if operator is None: + raise TypeError("Missing 'operator' argument") + _setter("jsonpath", jsonpath) _setter("operator", operator) if targetvalue is not None: @@ -101409,10 +111009,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operator: str, - xpath: str, + operator: Optional[str] = None, + xpath: Optional[str] = None, targetvalue: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if operator is None: + raise TypeError("Missing 'operator' argument") + if xpath is None: + raise TypeError("Missing 'xpath' argument") + _setter("operator", operator) _setter("xpath", xpath) if targetvalue is not None: @@ -101501,15 +111107,31 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - params: 'outputs.SyntheticsTestBrowserStepParams', - type: str, + name: Optional[str] = None, + params: Optional['outputs.SyntheticsTestBrowserStepParams'] = None, + type: Optional[str] = None, allow_failure: Optional[bool] = None, force_element_update: Optional[bool] = None, is_critical: Optional[bool] = None, no_screenshot: Optional[bool] = None, timeout: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if params is None: + raise TypeError("Missing 'params' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if allow_failure is None and 'allowFailure' in kwargs: + allow_failure = kwargs['allowFailure'] + if force_element_update is None and 'forceElementUpdate' in kwargs: + force_element_update = kwargs['forceElementUpdate'] + if is_critical is None and 'isCritical' in kwargs: + is_critical = kwargs['isCritical'] + if no_screenshot is None and 'noScreenshot' in kwargs: + no_screenshot = kwargs['noScreenshot'] + _setter("name", name) _setter("params", params) _setter("type", type) @@ -101701,7 +111323,19 @@ def _configure( with_click: Optional[bool] = None, x: Optional[int] = None, y: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if click_type is None and 'clickType' in kwargs: + click_type = kwargs['clickType'] + if element_user_locator is None and 'elementUserLocator' in kwargs: + element_user_locator = kwargs['elementUserLocator'] + if playing_tab_id is None and 'playingTabId' in kwargs: + playing_tab_id = kwargs['playingTabId'] + if subtest_public_id is None and 'subtestPublicId' in kwargs: + subtest_public_id = kwargs['subtestPublicId'] + if with_click is None and 'withClick' in kwargs: + with_click = kwargs['withClick'] + if attribute is not None: _setter("attribute", attribute) if check is not None: @@ -101927,9 +111561,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: 'outputs.SyntheticsTestBrowserStepParamsElementUserLocatorValue', + value: Optional['outputs.SyntheticsTestBrowserStepParamsElementUserLocatorValue'] = None, fail_test_on_cannot_locate: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + if fail_test_on_cannot_locate is None and 'failTestOnCannotLocate' in kwargs: + fail_test_on_cannot_locate = kwargs['failTestOnCannotLocate'] + _setter("value", value) if fail_test_on_cannot_locate is not None: _setter("fail_test_on_cannot_locate", fail_test_on_cannot_locate) @@ -101965,9 +111605,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - value: str, + value: Optional[str] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if value is None: + raise TypeError("Missing 'value' argument") + _setter("value", value) if type is not None: _setter("type", type) @@ -102007,7 +111651,9 @@ def _configure( _setter: Callable[[Any, Any], None], example: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if example is not None: _setter("example", example) if name is not None: @@ -102056,13 +111702,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - type: str, + name: Optional[str] = None, + type: Optional[str] = None, example: Optional[str] = None, id: Optional[str] = None, pattern: Optional[str] = None, secure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("type", type) if example is not None: @@ -102150,13 +111802,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - type: str, + name: Optional[str] = None, + type: Optional[str] = None, example: Optional[str] = None, id: Optional[str] = None, pattern: Optional[str] = None, secure: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("name", name) _setter("type", type) if example is not None: @@ -102333,7 +111991,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tick_every: int, + tick_every: Optional[int] = None, accept_self_signed: Optional[bool] = None, allow_insecure: Optional[bool] = None, check_certificate_revocation: Optional[bool] = None, @@ -102354,7 +112012,47 @@ def _configure( retry: Optional['outputs.SyntheticsTestOptionsListRetry'] = None, rum_settings: Optional['outputs.SyntheticsTestOptionsListRumSettings'] = None, scheduling: Optional['outputs.SyntheticsTestOptionsListScheduling'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if tick_every is None and 'tickEvery' in kwargs: + tick_every = kwargs['tickEvery'] + if tick_every is None: + raise TypeError("Missing 'tick_every' argument") + if accept_self_signed is None and 'acceptSelfSigned' in kwargs: + accept_self_signed = kwargs['acceptSelfSigned'] + if allow_insecure is None and 'allowInsecure' in kwargs: + allow_insecure = kwargs['allowInsecure'] + if check_certificate_revocation is None and 'checkCertificateRevocation' in kwargs: + check_certificate_revocation = kwargs['checkCertificateRevocation'] + if disable_cors is None and 'disableCors' in kwargs: + disable_cors = kwargs['disableCors'] + if disable_csp is None and 'disableCsp' in kwargs: + disable_csp = kwargs['disableCsp'] + if follow_redirects is None and 'followRedirects' in kwargs: + follow_redirects = kwargs['followRedirects'] + if http_version is None and 'httpVersion' in kwargs: + http_version = kwargs['httpVersion'] + if ignore_server_certificate_error is None and 'ignoreServerCertificateError' in kwargs: + ignore_server_certificate_error = kwargs['ignoreServerCertificateError'] + if initial_navigation_timeout is None and 'initialNavigationTimeout' in kwargs: + initial_navigation_timeout = kwargs['initialNavigationTimeout'] + if min_failure_duration is None and 'minFailureDuration' in kwargs: + min_failure_duration = kwargs['minFailureDuration'] + if min_location_failed is None and 'minLocationFailed' in kwargs: + min_location_failed = kwargs['minLocationFailed'] + if monitor_name is None and 'monitorName' in kwargs: + monitor_name = kwargs['monitorName'] + if monitor_options is None and 'monitorOptions' in kwargs: + monitor_options = kwargs['monitorOptions'] + if monitor_priority is None and 'monitorPriority' in kwargs: + monitor_priority = kwargs['monitorPriority'] + if no_screenshot is None and 'noScreenshot' in kwargs: + no_screenshot = kwargs['noScreenshot'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if rum_settings is None and 'rumSettings' in kwargs: + rum_settings = kwargs['rumSettings'] + _setter("tick_every", tick_every) if accept_self_signed is not None: _setter("accept_self_signed", accept_self_signed) @@ -102589,7 +112287,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], execution_rule: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if execution_rule is None and 'executionRule' in kwargs: + execution_rule = kwargs['executionRule'] + if execution_rule is not None: _setter("execution_rule", execution_rule) @@ -102634,7 +112336,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], renotify_interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if renotify_interval is None and 'renotifyInterval' in kwargs: + renotify_interval = kwargs['renotifyInterval'] + if renotify_interval is not None: _setter("renotify_interval", renotify_interval) @@ -102666,7 +112372,9 @@ def _configure( _setter: Callable[[Any, Any], None], count: Optional[int] = None, interval: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if count is not None: _setter("count", count) if interval is not None: @@ -102730,10 +112438,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_enabled: bool, + is_enabled: Optional[bool] = None, application_id: Optional[str] = None, client_token_id: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if application_id is None and 'applicationId' in kwargs: + application_id = kwargs['applicationId'] + if client_token_id is None and 'clientTokenId' in kwargs: + client_token_id = kwargs['clientTokenId'] + _setter("is_enabled", is_enabled) if application_id is not None: _setter("application_id", application_id) @@ -102782,9 +112500,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - timeframes: Sequence['outputs.SyntheticsTestOptionsListSchedulingTimeframe'], - timezone: str, - opts: Optional[pulumi.ResourceOptions]=None): + timeframes: Optional[Sequence['outputs.SyntheticsTestOptionsListSchedulingTimeframe']] = None, + timezone: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if timeframes is None: + raise TypeError("Missing 'timeframes' argument") + if timezone is None: + raise TypeError("Missing 'timezone' argument") + _setter("timeframes", timeframes) _setter("timezone", timezone) @@ -102842,10 +112566,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - day: int, - from_: str, - to: str, - opts: Optional[pulumi.ResourceOptions]=None): + day: Optional[int] = None, + from_: Optional[str] = None, + to: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if day is None: + raise TypeError("Missing 'day' argument") + if from_ is None and 'from' in kwargs: + from_ = kwargs['from'] + if from_ is None: + raise TypeError("Missing 'from_' argument") + if to is None: + raise TypeError("Missing 'to' argument") + _setter("day", day) _setter("from_", from_) _setter("to", to) @@ -102985,7 +112719,25 @@ def _configure( type: Optional[str] = None, username: Optional[str] = None, workstation: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if access_key is None and 'accessKey' in kwargs: + access_key = kwargs['accessKey'] + if access_token_url is None and 'accessTokenUrl' in kwargs: + access_token_url = kwargs['accessTokenUrl'] + if client_id is None and 'clientId' in kwargs: + client_id = kwargs['clientId'] + if client_secret is None and 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if secret_key is None and 'secretKey' in kwargs: + secret_key = kwargs['secretKey'] + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if session_token is None and 'sessionToken' in kwargs: + session_token = kwargs['sessionToken'] + if token_api_authentication is None and 'tokenApiAuthentication' in kwargs: + token_api_authentication = kwargs['tokenApiAuthentication'] + if access_key is not None: _setter("access_key", access_key) if access_token_url is not None: @@ -103171,9 +112923,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cert: 'outputs.SyntheticsTestRequestClientCertificateCert', - key: 'outputs.SyntheticsTestRequestClientCertificateKey', - opts: Optional[pulumi.ResourceOptions]=None): + cert: Optional['outputs.SyntheticsTestRequestClientCertificateCert'] = None, + key: Optional['outputs.SyntheticsTestRequestClientCertificateKey'] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cert is None: + raise TypeError("Missing 'cert' argument") + if key is None: + raise TypeError("Missing 'key' argument") + _setter("cert", cert) _setter("key", key) @@ -103205,9 +112963,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, filename: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -103246,9 +113008,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - content: str, + content: Optional[str] = None, filename: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if content is None: + raise TypeError("Missing 'content' argument") + _setter("content", content) if filename is not None: _setter("filename", filename) @@ -103386,7 +113152,27 @@ def _configure( should_track_hops: Optional[bool] = None, timeout: Optional[int] = None, url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if body_type is None and 'bodyType' in kwargs: + body_type = kwargs['bodyType'] + if call_type is None and 'callType' in kwargs: + call_type = kwargs['callType'] + if certificate_domains is None and 'certificateDomains' in kwargs: + certificate_domains = kwargs['certificateDomains'] + if dns_server is None and 'dnsServer' in kwargs: + dns_server = kwargs['dnsServer'] + if dns_server_port is None and 'dnsServerPort' in kwargs: + dns_server_port = kwargs['dnsServerPort'] + if no_saving_response_body is None and 'noSavingResponseBody' in kwargs: + no_saving_response_body = kwargs['noSavingResponseBody'] + if number_of_packets is None and 'numberOfPackets' in kwargs: + number_of_packets = kwargs['numberOfPackets'] + if persist_cookies is None and 'persistCookies' in kwargs: + persist_cookies = kwargs['persistCookies'] + if should_track_hops is None and 'shouldTrackHops' in kwargs: + should_track_hops = kwargs['shouldTrackHops'] + if body is not None: _setter("body", body) if body_type is not None: @@ -103586,9 +113372,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - url: str, + url: Optional[str] = None, headers: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if url is None: + raise TypeError("Missing 'url' argument") + _setter("url", url) if headers is not None: _setter("headers", headers) @@ -103629,12 +113419,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - enabled: bool, - expression: str, - id: str, - name: str, - opts: Optional[pulumi.ResourceOptions]=None): + description: Optional[str] = None, + enabled: Optional[bool] = None, + expression: Optional[str] = None, + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if enabled is None: + raise TypeError("Missing 'enabled' argument") + if expression is None: + raise TypeError("Missing 'expression' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("description", description) _setter("enabled", enabled) _setter("expression", expression) @@ -103702,20 +113504,58 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - aliases: Sequence[str], - apps: Sequence[str], - aws_name: str, - host_name: str, - id: int, - is_muted: bool, - last_reported_time: int, - meta: 'outputs.GetHostsHostListMetaResult', - metrics: 'outputs.GetHostsHostListMetricsResult', - mute_timeout: int, - name: str, - sources: Sequence[str], - up: bool, - opts: Optional[pulumi.ResourceOptions]=None): + aliases: Optional[Sequence[str]] = None, + apps: Optional[Sequence[str]] = None, + aws_name: Optional[str] = None, + host_name: Optional[str] = None, + id: Optional[int] = None, + is_muted: Optional[bool] = None, + last_reported_time: Optional[int] = None, + meta: Optional['outputs.GetHostsHostListMetaResult'] = None, + metrics: Optional['outputs.GetHostsHostListMetricsResult'] = None, + mute_timeout: Optional[int] = None, + name: Optional[str] = None, + sources: Optional[Sequence[str]] = None, + up: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if aliases is None: + raise TypeError("Missing 'aliases' argument") + if apps is None: + raise TypeError("Missing 'apps' argument") + if aws_name is None and 'awsName' in kwargs: + aws_name = kwargs['awsName'] + if aws_name is None: + raise TypeError("Missing 'aws_name' argument") + if host_name is None and 'hostName' in kwargs: + host_name = kwargs['hostName'] + if host_name is None: + raise TypeError("Missing 'host_name' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if is_muted is None and 'isMuted' in kwargs: + is_muted = kwargs['isMuted'] + if is_muted is None: + raise TypeError("Missing 'is_muted' argument") + if last_reported_time is None and 'lastReportedTime' in kwargs: + last_reported_time = kwargs['lastReportedTime'] + if last_reported_time is None: + raise TypeError("Missing 'last_reported_time' argument") + if meta is None: + raise TypeError("Missing 'meta' argument") + if metrics is None: + raise TypeError("Missing 'metrics' argument") + if mute_timeout is None and 'muteTimeout' in kwargs: + mute_timeout = kwargs['muteTimeout'] + if mute_timeout is None: + raise TypeError("Missing 'mute_timeout' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if sources is None: + raise TypeError("Missing 'sources' argument") + if up is None: + raise TypeError("Missing 'up' argument") + _setter("aliases", aliases) _setter("apps", apps) _setter("aws_name", aws_name) @@ -103823,16 +113663,46 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - agent_version: str, - cpu_cores: int, - gohai: str, - machine: str, - platform: str, - processor: str, - python_version: str, - socket_fqdn: str, - socket_hostname: str, - opts: Optional[pulumi.ResourceOptions]=None): + agent_version: Optional[str] = None, + cpu_cores: Optional[int] = None, + gohai: Optional[str] = None, + machine: Optional[str] = None, + platform: Optional[str] = None, + processor: Optional[str] = None, + python_version: Optional[str] = None, + socket_fqdn: Optional[str] = None, + socket_hostname: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if agent_version is None and 'agentVersion' in kwargs: + agent_version = kwargs['agentVersion'] + if agent_version is None: + raise TypeError("Missing 'agent_version' argument") + if cpu_cores is None and 'cpuCores' in kwargs: + cpu_cores = kwargs['cpuCores'] + if cpu_cores is None: + raise TypeError("Missing 'cpu_cores' argument") + if gohai is None: + raise TypeError("Missing 'gohai' argument") + if machine is None: + raise TypeError("Missing 'machine' argument") + if platform is None: + raise TypeError("Missing 'platform' argument") + if processor is None: + raise TypeError("Missing 'processor' argument") + if python_version is None and 'pythonVersion' in kwargs: + python_version = kwargs['pythonVersion'] + if python_version is None: + raise TypeError("Missing 'python_version' argument") + if socket_fqdn is None and 'socketFqdn' in kwargs: + socket_fqdn = kwargs['socketFqdn'] + if socket_fqdn is None: + raise TypeError("Missing 'socket_fqdn' argument") + if socket_hostname is None and 'socketHostname' in kwargs: + socket_hostname = kwargs['socketHostname'] + if socket_hostname is None: + raise TypeError("Missing 'socket_hostname' argument") + _setter("agent_version", agent_version) _setter("cpu_cores", cpu_cores) _setter("gohai", gohai) @@ -103904,10 +113774,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cpu: float, - iowait: float, - load: float, - opts: Optional[pulumi.ResourceOptions]=None): + cpu: Optional[float] = None, + iowait: Optional[float] = None, + load: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cpu is None: + raise TypeError("Missing 'cpu' argument") + if iowait is None: + raise TypeError("Missing 'iowait' argument") + if load is None: + raise TypeError("Missing 'load' argument") + _setter("cpu", cpu) _setter("iowait", iowait) _setter("load", load) @@ -103947,12 +113825,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - daily_limit: int, - exclusion_filters: Sequence['outputs.GetLogsIndexesLogsIndexExclusionFilterResult'], - filters: Sequence['outputs.GetLogsIndexesLogsIndexFilterResult'], - name: str, - retention_days: int, - opts: Optional[pulumi.ResourceOptions]=None): + daily_limit: Optional[int] = None, + exclusion_filters: Optional[Sequence['outputs.GetLogsIndexesLogsIndexExclusionFilterResult']] = None, + filters: Optional[Sequence['outputs.GetLogsIndexesLogsIndexFilterResult']] = None, + name: Optional[str] = None, + retention_days: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if daily_limit is None and 'dailyLimit' in kwargs: + daily_limit = kwargs['dailyLimit'] + if daily_limit is None: + raise TypeError("Missing 'daily_limit' argument") + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if exclusion_filters is None: + raise TypeError("Missing 'exclusion_filters' argument") + if filters is None: + raise TypeError("Missing 'filters' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if retention_days is None and 'retentionDays' in kwargs: + retention_days = kwargs['retentionDays'] + if retention_days is None: + raise TypeError("Missing 'retention_days' argument") + _setter("daily_limit", daily_limit) _setter("exclusion_filters", exclusion_filters) _setter("filters", filters) @@ -104000,10 +113896,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_enabled: bool, - name: str, + is_enabled: Optional[bool] = None, + name: Optional[str] = None, filters: Optional[Sequence['outputs.GetLogsIndexesLogsIndexExclusionFilterFilterResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("is_enabled", is_enabled) _setter("name", name) if filters is not None: @@ -104038,9 +113942,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - sample_rate: float, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + sample_rate: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + if sample_rate is None and 'sampleRate' in kwargs: + sample_rate = kwargs['sampleRate'] + if sample_rate is None: + raise TypeError("Missing 'sample_rate' argument") + _setter("query", query) _setter("sample_rate", sample_rate) @@ -104066,8 +113978,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -104097,13 +114013,31 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filters: Sequence['outputs.GetLogsPipelinesLogsPipelineFilterResult'], - id: str, - is_enabled: bool, - is_read_only: bool, - name: str, - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + filters: Optional[Sequence['outputs.GetLogsPipelinesLogsPipelineFilterResult']] = None, + id: Optional[str] = None, + is_enabled: Optional[bool] = None, + is_read_only: Optional[bool] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filters is None: + raise TypeError("Missing 'filters' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if is_read_only is None and 'isReadOnly' in kwargs: + is_read_only = kwargs['isReadOnly'] + if is_read_only is None: + raise TypeError("Missing 'is_read_only' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("filters", filters) _setter("id", id) _setter("is_enabled", is_enabled) @@ -104153,8 +114087,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if query is None: + raise TypeError("Missing 'query' argument") + _setter("query", query) @property @@ -104178,10 +114116,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - policy_type: str, - tag_policy: 'outputs.GetMonitorConfigPoliciesMonitorConfigPolicyTagPolicyResult', - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[str] = None, + policy_type: Optional[str] = None, + tag_policy: Optional['outputs.GetMonitorConfigPoliciesMonitorConfigPolicyTagPolicyResult'] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if policy_type is None and 'policyType' in kwargs: + policy_type = kwargs['policyType'] + if policy_type is None: + raise TypeError("Missing 'policy_type' argument") + if tag_policy is None and 'tagPolicy' in kwargs: + tag_policy = kwargs['tagPolicy'] + if tag_policy is None: + raise TypeError("Missing 'tag_policy' argument") + _setter("id", id) _setter("policy_type", policy_type) _setter("tag_policy", tag_policy) @@ -104217,10 +114167,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tag_key: str, - tag_key_required: bool, - valid_tag_values: Sequence[str], - opts: Optional[pulumi.ResourceOptions]=None): + tag_key: Optional[str] = None, + tag_key_required: Optional[bool] = None, + valid_tag_values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if tag_key is None and 'tagKey' in kwargs: + tag_key = kwargs['tagKey'] + if tag_key is None: + raise TypeError("Missing 'tag_key' argument") + if tag_key_required is None and 'tagKeyRequired' in kwargs: + tag_key_required = kwargs['tagKeyRequired'] + if tag_key_required is None: + raise TypeError("Missing 'tag_key_required' argument") + if valid_tag_values is None and 'validTagValues' in kwargs: + valid_tag_values = kwargs['validTagValues'] + if valid_tag_values is None: + raise TypeError("Missing 'valid_tag_values' argument") + _setter("tag_key", tag_key) _setter("tag_key_required", tag_key_required) _setter("valid_tag_values", valid_tag_values) @@ -104262,13 +114226,31 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - critical: str, - critical_recovery: str, - ok: str, - unknown: str, - warning: str, - warning_recovery: str, - opts: Optional[pulumi.ResourceOptions]=None): + critical: Optional[str] = None, + critical_recovery: Optional[str] = None, + ok: Optional[str] = None, + unknown: Optional[str] = None, + warning: Optional[str] = None, + warning_recovery: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if critical is None: + raise TypeError("Missing 'critical' argument") + if critical_recovery is None and 'criticalRecovery' in kwargs: + critical_recovery = kwargs['criticalRecovery'] + if critical_recovery is None: + raise TypeError("Missing 'critical_recovery' argument") + if ok is None: + raise TypeError("Missing 'ok' argument") + if unknown is None: + raise TypeError("Missing 'unknown' argument") + if warning is None: + raise TypeError("Missing 'warning' argument") + if warning_recovery is None and 'warningRecovery' in kwargs: + warning_recovery = kwargs['warningRecovery'] + if warning_recovery is None: + raise TypeError("Missing 'warning_recovery' argument") + _setter("critical", critical) _setter("critical_recovery", critical_recovery) _setter("ok", ok) @@ -104320,9 +114302,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - recovery_window: str, - trigger_window: str, - opts: Optional[pulumi.ResourceOptions]=None): + recovery_window: Optional[str] = None, + trigger_window: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if recovery_window is None and 'recoveryWindow' in kwargs: + recovery_window = kwargs['recoveryWindow'] + if recovery_window is None: + raise TypeError("Missing 'recovery_window' argument") + if trigger_window is None and 'triggerWindow' in kwargs: + trigger_window = kwargs['triggerWindow'] + if trigger_window is None: + raise TypeError("Missing 'trigger_window' argument") + _setter("recovery_window", recovery_window) _setter("trigger_window", trigger_window) @@ -104348,8 +114340,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - evaluation_windows: Sequence['outputs.GetMonitorSchedulingOptionEvaluationWindowResult'], - opts: Optional[pulumi.ResourceOptions]=None): + evaluation_windows: Optional[Sequence['outputs.GetMonitorSchedulingOptionEvaluationWindowResult']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if evaluation_windows is None and 'evaluationWindows' in kwargs: + evaluation_windows = kwargs['evaluationWindows'] + if evaluation_windows is None: + raise TypeError("Missing 'evaluation_windows' argument") + _setter("evaluation_windows", evaluation_windows) @property @@ -104373,10 +114371,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - day_starts: str, - hour_starts: int, - month_starts: int, - opts: Optional[pulumi.ResourceOptions]=None): + day_starts: Optional[str] = None, + hour_starts: Optional[int] = None, + month_starts: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if day_starts is None and 'dayStarts' in kwargs: + day_starts = kwargs['dayStarts'] + if day_starts is None: + raise TypeError("Missing 'day_starts' argument") + if hour_starts is None and 'hourStarts' in kwargs: + hour_starts = kwargs['hourStarts'] + if hour_starts is None: + raise TypeError("Missing 'hour_starts' argument") + if month_starts is None and 'monthStarts' in kwargs: + month_starts = kwargs['monthStarts'] + if month_starts is None: + raise TypeError("Missing 'month_starts' argument") + _setter("day_starts", day_starts) _setter("hour_starts", hour_starts) _setter("month_starts", month_starts) @@ -104412,10 +114424,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: int, - name: str, - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[int] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("id", id) _setter("name", name) _setter("type", type) @@ -104451,10 +114471,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - name: str, - user_count: int, - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[str] = None, + name: Optional[str] = None, + user_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if user_count is None and 'userCount' in kwargs: + user_count = kwargs['userCount'] + if user_count is None: + raise TypeError("Missing 'user_count' argument") + _setter("id", id) _setter("name", name) _setter("user_count", user_count) @@ -104496,13 +114526,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_enabled: bool, - name: str, - query: str, - version: int, + is_enabled: Optional[bool] = None, + name: Optional[str] = None, + query: Optional[str] = None, + version: Optional[int] = None, exclusion_filters: Optional[Sequence['outputs.GetSecurityMonitoringFiltersFilterExclusionFilterResult']] = None, filtered_data_type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if version is None: + raise TypeError("Missing 'version' argument") + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if filtered_data_type is None and 'filteredDataType' in kwargs: + filtered_data_type = kwargs['filteredDataType'] + _setter("is_enabled", is_enabled) _setter("name", name) _setter("query", query) @@ -104556,9 +114602,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("name", name) _setter("query", query) @@ -104604,9 +114656,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cases: Sequence['outputs.GetSecurityMonitoringRulesRuleCaseResult'], - message: str, - name: str, + cases: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleCaseResult']] = None, + message: Optional[str] = None, + name: Optional[str] = None, enabled: Optional[bool] = None, filters: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleFilterResult']] = None, has_extended_title: Optional[bool] = None, @@ -104615,7 +114667,19 @@ def _configure( signal_queries: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleSignalQueryResult']] = None, tags: Optional[Sequence[str]] = None, type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cases is None: + raise TypeError("Missing 'cases' argument") + if message is None: + raise TypeError("Missing 'message' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if has_extended_title is None and 'hasExtendedTitle' in kwargs: + has_extended_title = kwargs['hasExtendedTitle'] + if signal_queries is None and 'signalQueries' in kwargs: + signal_queries = kwargs['signalQueries'] + _setter("cases", cases) _setter("message", message) _setter("name", name) @@ -104709,11 +114773,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - status: str, + status: Optional[str] = None, condition: Optional[str] = None, name: Optional[str] = None, notifications: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if status is None: + raise TypeError("Missing 'status' argument") + _setter("status", status) if condition is not None: _setter("condition", condition) @@ -104756,9 +114824,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: str, - query: str, - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if query is None: + raise TypeError("Missing 'query' argument") + _setter("action", action) _setter("query", query) @@ -104796,14 +114870,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - keep_alive: int, - max_signal_duration: int, + keep_alive: Optional[int] = None, + max_signal_duration: Optional[int] = None, decrease_criticality_based_on_env: Optional[bool] = None, detection_method: Optional[str] = None, evaluation_window: Optional[int] = None, impossible_travel_options: Optional['outputs.GetSecurityMonitoringRulesRuleOptionsImpossibleTravelOptionsResult'] = None, new_value_options: Optional['outputs.GetSecurityMonitoringRulesRuleOptionsNewValueOptionsResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if keep_alive is None and 'keepAlive' in kwargs: + keep_alive = kwargs['keepAlive'] + if keep_alive is None: + raise TypeError("Missing 'keep_alive' argument") + if max_signal_duration is None and 'maxSignalDuration' in kwargs: + max_signal_duration = kwargs['maxSignalDuration'] + if max_signal_duration is None: + raise TypeError("Missing 'max_signal_duration' argument") + if decrease_criticality_based_on_env is None and 'decreaseCriticalityBasedOnEnv' in kwargs: + decrease_criticality_based_on_env = kwargs['decreaseCriticalityBasedOnEnv'] + if detection_method is None and 'detectionMethod' in kwargs: + detection_method = kwargs['detectionMethod'] + if evaluation_window is None and 'evaluationWindow' in kwargs: + evaluation_window = kwargs['evaluationWindow'] + if impossible_travel_options is None and 'impossibleTravelOptions' in kwargs: + impossible_travel_options = kwargs['impossibleTravelOptions'] + if new_value_options is None and 'newValueOptions' in kwargs: + new_value_options = kwargs['newValueOptions'] + _setter("keep_alive", keep_alive) _setter("max_signal_duration", max_signal_duration) if decrease_criticality_based_on_env is not None: @@ -104865,7 +114959,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], baseline_user_locations: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if baseline_user_locations is None and 'baselineUserLocations' in kwargs: + baseline_user_locations = kwargs['baselineUserLocations'] + if baseline_user_locations is not None: _setter("baseline_user_locations", baseline_user_locations) @@ -104892,11 +114990,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - forget_after: int, + forget_after: Optional[int] = None, learning_duration: Optional[int] = None, learning_method: Optional[str] = None, learning_threshold: Optional[int] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if forget_after is None and 'forgetAfter' in kwargs: + forget_after = kwargs['forgetAfter'] + if forget_after is None: + raise TypeError("Missing 'forget_after' argument") + if learning_duration is None and 'learningDuration' in kwargs: + learning_duration = kwargs['learningDuration'] + if learning_method is None and 'learningMethod' in kwargs: + learning_method = kwargs['learningMethod'] + if learning_threshold is None and 'learningThreshold' in kwargs: + learning_threshold = kwargs['learningThreshold'] + _setter("forget_after", forget_after) if learning_duration is not None: _setter("learning_duration", learning_duration) @@ -104951,15 +115061,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metrics: Sequence[str], - query: str, + metrics: Optional[Sequence[str]] = None, + query: Optional[str] = None, agent_rules: Optional[Sequence['outputs.GetSecurityMonitoringRulesRuleQueryAgentRuleResult']] = None, aggregation: Optional[str] = None, distinct_fields: Optional[Sequence[str]] = None, group_by_fields: Optional[Sequence[str]] = None, metric: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if metrics is None: + raise TypeError("Missing 'metrics' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if agent_rules is None and 'agentRules' in kwargs: + agent_rules = kwargs['agentRules'] + if distinct_fields is None and 'distinctFields' in kwargs: + distinct_fields = kwargs['distinctFields'] + if group_by_fields is None and 'groupByFields' in kwargs: + group_by_fields = kwargs['groupByFields'] + _setter("metrics", metrics) _setter("query", query) if agent_rules is not None: @@ -105035,9 +115157,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - agent_rule_id: str, - expression: str, - opts: Optional[pulumi.ResourceOptions]=None): + agent_rule_id: Optional[str] = None, + expression: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if agent_rule_id is None and 'agentRuleId' in kwargs: + agent_rule_id = kwargs['agentRuleId'] + if agent_rule_id is None: + raise TypeError("Missing 'agent_rule_id' argument") + if expression is None: + raise TypeError("Missing 'expression' argument") + _setter("agent_rule_id", agent_rule_id) _setter("expression", expression) @@ -105073,13 +115203,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - rule_id: str, + rule_id: Optional[str] = None, aggregation: Optional[str] = None, correlated_by_fields: Optional[Sequence[str]] = None, correlated_query_index: Optional[str] = None, default_rule_id: Optional[str] = None, name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if rule_id is None and 'ruleId' in kwargs: + rule_id = kwargs['ruleId'] + if rule_id is None: + raise TypeError("Missing 'rule_id' argument") + if correlated_by_fields is None and 'correlatedByFields' in kwargs: + correlated_by_fields = kwargs['correlatedByFields'] + if correlated_query_index is None and 'correlatedQueryIndex' in kwargs: + correlated_query_index = kwargs['correlatedQueryIndex'] + if default_rule_id is None and 'defaultRuleId' in kwargs: + default_rule_id = kwargs['defaultRuleId'] + _setter("rule_id", rule_id) if aggregation is not None: _setter("aggregation", aggregation) @@ -105136,9 +115278,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - denominator: str, - numerator: str, - opts: Optional[pulumi.ResourceOptions]=None): + denominator: Optional[str] = None, + numerator: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if denominator is None: + raise TypeError("Missing 'denominator' argument") + if numerator is None: + raise TypeError("Missing 'numerator' argument") + _setter("denominator", denominator) _setter("numerator", numerator) @@ -105168,10 +115316,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - name: str, - type: str, - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + _setter("id", id) _setter("name", name) _setter("type", type) @@ -105209,11 +115365,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - role: str, - team_id: str, - user_id: str, - opts: Optional[pulumi.ResourceOptions]=None): + id: Optional[str] = None, + role: Optional[str] = None, + team_id: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if role is None: + raise TypeError("Missing 'role' argument") + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if team_id is None: + raise TypeError("Missing 'team_id' argument") + if user_id is None and 'userId' in kwargs: + user_id = kwargs['userId'] + if user_id is None: + raise TypeError("Missing 'user_id' argument") + _setter("id", id) _setter("role", role) _setter("team_id", team_id) diff --git a/sdk/python/pulumi_datadog/pagerduty/integration.py b/sdk/python/pulumi_datadog/pagerduty/integration.py index 57240bf57..f3a32effb 100644 --- a/sdk/python/pulumi_datadog/pagerduty/integration.py +++ b/sdk/python/pulumi_datadog/pagerduty/integration.py @@ -32,10 +32,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - subdomain: pulumi.Input[str], + subdomain: Optional[pulumi.Input[str]] = None, api_token: Optional[pulumi.Input[str]] = None, schedules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if subdomain is None: + raise TypeError("Missing 'subdomain' argument") + if api_token is None and 'apiToken' in kwargs: + api_token = kwargs['apiToken'] + _setter("subdomain", subdomain) if api_token is not None: _setter("api_token", api_token) @@ -103,7 +109,11 @@ def _configure( api_token: Optional[pulumi.Input[str]] = None, schedules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, subdomain: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_token is None and 'apiToken' in kwargs: + api_token = kwargs['apiToken'] + if api_token is not None: _setter("api_token", api_token) if schedules is not None: @@ -160,29 +170,6 @@ def __init__(__self__, """ Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/). - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - pd = datadog.pagerduty.Integration("pd", - api_token="38457822378273432587234242874", - schedules=[ - "https://ddog.pagerduty.com/schedules/X123VF", - "https://ddog.pagerduty.com/schedules/X321XX", - ], - subdomain="ddog") - testing_foo = datadog.pagerduty.ServiceObject("testingFoo", - service_key="9876543210123456789", - service_name="testing_foo", - opts=pulumi.ResourceOptions(depends_on=["datadog_integration_pagerduty.pd"])) - testing_bar = datadog.pagerduty.ServiceObject("testingBar", - service_key="54321098765432109876", - service_name="testing_bar", - opts=pulumi.ResourceOptions(depends_on=["datadog_integration_pagerduty.pd"])) - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] api_token: Your PagerDuty API token. @@ -198,29 +185,6 @@ def __init__(__self__, """ Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/). - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - pd = datadog.pagerduty.Integration("pd", - api_token="38457822378273432587234242874", - schedules=[ - "https://ddog.pagerduty.com/schedules/X123VF", - "https://ddog.pagerduty.com/schedules/X321XX", - ], - subdomain="ddog") - testing_foo = datadog.pagerduty.ServiceObject("testingFoo", - service_key="9876543210123456789", - service_name="testing_foo", - opts=pulumi.ResourceOptions(depends_on=["datadog_integration_pagerduty.pd"])) - testing_bar = datadog.pagerduty.ServiceObject("testingBar", - service_key="54321098765432109876", - service_name="testing_bar", - opts=pulumi.ResourceOptions(depends_on=["datadog_integration_pagerduty.pd"])) - ``` - :param str resource_name: The name of the resource. :param IntegrationArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_datadog/pagerduty/service_object.py b/sdk/python/pulumi_datadog/pagerduty/service_object.py index d5f7dea14..626f0f926 100644 --- a/sdk/python/pulumi_datadog/pagerduty/service_object.py +++ b/sdk/python/pulumi_datadog/pagerduty/service_object.py @@ -29,9 +29,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - service_key: pulumi.Input[str], - service_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + service_key: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if service_key is None and 'serviceKey' in kwargs: + service_key = kwargs['serviceKey'] + if service_key is None: + raise TypeError("Missing 'service_key' argument") + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if service_name is None: + raise TypeError("Missing 'service_name' argument") + _setter("service_key", service_key) _setter("service_name", service_name) @@ -80,7 +90,13 @@ def _configure( _setter: Callable[[Any, Any], None], service_key: Optional[pulumi.Input[str]] = None, service_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if service_key is None and 'serviceKey' in kwargs: + service_key = kwargs['serviceKey'] + if service_name is None and 'serviceName' in kwargs: + service_name = kwargs['serviceName'] + if service_key is not None: _setter("service_key", service_key) if service_name is not None: @@ -122,20 +138,6 @@ def __init__(__self__, """ Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - testing_foo = datadog.pagerduty.ServiceObject("testingFoo", - service_key="9876543210123456789", - service_name="testing_foo") - testing_bar = datadog.pagerduty.ServiceObject("testingBar", - service_key="54321098765432109876", - service_name="testing_bar") - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] service_key: Your Service name associated service key in PagerDuty. Note: Since the Datadog API never returns service keys, it is impossible to detect drifts. @@ -150,20 +152,6 @@ def __init__(__self__, """ Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated in the Datadog UI in order for this resource to be usable. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - testing_foo = datadog.pagerduty.ServiceObject("testingFoo", - service_key="9876543210123456789", - service_name="testing_foo") - testing_bar = datadog.pagerduty.ServiceObject("testingBar", - service_key="54321098765432109876", - service_name="testing_bar") - ``` - :param str resource_name: The name of the resource. :param ServiceObjectArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_datadog/provider.py b/sdk/python/pulumi_datadog/provider.py index 409647900..54c042756 100644 --- a/sdk/python/pulumi_datadog/provider.py +++ b/sdk/python/pulumi_datadog/provider.py @@ -64,7 +64,25 @@ def _configure( http_client_retry_max_retries: Optional[pulumi.Input[int]] = None, http_client_retry_timeout: Optional[pulumi.Input[int]] = None, validate: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_key is None and 'apiKey' in kwargs: + api_key = kwargs['apiKey'] + if api_url is None and 'apiUrl' in kwargs: + api_url = kwargs['apiUrl'] + if app_key is None and 'appKey' in kwargs: + app_key = kwargs['appKey'] + if http_client_retry_backoff_base is None and 'httpClientRetryBackoffBase' in kwargs: + http_client_retry_backoff_base = kwargs['httpClientRetryBackoffBase'] + if http_client_retry_backoff_multiplier is None and 'httpClientRetryBackoffMultiplier' in kwargs: + http_client_retry_backoff_multiplier = kwargs['httpClientRetryBackoffMultiplier'] + if http_client_retry_enabled is None and 'httpClientRetryEnabled' in kwargs: + http_client_retry_enabled = kwargs['httpClientRetryEnabled'] + if http_client_retry_max_retries is None and 'httpClientRetryMaxRetries' in kwargs: + http_client_retry_max_retries = kwargs['httpClientRetryMaxRetries'] + if http_client_retry_timeout is None and 'httpClientRetryTimeout' in kwargs: + http_client_retry_timeout = kwargs['httpClientRetryTimeout'] + if api_key is not None: _setter("api_key", api_key) if api_url is not None: diff --git a/sdk/python/pulumi_datadog/restriction_policy.py b/sdk/python/pulumi_datadog/restriction_policy.py index b92bbff03..cbb6e7f0b 100644 --- a/sdk/python/pulumi_datadog/restriction_policy.py +++ b/sdk/python/pulumi_datadog/restriction_policy.py @@ -30,9 +30,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - resource_id: pulumi.Input[str], + resource_id: Optional[pulumi.Input[str]] = None, bindings: Optional[pulumi.Input[Sequence[pulumi.Input['RestrictionPolicyBindingArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if resource_id is None and 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if resource_id is None: + raise TypeError("Missing 'resource_id' argument") + _setter("resource_id", resource_id) if bindings is not None: _setter("bindings", bindings) @@ -78,7 +84,11 @@ def _configure( _setter: Callable[[Any, Any], None], bindings: Optional[pulumi.Input[Sequence[pulumi.Input['RestrictionPolicyBindingArgs']]]] = None, resource_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if resource_id is None and 'resourceId' in kwargs: + resource_id = kwargs['resourceId'] + if bindings is not None: _setter("bindings", bindings) if resource_id is not None: @@ -117,26 +127,6 @@ def __init__(__self__, """ Provides a Datadog RestrictionPolicy resource. This can be used to create and manage Datadog restriction policies. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.RestrictionPolicy("foo", - bindings=[ - datadog.RestrictionPolicyBindingArgs( - principals=["role:00000000-0000-1111-0000-000000000000"], - relation="editor", - ), - datadog.RestrictionPolicyBindingArgs( - principals=["org:10000000-0000-1111-0000-000000000000"], - relation="viewer", - ), - ], - resource_id="security-rule:abc-def-ghi") - ``` - ## Import ```sh @@ -156,26 +146,6 @@ def __init__(__self__, """ Provides a Datadog RestrictionPolicy resource. This can be used to create and manage Datadog restriction policies. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.RestrictionPolicy("foo", - bindings=[ - datadog.RestrictionPolicyBindingArgs( - principals=["role:00000000-0000-1111-0000-000000000000"], - relation="editor", - ), - datadog.RestrictionPolicyBindingArgs( - principals=["org:10000000-0000-1111-0000-000000000000"], - relation="viewer", - ), - ], - resource_id="security-rule:abc-def-ghi") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/role.py b/sdk/python/pulumi_datadog/role.py index 3f31a9dfd..f6020eca5 100644 --- a/sdk/python/pulumi_datadog/role.py +++ b/sdk/python/pulumi_datadog/role.py @@ -34,10 +34,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, permissions: Optional[pulumi.Input[Sequence[pulumi.Input['RolePermissionArgs']]]] = None, validate: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) if permissions is not None: _setter("permissions", permissions) @@ -109,7 +113,11 @@ def _configure( permissions: Optional[pulumi.Input[Sequence[pulumi.Input['RolePermissionArgs']]]] = None, user_count: Optional[pulumi.Input[int]] = None, validate: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if user_count is None and 'userCount' in kwargs: + user_count = kwargs['userCount'] + if name is not None: _setter("name", name) if permissions is not None: @@ -180,26 +188,6 @@ def __init__(__self__, """ Provides a Datadog role resource. This can be used to create and manage Datadog roles. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - bar = datadog.get_permissions() - # Create a new Datadog role - foo = datadog.Role("foo", - name="foo", - permissions=[ - datadog.RolePermissionArgs( - id=bar.permissions["monitorsDowntime"], - ), - datadog.RolePermissionArgs( - id=bar.permissions["monitorsWrite"], - ), - ]) - ``` - ## Import Roles can be imported using their ID, e.g. @@ -223,26 +211,6 @@ def __init__(__self__, """ Provides a Datadog role resource. This can be used to create and manage Datadog roles. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - bar = datadog.get_permissions() - # Create a new Datadog role - foo = datadog.Role("foo", - name="foo", - permissions=[ - datadog.RolePermissionArgs( - id=bar.permissions["monitorsDowntime"], - ), - datadog.RolePermissionArgs( - id=bar.permissions["monitorsWrite"], - ), - ]) - ``` - ## Import Roles can be imported using their ID, e.g. diff --git a/sdk/python/pulumi_datadog/rum_application.py b/sdk/python/pulumi_datadog/rum_application.py index 65aeed1cf..360009920 100644 --- a/sdk/python/pulumi_datadog/rum_application.py +++ b/sdk/python/pulumi_datadog/rum_application.py @@ -29,9 +29,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) if type is not None: _setter("type", type) @@ -85,7 +89,11 @@ def _configure( client_token: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if client_token is None and 'clientToken' in kwargs: + client_token = kwargs['clientToken'] + if client_token is not None: _setter("client_token", client_token) if name is not None: @@ -141,17 +149,6 @@ def __init__(__self__, """ Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - rum_application = datadog.RumApplication("rumApplication", - name="my-application", - type="browser") - ``` - ## Import ```sh @@ -172,17 +169,6 @@ def __init__(__self__, """ Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - rum_application = datadog.RumApplication("rumApplication", - name="my-application", - type="browser") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/security_monitoring_default_rule.py b/sdk/python/pulumi_datadog/security_monitoring_default_rule.py index 883641fc7..5f69277f9 100644 --- a/sdk/python/pulumi_datadog/security_monitoring_default_rule.py +++ b/sdk/python/pulumi_datadog/security_monitoring_default_rule.py @@ -41,7 +41,9 @@ def _configure( enabled: Optional[pulumi.Input[bool]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringDefaultRuleFilterArgs']]]] = None, options: Optional[pulumi.Input['SecurityMonitoringDefaultRuleOptionsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cases is not None: _setter("cases", cases) if enabled is not None: @@ -132,7 +134,9 @@ def _configure( filters: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringDefaultRuleFilterArgs']]]] = None, options: Optional[pulumi.Input['SecurityMonitoringDefaultRuleOptionsArgs']] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cases is not None: _setter("cases", cases) if enabled is not None: @@ -218,20 +222,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - adefaultrule = datadog.SecurityMonitoringDefaultRule("adefaultrule", - cases=[datadog.SecurityMonitoringDefaultRuleCaseArgs( - notifications=["@me"], - status="high", - )], - enabled=True) - ``` - ## Import Default rules need to be imported using their ID before applying. resource "datadog_security_monitoring_default_rule" "adefaultrule" { } @@ -256,20 +246,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - adefaultrule = datadog.SecurityMonitoringDefaultRule("adefaultrule", - cases=[datadog.SecurityMonitoringDefaultRuleCaseArgs( - notifications=["@me"], - status="high", - )], - enabled=True) - ``` - ## Import Default rules need to be imported using their ID before applying. resource "datadog_security_monitoring_default_rule" "adefaultrule" { } @@ -313,11 +289,7 @@ def _internal_init(__self__, __props__.__dict__["cases"] = cases __props__.__dict__["enabled"] = enabled __props__.__dict__["filters"] = filters - if options is not None and not isinstance(options, SecurityMonitoringDefaultRuleOptionsArgs): - options = options or {} - def _setter(key, value): - options[key] = value - SecurityMonitoringDefaultRuleOptionsArgs._configure(_setter, **options) + options = _utilities.configure(options, SecurityMonitoringDefaultRuleOptionsArgs, True) __props__.__dict__["options"] = options __props__.__dict__["type"] = None super(SecurityMonitoringDefaultRule, __self__).__init__( diff --git a/sdk/python/pulumi_datadog/security_monitoring_filter.py b/sdk/python/pulumi_datadog/security_monitoring_filter.py index 00f274b23..ef477de3a 100644 --- a/sdk/python/pulumi_datadog/security_monitoring_filter.py +++ b/sdk/python/pulumi_datadog/security_monitoring_filter.py @@ -40,12 +40,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_enabled: pulumi.Input[bool], - name: pulumi.Input[str], - query: pulumi.Input[str], + is_enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringFilterExclusionFilterArgs']]]] = None, filtered_data_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if query is None: + raise TypeError("Missing 'query' argument") + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if filtered_data_type is None and 'filteredDataType' in kwargs: + filtered_data_type = kwargs['filteredDataType'] + _setter("is_enabled", is_enabled) _setter("name", name) _setter("query", query) @@ -151,7 +165,15 @@ def _configure( name: Optional[pulumi.Input[str]] = None, query: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if exclusion_filters is None and 'exclusionFilters' in kwargs: + exclusion_filters = kwargs['exclusionFilters'] + if filtered_data_type is None and 'filteredDataType' in kwargs: + filtered_data_type = kwargs['filteredDataType'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if exclusion_filters is not None: _setter("exclusion_filters", exclusion_filters) if filtered_data_type is not None: @@ -252,28 +274,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource for security filters. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_filter = datadog.SecurityMonitoringFilter("myFilter", - exclusion_filters=[ - datadog.SecurityMonitoringFilterExclusionFilterArgs( - name="first", - query="exclude some logs", - ), - datadog.SecurityMonitoringFilterExclusionFilterArgs( - name="second", - query="exclude some other logs", - ), - ], - is_enabled=True, - name="My filter", - query="The filter is filtering.") - ``` - ## Import Security monitoring filters can be imported using ID, e.g. @@ -299,28 +299,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource for security filters. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - my_filter = datadog.SecurityMonitoringFilter("myFilter", - exclusion_filters=[ - datadog.SecurityMonitoringFilterExclusionFilterArgs( - name="first", - query="exclude some logs", - ), - datadog.SecurityMonitoringFilterExclusionFilterArgs( - name="second", - query="exclude some other logs", - ), - ], - is_enabled=True, - name="My filter", - query="The filter is filtering.") - ``` - ## Import Security monitoring filters can be imported using ID, e.g. diff --git a/sdk/python/pulumi_datadog/security_monitoring_rule.py b/sdk/python/pulumi_datadog/security_monitoring_rule.py index 1b2f2ec5b..df81a5911 100644 --- a/sdk/python/pulumi_datadog/security_monitoring_rule.py +++ b/sdk/python/pulumi_datadog/security_monitoring_rule.py @@ -58,9 +58,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cases: pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleCaseArgs']]], - message: pulumi.Input[str], - name: pulumi.Input[str], + cases: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleCaseArgs']]]] = None, + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleFilterArgs']]]] = None, has_extended_title: Optional[pulumi.Input[bool]] = None, @@ -69,7 +69,19 @@ def _configure( signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if cases is None: + raise TypeError("Missing 'cases' argument") + if message is None: + raise TypeError("Missing 'message' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if has_extended_title is None and 'hasExtendedTitle' in kwargs: + has_extended_title = kwargs['hasExtendedTitle'] + if signal_queries is None and 'signalQueries' in kwargs: + signal_queries = kwargs['signalQueries'] + _setter("cases", cases) _setter("message", message) _setter("name", name) @@ -279,7 +291,13 @@ def _configure( signal_queries: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityMonitoringRuleSignalQueryArgs']]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if has_extended_title is None and 'hasExtendedTitle' in kwargs: + has_extended_title = kwargs['hasExtendedTitle'] + if signal_queries is None and 'signalQueries' in kwargs: + signal_queries = kwargs['signalQueries'] + if cases is not None: _setter("cases", cases) if enabled is not None: @@ -456,43 +474,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use `datadog_security_default_rule` instead. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - myrule = datadog.SecurityMonitoringRule("myrule", - cases=[datadog.SecurityMonitoringRuleCaseArgs( - condition="errors > 3 && warnings > 10", - notifications=["@user"], - status="high", - )], - enabled=True, - message="The rule has triggered.", - name="My rule", - options=datadog.SecurityMonitoringRuleOptionsArgs( - evaluation_window=300, - keep_alive=600, - max_signal_duration=900, - ), - queries=[ - datadog.SecurityMonitoringRuleQueryArgs( - aggregation="count", - group_by_fields=["host"], - name="errors", - query="status:error", - ), - datadog.SecurityMonitoringRuleQueryArgs( - aggregation="count", - group_by_fields=["host"], - name="warnings", - query="status:warning", - ), - ], - tags=["type:dos"]) - ``` - ## Import Security monitoring rules can be imported using ID, e.g. @@ -524,43 +505,6 @@ def __init__(__self__, """ Provides a Datadog Security Monitoring Rule API resource. This can be used to create and manage Datadog security monitoring rules. To change settings for a default rule use `datadog_security_default_rule` instead. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - myrule = datadog.SecurityMonitoringRule("myrule", - cases=[datadog.SecurityMonitoringRuleCaseArgs( - condition="errors > 3 && warnings > 10", - notifications=["@user"], - status="high", - )], - enabled=True, - message="The rule has triggered.", - name="My rule", - options=datadog.SecurityMonitoringRuleOptionsArgs( - evaluation_window=300, - keep_alive=600, - max_signal_duration=900, - ), - queries=[ - datadog.SecurityMonitoringRuleQueryArgs( - aggregation="count", - group_by_fields=["host"], - name="errors", - query="status:error", - ), - datadog.SecurityMonitoringRuleQueryArgs( - aggregation="count", - group_by_fields=["host"], - name="warnings", - query="status:warning", - ), - ], - tags=["type:dos"]) - ``` - ## Import Security monitoring rules can be imported using ID, e.g. @@ -620,11 +564,7 @@ def _internal_init(__self__, if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name - if options is not None and not isinstance(options, SecurityMonitoringRuleOptionsArgs): - options = options or {} - def _setter(key, value): - options[key] = value - SecurityMonitoringRuleOptionsArgs._configure(_setter, **options) + options = _utilities.configure(options, SecurityMonitoringRuleOptionsArgs, True) __props__.__dict__["options"] = options __props__.__dict__["queries"] = queries __props__.__dict__["signal_queries"] = signal_queries diff --git a/sdk/python/pulumi_datadog/sensitive_data_scanner_group.py b/sdk/python/pulumi_datadog/sensitive_data_scanner_group.py index f0c818570..8688fe6f3 100644 --- a/sdk/python/pulumi_datadog/sensitive_data_scanner_group.py +++ b/sdk/python/pulumi_datadog/sensitive_data_scanner_group.py @@ -40,12 +40,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - filter: pulumi.Input['SensitiveDataScannerGroupFilterArgs'], - is_enabled: pulumi.Input[bool], - name: pulumi.Input[str], - product_lists: pulumi.Input[Sequence[pulumi.Input[str]]], + filter: Optional[pulumi.Input['SensitiveDataScannerGroupFilterArgs']] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + product_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if filter is None: + raise TypeError("Missing 'filter' argument") + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if is_enabled is None: + raise TypeError("Missing 'is_enabled' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if product_lists is None and 'productLists' in kwargs: + product_lists = kwargs['productLists'] + if product_lists is None: + raise TypeError("Missing 'product_lists' argument") + _setter("filter", filter) _setter("is_enabled", is_enabled) _setter("name", name) @@ -146,7 +160,13 @@ def _configure( is_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, product_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if product_lists is None and 'productLists' in kwargs: + product_lists = kwargs['productLists'] + if description is not None: _setter("description", description) if filter is not None: @@ -233,22 +253,6 @@ def __init__(__self__, """ Provides a Sensitive Data Scanner group resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - mygroup = datadog.SensitiveDataScannerGroup("mygroup", - description="A relevant description", - filter=datadog.SensitiveDataScannerGroupFilterArgs( - query="service:my-service", - ), - is_enabled=True, - name="My new scanning group", - product_lists=["apm"]) - ``` - ## Import ```sh @@ -272,22 +276,6 @@ def __init__(__self__, """ Provides a Sensitive Data Scanner group resource. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - mygroup = datadog.SensitiveDataScannerGroup("mygroup", - description="A relevant description", - filter=datadog.SensitiveDataScannerGroupFilterArgs( - query="service:my-service", - ), - is_enabled=True, - name="My new scanning group", - product_lists=["apm"]) - ``` - ## Import ```sh @@ -328,11 +316,7 @@ def _internal_init(__self__, __props__ = SensitiveDataScannerGroupArgs.__new__(SensitiveDataScannerGroupArgs) __props__.__dict__["description"] = description - if filter is not None and not isinstance(filter, SensitiveDataScannerGroupFilterArgs): - filter = filter or {} - def _setter(key, value): - filter[key] = value - SensitiveDataScannerGroupFilterArgs._configure(_setter, **filter) + filter = _utilities.configure(filter, SensitiveDataScannerGroupFilterArgs, True) if filter is None and not opts.urn: raise TypeError("Missing required property 'filter'") __props__.__dict__["filter"] = filter diff --git a/sdk/python/pulumi_datadog/sensitive_data_scanner_group_order.py b/sdk/python/pulumi_datadog/sensitive_data_scanner_group_order.py index 66bbb8d4c..de1e58ba9 100644 --- a/sdk/python/pulumi_datadog/sensitive_data_scanner_group_order.py +++ b/sdk/python/pulumi_datadog/sensitive_data_scanner_group_order.py @@ -26,8 +26,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group_ids: pulumi.Input[Sequence[pulumi.Input[str]]], - opts: Optional[pulumi.ResourceOptions]=None): + group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_ids is None and 'groupIds' in kwargs: + group_ids = kwargs['groupIds'] + if group_ids is None: + raise TypeError("Missing 'group_ids' argument") + _setter("group_ids", group_ids) @property @@ -59,7 +65,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_ids is None and 'groupIds' in kwargs: + group_ids = kwargs['groupIds'] + if group_ids is not None: _setter("group_ids", group_ids) @@ -86,19 +96,6 @@ def __init__(__self__, """ Provides a Datadog Sensitive Data Scanner Group Order API resource. This can be used to manage the order of Datadog Sensitive Data Scanner Groups. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - mygrouporder = datadog.SensitiveDataScannerGroupOrder("mygrouporder", group_ids=[ - "group-id-1", - "group-id-2", - "group-id-3", - ]) - ``` - ## Import ```sh @@ -118,19 +115,6 @@ def __init__(__self__, """ Provides a Datadog Sensitive Data Scanner Group Order API resource. This can be used to manage the order of Datadog Sensitive Data Scanner Groups. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - mygrouporder = datadog.SensitiveDataScannerGroupOrder("mygrouporder", group_ids=[ - "group-id-1", - "group-id-2", - "group-id-3", - ]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/sensitive_data_scanner_rule.py b/sdk/python/pulumi_datadog/sensitive_data_scanner_rule.py index 102f46eae..65faca5c2 100644 --- a/sdk/python/pulumi_datadog/sensitive_data_scanner_rule.py +++ b/sdk/python/pulumi_datadog/sensitive_data_scanner_rule.py @@ -55,7 +55,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group_id: pulumi.Input[str], + group_id: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, excluded_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_enabled: Optional[pulumi.Input[bool]] = None, @@ -65,7 +65,21 @@ def _configure( standard_pattern_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_replacement: Optional[pulumi.Input['SensitiveDataScannerRuleTextReplacementArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_id is None and 'groupId' in kwargs: + group_id = kwargs['groupId'] + if group_id is None: + raise TypeError("Missing 'group_id' argument") + if excluded_namespaces is None and 'excludedNamespaces' in kwargs: + excluded_namespaces = kwargs['excludedNamespaces'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if standard_pattern_id is None and 'standardPatternId' in kwargs: + standard_pattern_id = kwargs['standardPatternId'] + if text_replacement is None and 'textReplacement' in kwargs: + text_replacement = kwargs['textReplacement'] + _setter("group_id", group_id) if description is not None: _setter("description", description) @@ -259,7 +273,19 @@ def _configure( standard_pattern_id: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, text_replacement: Optional[pulumi.Input['SensitiveDataScannerRuleTextReplacementArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if excluded_namespaces is None and 'excludedNamespaces' in kwargs: + excluded_namespaces = kwargs['excludedNamespaces'] + if group_id is None and 'groupId' in kwargs: + group_id = kwargs['groupId'] + if is_enabled is None and 'isEnabled' in kwargs: + is_enabled = kwargs['isEnabled'] + if standard_pattern_id is None and 'standardPatternId' in kwargs: + standard_pattern_id = kwargs['standardPatternId'] + if text_replacement is None and 'textReplacement' in kwargs: + text_replacement = kwargs['textReplacement'] + if description is not None: _setter("description", description) if excluded_namespaces is not None: @@ -421,45 +447,6 @@ def __init__(__self__, """ Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group - mygroup = datadog.SensitiveDataScannerGroup("mygroup", - name="My new scanning group", - description="A relevant description", - filter=datadog.SensitiveDataScannerGroupFilterArgs( - query="service:my-service", - ), - is_enabled=True, - product_lists=["apm"]) - myrule = datadog.SensitiveDataScannerRule("myrule", - name="My new rule", - description="Another description", - group_id=mygroup.id, - excluded_namespaces=["username"], - is_enabled=True, - pattern="myregex", - tags=["sensitive_data:true"], - text_replacement=datadog.SensitiveDataScannerRuleTextReplacementArgs( - number_of_chars=0, - replacement_string="", - type="hash", - )) - aws_sp = datadog.get_sensitive_data_scanner_standard_pattern(filter="AWS Access Key ID Scanner") - mylibraryrule = datadog.SensitiveDataScannerRule("mylibraryrule", - name="My library rule", - description="A description", - group_id=mygroup.id, - standard_pattern_id=aws_sp.id, - excluded_namespaces=["username"], - is_enabled=True, - tags=["sensitive_data:true"]) - ``` - ## Import ```sh @@ -488,45 +475,6 @@ def __init__(__self__, """ Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group - mygroup = datadog.SensitiveDataScannerGroup("mygroup", - name="My new scanning group", - description="A relevant description", - filter=datadog.SensitiveDataScannerGroupFilterArgs( - query="service:my-service", - ), - is_enabled=True, - product_lists=["apm"]) - myrule = datadog.SensitiveDataScannerRule("myrule", - name="My new rule", - description="Another description", - group_id=mygroup.id, - excluded_namespaces=["username"], - is_enabled=True, - pattern="myregex", - tags=["sensitive_data:true"], - text_replacement=datadog.SensitiveDataScannerRuleTextReplacementArgs( - number_of_chars=0, - replacement_string="", - type="hash", - )) - aws_sp = datadog.get_sensitive_data_scanner_standard_pattern(filter="AWS Access Key ID Scanner") - mylibraryrule = datadog.SensitiveDataScannerRule("mylibraryrule", - name="My library rule", - description="A description", - group_id=mygroup.id, - standard_pattern_id=aws_sp.id, - excluded_namespaces=["username"], - is_enabled=True, - tags=["sensitive_data:true"]) - ``` - ## Import ```sh @@ -582,11 +530,7 @@ def _internal_init(__self__, __props__.__dict__["pattern"] = pattern __props__.__dict__["standard_pattern_id"] = standard_pattern_id __props__.__dict__["tags"] = tags - if text_replacement is not None and not isinstance(text_replacement, SensitiveDataScannerRuleTextReplacementArgs): - text_replacement = text_replacement or {} - def _setter(key, value): - text_replacement[key] = value - SensitiveDataScannerRuleTextReplacementArgs._configure(_setter, **text_replacement) + text_replacement = _utilities.configure(text_replacement, SensitiveDataScannerRuleTextReplacementArgs, True) __props__.__dict__["text_replacement"] = text_replacement super(SensitiveDataScannerRule, __self__).__init__( 'datadog:index/sensitiveDataScannerRule:SensitiveDataScannerRule', diff --git a/sdk/python/pulumi_datadog/service_account.py b/sdk/python/pulumi_datadog/service_account.py index 0eaeaa0aa..b5fc8cde9 100644 --- a/sdk/python/pulumi_datadog/service_account.py +++ b/sdk/python/pulumi_datadog/service_account.py @@ -35,11 +35,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - email: pulumi.Input[str], + email: Optional[pulumi.Input[str]] = None, disabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if email is None: + raise TypeError("Missing 'email' argument") + _setter("email", email) if disabled is not None: _setter("disabled", disabled) @@ -125,7 +129,9 @@ def _configure( email: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if disabled is not None: _setter("disabled", disabled) if email is not None: @@ -197,20 +203,6 @@ def __init__(__self__, """ Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new Datadog service account - bar = datadog.ServiceAccount("bar", - email="new@example.com", - name="Service Account Bar", - roles=[ro_role.id]) - ``` - ## Import ```sh @@ -233,20 +225,6 @@ def __init__(__self__, """ Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new Datadog service account - bar = datadog.ServiceAccount("bar", - email="new@example.com", - name="Service Account Bar", - roles=[ro_role.id]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/service_account_application_key.py b/sdk/python/pulumi_datadog/service_account_application_key.py index af3ac399f..8c143d4df 100644 --- a/sdk/python/pulumi_datadog/service_account_application_key.py +++ b/sdk/python/pulumi_datadog/service_account_application_key.py @@ -29,9 +29,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - service_account_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + name: Optional[pulumi.Input[str]] = None, + service_account_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if service_account_id is None and 'serviceAccountId' in kwargs: + service_account_id = kwargs['serviceAccountId'] + if service_account_id is None: + raise TypeError("Missing 'service_account_id' argument") + _setter("name", name) _setter("service_account_id", service_account_id) @@ -92,7 +100,13 @@ def _configure( last4: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, service_account_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if created_at is None and 'createdAt' in kwargs: + created_at = kwargs['createdAt'] + if service_account_id is None and 'serviceAccountId' in kwargs: + service_account_id = kwargs['serviceAccountId'] + if created_at is not None: _setter("created_at", created_at) if key is not None: @@ -176,18 +190,6 @@ def __init__(__self__, """ Provides a Datadog `service_account_application_key` resource. This can be used to create and manage Datadog service account application keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create new service_account_application_key resource - foo = datadog.ServiceAccountApplicationKey("foo", - name="Application key for managing dashboards", - service_account_id="00000000-0000-1234-0000-000000000000") - ``` - ## Import Importing a service account's application key cannot import the value of the key. @@ -210,18 +212,6 @@ def __init__(__self__, """ Provides a Datadog `service_account_application_key` resource. This can be used to create and manage Datadog service account application keys. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create new service_account_application_key resource - foo = datadog.ServiceAccountApplicationKey("foo", - name="Application key for managing dashboards", - service_account_id="00000000-0000-1234-0000-000000000000") - ``` - ## Import Importing a service account's application key cannot import the value of the key. diff --git a/sdk/python/pulumi_datadog/service_definition_yaml.py b/sdk/python/pulumi_datadog/service_definition_yaml.py index 5740e6c69..69a0cf891 100644 --- a/sdk/python/pulumi_datadog/service_definition_yaml.py +++ b/sdk/python/pulumi_datadog/service_definition_yaml.py @@ -26,8 +26,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - service_definition: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + service_definition: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if service_definition is None and 'serviceDefinition' in kwargs: + service_definition = kwargs['serviceDefinition'] + if service_definition is None: + raise TypeError("Missing 'service_definition' argument") + _setter("service_definition", service_definition) @property @@ -59,7 +65,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], service_definition: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if service_definition is None and 'serviceDefinition' in kwargs: + service_definition = kwargs['serviceDefinition'] + if service_definition is not None: _setter("service_definition", service_definition) @@ -86,118 +96,6 @@ def __init__(__self__, """ Provides a Datadog service definition resource. This can be used to create and manage Datadog service definitions in the service catalog using the YAML/JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Service Definition with v2.1 Schema Definition - service_definition_v21 = datadog.ServiceDefinitionYaml("serviceDefinitionV21", service_definition=\"\"\"schema-version: v2.1 - dd-service: shopping-cart - team: e-commerce-team - contacts: - - name: Support Email - type: email - contact: team@shopping.com - - name: Support Slack - type: slack - contact: https://www.slack.com/archives/shopping-cart - description: shopping cart service responsible for managing shopping carts - tier: high - lifecycle: production - application: e-commerce - links: - - name: shopping-cart runbook - type: runbook - url: https://runbook/shopping-cart - - name: shopping-cart architecture - type: doc - provider: gdoc - url: https://google.drive/shopping-cart-architecture - - name: shopping-cart service Wiki - type: doc - provider: wiki - url: https://wiki/shopping-cart - - name: shopping-cart source code - type: repo - provider: github - url: http://github/shopping-cart - tags: - - business-unit:retail - - cost-center:engineering - integrations: - pagerduty: - service-url: https://www.pagerduty.com/service-directory/Pshopping-cart - extensions: - mycompany.com/shopping-cart: - customField: customValue - - \"\"\") - # Service Definition with v2 Schema Definition - service_definition_v2 = datadog.ServiceDefinitionYaml("serviceDefinitionV2", service_definition=\"\"\"schema-version: v2 - dd-service: shopping-cart - team: E Commerce - contacts: - - name: Support Email - type: email - contact: team@shopping.com - - name: Support Slack - type: slack - contact: https://www.slack.com/archives/shopping-cart - repos: - - name: shopping-cart source code - provider: github - url: http://github/shopping-cart - docs: - - name: shopping-cart architecture - provider: gdoc - url: https://google.drive/shopping-cart-architecture - - name: shopping-cart service Wiki - provider: wiki - url: https://wiki/shopping-cart - links: - - name: shopping-cart runbook - type: runbook - url: https://runbook/shopping-cart - tags: - - business-unit:retail - - cost-center:engineering - integrations: - pagerduty: https://www.pagerduty.com/service-directory/Pshopping-cart - extensions: - datadoghq.com/shopping-cart: - customField: customValue - - \"\"\") - # Service Definition with backstage.io Schema - service_definition_backstage = datadog.ServiceDefinitionYaml("serviceDefinitionBackstage", service_definition=\"\"\"apiVersion: backstage.io/v1alpha1 - kind: Component - metadata: - annotations: - backstage.io/techdocs-ref: http://a/b/c - some.annotation: value - namespace: default - name: shopping-cart - title: Shopping Cart - description: A shopping cart service - tags: ["taga:valuea", "tagb:valueb"] - links: - - title: Wiki - url: https://wiki/shopping-cart - icon: help - ignore-attribute: - id: 1 - value: "value" - spec: - type: service - lifecycle: production - owner: e-commerce - system: retail - - \"\"\") - ``` - ## Import ```sh @@ -217,118 +115,6 @@ def __init__(__self__, """ Provides a Datadog service definition resource. This can be used to create and manage Datadog service definitions in the service catalog using the YAML/JSON definition. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Service Definition with v2.1 Schema Definition - service_definition_v21 = datadog.ServiceDefinitionYaml("serviceDefinitionV21", service_definition=\"\"\"schema-version: v2.1 - dd-service: shopping-cart - team: e-commerce-team - contacts: - - name: Support Email - type: email - contact: team@shopping.com - - name: Support Slack - type: slack - contact: https://www.slack.com/archives/shopping-cart - description: shopping cart service responsible for managing shopping carts - tier: high - lifecycle: production - application: e-commerce - links: - - name: shopping-cart runbook - type: runbook - url: https://runbook/shopping-cart - - name: shopping-cart architecture - type: doc - provider: gdoc - url: https://google.drive/shopping-cart-architecture - - name: shopping-cart service Wiki - type: doc - provider: wiki - url: https://wiki/shopping-cart - - name: shopping-cart source code - type: repo - provider: github - url: http://github/shopping-cart - tags: - - business-unit:retail - - cost-center:engineering - integrations: - pagerduty: - service-url: https://www.pagerduty.com/service-directory/Pshopping-cart - extensions: - mycompany.com/shopping-cart: - customField: customValue - - \"\"\") - # Service Definition with v2 Schema Definition - service_definition_v2 = datadog.ServiceDefinitionYaml("serviceDefinitionV2", service_definition=\"\"\"schema-version: v2 - dd-service: shopping-cart - team: E Commerce - contacts: - - name: Support Email - type: email - contact: team@shopping.com - - name: Support Slack - type: slack - contact: https://www.slack.com/archives/shopping-cart - repos: - - name: shopping-cart source code - provider: github - url: http://github/shopping-cart - docs: - - name: shopping-cart architecture - provider: gdoc - url: https://google.drive/shopping-cart-architecture - - name: shopping-cart service Wiki - provider: wiki - url: https://wiki/shopping-cart - links: - - name: shopping-cart runbook - type: runbook - url: https://runbook/shopping-cart - tags: - - business-unit:retail - - cost-center:engineering - integrations: - pagerduty: https://www.pagerduty.com/service-directory/Pshopping-cart - extensions: - datadoghq.com/shopping-cart: - customField: customValue - - \"\"\") - # Service Definition with backstage.io Schema - service_definition_backstage = datadog.ServiceDefinitionYaml("serviceDefinitionBackstage", service_definition=\"\"\"apiVersion: backstage.io/v1alpha1 - kind: Component - metadata: - annotations: - backstage.io/techdocs-ref: http://a/b/c - some.annotation: value - namespace: default - name: shopping-cart - title: Shopping Cart - description: A shopping cart service - tags: ["taga:valuea", "tagb:valueb"] - links: - - title: Wiki - url: https://wiki/shopping-cart - icon: help - ignore-attribute: - id: 1 - value: "value" - spec: - type: service - lifecycle: production - owner: e-commerce - system: retail - - \"\"\") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/service_level_objective.py b/sdk/python/pulumi_datadog/service_level_objective.py index ecf62f5ff..c9da9bebb 100644 --- a/sdk/python/pulumi_datadog/service_level_objective.py +++ b/sdk/python/pulumi_datadog/service_level_objective.py @@ -64,9 +64,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - thresholds: pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveThresholdArgs']]], - type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveThresholdArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, force_delete: Optional[pulumi.Input[bool]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -77,7 +77,23 @@ def _configure( timeframe: Optional[pulumi.Input[str]] = None, validate: Optional[pulumi.Input[bool]] = None, warning_threshold: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if thresholds is None: + raise TypeError("Missing 'thresholds' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if force_delete is None and 'forceDelete' in kwargs: + force_delete = kwargs['forceDelete'] + if monitor_ids is None and 'monitorIds' in kwargs: + monitor_ids = kwargs['monitorIds'] + if target_threshold is None and 'targetThreshold' in kwargs: + target_threshold = kwargs['targetThreshold'] + if warning_threshold is None and 'warningThreshold' in kwargs: + warning_threshold = kwargs['warningThreshold'] + _setter("name", name) _setter("thresholds", thresholds) _setter("type", type) @@ -323,7 +339,17 @@ def _configure( type: Optional[pulumi.Input[str]] = None, validate: Optional[pulumi.Input[bool]] = None, warning_threshold: Optional[pulumi.Input[float]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if force_delete is None and 'forceDelete' in kwargs: + force_delete = kwargs['forceDelete'] + if monitor_ids is None and 'monitorIds' in kwargs: + monitor_ids = kwargs['monitorIds'] + if target_threshold is None and 'targetThreshold' in kwargs: + target_threshold = kwargs['targetThreshold'] + if warning_threshold is None and 'warningThreshold' in kwargs: + warning_threshold = kwargs['warningThreshold'] + if description is not None: _setter("description", description) if force_delete is not None: @@ -530,73 +556,6 @@ def __init__(__self__, """ Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Metric-Based SLO - # Create a new Datadog service level objective - foo = datadog.ServiceLevelObjective("foo", - description="My custom metric SLO", - name="Example Metric SLO", - query=datadog.ServiceLevelObjectiveQueryArgs( - denominator="sum:my.custom.count.metric{*}.as_count()", - numerator="sum:my.custom.count.metric{type:good_events}.as_count()", - ), - tags=[ - "foo:bar", - "baz", - ], - target_threshold=99.9, - thresholds=[ - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="7d", - warning=99.99, - ), - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="30d", - warning=99.99, - ), - ], - timeframe="30d", - type="metric", - warning_threshold=99.99) - # Monitor-Based SLO - # Create a new Datadog service level objective - bar = datadog.ServiceLevelObjective("bar", - description="My custom monitor SLO", - monitor_ids=[ - 1, - 2, - 3, - ], - name="Example Monitor SLO", - tags=[ - "foo:bar", - "baz", - ], - target_threshold=99.9, - thresholds=[ - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="7d", - warning=99.99, - ), - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="30d", - warning=99.99, - ), - ], - timeframe="30d", - type="monitor", - warning_threshold=99.99) - ``` - ## Import Service Level Objectives can be imported using their string ID, e.g. @@ -630,73 +589,6 @@ def __init__(__self__, """ Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Metric-Based SLO - # Create a new Datadog service level objective - foo = datadog.ServiceLevelObjective("foo", - description="My custom metric SLO", - name="Example Metric SLO", - query=datadog.ServiceLevelObjectiveQueryArgs( - denominator="sum:my.custom.count.metric{*}.as_count()", - numerator="sum:my.custom.count.metric{type:good_events}.as_count()", - ), - tags=[ - "foo:bar", - "baz", - ], - target_threshold=99.9, - thresholds=[ - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="7d", - warning=99.99, - ), - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="30d", - warning=99.99, - ), - ], - timeframe="30d", - type="metric", - warning_threshold=99.99) - # Monitor-Based SLO - # Create a new Datadog service level objective - bar = datadog.ServiceLevelObjective("bar", - description="My custom monitor SLO", - monitor_ids=[ - 1, - 2, - 3, - ], - name="Example Monitor SLO", - tags=[ - "foo:bar", - "baz", - ], - target_threshold=99.9, - thresholds=[ - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="7d", - warning=99.99, - ), - datadog.ServiceLevelObjectiveThresholdArgs( - target=99.9, - timeframe="30d", - warning=99.99, - ), - ], - timeframe="30d", - type="monitor", - warning_threshold=99.99) - ``` - ## Import Service Level Objectives can be imported using their string ID, e.g. @@ -753,11 +645,7 @@ def _internal_init(__self__, if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name - if query is not None and not isinstance(query, ServiceLevelObjectiveQueryArgs): - query = query or {} - def _setter(key, value): - query[key] = value - ServiceLevelObjectiveQueryArgs._configure(_setter, **query) + query = _utilities.configure(query, ServiceLevelObjectiveQueryArgs, True) __props__.__dict__["query"] = query __props__.__dict__["tags"] = tags __props__.__dict__["target_threshold"] = target_threshold diff --git a/sdk/python/pulumi_datadog/slack/_inputs.py b/sdk/python/pulumi_datadog/slack/_inputs.py index 4eb4257d3..d0f59ab08 100644 --- a/sdk/python/pulumi_datadog/slack/_inputs.py +++ b/sdk/python/pulumi_datadog/slack/_inputs.py @@ -40,7 +40,9 @@ def _configure( notified: Optional[pulumi.Input[bool]] = None, snapshot: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if message is not None: _setter("message", message) if notified is not None: diff --git a/sdk/python/pulumi_datadog/slack/channel.py b/sdk/python/pulumi_datadog/slack/channel.py index eaf23adfa..266fd6c77 100644 --- a/sdk/python/pulumi_datadog/slack/channel.py +++ b/sdk/python/pulumi_datadog/slack/channel.py @@ -34,10 +34,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: pulumi.Input[str], - channel_name: pulumi.Input[str], - display: pulumi.Input['ChannelDisplayArgs'], - opts: Optional[pulumi.ResourceOptions]=None): + account_name: Optional[pulumi.Input[str]] = None, + channel_name: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input['ChannelDisplayArgs']] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_name is None and 'accountName' in kwargs: + account_name = kwargs['accountName'] + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if channel_name is None and 'channelName' in kwargs: + channel_name = kwargs['channelName'] + if channel_name is None: + raise TypeError("Missing 'channel_name' argument") + if display is None: + raise TypeError("Missing 'display' argument") + _setter("account_name", account_name) _setter("channel_name", channel_name) _setter("display", display) @@ -103,7 +115,13 @@ def _configure( account_name: Optional[pulumi.Input[str]] = None, channel_name: Optional[pulumi.Input[str]] = None, display: Optional[pulumi.Input['ChannelDisplayArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if account_name is None and 'accountName' in kwargs: + account_name = kwargs['accountName'] + if channel_name is None and 'channelName' in kwargs: + channel_name = kwargs['channelName'] + if account_name is not None: _setter("account_name", account_name) if channel_name is not None: @@ -160,23 +178,6 @@ def __init__(__self__, """ Resource for interacting with the Datadog Slack channel API - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test_channel = datadog.slack.Channel("testChannel", - account_name="foo", - channel_name="#test_channel", - display=datadog.slack.ChannelDisplayArgs( - message=True, - notified=False, - snapshot=False, - tags=True, - )) - ``` - ## Import Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`). @@ -200,23 +201,6 @@ def __init__(__self__, """ Resource for interacting with the Datadog Slack channel API - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test_channel = datadog.slack.Channel("testChannel", - account_name="foo", - channel_name="#test_channel", - display=datadog.slack.ChannelDisplayArgs( - message=True, - notified=False, - snapshot=False, - tags=True, - )) - ``` - ## Import Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`). @@ -262,11 +246,7 @@ def _internal_init(__self__, if channel_name is None and not opts.urn: raise TypeError("Missing required property 'channel_name'") __props__.__dict__["channel_name"] = channel_name - if display is not None and not isinstance(display, ChannelDisplayArgs): - display = display or {} - def _setter(key, value): - display[key] = value - ChannelDisplayArgs._configure(_setter, **display) + display = _utilities.configure(display, ChannelDisplayArgs, True) if display is None and not opts.urn: raise TypeError("Missing required property 'display'") __props__.__dict__["display"] = display diff --git a/sdk/python/pulumi_datadog/slack/outputs.py b/sdk/python/pulumi_datadog/slack/outputs.py index 66048aa30..c3fbe6076 100644 --- a/sdk/python/pulumi_datadog/slack/outputs.py +++ b/sdk/python/pulumi_datadog/slack/outputs.py @@ -40,7 +40,9 @@ def _configure( notified: Optional[bool] = None, snapshot: Optional[bool] = None, tags: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if message is not None: _setter("message", message) if notified is not None: diff --git a/sdk/python/pulumi_datadog/slo_correction.py b/sdk/python/pulumi_datadog/slo_correction.py index e5f563e9f..4d8b9fff5 100644 --- a/sdk/python/pulumi_datadog/slo_correction.py +++ b/sdk/python/pulumi_datadog/slo_correction.py @@ -47,15 +47,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - category: pulumi.Input[str], - slo_id: pulumi.Input[str], - start: pulumi.Input[int], + category: Optional[pulumi.Input[str]] = None, + slo_id: Optional[pulumi.Input[str]] = None, + start: Optional[pulumi.Input[int]] = None, description: Optional[pulumi.Input[str]] = None, duration: Optional[pulumi.Input[int]] = None, end: Optional[pulumi.Input[int]] = None, rrule: Optional[pulumi.Input[str]] = None, timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if category is None: + raise TypeError("Missing 'category' argument") + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if slo_id is None: + raise TypeError("Missing 'slo_id' argument") + if start is None: + raise TypeError("Missing 'start' argument") + _setter("category", category) _setter("slo_id", slo_id) _setter("start", start) @@ -211,7 +221,11 @@ def _configure( slo_id: Optional[pulumi.Input[str]] = None, start: Optional[pulumi.Input[int]] = None, timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if slo_id is None and 'sloId' in kwargs: + slo_id = kwargs['sloId'] + if category is not None: _setter("category", category) if description is not None: @@ -343,44 +357,6 @@ def __init__(__self__, """ Resource for interacting with the slo_correction API. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog SLO correction. slo_id can be derived from slo resource or specify an slo id of an existing SLO. - example_slo = datadog.ServiceLevelObjective("exampleSlo", - name="example slo", - type="metric", - description="some updated description about example_slo SLO", - query=datadog.ServiceLevelObjectiveQueryArgs( - numerator="sum:my.metric{type:good}.as_count()", - denominator="sum:my.metric{type:good}.as_count() + sum:my.metric{type:bad}.as_count()", - ), - thresholds=[datadog.ServiceLevelObjectiveThresholdArgs( - timeframe="7d", - target=99.5, - warning=99.8, - )], - tags=["foo:bar"]) - example_slo_correction = datadog.SloCorrection("exampleSloCorrection", - category="Scheduled Maintenance", - description="correction example", - start=1735707000, - end=1735718600, - slo_id=example_slo.id, - timezone="UTC") - example_slo_correction_with_recurrence = datadog.SloCorrection("exampleSloCorrectionWithRecurrence", - category="Scheduled Maintenance", - description="correction example with recurrence", - start=1735707000, - rrule="FREQ=DAILY;INTERVAL=3;COUNT=3", - duration=3600, - slo_id=example_slo.id, - timezone="UTC") - ``` - ## Import ```sh @@ -407,44 +383,6 @@ def __init__(__self__, """ Resource for interacting with the slo_correction API. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Create a new Datadog SLO correction. slo_id can be derived from slo resource or specify an slo id of an existing SLO. - example_slo = datadog.ServiceLevelObjective("exampleSlo", - name="example slo", - type="metric", - description="some updated description about example_slo SLO", - query=datadog.ServiceLevelObjectiveQueryArgs( - numerator="sum:my.metric{type:good}.as_count()", - denominator="sum:my.metric{type:good}.as_count() + sum:my.metric{type:bad}.as_count()", - ), - thresholds=[datadog.ServiceLevelObjectiveThresholdArgs( - timeframe="7d", - target=99.5, - warning=99.8, - )], - tags=["foo:bar"]) - example_slo_correction = datadog.SloCorrection("exampleSloCorrection", - category="Scheduled Maintenance", - description="correction example", - start=1735707000, - end=1735718600, - slo_id=example_slo.id, - timezone="UTC") - example_slo_correction_with_recurrence = datadog.SloCorrection("exampleSloCorrectionWithRecurrence", - category="Scheduled Maintenance", - description="correction example with recurrence", - start=1735707000, - rrule="FREQ=DAILY;INTERVAL=3;COUNT=3", - duration=3600, - slo_id=example_slo.id, - timezone="UTC") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/spans_metric.py b/sdk/python/pulumi_datadog/spans_metric.py index 06c519c96..d10e1721d 100644 --- a/sdk/python/pulumi_datadog/spans_metric.py +++ b/sdk/python/pulumi_datadog/spans_metric.py @@ -34,11 +34,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, compute: Optional[pulumi.Input['SpansMetricComputeArgs']] = None, filter: Optional[pulumi.Input['SpansMetricFilterArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['SpansMetricGroupByArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + _setter("name", name) if compute is not None: _setter("compute", compute) @@ -112,7 +118,11 @@ def _configure( filter: Optional[pulumi.Input['SpansMetricFilterArgs']] = None, group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['SpansMetricGroupByArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if group_bies is None and 'groupBies' in kwargs: + group_bies = kwargs['groupBies'] + if compute is not None: _setter("compute", compute) if filter is not None: @@ -232,17 +242,9 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = SpansMetricArgs.__new__(SpansMetricArgs) - if compute is not None and not isinstance(compute, SpansMetricComputeArgs): - compute = compute or {} - def _setter(key, value): - compute[key] = value - SpansMetricComputeArgs._configure(_setter, **compute) + compute = _utilities.configure(compute, SpansMetricComputeArgs, True) __props__.__dict__["compute"] = compute - if filter is not None and not isinstance(filter, SpansMetricFilterArgs): - filter = filter or {} - def _setter(key, value): - filter[key] = value - SpansMetricFilterArgs._configure(_setter, **filter) + filter = _utilities.configure(filter, SpansMetricFilterArgs, True) __props__.__dict__["filter"] = filter __props__.__dict__["group_bies"] = group_bies if name is None and not opts.urn: diff --git a/sdk/python/pulumi_datadog/synthetics_concurrency_cap.py b/sdk/python/pulumi_datadog/synthetics_concurrency_cap.py index ca490a72d..738d116dd 100644 --- a/sdk/python/pulumi_datadog/synthetics_concurrency_cap.py +++ b/sdk/python/pulumi_datadog/synthetics_concurrency_cap.py @@ -26,8 +26,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - on_demand_concurrency_cap: pulumi.Input[int], - opts: Optional[pulumi.ResourceOptions]=None): + on_demand_concurrency_cap: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if on_demand_concurrency_cap is None and 'onDemandConcurrencyCap' in kwargs: + on_demand_concurrency_cap = kwargs['onDemandConcurrencyCap'] + if on_demand_concurrency_cap is None: + raise TypeError("Missing 'on_demand_concurrency_cap' argument") + _setter("on_demand_concurrency_cap", on_demand_concurrency_cap) @property @@ -59,7 +65,11 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], on_demand_concurrency_cap: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if on_demand_concurrency_cap is None and 'onDemandConcurrencyCap' in kwargs: + on_demand_concurrency_cap = kwargs['onDemandConcurrencyCap'] + if on_demand_concurrency_cap is not None: _setter("on_demand_concurrency_cap", on_demand_concurrency_cap) @@ -86,16 +96,6 @@ def __init__(__self__, """ Provides a Datadog Synthetics On Demand Concurrency Cap API resource. This can be used to manage the Concurrency Cap for Synthetic tests. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Usage (Synthetics Concurrency Cap Configuration) - this = datadog.SyntheticsConcurrencyCap("this", on_demand_concurrency_cap=1) - ``` - ## Import The Synthetics concurrency cap can be imported. can be whatever you specify in your code. Datadog does not store the name on the server. @@ -117,16 +117,6 @@ def __init__(__self__, """ Provides a Datadog Synthetics On Demand Concurrency Cap API resource. This can be used to manage the Concurrency Cap for Synthetic tests. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Usage (Synthetics Concurrency Cap Configuration) - this = datadog.SyntheticsConcurrencyCap("this", on_demand_concurrency_cap=1) - ``` - ## Import The Synthetics concurrency cap can be imported. can be whatever you specify in your code. Datadog does not store the name on the server. diff --git a/sdk/python/pulumi_datadog/synthetics_global_variable.py b/sdk/python/pulumi_datadog/synthetics_global_variable.py index 429e9a120..31de6ffa7 100644 --- a/sdk/python/pulumi_datadog/synthetics_global_variable.py +++ b/sdk/python/pulumi_datadog/synthetics_global_variable.py @@ -52,8 +52,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - value: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input['SyntheticsGlobalVariableOptionsArgs']] = None, parse_test_id: Optional[pulumi.Input[str]] = None, @@ -61,7 +61,19 @@ def _configure( restricted_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, secure: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + if parse_test_id is None and 'parseTestId' in kwargs: + parse_test_id = kwargs['parseTestId'] + if parse_test_options is None and 'parseTestOptions' in kwargs: + parse_test_options = kwargs['parseTestOptions'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + _setter("name", name) _setter("value", value) if description is not None: @@ -236,7 +248,15 @@ def _configure( secure: Optional[pulumi.Input[bool]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if parse_test_id is None and 'parseTestId' in kwargs: + parse_test_id = kwargs['parseTestId'] + if parse_test_options is None and 'parseTestOptions' in kwargs: + parse_test_options = kwargs['parseTestOptions'] + if restricted_roles is None and 'restrictedRoles' in kwargs: + restricted_roles = kwargs['restrictedRoles'] + if description is not None: _setter("description", description) if name is not None: @@ -383,22 +403,6 @@ def __init__(__self__, """ Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test_variable = datadog.SyntheticsGlobalVariable("testVariable", - description="Description of the variable", - name="EXAMPLE_VARIABLE", - tags=[ - "foo:bar", - "env:test", - ], - value="variable-value") - ``` - ## Import Synthetics global variables can be imported using their string ID, e.g. @@ -428,22 +432,6 @@ def __init__(__self__, """ Provides a Datadog synthetics global variable resource. This can be used to create and manage Datadog synthetics global variables. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - test_variable = datadog.SyntheticsGlobalVariable("testVariable", - description="Description of the variable", - name="EXAMPLE_VARIABLE", - tags=[ - "foo:bar", - "env:test", - ], - value="variable-value") - ``` - ## Import Synthetics global variables can be imported using their string ID, e.g. @@ -493,18 +481,10 @@ def _internal_init(__self__, if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name - if options is not None and not isinstance(options, SyntheticsGlobalVariableOptionsArgs): - options = options or {} - def _setter(key, value): - options[key] = value - SyntheticsGlobalVariableOptionsArgs._configure(_setter, **options) + options = _utilities.configure(options, SyntheticsGlobalVariableOptionsArgs, True) __props__.__dict__["options"] = options __props__.__dict__["parse_test_id"] = parse_test_id - if parse_test_options is not None and not isinstance(parse_test_options, SyntheticsGlobalVariableParseTestOptionsArgs): - parse_test_options = parse_test_options or {} - def _setter(key, value): - parse_test_options[key] = value - SyntheticsGlobalVariableParseTestOptionsArgs._configure(_setter, **parse_test_options) + parse_test_options = _utilities.configure(parse_test_options, SyntheticsGlobalVariableParseTestOptionsArgs, True) __props__.__dict__["parse_test_options"] = parse_test_options __props__.__dict__["restricted_roles"] = restricted_roles __props__.__dict__["secure"] = secure diff --git a/sdk/python/pulumi_datadog/synthetics_private_location.py b/sdk/python/pulumi_datadog/synthetics_private_location.py index 499cc1524..b3a15e901 100644 --- a/sdk/python/pulumi_datadog/synthetics_private_location.py +++ b/sdk/python/pulumi_datadog/synthetics_private_location.py @@ -37,11 +37,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, metadata: Optional[pulumi.Input['SyntheticsPrivateLocationMetadataArgs']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + _setter("name", name) if description is not None: _setter("description", description) @@ -131,7 +135,9 @@ def _configure( metadata: Optional[pulumi.Input['SyntheticsPrivateLocationMetadataArgs']] = None, name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if config is not None: _setter("config", config) if description is not None: @@ -217,21 +223,6 @@ def __init__(__self__, """ Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - private_location = datadog.SyntheticsPrivateLocation("privateLocation", - description="Description of the private location", - name="First private location", - tags=[ - "foo:bar", - "env:test", - ]) - ``` - ## Import Synthetics private locations can be imported using their string ID, e.g. @@ -256,21 +247,6 @@ def __init__(__self__, """ Provides a Datadog synthetics private location resource. This can be used to create and manage Datadog synthetics private locations. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - private_location = datadog.SyntheticsPrivateLocation("privateLocation", - description="Description of the private location", - name="First private location", - tags=[ - "foo:bar", - "env:test", - ]) - ``` - ## Import Synthetics private locations can be imported using their string ID, e.g. @@ -312,11 +288,7 @@ def _internal_init(__self__, __props__ = SyntheticsPrivateLocationArgs.__new__(SyntheticsPrivateLocationArgs) __props__.__dict__["description"] = description - if metadata is not None and not isinstance(metadata, SyntheticsPrivateLocationMetadataArgs): - metadata = metadata or {} - def _setter(key, value): - metadata[key] = value - SyntheticsPrivateLocationMetadataArgs._configure(_setter, **metadata) + metadata = _utilities.configure(metadata, SyntheticsPrivateLocationMetadataArgs, True) __props__.__dict__["metadata"] = metadata if name is None and not opts.urn: raise TypeError("Missing required property 'name'") diff --git a/sdk/python/pulumi_datadog/synthetics_test.py b/sdk/python/pulumi_datadog/synthetics_test.py index 1b9e5b5f8..d85690c36 100644 --- a/sdk/python/pulumi_datadog/synthetics_test.py +++ b/sdk/python/pulumi_datadog/synthetics_test.py @@ -90,10 +90,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - locations: pulumi.Input[Sequence[pulumi.Input[str]]], - name: pulumi.Input[str], - status: pulumi.Input[str], - type: pulumi.Input[str], + locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, api_steps: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestApiStepArgs']]]] = None, assertions: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestAssertionArgs']]]] = None, browser_steps: Optional[pulumi.Input[Sequence[pulumi.Input['SyntheticsTestBrowserStepArgs']]]] = None, @@ -112,7 +112,45 @@ def _configure( set_cookie: Optional[pulumi.Input[str]] = None, subtype: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if locations is None: + raise TypeError("Missing 'locations' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if status is None: + raise TypeError("Missing 'status' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if api_steps is None and 'apiSteps' in kwargs: + api_steps = kwargs['apiSteps'] + if browser_steps is None and 'browserSteps' in kwargs: + browser_steps = kwargs['browserSteps'] + if browser_variables is None and 'browserVariables' in kwargs: + browser_variables = kwargs['browserVariables'] + if config_variables is None and 'configVariables' in kwargs: + config_variables = kwargs['configVariables'] + if device_ids is None and 'deviceIds' in kwargs: + device_ids = kwargs['deviceIds'] + if options_list is None and 'optionsList' in kwargs: + options_list = kwargs['optionsList'] + if request_basicauth is None and 'requestBasicauth' in kwargs: + request_basicauth = kwargs['requestBasicauth'] + if request_client_certificate is None and 'requestClientCertificate' in kwargs: + request_client_certificate = kwargs['requestClientCertificate'] + if request_definition is None and 'requestDefinition' in kwargs: + request_definition = kwargs['requestDefinition'] + if request_headers is None and 'requestHeaders' in kwargs: + request_headers = kwargs['requestHeaders'] + if request_metadata is None and 'requestMetadata' in kwargs: + request_metadata = kwargs['requestMetadata'] + if request_proxy is None and 'requestProxy' in kwargs: + request_proxy = kwargs['requestProxy'] + if request_query is None and 'requestQuery' in kwargs: + request_query = kwargs['requestQuery'] + if set_cookie is None and 'setCookie' in kwargs: + set_cookie = kwargs['setCookie'] + _setter("locations", locations) _setter("name", name) _setter("status", status) @@ -519,7 +557,39 @@ def _configure( subtype: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if api_steps is None and 'apiSteps' in kwargs: + api_steps = kwargs['apiSteps'] + if browser_steps is None and 'browserSteps' in kwargs: + browser_steps = kwargs['browserSteps'] + if browser_variables is None and 'browserVariables' in kwargs: + browser_variables = kwargs['browserVariables'] + if config_variables is None and 'configVariables' in kwargs: + config_variables = kwargs['configVariables'] + if device_ids is None and 'deviceIds' in kwargs: + device_ids = kwargs['deviceIds'] + if monitor_id is None and 'monitorId' in kwargs: + monitor_id = kwargs['monitorId'] + if options_list is None and 'optionsList' in kwargs: + options_list = kwargs['optionsList'] + if request_basicauth is None and 'requestBasicauth' in kwargs: + request_basicauth = kwargs['requestBasicauth'] + if request_client_certificate is None and 'requestClientCertificate' in kwargs: + request_client_certificate = kwargs['requestClientCertificate'] + if request_definition is None and 'requestDefinition' in kwargs: + request_definition = kwargs['requestDefinition'] + if request_headers is None and 'requestHeaders' in kwargs: + request_headers = kwargs['requestHeaders'] + if request_metadata is None and 'requestMetadata' in kwargs: + request_metadata = kwargs['requestMetadata'] + if request_proxy is None and 'requestProxy' in kwargs: + request_proxy = kwargs['requestProxy'] + if request_query is None and 'requestQuery' in kwargs: + request_query = kwargs['requestQuery'] + if set_cookie is None and 'setCookie' in kwargs: + set_cookie = kwargs['setCookie'] + if api_steps is not None: _setter("api_steps", api_steps) if assertions is not None: @@ -879,278 +949,9 @@ def __init__(__self__, In practice, it means going from (simplified configuration): - ```python - import pulumi - ``` - to - ```python - import pulumi - ``` - which you can now use in your request definition: - ```python - import pulumi - ``` - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Usage (Synthetics API test) - # Create a new Datadog Synthetics API/HTTP test on https://www.example.org - test_uptime = datadog.SyntheticsTest("testUptime", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An Uptime test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs( - renotify_interval=120, - ), - retry=datadog.SyntheticsTestOptionsListRetryArgs( - count=2, - interval=300, - ), - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://www.example.org", - ), - request_headers={ - "Content-Type": "application/json", - }, - status="live", - subtype="http", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Authenticated API test) - # Create a new Datadog Synthetics API/HTTP test on https://www.example.org - test_api = datadog.SyntheticsTest("testApi", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs( - renotify_interval=120, - ), - retry=datadog.SyntheticsTestOptionsListRetryArgs( - count=2, - interval=300, - ), - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://www.example.org", - ), - request_headers={ - "Authentication": "Token: 1234566789", - "Content-Type": "application/json", - }, - status="live", - subtype="http", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics SSL test) - # Create a new Datadog Synthetics API/SSL test on example.org - test_ssl = datadog.SyntheticsTest("testSsl", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="isInMoreThan", - target="30", - type="certificate", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - accept_self_signed=True, - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - port=443, - ), - status="live", - subtype="ssl", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics TCP test) - # Create a new Datadog Synthetics API/TCP test on example.org - test_tcp = datadog.SyntheticsTest("testTcp", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="lessThan", - target="2000", - type="responseTime", - )], - config_variables=[datadog.SyntheticsTestConfigVariableArgs( - id="76636cd1-82e2-4aeb-9cfe-51366a8198a2", - name="MY_GLOBAL_VAR", - type="global", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - port=443, - ), - status="live", - subtype="tcp", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics DNS test) - # Create a new Datadog Synthetics API/DNS test on example.org - test_dns = datadog.SyntheticsTest("testDns", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - property="A", - target="0.0.0.0", - type="recordSome", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - ), - status="live", - subtype="dns", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics Multistep API test) - # Create a new Datadog Synthetics Multistep API test - test_multi_step = datadog.SyntheticsTest("testMultiStep", - api_steps=[ - datadog.SyntheticsTestApiStepArgs( - assertions=[datadog.SyntheticsTestApiStepAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - name="An API test on example.org", - request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs( - method="GET", - url="https://example.org", - ), - request_headers={ - "Authentication": "Token: 1234566789", - "Content-Type": "application/json", - }, - subtype="http", - ), - datadog.SyntheticsTestApiStepArgs( - assertions=[datadog.SyntheticsTestApiStepAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - name="An API test on example.org", - request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs( - method="GET", - url="http://example.org", - ), - subtype="http", - ), - ], - locations=["aws:eu-central-1"], - name="Multistep API test", - options_list=datadog.SyntheticsTestOptionsListArgs( - accept_self_signed=True, - tick_every=900, - ), - status="live", - subtype="multi", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics Browser test) - # Create a new Datadog Synthetics Browser test starting on https://www.example.org - test_browser = datadog.SyntheticsTest("testBrowser", - browser_steps=[datadog.SyntheticsTestBrowserStepArgs( - name="Check current url", - params=datadog.SyntheticsTestBrowserStepParamsArgs( - check="contains", - value="datadoghq", - ), - type="assertCurrentUrl", - )], - browser_variables=[ - datadog.SyntheticsTestBrowserVariableArgs( - example="597", - name="MY_PATTERN_VAR", - pattern="{{numeric(3)}}", - type="text", - ), - datadog.SyntheticsTestBrowserVariableArgs( - example="jd8-afe-ydv.4546132139@synthetics.dtdg.co", - name="MY_EMAIL_VAR", - pattern="jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co", - type="email", - ), - datadog.SyntheticsTestBrowserVariableArgs( - id="76636cd1-82e2-4aeb-9cfe-51366a8198a2", - name="MY_GLOBAL_VAR", - type="global", - ), - ], - device_ids=["laptop_large"], - locations=["aws:eu-central-1"], - message="Notify @qa", - name="A Browser test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=3600, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://app.datadoghq.com", - ), - status="paused", - tags=[], - type="browser") - ``` ## Import @@ -1200,278 +1001,9 @@ def __init__(__self__, In practice, it means going from (simplified configuration): - ```python - import pulumi - ``` - to - ```python - import pulumi - ``` - which you can now use in your request definition: - ```python - import pulumi - ``` - - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Usage (Synthetics API test) - # Create a new Datadog Synthetics API/HTTP test on https://www.example.org - test_uptime = datadog.SyntheticsTest("testUptime", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An Uptime test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs( - renotify_interval=120, - ), - retry=datadog.SyntheticsTestOptionsListRetryArgs( - count=2, - interval=300, - ), - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://www.example.org", - ), - request_headers={ - "Content-Type": "application/json", - }, - status="live", - subtype="http", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Authenticated API test) - # Create a new Datadog Synthetics API/HTTP test on https://www.example.org - test_api = datadog.SyntheticsTest("testApi", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs( - renotify_interval=120, - ), - retry=datadog.SyntheticsTestOptionsListRetryArgs( - count=2, - interval=300, - ), - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://www.example.org", - ), - request_headers={ - "Authentication": "Token: 1234566789", - "Content-Type": "application/json", - }, - status="live", - subtype="http", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics SSL test) - # Create a new Datadog Synthetics API/SSL test on example.org - test_ssl = datadog.SyntheticsTest("testSsl", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="isInMoreThan", - target="30", - type="certificate", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - accept_self_signed=True, - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - port=443, - ), - status="live", - subtype="ssl", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics TCP test) - # Create a new Datadog Synthetics API/TCP test on example.org - test_tcp = datadog.SyntheticsTest("testTcp", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="lessThan", - target="2000", - type="responseTime", - )], - config_variables=[datadog.SyntheticsTestConfigVariableArgs( - id="76636cd1-82e2-4aeb-9cfe-51366a8198a2", - name="MY_GLOBAL_VAR", - type="global", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - port=443, - ), - status="live", - subtype="tcp", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics DNS test) - # Create a new Datadog Synthetics API/DNS test on example.org - test_dns = datadog.SyntheticsTest("testDns", - assertions=[datadog.SyntheticsTestAssertionArgs( - operator="is", - property="A", - target="0.0.0.0", - type="recordSome", - )], - locations=["aws:eu-central-1"], - message="Notify @pagerduty", - name="An API test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=900, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - host="example.org", - ), - status="live", - subtype="dns", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics Multistep API test) - # Create a new Datadog Synthetics Multistep API test - test_multi_step = datadog.SyntheticsTest("testMultiStep", - api_steps=[ - datadog.SyntheticsTestApiStepArgs( - assertions=[datadog.SyntheticsTestApiStepAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - name="An API test on example.org", - request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs( - method="GET", - url="https://example.org", - ), - request_headers={ - "Authentication": "Token: 1234566789", - "Content-Type": "application/json", - }, - subtype="http", - ), - datadog.SyntheticsTestApiStepArgs( - assertions=[datadog.SyntheticsTestApiStepAssertionArgs( - operator="is", - target="200", - type="statusCode", - )], - name="An API test on example.org", - request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs( - method="GET", - url="http://example.org", - ), - subtype="http", - ), - ], - locations=["aws:eu-central-1"], - name="Multistep API test", - options_list=datadog.SyntheticsTestOptionsListArgs( - accept_self_signed=True, - tick_every=900, - ), - status="live", - subtype="multi", - tags=[ - "foo:bar", - "foo", - "env:test", - ], - type="api") - # Example Usage (Synthetics Browser test) - # Create a new Datadog Synthetics Browser test starting on https://www.example.org - test_browser = datadog.SyntheticsTest("testBrowser", - browser_steps=[datadog.SyntheticsTestBrowserStepArgs( - name="Check current url", - params=datadog.SyntheticsTestBrowserStepParamsArgs( - check="contains", - value="datadoghq", - ), - type="assertCurrentUrl", - )], - browser_variables=[ - datadog.SyntheticsTestBrowserVariableArgs( - example="597", - name="MY_PATTERN_VAR", - pattern="{{numeric(3)}}", - type="text", - ), - datadog.SyntheticsTestBrowserVariableArgs( - example="jd8-afe-ydv.4546132139@synthetics.dtdg.co", - name="MY_EMAIL_VAR", - pattern="jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co", - type="email", - ), - datadog.SyntheticsTestBrowserVariableArgs( - id="76636cd1-82e2-4aeb-9cfe-51366a8198a2", - name="MY_GLOBAL_VAR", - type="global", - ), - ], - device_ids=["laptop_large"], - locations=["aws:eu-central-1"], - message="Notify @qa", - name="A Browser test on example.org", - options_list=datadog.SyntheticsTestOptionsListArgs( - tick_every=3600, - ), - request_definition=datadog.SyntheticsTestRequestDefinitionArgs( - method="GET", - url="https://app.datadoghq.com", - ), - status="paused", - tags=[], - type="browser") - ``` ## Import @@ -1544,37 +1076,17 @@ def _internal_init(__self__, if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name - if options_list is not None and not isinstance(options_list, SyntheticsTestOptionsListArgs): - options_list = options_list or {} - def _setter(key, value): - options_list[key] = value - SyntheticsTestOptionsListArgs._configure(_setter, **options_list) + options_list = _utilities.configure(options_list, SyntheticsTestOptionsListArgs, True) __props__.__dict__["options_list"] = options_list - if request_basicauth is not None and not isinstance(request_basicauth, SyntheticsTestRequestBasicauthArgs): - request_basicauth = request_basicauth or {} - def _setter(key, value): - request_basicauth[key] = value - SyntheticsTestRequestBasicauthArgs._configure(_setter, **request_basicauth) + request_basicauth = _utilities.configure(request_basicauth, SyntheticsTestRequestBasicauthArgs, True) __props__.__dict__["request_basicauth"] = request_basicauth - if request_client_certificate is not None and not isinstance(request_client_certificate, SyntheticsTestRequestClientCertificateArgs): - request_client_certificate = request_client_certificate or {} - def _setter(key, value): - request_client_certificate[key] = value - SyntheticsTestRequestClientCertificateArgs._configure(_setter, **request_client_certificate) + request_client_certificate = _utilities.configure(request_client_certificate, SyntheticsTestRequestClientCertificateArgs, True) __props__.__dict__["request_client_certificate"] = request_client_certificate - if request_definition is not None and not isinstance(request_definition, SyntheticsTestRequestDefinitionArgs): - request_definition = request_definition or {} - def _setter(key, value): - request_definition[key] = value - SyntheticsTestRequestDefinitionArgs._configure(_setter, **request_definition) + request_definition = _utilities.configure(request_definition, SyntheticsTestRequestDefinitionArgs, True) __props__.__dict__["request_definition"] = request_definition __props__.__dict__["request_headers"] = request_headers __props__.__dict__["request_metadata"] = request_metadata - if request_proxy is not None and not isinstance(request_proxy, SyntheticsTestRequestProxyArgs): - request_proxy = request_proxy or {} - def _setter(key, value): - request_proxy[key] = value - SyntheticsTestRequestProxyArgs._configure(_setter, **request_proxy) + request_proxy = _utilities.configure(request_proxy, SyntheticsTestRequestProxyArgs, True) __props__.__dict__["request_proxy"] = request_proxy __props__.__dict__["request_query"] = request_query __props__.__dict__["set_cookie"] = set_cookie diff --git a/sdk/python/pulumi_datadog/team.py b/sdk/python/pulumi_datadog/team.py index 9b5e61d04..59ab7ee66 100644 --- a/sdk/python/pulumi_datadog/team.py +++ b/sdk/python/pulumi_datadog/team.py @@ -32,10 +32,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: pulumi.Input[str], - handle: pulumi.Input[str], - name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + description: Optional[pulumi.Input[str]] = None, + handle: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if handle is None: + raise TypeError("Missing 'handle' argument") + if name is None: + raise TypeError("Missing 'name' argument") + _setter("description", description) _setter("handle", handle) _setter("name", name) @@ -113,7 +121,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, summary: Optional[pulumi.Input[str]] = None, user_count: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if link_count is None and 'linkCount' in kwargs: + link_count = kwargs['linkCount'] + if user_count is None and 'userCount' in kwargs: + user_count = kwargs['userCount'] + if description is not None: _setter("description", description) if handle is not None: @@ -212,18 +226,6 @@ def __init__(__self__, """ Provides a Datadog Team resource. This can be used to create and manage Datadog team. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.Team("foo", - description="Team description", - handle="example-team", - name="Example Team") - ``` - ## Import ```sh @@ -245,18 +247,6 @@ def __init__(__self__, """ Provides a Datadog Team resource. This can be used to create and manage Datadog team. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.Team("foo", - description="Team description", - handle="example-team", - name="Example Team") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/team_link.py b/sdk/python/pulumi_datadog/team_link.py index 30b003f91..8745f37dd 100644 --- a/sdk/python/pulumi_datadog/team_link.py +++ b/sdk/python/pulumi_datadog/team_link.py @@ -35,11 +35,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - label: pulumi.Input[str], - team_id: pulumi.Input[str], - url: pulumi.Input[str], + label: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, position: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if label is None: + raise TypeError("Missing 'label' argument") + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if team_id is None: + raise TypeError("Missing 'team_id' argument") + if url is None: + raise TypeError("Missing 'url' argument") + _setter("label", label) _setter("team_id", team_id) _setter("url", url) @@ -123,7 +133,11 @@ def _configure( position: Optional[pulumi.Input[int]] = None, team_id: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if label is not None: _setter("label", label) if position is not None: @@ -195,24 +209,6 @@ def __init__(__self__, """ Provides a Datadog TeamLink resource. This can be used to create and manage Datadog team_link. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - # Create new team_link resource - foo_team_link = datadog.TeamLink("fooTeamLink", - team_id=foo_team.id, - label="Link label", - position="Example link", - url="https://example.com") - ``` - ## Import ```sh @@ -235,24 +231,6 @@ def __init__(__self__, """ Provides a Datadog TeamLink resource. This can be used to create and manage Datadog team_link. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - # Create new team_link resource - foo_team_link = datadog.TeamLink("fooTeamLink", - team_id=foo_team.id, - label="Link label", - position="Example link", - url="https://example.com") - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/team_membership.py b/sdk/python/pulumi_datadog/team_membership.py index b214f2253..04ac848c5 100644 --- a/sdk/python/pulumi_datadog/team_membership.py +++ b/sdk/python/pulumi_datadog/team_membership.py @@ -32,10 +32,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - team_id: pulumi.Input[str], - user_id: pulumi.Input[str], + team_id: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if team_id is None: + raise TypeError("Missing 'team_id' argument") + if user_id is None and 'userId' in kwargs: + user_id = kwargs['userId'] + if user_id is None: + raise TypeError("Missing 'user_id' argument") + _setter("team_id", team_id) _setter("user_id", user_id) if role is not None: @@ -102,7 +112,13 @@ def _configure( role: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if user_id is None and 'userId' in kwargs: + user_id = kwargs['userId'] + if role is not None: _setter("role", role) if team_id is not None: @@ -159,24 +175,6 @@ def __init__(__self__, """ Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - foo_user = datadog.User("fooUser", email="new@example.com") - # Create new team_membership resource - foo_team_membership = datadog.TeamMembership("fooTeamMembership", - team_id=foo_team.id, - user_id=foo_user.id, - role="admin") - ``` - ## Import This resource is imported using team_id and user_id seperated by `:`. @@ -200,24 +198,6 @@ def __init__(__self__, """ Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - foo_user = datadog.User("fooUser", email="new@example.com") - # Create new team_membership resource - foo_team_membership = datadog.TeamMembership("fooTeamMembership", - team_id=foo_team.id, - user_id=foo_user.id, - role="admin") - ``` - ## Import This resource is imported using team_id and user_id seperated by `:`. diff --git a/sdk/python/pulumi_datadog/team_permission_setting.py b/sdk/python/pulumi_datadog/team_permission_setting.py index f1b9b64bc..0bf455f3a 100644 --- a/sdk/python/pulumi_datadog/team_permission_setting.py +++ b/sdk/python/pulumi_datadog/team_permission_setting.py @@ -32,10 +32,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - action: pulumi.Input[str], - team_id: pulumi.Input[str], - value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + action: Optional[pulumi.Input[str]] = None, + team_id: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if action is None: + raise TypeError("Missing 'action' argument") + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if team_id is None: + raise TypeError("Missing 'team_id' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("action", action) _setter("team_id", team_id) _setter("value", value) @@ -101,7 +111,11 @@ def _configure( action: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if team_id is None and 'teamId' in kwargs: + team_id = kwargs['teamId'] + if action is not None: _setter("action", action) if team_id is not None: @@ -158,22 +172,6 @@ def __init__(__self__, """ Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - foo_team_permission_setting = datadog.TeamPermissionSetting("fooTeamPermissionSetting", - team_id=foo_team.id, - action="manage_membership", - value="organization") - ``` - :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] action: The identifier for the action. Valid values are `manage_membership`, `edit`. @@ -189,22 +187,6 @@ def __init__(__self__, """ Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo_team = datadog.Team("fooTeam", - description="Example team", - handle="example-team-updated", - name="Example Team-updated") - foo_team_permission_setting = datadog.TeamPermissionSetting("fooTeamPermissionSetting", - team_id=foo_team.id, - action="manage_membership", - value="organization") - ``` - :param str resource_name: The name of the resource. :param TeamPermissionSettingArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_datadog/user.py b/sdk/python/pulumi_datadog/user.py index 7b7725937..fc5d74faa 100644 --- a/sdk/python/pulumi_datadog/user.py +++ b/sdk/python/pulumi_datadog/user.py @@ -38,12 +38,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - email: pulumi.Input[str], + email: Optional[pulumi.Input[str]] = None, disabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, send_user_invitation: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if email is None: + raise TypeError("Missing 'email' argument") + if send_user_invitation is None and 'sendUserInvitation' in kwargs: + send_user_invitation = kwargs['sendUserInvitation'] + _setter("email", email) if disabled is not None: _setter("disabled", disabled) @@ -155,7 +161,13 @@ def _configure( send_user_invitation: Optional[pulumi.Input[bool]] = None, user_invitation_id: Optional[pulumi.Input[str]] = None, verified: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if send_user_invitation is None and 'sendUserInvitation' in kwargs: + send_user_invitation = kwargs['sendUserInvitation'] + if user_invitation_id is None and 'userInvitationId' in kwargs: + user_invitation_id = kwargs['userInvitationId'] + if disabled is not None: _setter("disabled", disabled) if email is not None: @@ -270,19 +282,6 @@ def __init__(__self__, """ Provides a Datadog user resource. This can be used to create and manage Datadog users. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new Datadog user - foo = datadog.User("foo", - email="new@example.com", - roles=[ro_role.id]) - ``` - ## Import ```sh @@ -306,19 +305,6 @@ def __init__(__self__, """ Provides a Datadog user resource. This can be used to create and manage Datadog users. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - ro_role = datadog.get_role(filter="Datadog Read Only Role") - # Create a new Datadog user - foo = datadog.User("foo", - email="new@example.com", - roles=[ro_role.id]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/webhook.py b/sdk/python/pulumi_datadog/webhook.py index 05dd141d1..9fa31f2ca 100644 --- a/sdk/python/pulumi_datadog/webhook.py +++ b/sdk/python/pulumi_datadog/webhook.py @@ -38,12 +38,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: pulumi.Input[str], - url: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, custom_headers: Optional[pulumi.Input[str]] = None, encode_as: Optional[pulumi.Input[str]] = None, payload: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if url is None: + raise TypeError("Missing 'url' argument") + if custom_headers is None and 'customHeaders' in kwargs: + custom_headers = kwargs['customHeaders'] + if encode_as is None and 'encodeAs' in kwargs: + encode_as = kwargs['encodeAs'] + _setter("name", name) _setter("url", url) if custom_headers is not None: @@ -146,7 +156,13 @@ def _configure( name: Optional[pulumi.Input[str]] = None, payload: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if custom_headers is None and 'customHeaders' in kwargs: + custom_headers = kwargs['customHeaders'] + if encode_as is None and 'encodeAs' in kwargs: + encode_as = kwargs['encodeAs'] + if custom_headers is not None: _setter("custom_headers", custom_headers) if encode_as is not None: @@ -233,26 +249,6 @@ def __init__(__self__, """ Provides a Datadog webhook resource. This can be used to create and manage Datadog webhooks. - ## Example Usage - - ```python - import pulumi - import json - import pulumi_datadog as datadog - - # Create a new Datadog webhook - foo = datadog.Webhook("foo", - name="test-webhook", - url="example.com", - encode_as="json", - custom_headers=json.dumps({ - "custom": "header", - }), - payload=json.dumps({ - "custom": "payload", - })) - ``` - ## Import ```sh @@ -276,26 +272,6 @@ def __init__(__self__, """ Provides a Datadog webhook resource. This can be used to create and manage Datadog webhooks. - ## Example Usage - - ```python - import pulumi - import json - import pulumi_datadog as datadog - - # Create a new Datadog webhook - foo = datadog.Webhook("foo", - name="test-webhook", - url="example.com", - encode_as="json", - custom_headers=json.dumps({ - "custom": "header", - }), - payload=json.dumps({ - "custom": "payload", - })) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/webhook_custom_variable.py b/sdk/python/pulumi_datadog/webhook_custom_variable.py index 9249217e6..e4aed2c4b 100644 --- a/sdk/python/pulumi_datadog/webhook_custom_variable.py +++ b/sdk/python/pulumi_datadog/webhook_custom_variable.py @@ -32,10 +32,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - is_secret: pulumi.Input[bool], - name: pulumi.Input[str], - value: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): + is_secret: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_secret is None and 'isSecret' in kwargs: + is_secret = kwargs['isSecret'] + if is_secret is None: + raise TypeError("Missing 'is_secret' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if value is None: + raise TypeError("Missing 'value' argument") + _setter("is_secret", is_secret) _setter("name", name) _setter("value", value) @@ -101,7 +111,11 @@ def _configure( is_secret: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): + opts: Optional[pulumi.ResourceOptions] = None, + **kwargs): + if is_secret is None and 'isSecret' in kwargs: + is_secret = kwargs['isSecret'] + if is_secret is not None: _setter("is_secret", is_secret) if name is not None: @@ -158,18 +172,6 @@ def __init__(__self__, """ Provides a Datadog webhooks custom variable resource. This can be used to create and manage Datadog webhooks custom variables. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.WebhookCustomVariable("foo", - is_secret=True, - name="EXAMPLE_VARIABLE", - value="EXAMPLE-VALUE") - ``` - ## Import ```sh @@ -191,18 +193,6 @@ def __init__(__self__, """ Provides a Datadog webhooks custom variable resource. This can be used to create and manage Datadog webhooks custom variables. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - foo = datadog.WebhookCustomVariable("foo", - is_secret=True, - name="EXAMPLE_VARIABLE", - value="EXAMPLE-VALUE") - ``` - ## Import ```sh