diff --git a/examples/go.mod b/examples/go.mod index deac6a2e..3a5b69e9 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-newrelic/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.81.0 +require github.com/pulumi/pulumi/pkg/v3 v3.86.0 require ( cloud.google.com/go v0.110.4 // indirect @@ -13,7 +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.0.5 // 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 @@ -154,7 +154,7 @@ require ( 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.81.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.9.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 18ee8c80..ab745422 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -93,8 +93,8 @@ 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.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= +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= @@ -192,7 +192,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-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= 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= @@ -1017,7 +1016,7 @@ 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-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +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= @@ -1142,7 +1141,6 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB 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.4/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= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -1464,10 +1462,10 @@ 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.81.0 h1:6rf2farQLszi8inHCu9YdJtDvK0fqNguix51b3FEDRQ= -github.com/pulumi/pulumi/pkg/v3 v3.81.0/go.mod h1:URXozJB/abhxb2yOwa5ywHjT2dqt9SmAX2iLkdcOOl0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +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/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= @@ -1570,7 +1568,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1759,7 +1756,6 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -1980,7 +1976,6 @@ golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/provider/cmd/pulumi-resource-newrelic/schema.json b/provider/cmd/pulumi-resource-newrelic/schema.json index 276e300d..b6cab094 100644 --- a/provider/cmd/pulumi-resource-newrelic/schema.json +++ b/provider/cmd/pulumi-resource-newrelic/schema.json @@ -131,7 +131,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -158,7 +158,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -170,7 +170,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -189,7 +189,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -201,7 +201,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -217,7 +217,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -233,7 +233,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -249,7 +249,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -265,7 +265,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -285,7 +285,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -297,7 +297,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -313,7 +313,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -325,7 +325,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchIpAddresses": { "type": "boolean", @@ -341,7 +341,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -353,7 +353,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchNodes": { "type": "boolean", @@ -369,7 +369,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -381,7 +381,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -402,7 +402,7 @@ "properties": { "awsRegions": { "type": "string", - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchTags": { "type": "boolean", @@ -418,7 +418,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -435,7 +435,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -447,7 +447,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchTags": { "type": "boolean", @@ -463,7 +463,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -475,7 +475,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchTags": { "type": "boolean", @@ -491,7 +491,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -503,7 +503,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "metricsPollingInterval": { "type": "integer", @@ -515,7 +515,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -553,7 +553,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -565,7 +565,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -585,7 +585,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n* `direct connect`\n* `aws states`\n" + "description": "Specify each AWS region that includes the resources that you want to monitor.\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -612,7 +612,7 @@ }, "tagValue": { "type": "string", - "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n* `api Gateway`\n* `auto scaling`\n* `elastic search`\n" + "description": "Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive.\n" } }, "type": "object" @@ -624,7 +624,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -663,7 +663,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -694,7 +694,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -710,7 +710,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -726,7 +726,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -742,7 +742,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -758,7 +758,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -774,7 +774,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -790,7 +790,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -806,7 +806,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -822,7 +822,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -838,7 +838,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -854,7 +854,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -870,7 +870,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -886,7 +886,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -902,7 +902,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -918,7 +918,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -934,7 +934,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -950,7 +950,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -966,7 +966,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -982,7 +982,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -998,7 +998,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1048,7 +1048,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1064,7 +1064,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1080,7 +1080,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1112,7 +1112,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1140,7 +1140,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "duplicateEc2Tags": { "type": "boolean", @@ -1172,7 +1172,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1200,7 +1200,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1228,7 +1228,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1256,7 +1256,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1288,7 +1288,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchNodes": { "type": "boolean", @@ -1316,7 +1316,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1340,7 +1340,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1394,7 +1394,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1410,7 +1410,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchShards": { "type": "boolean", @@ -1442,7 +1442,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1458,7 +1458,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1486,7 +1486,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchTags": { "type": "boolean", @@ -1514,7 +1514,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1576,7 +1576,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -1592,7 +1592,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1612,7 +1612,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchExtendedInventory": { "type": "boolean", @@ -1660,7 +1660,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "fetchNatGateway": { "type": "boolean", @@ -1692,7 +1692,7 @@ "items": { "type": "string" }, - "description": "Specify each AWS region that includes the resources that you want to monitor.\n\u003c/details\u003e\n" + "description": "Specify each AWS region that includes the resources that you want to monitor. \n\u003c/details\u003e\n" }, "metricsPollingInterval": { "type": "integer", @@ -2572,7 +2572,7 @@ }, "recipients": { "type": "string", - "description": "Comma delimited list of email addresses.\n", + "description": "A set of recipients for targeting notifications. Multiple values are comma separated.\n", "willReplaceOnChanges": true }, "region": { @@ -2604,7 +2604,7 @@ }, "url": { "type": "string", - "description": "[Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook).\n", + "description": "[Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack).\n", "secret": true, "willReplaceOnChanges": true }, @@ -6161,7 +6161,7 @@ }, "where": { "type": "string", - "description": "A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).\na particular entity and were successful).\na particular entity and returned an error).\n" + "description": "A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to\na particular entity and returned an error).\n" } }, "type": "object", @@ -6201,7 +6201,7 @@ }, "where": { "type": "string", - "description": "A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).\na particular entity and were successful).\na particular entity and returned an error).\n" + "description": "A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to\na particular entity and returned an error).\n" } }, "type": "object", @@ -6241,7 +6241,7 @@ }, "where": { "type": "string", - "description": "A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).\na particular entity and were successful).\na particular entity and returned an error).\n" + "description": "A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to\na particular entity and returned an error).\n" } }, "type": "object", @@ -6435,8 +6435,7 @@ "type": "string" }, "name": { - "type": "string", - "description": "The name of the workflow.\n" + "type": "string" }, "predicates": { "type": "array", @@ -6728,7 +6727,7 @@ "properties": { "enabled": { "type": "boolean", - "description": "Whether the automatic status configuration is enabled or not.\n" + "description": "Whether the static status configuration is enabled or not.\n" }, "remainingEntitiesRule": { "$ref": "#/types/newrelic:plugins/WorkloadStatusConfigAutomaticRemainingEntitiesRule:WorkloadStatusConfigAutomaticRemainingEntitiesRule", @@ -6858,7 +6857,7 @@ }, "enabled": { "type": "boolean", - "description": "Whether the automatic status configuration is enabled or not.\n" + "description": "Whether the static status configuration is enabled or not.\n" }, "status": { "type": "string", @@ -7976,7 +7975,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked AWS account in New Relic.\n\nAll other arguments are dependent on the services to be integrated, which have been listed in the collapsible section below. All of these are **optional** blocks that can be added in any required combination. **For details on arguments that can be used with each service, check out the `Integration` blocks section below.**\n\u003cdetails\u003e\n\u003csummary\u003eExpand this section to view all supported AWS services supported, that may be integrated via this resource.\u003c/summary\u003e\n\n| Block | Description |\n|-------------------------|-------------------------------|\n| `alb` | ALB Integration |\n| `api_gateway` | API Gateway Integration |\n| `auto_scaling` | Auto Scaling Integration |\n| `aws_app_sync` | AppSync Integration |\n| `aws_athena` | Athena Integration |\n| `aws_cognito` | Cognito Integration |\n| `aws_connect` | Connect Integration |\n| `aws_direct_connect` | Direct Connect Integration |\n| `aws_fsx` | FSx Integration |\n| `aws_glue` | Glue Integration |\n| `aws_kinesis_analytics` | Kinesis Analytics Integration |\n| `aws_media_convert` | MediaConvert Integration |\n| `aws_media_package_vod` | Media Package VOD Integration |\n| `aws_mq` | MQ Integration |\n| `aws_msk` | MSK Integration |\n| `aws_neptune` | Neptune Integration |\n| `aws_qldb` | QLDB Integration |\n| `aws_route53resolver` | Route53 Resolver Integration |\n| `aws_states` | States Integration |\n| `aws_transit_gateway` | Transit Gateway Integration |\n| `aws_waf` | WAF Integration |\n| `aws_wafv2` | WAFv2 Integration |\n| `billing` | Billing Integration |\n| `cloudfront` | CloudFront Integration |\n| `cloudtrail` | CloudTrail Integration |\n| `doc_db` | DocumentDB Integration |\n| `dynamodb` | DynamoDB Integration |\n| `ebs` | EBS Integration |\n| `ec2` | EC2 Integration |\n| `ecs` | ECS Integration |\n| `efs` | EFS Integration |\n| `elasticache` | ElastiCache Integration |\n| `elasticbeanstalk` | Elastic Beanstalk Integration |\n| `elasticsearch` | Elasticsearch Integration |\n| `elb` | ELB Integration |\n| `emr` | EMR Integration |\n| `health` | Health Integration |\n| `iam` | IAM Integration |\n| `iot` | IoT Integration |\n| `kinesis` | Kinesis Integration |\n| `kinesis_firehose` | Kinesis Firehose Integration |\n| `lambda` | Lambda Integration |\n| `rds` | RDS Integration |\n| `redshift` | Redshift Integration |\n| `route53` | Route53 Integration |\n| `s3` | S3 Integration |\n| `ses` | SES Integration |\n| `sns` | SNS Integration |\n| `sqs` | SQS Integration |\n| `trusted_advisor` | Trusted Advisor Integration |\n| `vpc` | VPC Integration |\n| `x_ray` | X-Ray Integration |\n\n\u003c/details\u003e\n" + "description": "The ID of the linked AWS account in New Relic.\n\nAll other arguments are dependent on the services to be integrated, which have been listed in the collapsible section below. All of these are **optional** blocks that can be added in any required combination. **For details on arguments that can be used with each service, check out the `Integration` blocks section below.**\n\u003cdetails\u003e\n\u003csummary\u003eExpand this section to view all supported AWS services supported, that may be integrated via this resource.\u003c/summary\u003e\n\n| Block | Description |\n|-------------------------|-------------------------------|\n| `alb` | ALB Integration |\n| `api_gateway` | API Gateway Integration |\n| `auto_scaling` | Auto Scaling Integration |\n| `aws_app_sync` | AppSync Integration |\n| `aws_athena` | Athena Integration |\n| `aws_cognito` | Cognito Integration |\n| `aws_connect` | Connect Integration |\n| `aws_direct_connect` | Direct Connect Integration |\n| `aws_fsx` | FSx Integration |\n| `aws_glue` | Glue Integration |\n| `aws_kinesis_analytics` | Kinesis Analytics Integration |\n| `aws_media_convert` | MediaConvert Integration |\n| `aws_media_package_vod` | Media Package VOD Integration |\n| `aws_mq` | MQ Integration |\n| `aws_msk` | MSK Integration |\n| `aws_neptune` | Neptune Integration |\n| `aws_qldb` | QLDB Integration |\n| `aws_route53resolver` | Route53 Resolver Integration |\n| `aws_states` | States Integration |\n| `aws_transit_gateway` | Transit Gateway Integration |\n| `aws_waf` | WAF Integration |\n| `aws_wafv2` | WAFv2 Integration |\n| `billing` | Billing Integration |\n| `cloudfront` | CloudFront Integration |\n| `cloudtrail` | CloudTrail Integration |\n| `doc_db` | DocumentDB Integration |\n| `dynamodb` | DynamoDB Integration |\n| `ebs` | EBS Integration |\n| `ec2` | EC2 Integration |\n| `ecs` | ECS Integration |\n| `efs` | EFS Integration |\n| `elasticache` | ElastiCache Integration |\n| `elasticbeanstalk` | Elastic Beanstalk Integration |\n| `elasticsearch` | Elasticsearch Integration |\n| `elb` | ELB Integration |\n| `emr` | EMR Integration |\n| `health` | Health Integration |\n| `iam` | IAM Integration |\n| `iot` | IoT Integration |\n| `kinesis` | Kinesis Integration |\n| `kinesis_firehose` | Kinesis Firehose Integration |\n| `lambda` | Lambda Integration |\n| `rds` | RDS Integration |\n| `redshift` | Redshift Integration |\n| `route53` | Route53 Integration |\n| `s3` | S3 Integration |\n| `ses` | SES Integration |\n| `sns` | SNS Integration |\n| `sqs` | SQS Integration |\n| `trusted_advisor` | Trusted Advisor Integration |\n| `vpc` | VPC Integration |\n| `x_ray` | X-Ray Integration |\n\n\u003c/details\u003e\n", + "willReplaceOnChanges": true }, "rds": { "$ref": "#/types/newrelic:cloud/AwsIntegrationsRds:AwsIntegrationsRds", @@ -8199,7 +8199,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked AWS account in New Relic.\n\nAll other arguments are dependent on the services to be integrated, which have been listed in the collapsible section below. All of these are **optional** blocks that can be added in any required combination. **For details on arguments that can be used with each service, check out the `Integration` blocks section below.**\n\u003cdetails\u003e\n\u003csummary\u003eExpand this section to view all supported AWS services supported, that may be integrated via this resource.\u003c/summary\u003e\n\n| Block | Description |\n|-------------------------|-------------------------------|\n| `alb` | ALB Integration |\n| `api_gateway` | API Gateway Integration |\n| `auto_scaling` | Auto Scaling Integration |\n| `aws_app_sync` | AppSync Integration |\n| `aws_athena` | Athena Integration |\n| `aws_cognito` | Cognito Integration |\n| `aws_connect` | Connect Integration |\n| `aws_direct_connect` | Direct Connect Integration |\n| `aws_fsx` | FSx Integration |\n| `aws_glue` | Glue Integration |\n| `aws_kinesis_analytics` | Kinesis Analytics Integration |\n| `aws_media_convert` | MediaConvert Integration |\n| `aws_media_package_vod` | Media Package VOD Integration |\n| `aws_mq` | MQ Integration |\n| `aws_msk` | MSK Integration |\n| `aws_neptune` | Neptune Integration |\n| `aws_qldb` | QLDB Integration |\n| `aws_route53resolver` | Route53 Resolver Integration |\n| `aws_states` | States Integration |\n| `aws_transit_gateway` | Transit Gateway Integration |\n| `aws_waf` | WAF Integration |\n| `aws_wafv2` | WAFv2 Integration |\n| `billing` | Billing Integration |\n| `cloudfront` | CloudFront Integration |\n| `cloudtrail` | CloudTrail Integration |\n| `doc_db` | DocumentDB Integration |\n| `dynamodb` | DynamoDB Integration |\n| `ebs` | EBS Integration |\n| `ec2` | EC2 Integration |\n| `ecs` | ECS Integration |\n| `efs` | EFS Integration |\n| `elasticache` | ElastiCache Integration |\n| `elasticbeanstalk` | Elastic Beanstalk Integration |\n| `elasticsearch` | Elasticsearch Integration |\n| `elb` | ELB Integration |\n| `emr` | EMR Integration |\n| `health` | Health Integration |\n| `iam` | IAM Integration |\n| `iot` | IoT Integration |\n| `kinesis` | Kinesis Integration |\n| `kinesis_firehose` | Kinesis Firehose Integration |\n| `lambda` | Lambda Integration |\n| `rds` | RDS Integration |\n| `redshift` | Redshift Integration |\n| `route53` | Route53 Integration |\n| `s3` | S3 Integration |\n| `ses` | SES Integration |\n| `sns` | SNS Integration |\n| `sqs` | SQS Integration |\n| `trusted_advisor` | Trusted Advisor Integration |\n| `vpc` | VPC Integration |\n| `x_ray` | X-Ray Integration |\n\n\u003c/details\u003e\n" + "description": "The ID of the linked AWS account in New Relic.\n\nAll other arguments are dependent on the services to be integrated, which have been listed in the collapsible section below. All of these are **optional** blocks that can be added in any required combination. **For details on arguments that can be used with each service, check out the `Integration` blocks section below.**\n\u003cdetails\u003e\n\u003csummary\u003eExpand this section to view all supported AWS services supported, that may be integrated via this resource.\u003c/summary\u003e\n\n| Block | Description |\n|-------------------------|-------------------------------|\n| `alb` | ALB Integration |\n| `api_gateway` | API Gateway Integration |\n| `auto_scaling` | Auto Scaling Integration |\n| `aws_app_sync` | AppSync Integration |\n| `aws_athena` | Athena Integration |\n| `aws_cognito` | Cognito Integration |\n| `aws_connect` | Connect Integration |\n| `aws_direct_connect` | Direct Connect Integration |\n| `aws_fsx` | FSx Integration |\n| `aws_glue` | Glue Integration |\n| `aws_kinesis_analytics` | Kinesis Analytics Integration |\n| `aws_media_convert` | MediaConvert Integration |\n| `aws_media_package_vod` | Media Package VOD Integration |\n| `aws_mq` | MQ Integration |\n| `aws_msk` | MSK Integration |\n| `aws_neptune` | Neptune Integration |\n| `aws_qldb` | QLDB Integration |\n| `aws_route53resolver` | Route53 Resolver Integration |\n| `aws_states` | States Integration |\n| `aws_transit_gateway` | Transit Gateway Integration |\n| `aws_waf` | WAF Integration |\n| `aws_wafv2` | WAFv2 Integration |\n| `billing` | Billing Integration |\n| `cloudfront` | CloudFront Integration |\n| `cloudtrail` | CloudTrail Integration |\n| `doc_db` | DocumentDB Integration |\n| `dynamodb` | DynamoDB Integration |\n| `ebs` | EBS Integration |\n| `ec2` | EC2 Integration |\n| `ecs` | ECS Integration |\n| `efs` | EFS Integration |\n| `elasticache` | ElastiCache Integration |\n| `elasticbeanstalk` | Elastic Beanstalk Integration |\n| `elasticsearch` | Elasticsearch Integration |\n| `elb` | ELB Integration |\n| `emr` | EMR Integration |\n| `health` | Health Integration |\n| `iam` | IAM Integration |\n| `iot` | IoT Integration |\n| `kinesis` | Kinesis Integration |\n| `kinesis_firehose` | Kinesis Firehose Integration |\n| `lambda` | Lambda Integration |\n| `rds` | RDS Integration |\n| `redshift` | Redshift Integration |\n| `route53` | Route53 Integration |\n| `s3` | S3 Integration |\n| `ses` | SES Integration |\n| `sns` | SNS Integration |\n| `sqs` | SQS Integration |\n| `trusted_advisor` | Trusted Advisor Integration |\n| `vpc` | VPC Integration |\n| `x_ray` | X-Ray Integration |\n\n\u003c/details\u003e\n", + "willReplaceOnChanges": true }, "rds": { "$ref": "#/types/newrelic:cloud/AwsIntegrationsRds:AwsIntegrationsRds", @@ -8262,7 +8263,7 @@ }, "name": { "type": "string", - "description": "The linked account name\n" + "description": "The name of the linked account.\n" } }, "required": [ @@ -8273,19 +8274,22 @@ "inputProperties": { "accountId": { "type": "integer", - "description": "The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.\n" + "description": "The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.\n", + "willReplaceOnChanges": true }, "arn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the IAM role.\n" + "description": "The Amazon Resource Name (ARN) of the IAM role.\n", + "willReplaceOnChanges": true }, "metricCollectionMode": { "type": "string", - "description": "How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.\n" + "description": "How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The linked account name\n" + "description": "The name of the linked account.\n" } }, "requiredInputs": [ @@ -8296,19 +8300,22 @@ "properties": { "accountId": { "type": "integer", - "description": "The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.\n" + "description": "The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.\n", + "willReplaceOnChanges": true }, "arn": { "type": "string", - "description": "The Amazon Resource Name (ARN) of the IAM role.\n" + "description": "The Amazon Resource Name (ARN) of the IAM role.\n", + "willReplaceOnChanges": true }, "metricCollectionMode": { "type": "string", - "description": "How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.\n" + "description": "How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The linked account name\n" + "description": "The name of the linked account.\n" } }, "type": "object" @@ -8517,7 +8524,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked Azure account in New Relic.\n" + "description": "The ID of the linked Azure account in New Relic.\n", + "willReplaceOnChanges": true }, "loadBalancer": { "$ref": "#/types/newrelic:cloud/AzureIntegrationsLoadBalancer:AzureIntegrationsLoadBalancer", @@ -8660,7 +8668,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked Azure account in New Relic.\n" + "description": "The ID of the linked Azure account in New Relic.\n", + "willReplaceOnChanges": true }, "loadBalancer": { "$ref": "#/types/newrelic:cloud/AzureIntegrationsLoadBalancer:AzureIntegrationsLoadBalancer", @@ -8760,7 +8769,7 @@ }, "name": { "type": "string", - "description": "The name of the application in New Relic APM.\n" + "description": "Name of the linked account\n" }, "subscriptionId": { "type": "string", @@ -8782,28 +8791,33 @@ "inputProperties": { "accountId": { "type": "integer", - "description": "Account ID of the New Relic.\n" + "description": "Account ID of the New Relic.\n", + "willReplaceOnChanges": true }, "applicationId": { "type": "string", - "description": "Application ID of the App.\n" + "description": "Application ID of the App.\n", + "willReplaceOnChanges": true }, "clientSecret": { "type": "string", "description": "Secret Value of the client.\n", - "secret": true + "secret": true, + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the application in New Relic APM.\n" + "description": "Name of the linked account\n" }, "subscriptionId": { "type": "string", - "description": "Subscription ID of the Azure cloud account.\n" + "description": "Subscription ID of the Azure cloud account.\n", + "willReplaceOnChanges": true }, "tenantId": { "type": "string", - "description": "Tenant ID of the Azure cloud account.\n" + "description": "Tenant ID of the Azure cloud account.\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -8817,28 +8831,33 @@ "properties": { "accountId": { "type": "integer", - "description": "Account ID of the New Relic.\n" + "description": "Account ID of the New Relic.\n", + "willReplaceOnChanges": true }, "applicationId": { "type": "string", - "description": "Application ID of the App.\n" + "description": "Application ID of the App.\n", + "willReplaceOnChanges": true }, "clientSecret": { "type": "string", "description": "Secret Value of the client.\n", - "secret": true + "secret": true, + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the application in New Relic APM.\n" + "description": "Name of the linked account\n" }, "subscriptionId": { "type": "string", - "description": "Subscription ID of the Azure cloud account.\n" + "description": "Subscription ID of the Azure cloud account.\n", + "willReplaceOnChanges": true }, "tenantId": { "type": "string", - "description": "Tenant ID of the Azure cloud account.\n" + "description": "Tenant ID of the Azure cloud account.\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -9031,7 +9050,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked GCP account in New Relic.\n" + "description": "The ID of the linked GCP account in New Relic.\n", + "willReplaceOnChanges": true }, "loadBalancing": { "$ref": "#/types/newrelic:cloud/GcpIntegrationsLoadBalancing:GcpIntegrationsLoadBalancing", @@ -9150,7 +9170,8 @@ }, "linkedAccountId": { "type": "integer", - "description": "The ID of the linked GCP account in New Relic.\n" + "description": "The ID of the linked GCP account in New Relic.\n", + "willReplaceOnChanges": true }, "loadBalancing": { "$ref": "#/types/newrelic:cloud/GcpIntegrationsLoadBalancing:GcpIntegrationsLoadBalancing", @@ -9209,7 +9230,7 @@ }, "name": { "type": "string", - "description": "The name of the GCP account in New Relic.\n" + "description": "name of the linked account\n" }, "projectId": { "type": "string", @@ -9224,15 +9245,17 @@ "inputProperties": { "accountId": { "type": "integer", - "description": "Account ID of the New Relic account.\n" + "description": "Account ID of the New Relic account.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the GCP account in New Relic.\n" + "description": "name of the linked account\n" }, "projectId": { "type": "string", - "description": "Project ID of the GCP account.\n" + "description": "Project ID of the GCP account.\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -9243,15 +9266,17 @@ "properties": { "accountId": { "type": "integer", - "description": "Account ID of the New Relic account.\n" + "description": "Account ID of the New Relic account.\n", + "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "The name of the GCP account in New Relic.\n" + "description": "name of the linked account\n" }, "projectId": { "type": "string", - "description": "Project ID of the GCP account.\n" + "description": "Project ID of the GCP account.\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -10945,7 +10970,7 @@ } }, "newrelic:index/nrqlAlertCondition:NrqlAlertCondition": { - "description": "Use this resource to create and manage NRQL alert conditions in New Relic.\n\n{{% examples %}}\n## Example Usage\n{{% /examples %}}\n## NRQL\n\nThe `nrql` block supports the following arguments:\n\n- `query` - (Required) The NRQL query to execute for the condition.\n- `evaluation_offset` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregation_window` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluation_offset` set to 3 windows and an `aggregation_window` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluation_offset` cannot be set with `aggregation_method`, `aggregation_delay`, or `aggregation_timer`.\u003cbr\u003e\n- `since_value` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. The value to be used in the `SINCE \u003cX\u003e minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). \u003cbr\u003e\n\n## Terms\n\n\u003e **NOTE:** The direct use of the `term` has been deprecated, and users should use `critical` and `warning` instead. What follows now applies to the named priority attributes for `critical` and `warning`, but for those attributes the priority is not allowed. At least one `critical` or `warning` term must be defined.\n\nNRQL alert conditions support up to two terms. At least one `term` must have `priority` set to `critical` and the second optional `term` must have `priority` set to `warning`.\n\nThe `term` block supports the following arguments:\n\n- `operator` - (Optional) Valid values are `above`, `above_or_equals`, `below`, `below_or_equals`, `equals`, or `not_equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `baseline`, the only valid option here is `above`.\n- `priority` - (Optional) `critical` or `warning`. Defaults to `critical`.\n- `threshold` - (Required) The value which will trigger an incident.\n\u003cbr\u003eFor _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident.\n- `threshold_duration` - (Optional) The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the `aggregation_window` (which has a default of 60 seconds).\n\u003cbr\u003eFor _baseline_ NRQL alert conditions, the value must be within 120-86400 seconds (inclusive).\n\u003cbr\u003eFor _static_ NRQL alert conditions, the value must be within 60-86400 seconds (inclusive).\n\n- `threshold_occurrences` - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `at_least_once` (case insensitive).\n- `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive).\n- `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.\n\n## Additional Examples\n\n##### Type: `baseline`\n\n[Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst fooAlertPolicy = new newrelic.AlertPolicy(\"fooAlertPolicy\", {});\nconst fooIndex_alertPolicyAlertPolicy = new newrelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\", {});\nconst fooNrqlAlertCondition = new newrelic.NrqlAlertCondition(\"fooNrqlAlertCondition\", {\n accountId: \"your_account_id\",\n policyId: fooAlertPolicy.id,\n type: \"static\",\n description: \"Alert when transactions are taking too long\",\n runbookUrl: \"https://www.example.com\",\n enabled: true,\n violationTimeLimitSeconds: 3600,\n fillOption: \"static\",\n fillValue: 1,\n aggregationWindow: 60,\n aggregationMethod: \"event_flow\",\n aggregationDelay: \"120\",\n expirationDuration: 120,\n openViolationOnExpiration: true,\n closeViolationsOnExpiration: true,\n slideBy: 30,\n nrql: {\n query: \"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n },\n critical: {\n operator: \"above\",\n threshold: 5.5,\n thresholdDuration: 300,\n thresholdOccurrences: \"ALL\",\n },\n warning: {\n operator: \"above\",\n threshold: 3.5,\n thresholdDuration: 600,\n thresholdOccurrences: \"ALL\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nfoo_alert_policy = newrelic.AlertPolicy(\"fooAlertPolicy\")\nfoo_index_alert_policy_alert_policy = newrelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\")\nfoo_nrql_alert_condition = newrelic.NrqlAlertCondition(\"fooNrqlAlertCondition\",\n account_id=\"your_account_id\",\n policy_id=foo_alert_policy.id,\n type=\"static\",\n description=\"Alert when transactions are taking too long\",\n runbook_url=\"https://www.example.com\",\n enabled=True,\n violation_time_limit_seconds=3600,\n fill_option=\"static\",\n fill_value=1,\n aggregation_window=60,\n aggregation_method=\"event_flow\",\n aggregation_delay=\"120\",\n expiration_duration=120,\n open_violation_on_expiration=True,\n close_violations_on_expiration=True,\n slide_by=30,\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n ),\n critical=newrelic.NrqlAlertConditionCriticalArgs(\n operator=\"above\",\n threshold=5.5,\n threshold_duration=300,\n threshold_occurrences=\"ALL\",\n ),\n warning=newrelic.NrqlAlertConditionWarningArgs(\n operator=\"above\",\n threshold=3.5,\n threshold_duration=600,\n threshold_occurrences=\"ALL\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooAlertPolicy = new NewRelic.AlertPolicy(\"fooAlertPolicy\");\n\n var fooIndex_alertPolicyAlertPolicy = new NewRelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\");\n\n var fooNrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"fooNrqlAlertCondition\", new()\n {\n AccountId = \"your_account_id\",\n PolicyId = fooAlertPolicy.Id,\n Type = \"static\",\n Description = \"Alert when transactions are taking too long\",\n RunbookUrl = \"https://www.example.com\",\n Enabled = true,\n ViolationTimeLimitSeconds = 3600,\n FillOption = \"static\",\n FillValue = 1,\n AggregationWindow = 60,\n AggregationMethod = \"event_flow\",\n AggregationDelay = \"120\",\n ExpirationDuration = 120,\n OpenViolationOnExpiration = true,\n CloseViolationsOnExpiration = true,\n SlideBy = 30,\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n },\n Critical = new NewRelic.Inputs.NrqlAlertConditionCriticalArgs\n {\n Operator = \"above\",\n Threshold = 5.5,\n ThresholdDuration = 300,\n ThresholdOccurrences = \"ALL\",\n },\n Warning = new NewRelic.Inputs.NrqlAlertConditionWarningArgs\n {\n Operator = \"above\",\n Threshold = 3.5,\n ThresholdDuration = 600,\n ThresholdOccurrences = \"ALL\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, \"fooAlertPolicy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = newrelic.NewAlertPolicy(ctx, \"fooIndex/alertPolicyAlertPolicy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = newrelic.NewNrqlAlertCondition(ctx, \"fooNrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tAccountId: pulumi.Int(\"your_account_id\"),\n\t\t\tPolicyId: fooAlertPolicy.ID(),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tDescription: pulumi.String(\"Alert when transactions are taking too long\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://www.example.com\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimitSeconds: pulumi.Int(3600),\n\t\t\tFillOption: pulumi.String(\"static\"),\n\t\t\tFillValue: pulumi.Float64(1),\n\t\t\tAggregationWindow: pulumi.Int(60),\n\t\t\tAggregationMethod: pulumi.String(\"event_flow\"),\n\t\t\tAggregationDelay: pulumi.String(\"120\"),\n\t\t\tExpirationDuration: pulumi.Int(120),\n\t\t\tOpenViolationOnExpiration: pulumi.Bool(true),\n\t\t\tCloseViolationsOnExpiration: pulumi.Bool(true),\n\t\t\tSlideBy: pulumi.Int(30),\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT average(duration) FROM Transaction where appName = 'Your App'\"),\n\t\t\t},\n\t\t\tCritical: \u0026newrelic.NrqlAlertConditionCriticalArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThreshold: pulumi.Float64(5.5),\n\t\t\t\tThresholdDuration: pulumi.Int(300),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"ALL\"),\n\t\t\t},\n\t\t\tWarning: \u0026newrelic.NrqlAlertConditionWarningArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThreshold: pulumi.Float64(3.5),\n\t\t\t\tThresholdDuration: pulumi.Int(600),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"ALL\"),\n\t\t\t},\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.newrelic.AlertPolicy;\nimport com.pulumi.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionCriticalArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionWarningArgs;\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 fooAlertPolicy = new AlertPolicy(\"fooAlertPolicy\");\n\n var fooIndex_alertPolicyAlertPolicy = new AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\");\n\n var fooNrqlAlertCondition = new NrqlAlertCondition(\"fooNrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .accountId(\"your_account_id\")\n .policyId(fooAlertPolicy.id())\n .type(\"static\")\n .description(\"Alert when transactions are taking too long\")\n .runbookUrl(\"https://www.example.com\")\n .enabled(true)\n .violationTimeLimitSeconds(3600)\n .fillOption(\"static\")\n .fillValue(1)\n .aggregationWindow(60)\n .aggregationMethod(\"event_flow\")\n .aggregationDelay(120)\n .expirationDuration(120)\n .openViolationOnExpiration(true)\n .closeViolationsOnExpiration(true)\n .slideBy(30)\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT average(duration) FROM Transaction where appName = 'Your App'\")\n .build())\n .critical(NrqlAlertConditionCriticalArgs.builder()\n .operator(\"above\")\n .threshold(5.5)\n .thresholdDuration(300)\n .thresholdOccurrences(\"ALL\")\n .build())\n .warning(NrqlAlertConditionWarningArgs.builder()\n .operator(\"above\")\n .threshold(3.5)\n .thresholdDuration(600)\n .thresholdOccurrences(\"ALL\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooAlertPolicy:\n type: newrelic:AlertPolicy\n fooIndex/alertPolicyAlertPolicy:\n type: newrelic:AlertPolicy\n fooNrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n accountId: your_account_id\n policyId: ${fooAlertPolicy.id}\n type: static\n description: Alert when transactions are taking too long\n runbookUrl: https://www.example.com\n enabled: true\n violationTimeLimitSeconds: 3600\n fillOption: static\n fillValue: 1\n aggregationWindow: 60\n aggregationMethod: event_flow\n aggregationDelay: 120\n expirationDuration: 120\n openViolationOnExpiration: true\n closeViolationsOnExpiration: true\n slideBy: 30\n nrql:\n query: SELECT average(duration) FROM Transaction where appName = 'Your App'\n critical:\n operator: above\n threshold: 5.5\n thresholdDuration: 300\n thresholdOccurrences: ALL\n warning:\n operator: above\n threshold: 3.5\n thresholdDuration: 600\n thresholdOccurrences: ALL\n```\n\n## Upgrade from 1.x to 2.x\n\nThere have been several deprecations in the `newrelic.NrqlAlertCondition`\nresource. Users will need to make some updates in order to have a smooth\nupgrade.\n\nAn example resource from 1.x might look like the following.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst nrqlAlertCondition = new newrelic.NrqlAlertCondition(\"nrqlAlertCondition\", {\n policyId: newrelic_alert_policy.z.id,\n type: \"static\",\n runbookUrl: \"https://localhost\",\n enabled: true,\n violationTimeLimit: \"TWENTY_FOUR_HOURS\",\n critical: {\n operator: \"above\",\n thresholdDuration: 120,\n threshold: 3,\n thresholdOccurrences: \"AT_LEAST_ONCE\",\n },\n nrql: {\n query: \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nnrql_alert_condition = newrelic.NrqlAlertCondition(\"nrqlAlertCondition\",\n policy_id=newrelic_alert_policy[\"z\"][\"id\"],\n type=\"static\",\n runbook_url=\"https://localhost\",\n enabled=True,\n violation_time_limit=\"TWENTY_FOUR_HOURS\",\n critical=newrelic.NrqlAlertConditionCriticalArgs(\n operator=\"above\",\n threshold_duration=120,\n threshold=3,\n threshold_occurrences=\"AT_LEAST_ONCE\",\n ),\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"nrqlAlertCondition\", new()\n {\n PolicyId = newrelic_alert_policy.Z.Id,\n Type = \"static\",\n RunbookUrl = \"https://localhost\",\n Enabled = true,\n ViolationTimeLimit = \"TWENTY_FOUR_HOURS\",\n Critical = new NewRelic.Inputs.NrqlAlertConditionCriticalArgs\n {\n Operator = \"above\",\n ThresholdDuration = 120,\n Threshold = 3,\n ThresholdOccurrences = \"AT_LEAST_ONCE\",\n },\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\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 := newrelic.NewNrqlAlertCondition(ctx, \"nrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tPolicyId: pulumi.Any(newrelic_alert_policy.Z.Id),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://localhost\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimit: pulumi.String(\"TWENTY_FOUR_HOURS\"),\n\t\t\tCritical: \u0026newrelic.NrqlAlertConditionCriticalArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThresholdDuration: pulumi.Int(120),\n\t\t\t\tThreshold: pulumi.Float64(3),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"AT_LEAST_ONCE\"),\n\t\t\t},\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\"),\n\t\t\t},\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.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionCriticalArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\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 nrqlAlertCondition = new NrqlAlertCondition(\"nrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .policyId(newrelic_alert_policy.z().id())\n .type(\"static\")\n .runbookUrl(\"https://localhost\")\n .enabled(true)\n .violationTimeLimit(\"TWENTY_FOUR_HOURS\")\n .critical(NrqlAlertConditionCriticalArgs.builder()\n .operator(\"above\")\n .thresholdDuration(120)\n .threshold(3)\n .thresholdOccurrences(\"AT_LEAST_ONCE\")\n .build())\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n nrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n policyId: ${newrelic_alert_policy.z.id}\n type: static\n runbookUrl: https://localhost\n enabled: true\n violationTimeLimit: TWENTY_FOUR_HOURS\n critical:\n operator: above\n thresholdDuration: 120\n threshold: 3\n thresholdOccurrences: AT_LEAST_ONCE\n nrql:\n query: SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\n```\n\nAfter making the appropriate adjustments mentioned in the deprecation warnings,\nthe resource now looks like the following.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst nrqlAlertCondition = new newrelic.NrqlAlertCondition(\"nrqlAlertCondition\", {\n policyId: newrelic_alert_policy.z.id,\n type: \"static\",\n runbookUrl: \"https://localhost\",\n enabled: true,\n violationTimeLimitSeconds: 86400,\n terms: [{\n priority: \"critical\",\n operator: \"above\",\n threshold: 3,\n duration: 5,\n timeFunction: \"any\",\n }],\n nrql: {\n query: \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nnrql_alert_condition = newrelic.NrqlAlertCondition(\"nrqlAlertCondition\",\n policy_id=newrelic_alert_policy[\"z\"][\"id\"],\n type=\"static\",\n runbook_url=\"https://localhost\",\n enabled=True,\n violation_time_limit_seconds=86400,\n terms=[newrelic.NrqlAlertConditionTermArgs(\n priority=\"critical\",\n operator=\"above\",\n threshold=3,\n duration=5,\n time_function=\"any\",\n )],\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"nrqlAlertCondition\", new()\n {\n PolicyId = newrelic_alert_policy.Z.Id,\n Type = \"static\",\n RunbookUrl = \"https://localhost\",\n Enabled = true,\n ViolationTimeLimitSeconds = 86400,\n Terms = new[]\n {\n new NewRelic.Inputs.NrqlAlertConditionTermArgs\n {\n Priority = \"critical\",\n Operator = \"above\",\n Threshold = 3,\n Duration = 5,\n TimeFunction = \"any\",\n },\n },\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\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 := newrelic.NewNrqlAlertCondition(ctx, \"nrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tPolicyId: pulumi.Any(newrelic_alert_policy.Z.Id),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://localhost\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimitSeconds: pulumi.Int(86400),\n\t\t\tTerms: newrelic.NrqlAlertConditionTermArray{\n\t\t\t\t\u0026newrelic.NrqlAlertConditionTermArgs{\n\t\t\t\t\tPriority: pulumi.String(\"critical\"),\n\t\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\t\tThreshold: pulumi.Float64(3),\n\t\t\t\t\tDuration: pulumi.Int(5),\n\t\t\t\t\tTimeFunction: pulumi.String(\"any\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\"),\n\t\t\t},\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.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionTermArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\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 nrqlAlertCondition = new NrqlAlertCondition(\"nrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .policyId(newrelic_alert_policy.z().id())\n .type(\"static\")\n .runbookUrl(\"https://localhost\")\n .enabled(true)\n .violationTimeLimitSeconds(86400)\n .terms(NrqlAlertConditionTermArgs.builder()\n .priority(\"critical\")\n .operator(\"above\")\n .threshold(3)\n .duration(5)\n .timeFunction(\"any\")\n .build())\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n nrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n policyId: ${newrelic_alert_policy.z.id}\n type: static\n runbookUrl: https://localhost\n enabled: true\n violationTimeLimitSeconds: 86400\n terms:\n - priority: critical\n operator: above\n threshold: 3\n duration: 5\n timeFunction: any\n nrql:\n query: SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\n```\n\n\n## Import\n\nNRQL alert conditions can be imported using a composite ID of `\u003cpolicy_id\u003e:\u003ccondition_id\u003e:\u003cconditionType\u003e`, e.g. // For `baseline` conditions\n\n```sh\n $ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:baseline\n```\n\n // For `static` conditions\n\n```sh\n $ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:static\n```\n\n ", + "description": "Use this resource to create and manage NRQL alert conditions in New Relic.\n\n{{% examples %}}\n## Example Usage\n{{% /examples %}}\n## NRQL\n\nThe `nrql` block supports the following arguments:\n\n- `query` - (Required) The NRQL query to execute for the condition.\n- `evaluation_offset` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregation_window` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluation_offset` set to 3 windows and an `aggregation_window` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluation_offset` cannot be set with `aggregation_method`, `aggregation_delay`, or `aggregation_timer`.\u003cbr\u003e\n- `since_value` - (Optional) **DEPRECATED:** Use `aggregation_method` instead. The value to be used in the `SINCE \u003cX\u003e minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). \u003cbr\u003e\n\n## Terms\n\n\u003e **NOTE:** The direct use of the `term` has been deprecated, and users should use `critical` and `warning` instead. What follows now applies to the named priority attributes for `critical` and `warning`, but for those attributes the priority is not allowed. At least one `critical` or `warning` term must be defined.\n\nNRQL alert conditions support up to two terms. At least one `term` must have `priority` set to `critical` and the second optional `term` must have `priority` set to `warning`.\n\nThe `term` block supports the following arguments:\n\n- `operator` - (Optional) Valid values are `above`, `above_or_equals`, `below`, `below_or_equals`, `equals`, or `not_equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `baseline`, the only valid option here is `above`.\n- `priority` - (Optional) `critical` or `warning`. Defaults to `critical`.\n- `threshold` - (Required) The value which will trigger an incident.\n\u003cbr\u003eFor _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create an incident.\n- `threshold_duration` - (Optional) The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the `aggregation_window` (which has a default of 60 seconds).\n\u003cbr\u003eFor _baseline_ NRQL alert conditions, the value must be within 120-86400 seconds (inclusive).\n\u003cbr\u003eFor _static_ NRQL alert conditions, the value must be within 60-86400 seconds (inclusive).\n\n- `threshold_occurrences` - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `at_least_once` (case insensitive).\n- `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive).\n- `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.\n\n\u003e **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified.\n\n\u003e **NOTE:** When a `critical` or `warning` block is added to this resource, using either `time_function` or `threshold_occurrences` (one of the two) is mandatory. Both of these should not be specified.\n\n## Additional Examples\n\n##### Type: `baseline`\n\n[Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst fooAlertPolicy = new newrelic.AlertPolicy(\"fooAlertPolicy\", {});\nconst fooIndex_alertPolicyAlertPolicy = new newrelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\", {});\nconst fooNrqlAlertCondition = new newrelic.NrqlAlertCondition(\"fooNrqlAlertCondition\", {\n accountId: \"your_account_id\",\n policyId: fooAlertPolicy.id,\n type: \"static\",\n description: \"Alert when transactions are taking too long\",\n runbookUrl: \"https://www.example.com\",\n enabled: true,\n violationTimeLimitSeconds: 3600,\n fillOption: \"static\",\n fillValue: 1,\n aggregationWindow: 60,\n aggregationMethod: \"event_flow\",\n aggregationDelay: \"120\",\n expirationDuration: 120,\n openViolationOnExpiration: true,\n closeViolationsOnExpiration: true,\n slideBy: 30,\n nrql: {\n query: \"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n },\n critical: {\n operator: \"above\",\n threshold: 5.5,\n thresholdDuration: 300,\n thresholdOccurrences: \"ALL\",\n },\n warning: {\n operator: \"above\",\n threshold: 3.5,\n thresholdDuration: 600,\n thresholdOccurrences: \"ALL\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nfoo_alert_policy = newrelic.AlertPolicy(\"fooAlertPolicy\")\nfoo_index_alert_policy_alert_policy = newrelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\")\nfoo_nrql_alert_condition = newrelic.NrqlAlertCondition(\"fooNrqlAlertCondition\",\n account_id=\"your_account_id\",\n policy_id=foo_alert_policy.id,\n type=\"static\",\n description=\"Alert when transactions are taking too long\",\n runbook_url=\"https://www.example.com\",\n enabled=True,\n violation_time_limit_seconds=3600,\n fill_option=\"static\",\n fill_value=1,\n aggregation_window=60,\n aggregation_method=\"event_flow\",\n aggregation_delay=\"120\",\n expiration_duration=120,\n open_violation_on_expiration=True,\n close_violations_on_expiration=True,\n slide_by=30,\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n ),\n critical=newrelic.NrqlAlertConditionCriticalArgs(\n operator=\"above\",\n threshold=5.5,\n threshold_duration=300,\n threshold_occurrences=\"ALL\",\n ),\n warning=newrelic.NrqlAlertConditionWarningArgs(\n operator=\"above\",\n threshold=3.5,\n threshold_duration=600,\n threshold_occurrences=\"ALL\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooAlertPolicy = new NewRelic.AlertPolicy(\"fooAlertPolicy\");\n\n var fooIndex_alertPolicyAlertPolicy = new NewRelic.AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\");\n\n var fooNrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"fooNrqlAlertCondition\", new()\n {\n AccountId = \"your_account_id\",\n PolicyId = fooAlertPolicy.Id,\n Type = \"static\",\n Description = \"Alert when transactions are taking too long\",\n RunbookUrl = \"https://www.example.com\",\n Enabled = true,\n ViolationTimeLimitSeconds = 3600,\n FillOption = \"static\",\n FillValue = 1,\n AggregationWindow = 60,\n AggregationMethod = \"event_flow\",\n AggregationDelay = \"120\",\n ExpirationDuration = 120,\n OpenViolationOnExpiration = true,\n CloseViolationsOnExpiration = true,\n SlideBy = 30,\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT average(duration) FROM Transaction where appName = 'Your App'\",\n },\n Critical = new NewRelic.Inputs.NrqlAlertConditionCriticalArgs\n {\n Operator = \"above\",\n Threshold = 5.5,\n ThresholdDuration = 300,\n ThresholdOccurrences = \"ALL\",\n },\n Warning = new NewRelic.Inputs.NrqlAlertConditionWarningArgs\n {\n Operator = \"above\",\n Threshold = 3.5,\n ThresholdDuration = 600,\n ThresholdOccurrences = \"ALL\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, \"fooAlertPolicy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = newrelic.NewAlertPolicy(ctx, \"fooIndex/alertPolicyAlertPolicy\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = newrelic.NewNrqlAlertCondition(ctx, \"fooNrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tAccountId: pulumi.Int(\"your_account_id\"),\n\t\t\tPolicyId: fooAlertPolicy.ID(),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tDescription: pulumi.String(\"Alert when transactions are taking too long\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://www.example.com\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimitSeconds: pulumi.Int(3600),\n\t\t\tFillOption: pulumi.String(\"static\"),\n\t\t\tFillValue: pulumi.Float64(1),\n\t\t\tAggregationWindow: pulumi.Int(60),\n\t\t\tAggregationMethod: pulumi.String(\"event_flow\"),\n\t\t\tAggregationDelay: pulumi.String(\"120\"),\n\t\t\tExpirationDuration: pulumi.Int(120),\n\t\t\tOpenViolationOnExpiration: pulumi.Bool(true),\n\t\t\tCloseViolationsOnExpiration: pulumi.Bool(true),\n\t\t\tSlideBy: pulumi.Int(30),\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT average(duration) FROM Transaction where appName = 'Your App'\"),\n\t\t\t},\n\t\t\tCritical: \u0026newrelic.NrqlAlertConditionCriticalArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThreshold: pulumi.Float64(5.5),\n\t\t\t\tThresholdDuration: pulumi.Int(300),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"ALL\"),\n\t\t\t},\n\t\t\tWarning: \u0026newrelic.NrqlAlertConditionWarningArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThreshold: pulumi.Float64(3.5),\n\t\t\t\tThresholdDuration: pulumi.Int(600),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"ALL\"),\n\t\t\t},\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.newrelic.AlertPolicy;\nimport com.pulumi.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionCriticalArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionWarningArgs;\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 fooAlertPolicy = new AlertPolicy(\"fooAlertPolicy\");\n\n var fooIndex_alertPolicyAlertPolicy = new AlertPolicy(\"fooIndex/alertPolicyAlertPolicy\");\n\n var fooNrqlAlertCondition = new NrqlAlertCondition(\"fooNrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .accountId(\"your_account_id\")\n .policyId(fooAlertPolicy.id())\n .type(\"static\")\n .description(\"Alert when transactions are taking too long\")\n .runbookUrl(\"https://www.example.com\")\n .enabled(true)\n .violationTimeLimitSeconds(3600)\n .fillOption(\"static\")\n .fillValue(1)\n .aggregationWindow(60)\n .aggregationMethod(\"event_flow\")\n .aggregationDelay(120)\n .expirationDuration(120)\n .openViolationOnExpiration(true)\n .closeViolationsOnExpiration(true)\n .slideBy(30)\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT average(duration) FROM Transaction where appName = 'Your App'\")\n .build())\n .critical(NrqlAlertConditionCriticalArgs.builder()\n .operator(\"above\")\n .threshold(5.5)\n .thresholdDuration(300)\n .thresholdOccurrences(\"ALL\")\n .build())\n .warning(NrqlAlertConditionWarningArgs.builder()\n .operator(\"above\")\n .threshold(3.5)\n .thresholdDuration(600)\n .thresholdOccurrences(\"ALL\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooAlertPolicy:\n type: newrelic:AlertPolicy\n fooIndex/alertPolicyAlertPolicy:\n type: newrelic:AlertPolicy\n fooNrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n accountId: your_account_id\n policyId: ${fooAlertPolicy.id}\n type: static\n description: Alert when transactions are taking too long\n runbookUrl: https://www.example.com\n enabled: true\n violationTimeLimitSeconds: 3600\n fillOption: static\n fillValue: 1\n aggregationWindow: 60\n aggregationMethod: event_flow\n aggregationDelay: 120\n expirationDuration: 120\n openViolationOnExpiration: true\n closeViolationsOnExpiration: true\n slideBy: 30\n nrql:\n query: SELECT average(duration) FROM Transaction where appName = 'Your App'\n critical:\n operator: above\n threshold: 5.5\n thresholdDuration: 300\n thresholdOccurrences: ALL\n warning:\n operator: above\n threshold: 3.5\n thresholdDuration: 600\n thresholdOccurrences: ALL\n```\n\n## Upgrade from 1.x to 2.x\n\nThere have been several deprecations in the `newrelic.NrqlAlertCondition`\nresource. Users will need to make some updates in order to have a smooth\nupgrade.\n\nAn example resource from 1.x might look like the following.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst nrqlAlertCondition = new newrelic.NrqlAlertCondition(\"nrqlAlertCondition\", {\n policyId: newrelic_alert_policy.z.id,\n type: \"static\",\n runbookUrl: \"https://localhost\",\n enabled: true,\n violationTimeLimit: \"TWENTY_FOUR_HOURS\",\n critical: {\n operator: \"above\",\n thresholdDuration: 120,\n threshold: 3,\n thresholdOccurrences: \"AT_LEAST_ONCE\",\n },\n nrql: {\n query: \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nnrql_alert_condition = newrelic.NrqlAlertCondition(\"nrqlAlertCondition\",\n policy_id=newrelic_alert_policy[\"z\"][\"id\"],\n type=\"static\",\n runbook_url=\"https://localhost\",\n enabled=True,\n violation_time_limit=\"TWENTY_FOUR_HOURS\",\n critical=newrelic.NrqlAlertConditionCriticalArgs(\n operator=\"above\",\n threshold_duration=120,\n threshold=3,\n threshold_occurrences=\"AT_LEAST_ONCE\",\n ),\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"nrqlAlertCondition\", new()\n {\n PolicyId = newrelic_alert_policy.Z.Id,\n Type = \"static\",\n RunbookUrl = \"https://localhost\",\n Enabled = true,\n ViolationTimeLimit = \"TWENTY_FOUR_HOURS\",\n Critical = new NewRelic.Inputs.NrqlAlertConditionCriticalArgs\n {\n Operator = \"above\",\n ThresholdDuration = 120,\n Threshold = 3,\n ThresholdOccurrences = \"AT_LEAST_ONCE\",\n },\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\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 := newrelic.NewNrqlAlertCondition(ctx, \"nrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tPolicyId: pulumi.Any(newrelic_alert_policy.Z.Id),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://localhost\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimit: pulumi.String(\"TWENTY_FOUR_HOURS\"),\n\t\t\tCritical: \u0026newrelic.NrqlAlertConditionCriticalArgs{\n\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\tThresholdDuration: pulumi.Int(120),\n\t\t\t\tThreshold: pulumi.Float64(3),\n\t\t\t\tThresholdOccurrences: pulumi.String(\"AT_LEAST_ONCE\"),\n\t\t\t},\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\"),\n\t\t\t},\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.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionCriticalArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\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 nrqlAlertCondition = new NrqlAlertCondition(\"nrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .policyId(newrelic_alert_policy.z().id())\n .type(\"static\")\n .runbookUrl(\"https://localhost\")\n .enabled(true)\n .violationTimeLimit(\"TWENTY_FOUR_HOURS\")\n .critical(NrqlAlertConditionCriticalArgs.builder()\n .operator(\"above\")\n .thresholdDuration(120)\n .threshold(3)\n .thresholdOccurrences(\"AT_LEAST_ONCE\")\n .build())\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n nrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n policyId: ${newrelic_alert_policy.z.id}\n type: static\n runbookUrl: https://localhost\n enabled: true\n violationTimeLimit: TWENTY_FOUR_HOURS\n critical:\n operator: above\n thresholdDuration: 120\n threshold: 3\n thresholdOccurrences: AT_LEAST_ONCE\n nrql:\n query: SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\n```\n\nAfter making the appropriate adjustments mentioned in the deprecation warnings,\nthe resource now looks like the following.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst nrqlAlertCondition = new newrelic.NrqlAlertCondition(\"nrqlAlertCondition\", {\n policyId: newrelic_alert_policy.z.id,\n type: \"static\",\n runbookUrl: \"https://localhost\",\n enabled: true,\n violationTimeLimitSeconds: 86400,\n terms: [{\n priority: \"critical\",\n operator: \"above\",\n threshold: 3,\n duration: 5,\n timeFunction: \"any\",\n }],\n nrql: {\n query: \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nnrql_alert_condition = newrelic.NrqlAlertCondition(\"nrqlAlertCondition\",\n policy_id=newrelic_alert_policy[\"z\"][\"id\"],\n type=\"static\",\n runbook_url=\"https://localhost\",\n enabled=True,\n violation_time_limit_seconds=86400,\n terms=[newrelic.NrqlAlertConditionTermArgs(\n priority=\"critical\",\n operator=\"above\",\n threshold=3,\n duration=5,\n time_function=\"any\",\n )],\n nrql=newrelic.NrqlAlertConditionNrqlArgs(\n query=\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var nrqlAlertCondition = new NewRelic.NrqlAlertCondition(\"nrqlAlertCondition\", new()\n {\n PolicyId = newrelic_alert_policy.Z.Id,\n Type = \"static\",\n RunbookUrl = \"https://localhost\",\n Enabled = true,\n ViolationTimeLimitSeconds = 86400,\n Terms = new[]\n {\n new NewRelic.Inputs.NrqlAlertConditionTermArgs\n {\n Priority = \"critical\",\n Operator = \"above\",\n Threshold = 3,\n Duration = 5,\n TimeFunction = \"any\",\n },\n },\n Nrql = new NewRelic.Inputs.NrqlAlertConditionNrqlArgs\n {\n Query = \"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic\"\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 := newrelic.NewNrqlAlertCondition(ctx, \"nrqlAlertCondition\", \u0026newrelic.NrqlAlertConditionArgs{\n\t\t\tPolicyId: pulumi.Any(newrelic_alert_policy.Z.Id),\n\t\t\tType: pulumi.String(\"static\"),\n\t\t\tRunbookUrl: pulumi.String(\"https://localhost\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tViolationTimeLimitSeconds: pulumi.Int(86400),\n\t\t\tTerms: newrelic.NrqlAlertConditionTermArray{\n\t\t\t\t\u0026newrelic.NrqlAlertConditionTermArgs{\n\t\t\t\t\tPriority: pulumi.String(\"critical\"),\n\t\t\t\t\tOperator: pulumi.String(\"above\"),\n\t\t\t\t\tThreshold: pulumi.Float64(3),\n\t\t\t\t\tDuration: pulumi.Int(5),\n\t\t\t\t\tTimeFunction: pulumi.String(\"any\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNrql: \u0026newrelic.NrqlAlertConditionNrqlArgs{\n\t\t\t\tQuery: pulumi.String(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\"),\n\t\t\t},\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.newrelic.NrqlAlertCondition;\nimport com.pulumi.newrelic.NrqlAlertConditionArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionTermArgs;\nimport com.pulumi.newrelic.inputs.NrqlAlertConditionNrqlArgs;\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 nrqlAlertCondition = new NrqlAlertCondition(\"nrqlAlertCondition\", NrqlAlertConditionArgs.builder() \n .policyId(newrelic_alert_policy.z().id())\n .type(\"static\")\n .runbookUrl(\"https://localhost\")\n .enabled(true)\n .violationTimeLimitSeconds(86400)\n .terms(NrqlAlertConditionTermArgs.builder()\n .priority(\"critical\")\n .operator(\"above\")\n .threshold(3)\n .duration(5)\n .timeFunction(\"any\")\n .build())\n .nrql(NrqlAlertConditionNrqlArgs.builder()\n .query(\"SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n nrqlAlertCondition:\n type: newrelic:NrqlAlertCondition\n properties:\n policyId: ${newrelic_alert_policy.z.id}\n type: static\n runbookUrl: https://localhost\n enabled: true\n violationTimeLimitSeconds: 86400\n terms:\n - priority: critical\n operator: above\n threshold: 3\n duration: 5\n timeFunction: any\n nrql:\n query: SELECT count(*) FROM TransactionError WHERE appName like '%Dummy App%' FACET appName\n```\n\n\n## Import\n\nNRQL alert conditions can be imported using a composite ID of `\u003cpolicy_id\u003e:\u003ccondition_id\u003e:\u003cconditionType\u003e`, e.g. // For `baseline` conditions\n\n```sh\n $ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:baseline\n```\n\n // For `static` conditions\n\n```sh\n $ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:static\n```\n\n ", "properties": { "accountId": { "type": "integer", @@ -10965,7 +10990,7 @@ }, "aggregationWindow": { "type": "integer", - "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds.\n" + "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds.\n" }, "baselineDirection": { "type": "string", @@ -11085,7 +11110,7 @@ }, "aggregationWindow": { "type": "integer", - "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds.\n" + "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds.\n" }, "baselineDirection": { "type": "string", @@ -11200,7 +11225,7 @@ }, "aggregationWindow": { "type": "integer", - "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds.\n" + "description": "The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds.\n" }, "baselineDirection": { "type": "string", @@ -12567,7 +12592,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12619,7 +12644,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12677,7 +12702,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12737,7 +12762,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12793,7 +12818,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12852,7 +12877,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). \n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -12935,7 +12960,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor.\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13037,7 +13062,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor.\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13142,7 +13167,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor.\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13492,7 +13517,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor: `ENABLED` or `DISABLED`\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13572,7 +13597,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor: `ENABLED` or `DISABLED`\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13659,7 +13684,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor: `ENABLED` or `DISABLED`\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "tags": { "type": "array", @@ -13808,7 +13833,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "steps": { "type": "array", @@ -13867,7 +13892,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "steps": { "type": "array", @@ -13932,7 +13957,7 @@ }, "status": { "type": "string", - "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n" + "description": "The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`).\n\n\u003e **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it.\n" }, "steps": { "type": "array", @@ -14605,7 +14630,7 @@ } }, "newrelic:synthetics/getPrivateLocation:getPrivateLocation": { - "description": "Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst example = newrelic.synthetics.getPrivateLocation({\n accountId: 123456,\n name: \"My private location\",\n});\nconst foo = new newrelic.synthetics.Monitor(\"foo\", {locationsPrivates: [data.newrelic_synthetics_monitor_location.example.id]});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nexample = newrelic.synthetics.get_private_location(account_id=123456,\n name=\"My private location\")\nfoo = newrelic.synthetics.Monitor(\"foo\", locations_privates=[data[\"newrelic_synthetics_monitor_location\"][\"example\"][\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = NewRelic.Synthetics.GetPrivateLocation.Invoke(new()\n {\n AccountId = 123456,\n Name = \"My private location\",\n });\n\n var foo = new NewRelic.Synthetics.Monitor(\"foo\", new()\n {\n LocationsPrivates = new[]\n {\n data.Newrelic_synthetics_monitor_location.Example.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics\"\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 := synthetics.LookupPrivateLocation(ctx, \u0026synthetics.LookupPrivateLocationArgs{\n\t\t\tAccountId: pulumi.IntRef(123456),\n\t\t\tName: \"My private location\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = synthetics.NewMonitor(ctx, \"foo\", \u0026synthetics.MonitorArgs{\n\t\t\tLocationsPrivates: pulumi.StringArray{\n\t\t\t\tdata.Newrelic_synthetics_monitor_location.Example.Id,\n\t\t\t},\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.newrelic.synthetics.SyntheticsFunctions;\nimport com.pulumi.newrelic.synthetics.inputs.GetPrivateLocationArgs;\nimport com.pulumi.newrelic.synthetics.Monitor;\nimport com.pulumi.newrelic.synthetics.MonitorArgs;\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 final var example = SyntheticsFunctions.getPrivateLocation(GetPrivateLocationArgs.builder()\n .accountId(123456)\n .name(\"My private location\")\n .build());\n\n var foo = new Monitor(\"foo\", MonitorArgs.builder() \n .locationsPrivates(data.newrelic_synthetics_monitor_location().example().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: newrelic:synthetics:Monitor\n properties:\n # Reference the private location data source in the monitor resource\n locationsPrivates:\n - ${data.newrelic_synthetics_monitor_location.example.id}\nvariables:\n example:\n fn::invoke:\n Function: newrelic:synthetics:getPrivateLocation\n Arguments:\n accountId: 123456\n name: My private location\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst example = newrelic.synthetics.getPrivateLocation({\n accountId: 123456,\n name: \"My private location\",\n});\nconst foo = new newrelic.synthetics.StepMonitor(\"foo\", {locationPrivates: [{\n guid: example.then(example =\u003e example.id),\n}]});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nexample = newrelic.synthetics.get_private_location(account_id=123456,\n name=\"My private location\")\nfoo = newrelic.synthetics.StepMonitor(\"foo\", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(\n guid=example.id,\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = NewRelic.Synthetics.GetPrivateLocation.Invoke(new()\n {\n AccountId = 123456,\n Name = \"My private location\",\n });\n\n var foo = new NewRelic.Synthetics.StepMonitor(\"foo\", new()\n {\n LocationPrivates = new[]\n {\n new NewRelic.Synthetics.Inputs.StepMonitorLocationPrivateArgs\n {\n Guid = example.Apply(getPrivateLocationResult =\u003e getPrivateLocationResult.Id),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := synthetics.LookupPrivateLocation(ctx, \u0026synthetics.LookupPrivateLocationArgs{\n\t\t\tAccountId: pulumi.IntRef(123456),\n\t\t\tName: \"My private location\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = synthetics.NewStepMonitor(ctx, \"foo\", \u0026synthetics.StepMonitorArgs{\n\t\t\tLocationPrivates: synthetics.StepMonitorLocationPrivateArray{\n\t\t\t\t\u0026synthetics.StepMonitorLocationPrivateArgs{\n\t\t\t\t\tGuid: *pulumi.String(example.Id),\n\t\t\t\t},\n\t\t\t},\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.newrelic.synthetics.SyntheticsFunctions;\nimport com.pulumi.newrelic.synthetics.inputs.GetPrivateLocationArgs;\nimport com.pulumi.newrelic.synthetics.StepMonitor;\nimport com.pulumi.newrelic.synthetics.StepMonitorArgs;\nimport com.pulumi.newrelic.synthetics.inputs.StepMonitorLocationPrivateArgs;\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 final var example = SyntheticsFunctions.getPrivateLocation(GetPrivateLocationArgs.builder()\n .accountId(123456)\n .name(\"My private location\")\n .build());\n\n var foo = new StepMonitor(\"foo\", StepMonitorArgs.builder() \n .locationPrivates(StepMonitorLocationPrivateArgs.builder()\n .guid(example.applyValue(getPrivateLocationResult -\u003e getPrivateLocationResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: newrelic:synthetics:StepMonitor\n properties:\n # Reference the private location data source in the monitor resource\n locationPrivates:\n - guid: ${example.id}\nvariables:\n example:\n fn::invoke:\n Function: newrelic:synthetics:getPrivateLocation\n Arguments:\n accountId: 123456\n name: My private location\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst example = newrelic.synthetics.getPrivateLocation({\n accountId: 123456,\n name: \"My private location\",\n});\nconst foo = new newrelic.synthetics.Monitor(\"foo\", {locationsPrivates: [example.then(example =\u003e example.id)]});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nexample = newrelic.synthetics.get_private_location(account_id=123456,\n name=\"My private location\")\nfoo = newrelic.synthetics.Monitor(\"foo\", locations_privates=[example.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = NewRelic.Synthetics.GetPrivateLocation.Invoke(new()\n {\n AccountId = 123456,\n Name = \"My private location\",\n });\n\n var foo = new NewRelic.Synthetics.Monitor(\"foo\", new()\n {\n LocationsPrivates = new[]\n {\n example.Apply(getPrivateLocationResult =\u003e getPrivateLocationResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := synthetics.LookupPrivateLocation(ctx, \u0026synthetics.LookupPrivateLocationArgs{\n\t\t\tAccountId: pulumi.IntRef(123456),\n\t\t\tName: \"My private location\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = synthetics.NewMonitor(ctx, \"foo\", \u0026synthetics.MonitorArgs{\n\t\t\tLocationsPrivates: pulumi.StringArray{\n\t\t\t\t*pulumi.String(example.Id),\n\t\t\t},\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.newrelic.synthetics.SyntheticsFunctions;\nimport com.pulumi.newrelic.synthetics.inputs.GetPrivateLocationArgs;\nimport com.pulumi.newrelic.synthetics.Monitor;\nimport com.pulumi.newrelic.synthetics.MonitorArgs;\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 final var example = SyntheticsFunctions.getPrivateLocation(GetPrivateLocationArgs.builder()\n .accountId(123456)\n .name(\"My private location\")\n .build());\n\n var foo = new Monitor(\"foo\", MonitorArgs.builder() \n .locationsPrivates(example.applyValue(getPrivateLocationResult -\u003e getPrivateLocationResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: newrelic:synthetics:Monitor\n properties:\n # Reference the private location data source in the monitor resource\n locationsPrivates:\n - ${example.id}\nvariables:\n example:\n fn::invoke:\n Function: newrelic:synthetics:getPrivateLocation\n Arguments:\n accountId: 123456\n name: My private location\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as newrelic from \"@pulumi/newrelic\";\n\nconst example = newrelic.synthetics.getPrivateLocation({\n accountId: 123456,\n name: \"My private location\",\n});\nconst foo = new newrelic.synthetics.StepMonitor(\"foo\", {locationPrivates: [{\n guid: example.then(example =\u003e example.id),\n}]});\n```\n```python\nimport pulumi\nimport pulumi_newrelic as newrelic\n\nexample = newrelic.synthetics.get_private_location(account_id=123456,\n name=\"My private location\")\nfoo = newrelic.synthetics.StepMonitor(\"foo\", location_privates=[newrelic.synthetics.StepMonitorLocationPrivateArgs(\n guid=example.id,\n)])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing NewRelic = Pulumi.NewRelic;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = NewRelic.Synthetics.GetPrivateLocation.Invoke(new()\n {\n AccountId = 123456,\n Name = \"My private location\",\n });\n\n var foo = new NewRelic.Synthetics.StepMonitor(\"foo\", new()\n {\n LocationPrivates = new[]\n {\n new NewRelic.Synthetics.Inputs.StepMonitorLocationPrivateArgs\n {\n Guid = example.Apply(getPrivateLocationResult =\u003e getPrivateLocationResult.Id),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := synthetics.LookupPrivateLocation(ctx, \u0026synthetics.LookupPrivateLocationArgs{\n\t\t\tAccountId: pulumi.IntRef(123456),\n\t\t\tName: \"My private location\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = synthetics.NewStepMonitor(ctx, \"foo\", \u0026synthetics.StepMonitorArgs{\n\t\t\tLocationPrivates: synthetics.StepMonitorLocationPrivateArray{\n\t\t\t\t\u0026synthetics.StepMonitorLocationPrivateArgs{\n\t\t\t\t\tGuid: *pulumi.String(example.Id),\n\t\t\t\t},\n\t\t\t},\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.newrelic.synthetics.SyntheticsFunctions;\nimport com.pulumi.newrelic.synthetics.inputs.GetPrivateLocationArgs;\nimport com.pulumi.newrelic.synthetics.StepMonitor;\nimport com.pulumi.newrelic.synthetics.StepMonitorArgs;\nimport com.pulumi.newrelic.synthetics.inputs.StepMonitorLocationPrivateArgs;\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 final var example = SyntheticsFunctions.getPrivateLocation(GetPrivateLocationArgs.builder()\n .accountId(123456)\n .name(\"My private location\")\n .build());\n\n var foo = new StepMonitor(\"foo\", StepMonitorArgs.builder() \n .locationPrivates(StepMonitorLocationPrivateArgs.builder()\n .guid(example.applyValue(getPrivateLocationResult -\u003e getPrivateLocationResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: newrelic:synthetics:StepMonitor\n properties:\n # Reference the private location data source in the monitor resource\n locationPrivates:\n - guid: ${example.id}\nvariables:\n example:\n fn::invoke:\n Function: newrelic:synthetics:getPrivateLocation\n Arguments:\n accountId: 123456\n name: My private location\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPrivateLocation.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 4ca53ad7..6f7579e3 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,8 +4,8 @@ go 1.21 require ( github.com/newrelic/terraform-provider-newrelic/v2 v2.2.1 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1 - github.com/pulumi/pulumi/sdk/v3 v3.81.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 + github.com/pulumi/pulumi/sdk/v3 v3.86.0 ) replace ( @@ -23,7 +23,7 @@ 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.0.5 // indirect + github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.2.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect @@ -192,7 +192,7 @@ require ( github.com/pulumi/pulumi-java/pkg v0.9.6 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.81.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index 7f5011ef..3e6c7306 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -627,8 +627,8 @@ 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.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= +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= @@ -734,7 +734,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-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= 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= @@ -1732,7 +1731,7 @@ 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-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +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= @@ -1881,7 +1880,6 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB 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.4/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= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -2257,16 +2255,16 @@ github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6D github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= 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.60.1 h1:+W2JHLi4y+G57jLPLJbDLv1xvm/9L2NO0gWXrtR8MDM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1/go.mod h1:o0Vfch2UXtHOnGYpNElzGg4htT6B8X8hS9fa5AguP7g= +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/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= 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.81.0 h1:6rf2farQLszi8inHCu9YdJtDvK0fqNguix51b3FEDRQ= -github.com/pulumi/pulumi/pkg/v3 v3.81.0/go.mod h1:URXozJB/abhxb2yOwa5ywHjT2dqt9SmAX2iLkdcOOl0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +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/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= @@ -2408,7 +2406,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -2644,7 +2641,6 @@ golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaE golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -2921,7 +2917,6 @@ golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/sdk/dotnet/Cloud/AwsLinkAccount.cs b/sdk/dotnet/Cloud/AwsLinkAccount.cs index bb510a14..f9b1c059 100644 --- a/sdk/dotnet/Cloud/AwsLinkAccount.cs +++ b/sdk/dotnet/Cloud/AwsLinkAccount.cs @@ -71,7 +71,7 @@ public partial class AwsLinkAccount : global::Pulumi.CustomResource public Output MetricCollectionMode { get; private set; } = null!; /// - /// The linked account name + /// The name of the linked account. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -141,7 +141,7 @@ public sealed class AwsLinkAccountArgs : global::Pulumi.ResourceArgs public Input? MetricCollectionMode { get; set; } /// - /// The linked account name + /// The name of the linked account. /// [Input("name")] public Input? Name { get; set; } @@ -173,7 +173,7 @@ public sealed class AwsLinkAccountState : global::Pulumi.ResourceArgs public Input? MetricCollectionMode { get; set; } /// - /// The linked account name + /// The name of the linked account. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Cloud/AzureLinkAccount.cs b/sdk/dotnet/Cloud/AzureLinkAccount.cs index eb2fcf28..d415363c 100644 --- a/sdk/dotnet/Cloud/AzureLinkAccount.cs +++ b/sdk/dotnet/Cloud/AzureLinkAccount.cs @@ -74,7 +74,7 @@ public partial class AzureLinkAccount : global::Pulumi.CustomResource public Output ClientSecret { get; private set; } = null!; /// - /// The name of the application in New Relic APM. + /// Name of the linked account /// [Output("name")] public Output Name { get; private set; } = null!; @@ -170,7 +170,7 @@ public Input? ClientSecret } /// - /// The name of the application in New Relic APM. + /// Name of the linked account /// [Input("name")] public Input? Name { get; set; } @@ -224,7 +224,7 @@ public Input? ClientSecret } /// - /// The name of the application in New Relic APM. + /// Name of the linked account /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Cloud/GcpLinkAccount.cs b/sdk/dotnet/Cloud/GcpLinkAccount.cs index 87168f30..66f18fcf 100644 --- a/sdk/dotnet/Cloud/GcpLinkAccount.cs +++ b/sdk/dotnet/Cloud/GcpLinkAccount.cs @@ -63,7 +63,7 @@ public partial class GcpLinkAccount : global::Pulumi.CustomResource public Output AccountId { get; private set; } = null!; /// - /// The name of the GCP account in New Relic. + /// name of the linked account /// [Output("name")] public Output Name { get; private set; } = null!; @@ -127,7 +127,7 @@ public sealed class GcpLinkAccountArgs : global::Pulumi.ResourceArgs public Input? AccountId { get; set; } /// - /// The name of the GCP account in New Relic. + /// name of the linked account /// [Input("name")] public Input? Name { get; set; } @@ -153,7 +153,7 @@ public sealed class GcpLinkAccountState : global::Pulumi.ResourceArgs public Input? AccountId { get; set; } /// - /// The name of the GCP account in New Relic. + /// name of the linked account /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbArgs.cs index 6c10974a..20ebbcb0 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAlbArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -66,9 +64,6 @@ public InputList LoadBalancerPrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbGetArgs.cs index 34316824..4c12645a 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAlbGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAlbGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -66,9 +64,6 @@ public InputList LoadBalancerPrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayArgs.cs index e6913034..54d61315 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsApiGatewayArgs : global::Pulumi.Resou /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -54,9 +52,6 @@ public InputList StagePrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayGetArgs.cs index 5a99bdb2..882ded5a 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsApiGatewayGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsApiGatewayGetArgs : global::Pulumi.Re /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -54,9 +52,6 @@ public InputList StagePrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingArgs.cs index 9b7698fa..f6765b41 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAutoScalingArgs : global::Pulumi.Reso /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingGetArgs.cs index 4956b7e7..68415200 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAutoScalingGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAutoScalingGetArgs : global::Pulumi.R /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.cs index 9427e8ff..aa00c766 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAwsDirectConnectArgs : global::Pulumi /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectGetArgs.cs index c08f4a1a..70fd027c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsDirectConnectGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAwsDirectConnectGetArgs : global::Pul /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesArgs.cs index 69ec222d..87b77dcc 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAwsStatesArgs : global::Pulumi.Resour /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesGetArgs.cs index 20a5bd82..a95c3f2c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsAwsStatesGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsAwsStatesGetArgs : global::Pulumi.Res /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailArgs.cs index 9c0e3215..9c8ad8fa 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsCloudtrailArgs : global::Pulumi.Resou /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailGetArgs.cs index 3acbb0cc..972a9a28 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsCloudtrailGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsCloudtrailGetArgs : global::Pulumi.Re /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbArgs.cs index 817d4381..86e630e7 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsDynamoDbArgs : global::Pulumi.Resourc /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -54,9 +52,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbGetArgs.cs index e0fdb633..35dc38c2 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsDynamoDbGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsDynamoDbGetArgs : global::Pulumi.Reso /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -54,9 +52,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsArgs.cs index ebded925..43edbc52 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsEbsArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsGetArgs.cs index e1bc2ba7..2ba10857 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEbsGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsEbsGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2Args.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2Args.cs index b8fefa7d..1a76aefc 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2Args.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2Args.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsEc2Args : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2GetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2GetArgs.cs index f434b5fd..7c18bcad 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2GetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEc2GetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsEc2GetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchArgs.cs index 7f237e13..a7bf92f0 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsElasticSearchArgs : global::Pulumi.Re /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchGetArgs.cs index f8fd260b..fa5a3dce 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElasticSearchGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsElasticSearchGetArgs : global::Pulumi /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbArgs.cs index 06cb5e97..6f9c3ff5 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsElbArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbGetArgs.cs index fb41d5bf..2206d043 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsElbGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsElbGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrArgs.cs index 31690ce2..fb59b7dc 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrArgs.cs @@ -14,8 +14,6 @@ public sealed class AwsGovcloudIntegrationsEmrArgs : global::Pulumi.ResourceArgs { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// [Input("awsRegions")] public Input? AwsRegions { get; set; } @@ -42,9 +40,6 @@ public sealed class AwsGovcloudIntegrationsEmrArgs : global::Pulumi.ResourceArgs /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrGetArgs.cs index 94289813..10893668 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsEmrGetArgs.cs @@ -14,8 +14,6 @@ public sealed class AwsGovcloudIntegrationsEmrGetArgs : global::Pulumi.ResourceA { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// [Input("awsRegions")] public Input? AwsRegions { get; set; } @@ -42,9 +40,6 @@ public sealed class AwsGovcloudIntegrationsEmrGetArgs : global::Pulumi.ResourceA /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamArgs.cs index e0da895d..ed0dcf34 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamArgs.cs @@ -28,9 +28,6 @@ public sealed class AwsGovcloudIntegrationsIamArgs : global::Pulumi.ResourceArgs /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamGetArgs.cs index 626fd2e8..d593cb92 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsIamGetArgs.cs @@ -28,9 +28,6 @@ public sealed class AwsGovcloudIntegrationsIamGetArgs : global::Pulumi.ResourceA /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaArgs.cs index 032ded18..b9124e50 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsLambdaArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaGetArgs.cs index 393f5b6b..a35d7871 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsLambdaGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsLambdaGetArgs : global::Pulumi.Resour /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsArgs.cs index ec167112..5f730bf7 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsRdsArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsGetArgs.cs index 6a7d2b17..f24cbfc7 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRdsGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsRdsGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -48,9 +46,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftArgs.cs index 071025a2..ba3694f9 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsRedShiftArgs : global::Pulumi.Resourc /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -42,9 +40,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftGetArgs.cs index 8a8c3ade..52b4770c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsRedShiftGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsRedShiftGetArgs : global::Pulumi.Reso /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -42,9 +40,6 @@ public InputList AwsRegions /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3Args.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3Args.cs index 32cec907..68622c2e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3Args.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3Args.cs @@ -40,9 +40,6 @@ public sealed class AwsGovcloudIntegrationsS3Args : global::Pulumi.ResourceArgs /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3GetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3GetArgs.cs index b389e469..ab0c1386 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3GetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsS3GetArgs.cs @@ -40,9 +40,6 @@ public sealed class AwsGovcloudIntegrationsS3GetArgs : global::Pulumi.ResourceAr /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsArgs.cs index 0a683eca..dc4f4b86 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsSnsArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsGetArgs.cs index ed780061..92c0decb 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSnsGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsSnsGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsArgs.cs index 2d5ff3bf..ee59e731 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsSqsArgs : global::Pulumi.ResourceArgs /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -66,9 +64,6 @@ public InputList QueuePrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsGetArgs.cs index 2513d33e..73cf12b4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsGovcloudIntegrationsSqsGetArgs.cs @@ -17,8 +17,6 @@ public sealed class AwsGovcloudIntegrationsSqsGetArgs : global::Pulumi.ResourceA /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public InputList AwsRegions { @@ -66,9 +64,6 @@ public InputList QueuePrefixes /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// [Input("tagValue")] public Input? TagValue { get; set; } diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbArgs.cs index f621382f..f653effe 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAlbArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbGetArgs.cs index 23869856..56cbc9c5 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAlbGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAlbGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayArgs.cs index 145e941b..cae19587 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsApiGatewayArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayGetArgs.cs index 4af60a4d..4f5a19d9 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsApiGatewayGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsApiGatewayGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingArgs.cs index 7ddb8b36..9831e226 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAutoScalingArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingGetArgs.cs index 41483e42..02cf6a25 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAutoScalingGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAutoScalingGetArgs : global::Pulumi.ResourceA private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncArgs.cs index 270eeb78..3d999165 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsAppSyncArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncGetArgs.cs index 09d51d58..ae476786 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAppSyncGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsAppSyncGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaArgs.cs index 3fa1cdae..0a694849 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsAthenaArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaGetArgs.cs index 0c1d2e8f..82f714ae 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsAthenaGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsAthenaGetArgs : global::Pulumi.ResourceArg private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoArgs.cs index 84930990..b4bda6ed 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsCognitoArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoGetArgs.cs index 4ebdc625..4c26c294 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsCognitoGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsCognitoGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectArgs.cs index d22c6146..95e2219f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsConnectArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectGetArgs.cs index da54cc38..e8374b7f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsConnectGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsConnectGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectArgs.cs index ba7d16e1..19e386ba 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsDirectConnectArgs : global::Pulumi.Resourc private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectGetArgs.cs index 97514fff..1937e237 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsDirectConnectGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsDirectConnectGetArgs : global::Pulumi.Reso private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxArgs.cs index a7975ae8..4f0deee4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsFsxArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxGetArgs.cs index 4ef7f887..30cec72e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsFsxGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsFsxGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueArgs.cs index 98161c87..04d1463c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsGlueArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueGetArgs.cs index 73801bb5..6a8a562a 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsGlueGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsGlueGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsArgs.cs index a5f509ee..e6fb33f8 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsKinesisAnalyticsArgs : global::Pulumi.Reso private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsGetArgs.cs index df280142..d2f78e9e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsKinesisAnalyticsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsKinesisAnalyticsGetArgs : global::Pulumi.R private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertArgs.cs index 784c4bf3..b1270ca0 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMediaConvertArgs : global::Pulumi.Resource private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertGetArgs.cs index 817158ca..c0601b43 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaConvertGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMediaConvertGetArgs : global::Pulumi.Resou private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodArgs.cs index 64ee38d1..4c57e7db 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMediaPackageVodArgs : global::Pulumi.Resou private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodGetArgs.cs index 174138e9..45ae330f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMediaPackageVodGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMediaPackageVodGetArgs : global::Pulumi.Re private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqArgs.cs index 18e64d0c..97529b3b 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMqArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqGetArgs.cs index 048e2bc1..813ce96f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMqGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMqGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskArgs.cs index 90f3ac61..9ba8cdba 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMskArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskGetArgs.cs index 0974c67c..551768dd 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsMskGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsMskGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneArgs.cs index 54f0e6ac..360c086f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsNeptuneArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneGetArgs.cs index e7fe5f01..fef0a3ba 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsNeptuneGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsNeptuneGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbArgs.cs index 8072ada6..e4ebd1cf 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsQldbArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbGetArgs.cs index dbd20b35..372ced73 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsQldbGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsQldbGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverArgs.cs index 04a6dfc5..3e7654a3 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsRoute53resolverArgs : global::Pulumi.Resou private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverGetArgs.cs index 471c3b01..d87862c6 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsRoute53resolverGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsRoute53resolverGetArgs : global::Pulumi.Re private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesArgs.cs index c33e087e..8997314b 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsStatesArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesGetArgs.cs index eb120ea3..d4af29f2 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsStatesGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsStatesGetArgs : global::Pulumi.ResourceArg private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayArgs.cs index 5994ba9a..04d1e542 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsTransitGatewayArgs : global::Pulumi.Resour private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayGetArgs.cs index 9e51d025..ace0a138 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsTransitGatewayGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsTransitGatewayGetArgs : global::Pulumi.Res private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafArgs.cs index 37a13ece..adfbf892 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsWafArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafGetArgs.cs index e680f9d0..01fe3c39 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsWafGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2Args.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2Args.cs index 4fbf2074..17dd3a33 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2Args.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2Args.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsWafv2Args : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2GetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2GetArgs.cs index f6c0ce1f..ae8ff774 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2GetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsAwsWafv2GetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsAwsWafv2GetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailArgs.cs index ecb6c8b0..8b7836b1 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsCloudtrailArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailGetArgs.cs index 27479672..ed090bdd 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsCloudtrailGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsCloudtrailGetArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbArgs.cs index 70c97cb7..0bd5324a 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsDocDbArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbGetArgs.cs index f21bb810..ab53c833 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDocDbGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsDocDbGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbArgs.cs index e2d4b1f1..c44c057b 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsDynamodbArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbGetArgs.cs index e9df3155..1e23f105 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsDynamodbGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsDynamodbGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsArgs.cs index 88ec26a1..6494cfb9 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEbsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsGetArgs.cs index d03ac4f8..835fa2cb 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEbsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEbsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2Args.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2Args.cs index 636dec4d..94f152fd 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2Args.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2Args.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEc2Args : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2GetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2GetArgs.cs index 91664e2c..92636cb6 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2GetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEc2GetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEc2GetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsArgs.cs index 05bd11ac..ee1c643f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEcsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsGetArgs.cs index 07fb8aa7..2a270ebe 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEcsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEcsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsArgs.cs index 98f6cf3a..2ce42354 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEfsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsGetArgs.cs index a88d1127..6c8bcfd0 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEfsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEfsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheArgs.cs index 933b0a9c..964d89f8 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticacheArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheGetArgs.cs index 6fc7fb43..944e6950 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticacheGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticacheGetArgs : global::Pulumi.ResourceA private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkArgs.cs index 6157376a..7060998e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticbeanstalkArgs : global::Pulumi.Resourc private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkGetArgs.cs index 3040bc36..d96d5f36 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticbeanstalkGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticbeanstalkGetArgs : global::Pulumi.Reso private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchArgs.cs index a8855bc6..87ff11b4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticsearchArgs : global::Pulumi.ResourceAr private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchGetArgs.cs index a935a9ca..fe736b00 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElasticsearchGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElasticsearchGetArgs : global::Pulumi.Resourc private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbArgs.cs index f3f2f46b..505fe263 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElbArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbGetArgs.cs index 49d541f4..793460fe 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsElbGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsElbGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrArgs.cs index 7041acc5..ec88d2fc 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEmrArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrGetArgs.cs index a109659a..e4f319fb 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsEmrGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsEmrGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotArgs.cs index f14fb51a..2c822f03 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsIotArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotGetArgs.cs index 047c4a59..cb7331e4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsIotGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsIotGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisArgs.cs index b2817a51..14005590 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsKinesisArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseArgs.cs index 0aa9f228..11ce8d03 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsKinesisFirehoseArgs : global::Pulumi.Resource private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseGetArgs.cs index 706f38fb..8743630e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisFirehoseGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsKinesisFirehoseGetArgs : global::Pulumi.Resou private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisGetArgs.cs index 1eb30914..afeadcb4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsKinesisGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsKinesisGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaArgs.cs index 190e7da0..c03dea83 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsLambdaArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaGetArgs.cs index 10c07253..1c3e7b4c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsLambdaGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsLambdaGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsArgs.cs index 23dc44a2..b487659c 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsRdsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsGetArgs.cs index dd4de53a..65ae1404 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRdsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsRdsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftArgs.cs index a1067dc2..1150359e 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsRedshiftArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftGetArgs.cs index 11dd01cd..596d5ccb 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsRedshiftGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsRedshiftGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesArgs.cs index 77aed9a5..0d0e8ee4 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSesArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesGetArgs.cs index a596d750..620316bf 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSesGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSesGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsArgs.cs index 8bccc21f..699c2088 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSnsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsGetArgs.cs index 9b0276f3..cafed155 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSnsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSnsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsArgs.cs index ddb24922..22e35252 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSqsArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsGetArgs.cs index bf362694..3fdaac8d 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsSqsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsSqsGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcArgs.cs index 9c05f470..1c8b97c1 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsVpcArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcGetArgs.cs index 1a00b38c..b223f72b 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsVpcGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsVpcGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayArgs.cs index 8daba1ce..7fbff384 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsXRayArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayGetArgs.cs b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayGetArgs.cs index f8049d1a..58aeee3f 100644 --- a/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayGetArgs.cs +++ b/sdk/dotnet/Cloud/Inputs/AwsIntegrationsXRayGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AwsIntegrationsXRayGetArgs : global::Pulumi.ResourceArgs private InputList? _awsRegions; /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public InputList AwsRegions diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAlb.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAlb.cs index b38effe9..3a58a5f1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAlb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAlb.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsAlb { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -43,9 +41,6 @@ public sealed class AwsGovcloudIntegrationsAlb public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsApiGateway.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsApiGateway.cs index cc3ebec1..e79a58e1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsApiGateway.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsApiGateway.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsApiGateway { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsApiGateway public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAutoScaling.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAutoScaling.cs index 17db4b3a..5aae5b12 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAutoScaling.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAutoScaling.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsAutoScaling { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsDirectConnect.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsDirectConnect.cs index 88a155fa..9d5b43e8 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsDirectConnect.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsDirectConnect.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsAwsDirectConnect { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsStates.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsStates.cs index 8ad08b47..782e3b49 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsStates.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsAwsStates.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsAwsStates { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsCloudtrail.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsCloudtrail.cs index f04347f9..9409cd0d 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsCloudtrail.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsCloudtrail.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsCloudtrail { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsDynamoDb.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsDynamoDb.cs index a21d33cc..38056304 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsDynamoDb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsDynamoDb.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsDynamoDb { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -39,9 +37,6 @@ public sealed class AwsGovcloudIntegrationsDynamoDb public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEbs.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEbs.cs index dbb15509..9a904b58 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEbs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEbs.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsEbs { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsEbs public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEc2.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEc2.cs index 8eb5a298..ca150b59 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEc2.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEc2.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsEc2 { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsEc2 public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElasticSearch.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElasticSearch.cs index 4805ec9f..7be1556a 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElasticSearch.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElasticSearch.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsElasticSearch { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsElasticSearch public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElb.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElb.cs index 551ce5f5..202947f0 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsElb.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsElb { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEmr.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEmr.cs index 1d03dc47..32b7e8a9 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEmr.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsEmr.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsEmr { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly string? AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsEmr public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsIam.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsIam.cs index 1bff3fe0..e40d862c 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsIam.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsIam.cs @@ -25,9 +25,6 @@ public sealed class AwsGovcloudIntegrationsIam public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsLambda.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsLambda.cs index 464f2b3a..4bbcae9d 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsLambda.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsLambda.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsLambda { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsLambda public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRds.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRds.cs index f55c7b2f..a1181901 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRds.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRds.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsRds { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -35,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsRds public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRedShift.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRedShift.cs index f395b459..d8f4c90b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRedShift.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsRedShift.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsRedShift { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -31,9 +29,6 @@ public sealed class AwsGovcloudIntegrationsRedShift public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsS3.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsS3.cs index aa04e44c..b261e4c5 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsS3.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsS3.cs @@ -33,9 +33,6 @@ public sealed class AwsGovcloudIntegrationsS3 public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSns.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSns.cs index 166fdc98..2d7cf132 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSns.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSns.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsSns { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// diff --git a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSqs.cs b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSqs.cs index 677fe825..f19d7643 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSqs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsGovcloudIntegrationsSqs.cs @@ -15,8 +15,6 @@ public sealed class AwsGovcloudIntegrationsSqs { /// /// Specify each AWS region that includes the resources that you want to monitor. - /// * `direct connect` - /// * `aws states` /// public readonly ImmutableArray AwsRegions; /// @@ -43,9 +41,6 @@ public sealed class AwsGovcloudIntegrationsSqs public readonly string? TagKey; /// /// Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - /// * `api Gateway` - /// * `auto scaling` - /// * `elastic search` /// public readonly string? TagValue; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAlb.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAlb.cs index 3bf8d2d2..ba7905bf 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAlb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAlb.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAlb { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsApiGateway.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsApiGateway.cs index 377787d4..3fb03dd6 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsApiGateway.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsApiGateway.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsApiGateway { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAutoScaling.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAutoScaling.cs index 7f80b742..332ece72 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAutoScaling.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAutoScaling.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAutoScaling { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAppSync.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAppSync.cs index 9b8efce9..f7f08ca5 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAppSync.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAppSync.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsAppSync { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAthena.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAthena.cs index 72382bda..999965c1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAthena.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsAthena.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsAthena { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsCognito.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsCognito.cs index 2d3fc76a..3db1e2f6 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsCognito.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsCognito.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsCognito { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsConnect.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsConnect.cs index b677d789..365bfab8 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsConnect.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsConnect.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsConnect { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsDirectConnect.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsDirectConnect.cs index d5dc5e75..5d929077 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsDirectConnect.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsDirectConnect.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsDirectConnect { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsFsx.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsFsx.cs index 3c6ac61b..6bbe310b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsFsx.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsFsx.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsFsx { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsGlue.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsGlue.cs index 803c4bd9..61a026ec 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsGlue.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsGlue.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsGlue { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsKinesisAnalytics.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsKinesisAnalytics.cs index adcb2916..2d5b7523 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsKinesisAnalytics.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsKinesisAnalytics.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsKinesisAnalytics { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaConvert.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaConvert.cs index 3ac6dadb..82af8151 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaConvert.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaConvert.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsMediaConvert { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaPackageVod.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaPackageVod.cs index a76ff636..e69732a1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaPackageVod.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMediaPackageVod.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsMediaPackageVod { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMq.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMq.cs index 5afe6216..da427663 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMq.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMq.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsMq { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMsk.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMsk.cs index 9d50720f..63563b8f 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMsk.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsMsk.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsMsk { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsNeptune.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsNeptune.cs index 999b6023..fdd9fa9d 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsNeptune.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsNeptune.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsNeptune { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsQldb.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsQldb.cs index 90d962c2..56237508 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsQldb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsQldb.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsQldb { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsRoute53resolver.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsRoute53resolver.cs index 27e01e46..4ea2341b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsRoute53resolver.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsRoute53resolver.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsRoute53resolver { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsStates.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsStates.cs index 2559521c..1b5c5b7b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsStates.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsStates.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsStates { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsTransitGateway.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsTransitGateway.cs index ce7b0d55..eff72a54 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsTransitGateway.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsTransitGateway.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsTransitGateway { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWaf.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWaf.cs index 4c720065..60b5a618 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWaf.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWaf.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsWaf { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWafv2.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWafv2.cs index e6a6c05e..95038cfa 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWafv2.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsAwsWafv2.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsAwsWafv2 { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsCloudtrail.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsCloudtrail.cs index ff80b4ae..b788623e 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsCloudtrail.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsCloudtrail.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsCloudtrail { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDocDb.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDocDb.cs index cbd29aca..39bb4526 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDocDb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDocDb.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsDocDb { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDynamodb.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDynamodb.cs index b4ccf61e..952ce889 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDynamodb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsDynamodb.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsDynamodb { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEbs.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEbs.cs index b4274c9f..7d5b136c 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEbs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEbs.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsEbs { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEc2.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEc2.cs index 5d1fb009..26e6ec59 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEc2.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEc2.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsEc2 { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEcs.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEcs.cs index 31d90ab9..24a5c810 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEcs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEcs.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsEcs { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEfs.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEfs.cs index e0540a41..68f7ecef 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEfs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEfs.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsEfs { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticache.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticache.cs index 34aa9a08..23fabf8b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticache.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticache.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsElasticache { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticbeanstalk.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticbeanstalk.cs index 492fde79..79c19c6e 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticbeanstalk.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticbeanstalk.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsElasticbeanstalk { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticsearch.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticsearch.cs index 2e8897cc..e6432a7f 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticsearch.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElasticsearch.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsElasticsearch { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElb.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElb.cs index 609699ee..26727a0b 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElb.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsElb.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsElb { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEmr.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEmr.cs index 2cb8bc53..c7dd6d11 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEmr.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsEmr.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsEmr { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsIot.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsIot.cs index 0a6807c1..89190a86 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsIot.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsIot.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsIot { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesis.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesis.cs index 6af7eda6..70ea09a4 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesis.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesis.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsKinesis { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesisFirehose.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesisFirehose.cs index 27041547..42ef1dec 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesisFirehose.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsKinesisFirehose.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsKinesisFirehose { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsLambda.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsLambda.cs index 363b02ef..b10312ce 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsLambda.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsLambda.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsLambda { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRds.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRds.cs index 7a0b6e4c..81755bc1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRds.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRds.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsRds { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRedshift.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRedshift.cs index 2a6f33fb..c766643f 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRedshift.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsRedshift.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsRedshift { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSes.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSes.cs index f0957dad..e5a616a0 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSes.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSes.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsSes { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSns.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSns.cs index 76bae848..5e6041d1 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSns.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSns.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsSns { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSqs.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSqs.cs index 0ec1b471..4fbcb4c0 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSqs.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsSqs.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsSqs { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsVpc.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsVpc.cs index 2ab1ab19..b35a9df2 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsVpc.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsVpc.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsVpc { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsXRay.cs b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsXRay.cs index 1000fa3e..3f21fa13 100644 --- a/sdk/dotnet/Cloud/Outputs/AwsIntegrationsXRay.cs +++ b/sdk/dotnet/Cloud/Outputs/AwsIntegrationsXRay.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Cloud.Outputs public sealed class AwsIntegrationsXRay { /// - /// Specify each AWS region that includes the resources that you want to monitor. + /// Specify each AWS region that includes the resources that you want to monitor. /// </details> /// public readonly ImmutableArray AwsRegions; diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index a384debb..3e1e7939 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -8,7 +8,7 @@ namespace Pulumi.NewRelic { public static class Config { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Double underscore prefix used to avoid conflicts with variable names.")] private sealed class __Value { diff --git a/sdk/dotnet/Inputs/AlertChannelConfigArgs.cs b/sdk/dotnet/Inputs/AlertChannelConfigArgs.cs index 488ae201..0c93e998 100644 --- a/sdk/dotnet/Inputs/AlertChannelConfigArgs.cs +++ b/sdk/dotnet/Inputs/AlertChannelConfigArgs.cs @@ -181,7 +181,7 @@ public Input? PayloadString public Input? PayloadType { get; set; } /// - /// Comma delimited list of email addresses. + /// A set of recipients for targeting notifications. Multiple values are comma separated. /// [Input("recipients")] public Input? Recipients { get; set; } @@ -240,7 +240,7 @@ public Input? ServiceKey private Input? _url; /// - /// [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + /// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). /// public Input? Url { diff --git a/sdk/dotnet/Inputs/AlertChannelConfigGetArgs.cs b/sdk/dotnet/Inputs/AlertChannelConfigGetArgs.cs index 000c6b3d..c6772f24 100644 --- a/sdk/dotnet/Inputs/AlertChannelConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/AlertChannelConfigGetArgs.cs @@ -181,7 +181,7 @@ public Input? PayloadString public Input? PayloadType { get; set; } /// - /// Comma delimited list of email addresses. + /// A set of recipients for targeting notifications. Multiple values are comma separated. /// [Input("recipients")] public Input? Recipients { get; set; } @@ -240,7 +240,7 @@ public Input? ServiceKey private Input? _url; /// - /// [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + /// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). /// public Input? Url { diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsArgs.cs index ec386127..eec22d4a 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsBadEventsArgs : global::Pulumi.ResourceArg public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsGetArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsGetArgs.cs index c77e00cc..5100738f 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsBadEventsGetArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsBadEventsGetArgs : global::Pulumi.Resource public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsArgs.cs index 63dc966f..1770db13 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsGoodEventsArgs : global::Pulumi.ResourceAr public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsGetArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsGetArgs.cs index d9c5f867..a9efdf6e 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsGoodEventsGetArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsGoodEventsGetArgs : global::Pulumi.Resourc public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsArgs.cs index 379f4d87..964ce5c6 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsValidEventsArgs : global::Pulumi.ResourceA public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsGetArgs.cs b/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsGetArgs.cs index 618f8984..79b817d3 100644 --- a/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceLevelEventsValidEventsGetArgs.cs @@ -25,8 +25,7 @@ public sealed class ServiceLevelEventsValidEventsGetArgs : global::Pulumi.Resour public Input? Select { get; set; } /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// [Input("where")] diff --git a/sdk/dotnet/Inputs/WorkflowIssuesFilterArgs.cs b/sdk/dotnet/Inputs/WorkflowIssuesFilterArgs.cs index 2f7f23a9..38c9904b 100644 --- a/sdk/dotnet/Inputs/WorkflowIssuesFilterArgs.cs +++ b/sdk/dotnet/Inputs/WorkflowIssuesFilterArgs.cs @@ -15,9 +15,6 @@ public sealed class WorkflowIssuesFilterArgs : global::Pulumi.ResourceArgs [Input("filterId")] public Input? FilterId { get; set; } - /// - /// The name of the workflow. - /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/WorkflowIssuesFilterGetArgs.cs b/sdk/dotnet/Inputs/WorkflowIssuesFilterGetArgs.cs index b73c2ecc..dcec6d78 100644 --- a/sdk/dotnet/Inputs/WorkflowIssuesFilterGetArgs.cs +++ b/sdk/dotnet/Inputs/WorkflowIssuesFilterGetArgs.cs @@ -15,9 +15,6 @@ public sealed class WorkflowIssuesFilterGetArgs : global::Pulumi.ResourceArgs [Input("filterId")] public Input? FilterId { get; set; } - /// - /// The name of the workflow. - /// [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/NrqlAlertCondition.cs b/sdk/dotnet/NrqlAlertCondition.cs index cd7754ff..bb2502b8 100644 --- a/sdk/dotnet/NrqlAlertCondition.cs +++ b/sdk/dotnet/NrqlAlertCondition.cs @@ -41,6 +41,10 @@ namespace Pulumi.NewRelic /// - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). /// - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. /// + /// > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified. + /// + /// > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `time_function` or `threshold_occurrences` (one of the two) is mandatory. Both of these should not be specified. + /// /// ## Additional Examples /// /// ##### Type: `baseline` @@ -219,7 +223,7 @@ public partial class NrqlAlertCondition : global::Pulumi.CustomResource public Output AggregationTimer { get; private set; } = null!; /// - /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. /// [Output("aggregationWindow")] public Output AggregationWindow { get; private set; } = null!; @@ -423,7 +427,7 @@ public sealed class NrqlAlertConditionArgs : global::Pulumi.ResourceArgs public Input? AggregationTimer { get; set; } /// - /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. /// [Input("aggregationWindow")] public Input? AggregationWindow { get; set; } @@ -590,7 +594,7 @@ public sealed class NrqlAlertConditionState : global::Pulumi.ResourceArgs public Input? AggregationTimer { get; set; } /// - /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + /// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. /// [Input("aggregationWindow")] public Input? AggregationWindow { get; set; } diff --git a/sdk/dotnet/Outputs/AlertChannelConfig.cs b/sdk/dotnet/Outputs/AlertChannelConfig.cs index 71876f39..207559cb 100644 --- a/sdk/dotnet/Outputs/AlertChannelConfig.cs +++ b/sdk/dotnet/Outputs/AlertChannelConfig.cs @@ -66,7 +66,7 @@ public sealed class AlertChannelConfig /// public readonly string? PayloadType; /// - /// Comma delimited list of email addresses. + /// A set of recipients for targeting notifications. Multiple values are comma separated. /// public readonly string? Recipients; /// @@ -90,7 +90,7 @@ public sealed class AlertChannelConfig /// public readonly string? Teams; /// - /// [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + /// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). /// public readonly string? Url; public readonly string? UserId; diff --git a/sdk/dotnet/Outputs/ServiceLevelEventsBadEvents.cs b/sdk/dotnet/Outputs/ServiceLevelEventsBadEvents.cs index 3c8edcce..f4969450 100644 --- a/sdk/dotnet/Outputs/ServiceLevelEventsBadEvents.cs +++ b/sdk/dotnet/Outputs/ServiceLevelEventsBadEvents.cs @@ -22,8 +22,7 @@ public sealed class ServiceLevelEventsBadEvents /// public readonly Outputs.ServiceLevelEventsBadEventsSelect? Select; /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// public readonly string? Where; diff --git a/sdk/dotnet/Outputs/ServiceLevelEventsGoodEvents.cs b/sdk/dotnet/Outputs/ServiceLevelEventsGoodEvents.cs index b7785a1e..a9547fd1 100644 --- a/sdk/dotnet/Outputs/ServiceLevelEventsGoodEvents.cs +++ b/sdk/dotnet/Outputs/ServiceLevelEventsGoodEvents.cs @@ -22,8 +22,7 @@ public sealed class ServiceLevelEventsGoodEvents /// public readonly Outputs.ServiceLevelEventsGoodEventsSelect? Select; /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// public readonly string? Where; diff --git a/sdk/dotnet/Outputs/ServiceLevelEventsValidEvents.cs b/sdk/dotnet/Outputs/ServiceLevelEventsValidEvents.cs index 13c84110..c3a22f64 100644 --- a/sdk/dotnet/Outputs/ServiceLevelEventsValidEvents.cs +++ b/sdk/dotnet/Outputs/ServiceLevelEventsValidEvents.cs @@ -22,8 +22,7 @@ public sealed class ServiceLevelEventsValidEvents /// public readonly Outputs.ServiceLevelEventsValidEventsSelect? Select; /// - /// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - /// a particular entity and were successful). + /// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to /// a particular entity and returned an error). /// public readonly string? Where; diff --git a/sdk/dotnet/Outputs/WorkflowIssuesFilter.cs b/sdk/dotnet/Outputs/WorkflowIssuesFilter.cs index 99b7179f..5bc7587b 100644 --- a/sdk/dotnet/Outputs/WorkflowIssuesFilter.cs +++ b/sdk/dotnet/Outputs/WorkflowIssuesFilter.cs @@ -14,9 +14,6 @@ namespace Pulumi.NewRelic.Outputs public sealed class WorkflowIssuesFilter { public readonly string? FilterId; - /// - /// The name of the workflow. - /// public readonly string Name; /// /// A condition an issue event should satisfy to be processed by the workflow diff --git a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticArgs.cs b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticArgs.cs index e54b423b..dda7746f 100644 --- a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticArgs.cs +++ b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.NewRelic.Plugins.Inputs public sealed class WorkloadStatusConfigAutomaticArgs : global::Pulumi.ResourceArgs { /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// [Input("enabled", required: true)] public Input Enabled { get; set; } = null!; diff --git a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticGetArgs.cs b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticGetArgs.cs index 478958ca..6d1cdabb 100644 --- a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticGetArgs.cs +++ b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigAutomaticGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.NewRelic.Plugins.Inputs public sealed class WorkloadStatusConfigAutomaticGetArgs : global::Pulumi.ResourceArgs { /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// [Input("enabled", required: true)] public Input Enabled { get; set; } = null!; diff --git a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticArgs.cs b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticArgs.cs index e3f33149..ce0a8ad8 100644 --- a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticArgs.cs +++ b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticArgs.cs @@ -19,7 +19,7 @@ public sealed class WorkloadStatusConfigStaticArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// [Input("enabled", required: true)] public Input Enabled { get; set; } = null!; diff --git a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticGetArgs.cs b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticGetArgs.cs index 7f425fcc..d6adef15 100644 --- a/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticGetArgs.cs +++ b/sdk/dotnet/Plugins/Inputs/WorkloadStatusConfigStaticGetArgs.cs @@ -19,7 +19,7 @@ public sealed class WorkloadStatusConfigStaticGetArgs : global::Pulumi.ResourceA public Input? Description { get; set; } /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// [Input("enabled", required: true)] public Input Enabled { get; set; } = null!; diff --git a/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigAutomatic.cs b/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigAutomatic.cs index bde690d9..68330460 100644 --- a/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigAutomatic.cs +++ b/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigAutomatic.cs @@ -14,7 +14,7 @@ namespace Pulumi.NewRelic.Plugins.Outputs public sealed class WorkloadStatusConfigAutomatic { /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// public readonly bool Enabled; /// diff --git a/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigStatic.cs b/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigStatic.cs index a372fa82..e3b333f8 100644 --- a/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigStatic.cs +++ b/sdk/dotnet/Plugins/Outputs/WorkloadStatusConfigStatic.cs @@ -18,7 +18,7 @@ public sealed class WorkloadStatusConfigStatic /// public readonly string? Description; /// - /// Whether the automatic status configuration is enabled or not. + /// Whether the static status configuration is enabled or not. /// public readonly bool Enabled; /// diff --git a/sdk/dotnet/Synthetics/BrokenLinksMonitor.cs b/sdk/dotnet/Synthetics/BrokenLinksMonitor.cs index ec2e180c..61327cef 100644 --- a/sdk/dotnet/Synthetics/BrokenLinksMonitor.cs +++ b/sdk/dotnet/Synthetics/BrokenLinksMonitor.cs @@ -148,7 +148,9 @@ public partial class BrokenLinksMonitor : global::Pulumi.CustomResource public Output PeriodInMinutes { get; private set; } = null!; /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Output("status")] public Output Status { get; private set; } = null!; @@ -254,7 +256,9 @@ public InputList LocationsPublics public Input Period { get; set; } = null!; /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status", required: true)] public Input Status { get; set; } = null!; @@ -340,7 +344,9 @@ public InputList LocationsPublics public Input? PeriodInMinutes { get; set; } /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status")] public Input? Status { get; set; } diff --git a/sdk/dotnet/Synthetics/CertCheckMonitor.cs b/sdk/dotnet/Synthetics/CertCheckMonitor.cs index 43b53035..a32d0378 100644 --- a/sdk/dotnet/Synthetics/CertCheckMonitor.cs +++ b/sdk/dotnet/Synthetics/CertCheckMonitor.cs @@ -155,7 +155,9 @@ public partial class CertCheckMonitor : global::Pulumi.CustomResource public Output PeriodInMinutes { get; private set; } = null!; /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Output("status")] public Output Status { get; private set; } = null!; @@ -267,7 +269,9 @@ public InputList LocationsPublics public Input Period { get; set; } = null!; /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status", required: true)] public Input Status { get; set; } = null!; @@ -353,7 +357,9 @@ public InputList LocationsPublics public Input? PeriodInMinutes { get; set; } /// - /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status")] public Input? Status { get; set; } diff --git a/sdk/dotnet/Synthetics/GetPrivateLocation.cs b/sdk/dotnet/Synthetics/GetPrivateLocation.cs index f8170455..ae41a6f9 100644 --- a/sdk/dotnet/Synthetics/GetPrivateLocation.cs +++ b/sdk/dotnet/Synthetics/GetPrivateLocation.cs @@ -36,7 +36,7 @@ public static class GetPrivateLocation /// { /// LocationsPrivates = new[] /// { - /// data.Newrelic_synthetics_monitor_location.Example.Id, + /// example.Apply(getPrivateLocationResult => getPrivateLocationResult.Id), /// }, /// }); /// @@ -101,7 +101,7 @@ public static Task InvokeAsync(GetPrivateLocationArgs /// { /// LocationsPrivates = new[] /// { - /// data.Newrelic_synthetics_monitor_location.Example.Id, + /// example.Apply(getPrivateLocationResult => getPrivateLocationResult.Id), /// }, /// }); /// diff --git a/sdk/dotnet/Synthetics/Monitor.cs b/sdk/dotnet/Synthetics/Monitor.cs index 5c403e29..1f0d1f65 100644 --- a/sdk/dotnet/Synthetics/Monitor.cs +++ b/sdk/dotnet/Synthetics/Monitor.cs @@ -321,7 +321,9 @@ public partial class Monitor : global::Pulumi.CustomResource public Output ScriptLanguage { get; private set; } = null!; /// - /// The run state of the monitor. + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Output("status")] public Output Status { get; private set; } = null!; @@ -509,7 +511,9 @@ public InputList LocationsPublics public Input? ScriptLanguage { get; set; } /// - /// The run state of the monitor. + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status", required: true)] public Input Status { get; set; } = null!; @@ -671,7 +675,9 @@ public InputList LocationsPublics public Input? ScriptLanguage { get; set; } /// - /// The run state of the monitor. + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status")] public Input? Status { get; set; } diff --git a/sdk/dotnet/Synthetics/ScriptMonitor.cs b/sdk/dotnet/Synthetics/ScriptMonitor.cs index 247130d5..0ac60bba 100644 --- a/sdk/dotnet/Synthetics/ScriptMonitor.cs +++ b/sdk/dotnet/Synthetics/ScriptMonitor.cs @@ -296,7 +296,9 @@ public partial class ScriptMonitor : global::Pulumi.CustomResource public Output ScriptLanguage { get; private set; } = null!; /// - /// The run state of the monitor: `ENABLED` or `DISABLED` + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Output("status")] public Output Status { get; private set; } = null!; @@ -446,7 +448,9 @@ public InputList LocationsPublics public Input? ScriptLanguage { get; set; } /// - /// The run state of the monitor: `ENABLED` or `DISABLED` + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status", required: true)] public Input Status { get; set; } = null!; @@ -576,7 +580,9 @@ public InputList LocationsPublics public Input? ScriptLanguage { get; set; } /// - /// The run state of the monitor: `ENABLED` or `DISABLED` + /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status")] public Input? Status { get; set; } diff --git a/sdk/dotnet/Synthetics/StepMonitor.cs b/sdk/dotnet/Synthetics/StepMonitor.cs index 8cc8f193..013d44d5 100644 --- a/sdk/dotnet/Synthetics/StepMonitor.cs +++ b/sdk/dotnet/Synthetics/StepMonitor.cs @@ -123,6 +123,8 @@ public partial class StepMonitor : global::Pulumi.CustomResource /// /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Output("status")] public Output Status { get; private set; } = null!; @@ -235,6 +237,8 @@ public InputList LocationsPublics /// /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status", required: true)] public Input Status { get; set; } = null!; @@ -333,6 +337,8 @@ public InputList LocationsPublics /// /// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + /// + /// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. /// [Input("status")] public Input? Status { get; set; } diff --git a/sdk/go.mod b/sdk/go.mod index 21e28177..19d80c9d 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.81.0 + github.com/pulumi/pulumi/sdk/v3 v3.86.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 56907d59..3b27b671 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -143,8 +143,8 @@ 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.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +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/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= diff --git a/sdk/go/newrelic/cloud/awsLinkAccount.go b/sdk/go/newrelic/cloud/awsLinkAccount.go index a20d0cb1..52f6e38d 100644 --- a/sdk/go/newrelic/cloud/awsLinkAccount.go +++ b/sdk/go/newrelic/cloud/awsLinkAccount.go @@ -70,7 +70,7 @@ type AwsLinkAccount struct { Arn pulumi.StringOutput `pulumi:"arn"` // How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. MetricCollectionMode pulumi.StringPtrOutput `pulumi:"metricCollectionMode"` - // The linked account name + // The name of the linked account. Name pulumi.StringOutput `pulumi:"name"` } @@ -113,7 +113,7 @@ type awsLinkAccountState struct { Arn *string `pulumi:"arn"` // How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. MetricCollectionMode *string `pulumi:"metricCollectionMode"` - // The linked account name + // The name of the linked account. Name *string `pulumi:"name"` } @@ -124,7 +124,7 @@ type AwsLinkAccountState struct { Arn pulumi.StringPtrInput // How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. MetricCollectionMode pulumi.StringPtrInput - // The linked account name + // The name of the linked account. Name pulumi.StringPtrInput } @@ -139,7 +139,7 @@ type awsLinkAccountArgs struct { Arn string `pulumi:"arn"` // How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. MetricCollectionMode *string `pulumi:"metricCollectionMode"` - // The linked account name + // The name of the linked account. Name *string `pulumi:"name"` } @@ -151,7 +151,7 @@ type AwsLinkAccountArgs struct { Arn pulumi.StringInput // How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. MetricCollectionMode pulumi.StringPtrInput - // The linked account name + // The name of the linked account. Name pulumi.StringPtrInput } @@ -281,7 +281,7 @@ func (o AwsLinkAccountOutput) MetricCollectionMode() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsLinkAccount) pulumi.StringPtrOutput { return v.MetricCollectionMode }).(pulumi.StringPtrOutput) } -// The linked account name +// The name of the linked account. func (o AwsLinkAccountOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *AwsLinkAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/cloud/azureLinkAccount.go b/sdk/go/newrelic/cloud/azureLinkAccount.go index b0117c78..b0097854 100644 --- a/sdk/go/newrelic/cloud/azureLinkAccount.go +++ b/sdk/go/newrelic/cloud/azureLinkAccount.go @@ -73,7 +73,7 @@ type AzureLinkAccount struct { ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Secret Value of the client. ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` - // The name of the application in New Relic APM. + // Name of the linked account Name pulumi.StringOutput `pulumi:"name"` // Subscription ID of the Azure cloud account. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` @@ -136,7 +136,7 @@ type azureLinkAccountState struct { ApplicationId *string `pulumi:"applicationId"` // Secret Value of the client. ClientSecret *string `pulumi:"clientSecret"` - // The name of the application in New Relic APM. + // Name of the linked account Name *string `pulumi:"name"` // Subscription ID of the Azure cloud account. SubscriptionId *string `pulumi:"subscriptionId"` @@ -151,7 +151,7 @@ type AzureLinkAccountState struct { ApplicationId pulumi.StringPtrInput // Secret Value of the client. ClientSecret pulumi.StringPtrInput - // The name of the application in New Relic APM. + // Name of the linked account Name pulumi.StringPtrInput // Subscription ID of the Azure cloud account. SubscriptionId pulumi.StringPtrInput @@ -170,7 +170,7 @@ type azureLinkAccountArgs struct { ApplicationId string `pulumi:"applicationId"` // Secret Value of the client. ClientSecret string `pulumi:"clientSecret"` - // The name of the application in New Relic APM. + // Name of the linked account Name *string `pulumi:"name"` // Subscription ID of the Azure cloud account. SubscriptionId string `pulumi:"subscriptionId"` @@ -186,7 +186,7 @@ type AzureLinkAccountArgs struct { ApplicationId pulumi.StringInput // Secret Value of the client. ClientSecret pulumi.StringInput - // The name of the application in New Relic APM. + // Name of the linked account Name pulumi.StringPtrInput // Subscription ID of the Azure cloud account. SubscriptionId pulumi.StringInput @@ -320,7 +320,7 @@ func (o AzureLinkAccountOutput) ClientSecret() pulumi.StringOutput { return o.ApplyT(func(v *AzureLinkAccount) pulumi.StringOutput { return v.ClientSecret }).(pulumi.StringOutput) } -// The name of the application in New Relic APM. +// Name of the linked account func (o AzureLinkAccountOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *AzureLinkAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/cloud/gcpLinkAccount.go b/sdk/go/newrelic/cloud/gcpLinkAccount.go index 384faea4..e55cfc68 100644 --- a/sdk/go/newrelic/cloud/gcpLinkAccount.go +++ b/sdk/go/newrelic/cloud/gcpLinkAccount.go @@ -70,7 +70,7 @@ type GcpLinkAccount struct { // Account ID of the New Relic account. AccountId pulumi.IntOutput `pulumi:"accountId"` - // The name of the GCP account in New Relic. + // name of the linked account Name pulumi.StringOutput `pulumi:"name"` // Project ID of the GCP account. ProjectId pulumi.StringOutput `pulumi:"projectId"` @@ -111,7 +111,7 @@ func GetGcpLinkAccount(ctx *pulumi.Context, type gcpLinkAccountState struct { // Account ID of the New Relic account. AccountId *int `pulumi:"accountId"` - // The name of the GCP account in New Relic. + // name of the linked account Name *string `pulumi:"name"` // Project ID of the GCP account. ProjectId *string `pulumi:"projectId"` @@ -120,7 +120,7 @@ type gcpLinkAccountState struct { type GcpLinkAccountState struct { // Account ID of the New Relic account. AccountId pulumi.IntPtrInput - // The name of the GCP account in New Relic. + // name of the linked account Name pulumi.StringPtrInput // Project ID of the GCP account. ProjectId pulumi.StringPtrInput @@ -133,7 +133,7 @@ func (GcpLinkAccountState) ElementType() reflect.Type { type gcpLinkAccountArgs struct { // Account ID of the New Relic account. AccountId *int `pulumi:"accountId"` - // The name of the GCP account in New Relic. + // name of the linked account Name *string `pulumi:"name"` // Project ID of the GCP account. ProjectId string `pulumi:"projectId"` @@ -143,7 +143,7 @@ type gcpLinkAccountArgs struct { type GcpLinkAccountArgs struct { // Account ID of the New Relic account. AccountId pulumi.IntPtrInput - // The name of the GCP account in New Relic. + // name of the linked account Name pulumi.StringPtrInput // Project ID of the GCP account. ProjectId pulumi.StringInput @@ -265,7 +265,7 @@ func (o GcpLinkAccountOutput) AccountId() pulumi.IntOutput { return o.ApplyT(func(v *GcpLinkAccount) pulumi.IntOutput { return v.AccountId }).(pulumi.IntOutput) } -// The name of the GCP account in New Relic. +// name of the linked account func (o GcpLinkAccountOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *GcpLinkAccount) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/cloud/pulumiTypes.go b/sdk/go/newrelic/cloud/pulumiTypes.go index 7ce433db..83c67f2a 100644 --- a/sdk/go/newrelic/cloud/pulumiTypes.go +++ b/sdk/go/newrelic/cloud/pulumiTypes.go @@ -16,8 +16,6 @@ var _ = internal.GetEnvOrDefault type AwsGovcloudIntegrationsAlb struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -32,9 +30,6 @@ type AwsGovcloudIntegrationsAlb struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -51,8 +46,6 @@ type AwsGovcloudIntegrationsAlbInput interface { type AwsGovcloudIntegrationsAlbArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -67,9 +60,6 @@ type AwsGovcloudIntegrationsAlbArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -169,8 +159,6 @@ func (o AwsGovcloudIntegrationsAlbOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAlbOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsAlb) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -203,9 +191,6 @@ func (o AwsGovcloudIntegrationsAlbOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsAlbOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsAlb) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -241,8 +226,6 @@ func (o AwsGovcloudIntegrationsAlbPtrOutput) Elem() AwsGovcloudIntegrationsAlbOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAlbPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsAlb) []string { if v == nil { @@ -305,9 +288,6 @@ func (o AwsGovcloudIntegrationsAlbPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsAlbPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsAlb) *string { if v == nil { @@ -319,8 +299,6 @@ func (o AwsGovcloudIntegrationsAlbPtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsApiGateway struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -331,9 +309,6 @@ type AwsGovcloudIntegrationsApiGateway struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -350,8 +325,6 @@ type AwsGovcloudIntegrationsApiGatewayInput interface { type AwsGovcloudIntegrationsApiGatewayArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -362,9 +335,6 @@ type AwsGovcloudIntegrationsApiGatewayArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -464,8 +434,6 @@ func (o AwsGovcloudIntegrationsApiGatewayOutput) ToOutput(ctx context.Context) p } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsApiGatewayOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsApiGateway) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -488,9 +456,6 @@ func (o AwsGovcloudIntegrationsApiGatewayOutput) TagKey() pulumi.StringPtrOutput } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsApiGatewayOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsApiGateway) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -526,8 +491,6 @@ func (o AwsGovcloudIntegrationsApiGatewayPtrOutput) Elem() AwsGovcloudIntegratio } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsApiGatewayPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsApiGateway) []string { if v == nil { @@ -570,9 +533,6 @@ func (o AwsGovcloudIntegrationsApiGatewayPtrOutput) TagKey() pulumi.StringPtrOut } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsApiGatewayPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsApiGateway) *string { if v == nil { @@ -584,8 +544,6 @@ func (o AwsGovcloudIntegrationsApiGatewayPtrOutput) TagValue() pulumi.StringPtrO type AwsGovcloudIntegrationsAutoScaling struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -606,8 +564,6 @@ type AwsGovcloudIntegrationsAutoScalingInput interface { type AwsGovcloudIntegrationsAutoScalingArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -711,8 +667,6 @@ func (o AwsGovcloudIntegrationsAutoScalingOutput) ToOutput(ctx context.Context) } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAutoScalingOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsAutoScaling) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -755,8 +709,6 @@ func (o AwsGovcloudIntegrationsAutoScalingPtrOutput) Elem() AwsGovcloudIntegrati } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAutoScalingPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsAutoScaling) []string { if v == nil { @@ -780,8 +732,6 @@ func (o AwsGovcloudIntegrationsAutoScalingPtrOutput) MetricsPollingInterval() pu type AwsGovcloudIntegrationsAwsDirectConnect struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -802,8 +752,6 @@ type AwsGovcloudIntegrationsAwsDirectConnectInput interface { type AwsGovcloudIntegrationsAwsDirectConnectArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -907,8 +855,6 @@ func (o AwsGovcloudIntegrationsAwsDirectConnectOutput) ToOutput(ctx context.Cont } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAwsDirectConnectOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsAwsDirectConnect) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -951,8 +897,6 @@ func (o AwsGovcloudIntegrationsAwsDirectConnectPtrOutput) Elem() AwsGovcloudInte } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAwsDirectConnectPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsAwsDirectConnect) []string { if v == nil { @@ -976,8 +920,6 @@ func (o AwsGovcloudIntegrationsAwsDirectConnectPtrOutput) MetricsPollingInterval type AwsGovcloudIntegrationsAwsStates struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -998,8 +940,6 @@ type AwsGovcloudIntegrationsAwsStatesInput interface { type AwsGovcloudIntegrationsAwsStatesArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -1103,8 +1043,6 @@ func (o AwsGovcloudIntegrationsAwsStatesOutput) ToOutput(ctx context.Context) pu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAwsStatesOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsAwsStates) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -1147,8 +1085,6 @@ func (o AwsGovcloudIntegrationsAwsStatesPtrOutput) Elem() AwsGovcloudIntegration } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsAwsStatesPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsAwsStates) []string { if v == nil { @@ -1172,8 +1108,6 @@ func (o AwsGovcloudIntegrationsAwsStatesPtrOutput) MetricsPollingInterval() pulu type AwsGovcloudIntegrationsCloudtrail struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -1194,8 +1128,6 @@ type AwsGovcloudIntegrationsCloudtrailInput interface { type AwsGovcloudIntegrationsCloudtrailArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -1299,8 +1231,6 @@ func (o AwsGovcloudIntegrationsCloudtrailOutput) ToOutput(ctx context.Context) p } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsCloudtrailOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsCloudtrail) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -1343,8 +1273,6 @@ func (o AwsGovcloudIntegrationsCloudtrailPtrOutput) Elem() AwsGovcloudIntegratio } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsCloudtrailPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsCloudtrail) []string { if v == nil { @@ -1368,8 +1296,6 @@ func (o AwsGovcloudIntegrationsCloudtrailPtrOutput) MetricsPollingInterval() pul type AwsGovcloudIntegrationsDynamoDb struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -1382,9 +1308,6 @@ type AwsGovcloudIntegrationsDynamoDb struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -1401,8 +1324,6 @@ type AwsGovcloudIntegrationsDynamoDbInput interface { type AwsGovcloudIntegrationsDynamoDbArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -1415,9 +1336,6 @@ type AwsGovcloudIntegrationsDynamoDbArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -1517,8 +1435,6 @@ func (o AwsGovcloudIntegrationsDynamoDbOutput) ToOutput(ctx context.Context) pul } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsDynamoDbOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsDynamoDb) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -1546,9 +1462,6 @@ func (o AwsGovcloudIntegrationsDynamoDbOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsDynamoDbOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsDynamoDb) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -1584,8 +1497,6 @@ func (o AwsGovcloudIntegrationsDynamoDbPtrOutput) Elem() AwsGovcloudIntegrations } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsDynamoDbPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsDynamoDb) []string { if v == nil { @@ -1638,9 +1549,6 @@ func (o AwsGovcloudIntegrationsDynamoDbPtrOutput) TagKey() pulumi.StringPtrOutpu } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsDynamoDbPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsDynamoDb) *string { if v == nil { @@ -1652,8 +1560,6 @@ func (o AwsGovcloudIntegrationsDynamoDbPtrOutput) TagValue() pulumi.StringPtrOut type AwsGovcloudIntegrationsEbs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -1664,9 +1570,6 @@ type AwsGovcloudIntegrationsEbs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -1683,8 +1586,6 @@ type AwsGovcloudIntegrationsEbsInput interface { type AwsGovcloudIntegrationsEbsArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -1695,9 +1596,6 @@ type AwsGovcloudIntegrationsEbsArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -1797,8 +1695,6 @@ func (o AwsGovcloudIntegrationsEbsOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEbsOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEbs) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -1821,9 +1717,6 @@ func (o AwsGovcloudIntegrationsEbsOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEbsOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEbs) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -1859,8 +1752,6 @@ func (o AwsGovcloudIntegrationsEbsPtrOutput) Elem() AwsGovcloudIntegrationsEbsOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEbsPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEbs) []string { if v == nil { @@ -1903,9 +1794,6 @@ func (o AwsGovcloudIntegrationsEbsPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEbsPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEbs) *string { if v == nil { @@ -1917,8 +1805,6 @@ func (o AwsGovcloudIntegrationsEbsPtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsEc2 struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Specify if IP addresses of ec2 instance should be collected FetchIpAddresses *bool `pulumi:"fetchIpAddresses"` @@ -1929,9 +1815,6 @@ type AwsGovcloudIntegrationsEc2 struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -1948,8 +1831,6 @@ type AwsGovcloudIntegrationsEc2Input interface { type AwsGovcloudIntegrationsEc2Args struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Specify if IP addresses of ec2 instance should be collected FetchIpAddresses pulumi.BoolPtrInput `pulumi:"fetchIpAddresses"` @@ -1960,9 +1841,6 @@ type AwsGovcloudIntegrationsEc2Args struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -2062,8 +1940,6 @@ func (o AwsGovcloudIntegrationsEc2Output) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEc2Output) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEc2) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -2086,9 +1962,6 @@ func (o AwsGovcloudIntegrationsEc2Output) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEc2Output) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEc2) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -2124,8 +1997,6 @@ func (o AwsGovcloudIntegrationsEc2PtrOutput) Elem() AwsGovcloudIntegrationsEc2Ou } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEc2PtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEc2) []string { if v == nil { @@ -2168,9 +2039,6 @@ func (o AwsGovcloudIntegrationsEc2PtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEc2PtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEc2) *string { if v == nil { @@ -2182,8 +2050,6 @@ func (o AwsGovcloudIntegrationsEc2PtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsElasticSearch struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. FetchNodes *bool `pulumi:"fetchNodes"` @@ -2194,9 +2060,6 @@ type AwsGovcloudIntegrationsElasticSearch struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -2213,8 +2076,6 @@ type AwsGovcloudIntegrationsElasticSearchInput interface { type AwsGovcloudIntegrationsElasticSearchArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. FetchNodes pulumi.BoolPtrInput `pulumi:"fetchNodes"` @@ -2225,9 +2086,6 @@ type AwsGovcloudIntegrationsElasticSearchArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -2327,8 +2185,6 @@ func (o AwsGovcloudIntegrationsElasticSearchOutput) ToOutput(ctx context.Context } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsElasticSearchOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsElasticSearch) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -2351,9 +2207,6 @@ func (o AwsGovcloudIntegrationsElasticSearchOutput) TagKey() pulumi.StringPtrOut } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsElasticSearchOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsElasticSearch) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -2389,8 +2242,6 @@ func (o AwsGovcloudIntegrationsElasticSearchPtrOutput) Elem() AwsGovcloudIntegra } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsElasticSearchPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsElasticSearch) []string { if v == nil { @@ -2433,9 +2284,6 @@ func (o AwsGovcloudIntegrationsElasticSearchPtrOutput) TagKey() pulumi.StringPtr } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsElasticSearchPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsElasticSearch) *string { if v == nil { @@ -2447,8 +2295,6 @@ func (o AwsGovcloudIntegrationsElasticSearchPtrOutput) TagValue() pulumi.StringP type AwsGovcloudIntegrationsElb struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -2473,8 +2319,6 @@ type AwsGovcloudIntegrationsElbInput interface { type AwsGovcloudIntegrationsElbArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -2582,8 +2426,6 @@ func (o AwsGovcloudIntegrationsElbOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsElbOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsElb) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -2636,8 +2478,6 @@ func (o AwsGovcloudIntegrationsElbPtrOutput) Elem() AwsGovcloudIntegrationsElbOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsElbPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsElb) []string { if v == nil { @@ -2681,8 +2521,6 @@ func (o AwsGovcloudIntegrationsElbPtrOutput) MetricsPollingInterval() pulumi.Int type AwsGovcloudIntegrationsEmr struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions *string `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags *bool `pulumi:"fetchTags"` @@ -2693,9 +2531,6 @@ type AwsGovcloudIntegrationsEmr struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -2712,8 +2547,6 @@ type AwsGovcloudIntegrationsEmrInput interface { type AwsGovcloudIntegrationsEmrArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringPtrInput `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags pulumi.BoolPtrInput `pulumi:"fetchTags"` @@ -2724,9 +2557,6 @@ type AwsGovcloudIntegrationsEmrArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -2826,8 +2656,6 @@ func (o AwsGovcloudIntegrationsEmrOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEmrOutput) AwsRegions() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEmr) *string { return v.AwsRegions }).(pulumi.StringPtrOutput) } @@ -2850,9 +2678,6 @@ func (o AwsGovcloudIntegrationsEmrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEmrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsEmr) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -2888,8 +2713,6 @@ func (o AwsGovcloudIntegrationsEmrPtrOutput) Elem() AwsGovcloudIntegrationsEmrOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsEmrPtrOutput) AwsRegions() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEmr) *string { if v == nil { @@ -2932,9 +2755,6 @@ func (o AwsGovcloudIntegrationsEmrPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsEmrPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsEmr) *string { if v == nil { @@ -2952,9 +2772,6 @@ type AwsGovcloudIntegrationsIam struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -2977,9 +2794,6 @@ type AwsGovcloudIntegrationsIamArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -3091,9 +2905,6 @@ func (o AwsGovcloudIntegrationsIamOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsIamOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsIam) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -3151,9 +2962,6 @@ func (o AwsGovcloudIntegrationsIamPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsIamPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsIam) *string { if v == nil { @@ -3165,8 +2973,6 @@ func (o AwsGovcloudIntegrationsIamPtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsLambda struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags *bool `pulumi:"fetchTags"` @@ -3177,9 +2983,6 @@ type AwsGovcloudIntegrationsLambda struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -3196,8 +2999,6 @@ type AwsGovcloudIntegrationsLambdaInput interface { type AwsGovcloudIntegrationsLambdaArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags pulumi.BoolPtrInput `pulumi:"fetchTags"` @@ -3208,9 +3009,6 @@ type AwsGovcloudIntegrationsLambdaArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -3310,8 +3108,6 @@ func (o AwsGovcloudIntegrationsLambdaOutput) ToOutput(ctx context.Context) pulum } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsLambdaOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsLambda) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -3334,9 +3130,6 @@ func (o AwsGovcloudIntegrationsLambdaOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsLambdaOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsLambda) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -3372,8 +3165,6 @@ func (o AwsGovcloudIntegrationsLambdaPtrOutput) Elem() AwsGovcloudIntegrationsLa } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsLambdaPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsLambda) []string { if v == nil { @@ -3416,9 +3207,6 @@ func (o AwsGovcloudIntegrationsLambdaPtrOutput) TagKey() pulumi.StringPtrOutput } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsLambdaPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsLambda) *string { if v == nil { @@ -3430,8 +3218,6 @@ func (o AwsGovcloudIntegrationsLambdaPtrOutput) TagValue() pulumi.StringPtrOutpu type AwsGovcloudIntegrationsRds struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags *bool `pulumi:"fetchTags"` @@ -3442,9 +3228,6 @@ type AwsGovcloudIntegrationsRds struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -3461,8 +3244,6 @@ type AwsGovcloudIntegrationsRdsInput interface { type AwsGovcloudIntegrationsRdsArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchTags pulumi.BoolPtrInput `pulumi:"fetchTags"` @@ -3473,9 +3254,6 @@ type AwsGovcloudIntegrationsRdsArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -3575,8 +3353,6 @@ func (o AwsGovcloudIntegrationsRdsOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsRdsOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsRds) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -3599,9 +3375,6 @@ func (o AwsGovcloudIntegrationsRdsOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsRdsOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsRds) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -3637,8 +3410,6 @@ func (o AwsGovcloudIntegrationsRdsPtrOutput) Elem() AwsGovcloudIntegrationsRdsOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsRdsPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsRds) []string { if v == nil { @@ -3681,9 +3452,6 @@ func (o AwsGovcloudIntegrationsRdsPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsRdsPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsRds) *string { if v == nil { @@ -3695,8 +3463,6 @@ func (o AwsGovcloudIntegrationsRdsPtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsRedShift struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -3705,9 +3471,6 @@ type AwsGovcloudIntegrationsRedShift struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -3724,8 +3487,6 @@ type AwsGovcloudIntegrationsRedShiftInput interface { type AwsGovcloudIntegrationsRedShiftArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // The data polling interval in seconds. // @@ -3734,9 +3495,6 @@ type AwsGovcloudIntegrationsRedShiftArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -3836,8 +3594,6 @@ func (o AwsGovcloudIntegrationsRedShiftOutput) ToOutput(ctx context.Context) pul } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsRedShiftOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsRedShift) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -3855,9 +3611,6 @@ func (o AwsGovcloudIntegrationsRedShiftOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsRedShiftOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsRedShift) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -3893,8 +3646,6 @@ func (o AwsGovcloudIntegrationsRedShiftPtrOutput) Elem() AwsGovcloudIntegrations } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsRedShiftPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsRedShift) []string { if v == nil { @@ -3927,9 +3678,6 @@ func (o AwsGovcloudIntegrationsRedShiftPtrOutput) TagKey() pulumi.StringPtrOutpu } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsRedShiftPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsRedShift) *string { if v == nil { @@ -4139,9 +3887,6 @@ type AwsGovcloudIntegrationsS3 struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -4168,9 +3913,6 @@ type AwsGovcloudIntegrationsS3Args struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -4292,9 +4034,6 @@ func (o AwsGovcloudIntegrationsS3Output) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsS3Output) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsS3) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -4372,9 +4111,6 @@ func (o AwsGovcloudIntegrationsS3PtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsS3PtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsS3) *string { if v == nil { @@ -4386,8 +4122,6 @@ func (o AwsGovcloudIntegrationsS3PtrOutput) TagValue() pulumi.StringPtrOutput { type AwsGovcloudIntegrationsSns struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -4410,8 +4144,6 @@ type AwsGovcloudIntegrationsSnsInput interface { type AwsGovcloudIntegrationsSnsArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -4517,8 +4249,6 @@ func (o AwsGovcloudIntegrationsSnsOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsSnsOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsSns) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -4566,8 +4296,6 @@ func (o AwsGovcloudIntegrationsSnsPtrOutput) Elem() AwsGovcloudIntegrationsSnsOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsSnsPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsSns) []string { if v == nil { @@ -4601,8 +4329,6 @@ func (o AwsGovcloudIntegrationsSnsPtrOutput) MetricsPollingInterval() pulumi.Int type AwsGovcloudIntegrationsSqs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions []string `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory *bool `pulumi:"fetchExtendedInventory"` @@ -4617,9 +4343,6 @@ type AwsGovcloudIntegrationsSqs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey *string `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue *string `pulumi:"tagValue"` } @@ -4636,8 +4359,6 @@ type AwsGovcloudIntegrationsSqsInput interface { type AwsGovcloudIntegrationsSqsArgs struct { // Specify each AWS region that includes the resources that you want to monitor. - // * `direct connect` - // * `aws states` AwsRegions pulumi.StringArrayInput `pulumi:"awsRegions"` // Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. FetchExtendedInventory pulumi.BoolPtrInput `pulumi:"fetchExtendedInventory"` @@ -4652,9 +4373,6 @@ type AwsGovcloudIntegrationsSqsArgs struct { // Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - // * `api Gateway` - // * `auto scaling` - // * `elastic search` TagValue pulumi.StringPtrInput `pulumi:"tagValue"` } @@ -4754,8 +4472,6 @@ func (o AwsGovcloudIntegrationsSqsOutput) ToOutput(ctx context.Context) pulumix. } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsSqsOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsSqs) []string { return v.AwsRegions }).(pulumi.StringArrayOutput) } @@ -4788,9 +4504,6 @@ func (o AwsGovcloudIntegrationsSqsOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsSqsOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v AwsGovcloudIntegrationsSqs) *string { return v.TagValue }).(pulumi.StringPtrOutput) } @@ -4826,8 +4539,6 @@ func (o AwsGovcloudIntegrationsSqsPtrOutput) Elem() AwsGovcloudIntegrationsSqsOu } // Specify each AWS region that includes the resources that you want to monitor. -// * `direct connect` -// * `aws states` func (o AwsGovcloudIntegrationsSqsPtrOutput) AwsRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsSqs) []string { if v == nil { @@ -4890,9 +4601,6 @@ func (o AwsGovcloudIntegrationsSqsPtrOutput) TagKey() pulumi.StringPtrOutput { } // Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. -// * `api Gateway` -// * `auto scaling` -// * `elastic search` func (o AwsGovcloudIntegrationsSqsPtrOutput) TagValue() pulumi.StringPtrOutput { return o.ApplyT(func(v *AwsGovcloudIntegrationsSqs) *string { if v == nil { diff --git a/sdk/go/newrelic/nrqlAlertCondition.go b/sdk/go/newrelic/nrqlAlertCondition.go index f7f257b9..220acdb9 100644 --- a/sdk/go/newrelic/nrqlAlertCondition.go +++ b/sdk/go/newrelic/nrqlAlertCondition.go @@ -44,6 +44,10 @@ import ( // - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). // - `timeFunction` - (Optional) **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // +// > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `thresholdDuration` (one of the two) is mandatory. Both of these should not be specified. +// +// > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `timeFunction` or `thresholdOccurrences` (one of the two) is mandatory. Both of these should not be specified. +// // ## Additional Examples // // ##### Type: `baseline` @@ -228,7 +232,7 @@ type NrqlAlertCondition struct { AggregationMethod pulumi.StringPtrOutput `pulumi:"aggregationMethod"` // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrOutput `pulumi:"aggregationTimer"` - // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. AggregationWindow pulumi.IntOutput `pulumi:"aggregationWindow"` // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrOutput `pulumi:"baselineDirection"` @@ -324,7 +328,7 @@ type nrqlAlertConditionState struct { AggregationMethod *string `pulumi:"aggregationMethod"` // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer *string `pulumi:"aggregationTimer"` - // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. AggregationWindow *int `pulumi:"aggregationWindow"` // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection *string `pulumi:"baselineDirection"` @@ -385,7 +389,7 @@ type NrqlAlertConditionState struct { AggregationMethod pulumi.StringPtrInput // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrInput - // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. AggregationWindow pulumi.IntPtrInput // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrInput @@ -450,7 +454,7 @@ type nrqlAlertConditionArgs struct { AggregationMethod *string `pulumi:"aggregationMethod"` // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer *string `pulumi:"aggregationTimer"` - // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. AggregationWindow *int `pulumi:"aggregationWindow"` // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection *string `pulumi:"baselineDirection"` @@ -510,7 +514,7 @@ type NrqlAlertConditionArgs struct { AggregationMethod pulumi.StringPtrInput // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrInput - // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. AggregationWindow pulumi.IntPtrInput // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrInput @@ -691,7 +695,7 @@ func (o NrqlAlertConditionOutput) AggregationTimer() pulumi.StringPtrOutput { return o.ApplyT(func(v *NrqlAlertCondition) pulumi.StringPtrOutput { return v.AggregationTimer }).(pulumi.StringPtrOutput) } -// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. +// The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. func (o NrqlAlertConditionOutput) AggregationWindow() pulumi.IntOutput { return o.ApplyT(func(v *NrqlAlertCondition) pulumi.IntOutput { return v.AggregationWindow }).(pulumi.IntOutput) } diff --git a/sdk/go/newrelic/plugins/pulumiTypes.go b/sdk/go/newrelic/plugins/pulumiTypes.go index a2a060c7..6538d785 100644 --- a/sdk/go/newrelic/plugins/pulumiTypes.go +++ b/sdk/go/newrelic/plugins/pulumiTypes.go @@ -136,7 +136,7 @@ func (o WorkloadEntitySearchQueryArrayOutput) Index(i pulumi.IntInput) WorkloadE } type WorkloadStatusConfigAutomatic struct { - // Whether the automatic status configuration is enabled or not. + // Whether the static status configuration is enabled or not. Enabled bool `pulumi:"enabled"` // An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remainingEntitiesRule blocks below for details. RemainingEntitiesRule *WorkloadStatusConfigAutomaticRemainingEntitiesRule `pulumi:"remainingEntitiesRule"` @@ -156,7 +156,7 @@ type WorkloadStatusConfigAutomaticInput interface { } type WorkloadStatusConfigAutomaticArgs struct { - // Whether the automatic status configuration is enabled or not. + // Whether the static status configuration is enabled or not. Enabled pulumi.BoolInput `pulumi:"enabled"` // An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remainingEntitiesRule blocks below for details. RemainingEntitiesRule WorkloadStatusConfigAutomaticRemainingEntitiesRulePtrInput `pulumi:"remainingEntitiesRule"` @@ -259,7 +259,7 @@ func (o WorkloadStatusConfigAutomaticOutput) ToOutput(ctx context.Context) pulum } } -// Whether the automatic status configuration is enabled or not. +// Whether the static status configuration is enabled or not. func (o WorkloadStatusConfigAutomaticOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v WorkloadStatusConfigAutomatic) bool { return v.Enabled }).(pulumi.BoolOutput) } @@ -306,7 +306,7 @@ func (o WorkloadStatusConfigAutomaticPtrOutput) Elem() WorkloadStatusConfigAutom }).(WorkloadStatusConfigAutomaticOutput) } -// Whether the automatic status configuration is enabled or not. +// Whether the static status configuration is enabled or not. func (o WorkloadStatusConfigAutomaticPtrOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *WorkloadStatusConfigAutomatic) *bool { if v == nil { @@ -1072,7 +1072,7 @@ func (o WorkloadStatusConfigAutomaticRuleRollupOutput) ThresholdValue() pulumi.I type WorkloadStatusConfigStatic struct { // Relevant information about the workload. Description *string `pulumi:"description"` - // Whether the automatic status configuration is enabled or not. + // Whether the static status configuration is enabled or not. Enabled bool `pulumi:"enabled"` // The status of the workload. Status string `pulumi:"status"` @@ -1094,7 +1094,7 @@ type WorkloadStatusConfigStaticInput interface { type WorkloadStatusConfigStaticArgs struct { // Relevant information about the workload. Description pulumi.StringPtrInput `pulumi:"description"` - // Whether the automatic status configuration is enabled or not. + // Whether the static status configuration is enabled or not. Enabled pulumi.BoolInput `pulumi:"enabled"` // The status of the workload. Status pulumi.StringInput `pulumi:"status"` @@ -1202,7 +1202,7 @@ func (o WorkloadStatusConfigStaticOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkloadStatusConfigStatic) *string { return v.Description }).(pulumi.StringPtrOutput) } -// Whether the automatic status configuration is enabled or not. +// Whether the static status configuration is enabled or not. func (o WorkloadStatusConfigStaticOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v WorkloadStatusConfigStatic) bool { return v.Enabled }).(pulumi.BoolOutput) } @@ -1257,7 +1257,7 @@ func (o WorkloadStatusConfigStaticPtrOutput) Description() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -// Whether the automatic status configuration is enabled or not. +// Whether the static status configuration is enabled or not. func (o WorkloadStatusConfigStaticPtrOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *WorkloadStatusConfigStatic) *bool { if v == nil { diff --git a/sdk/go/newrelic/pulumiTypes.go b/sdk/go/newrelic/pulumiTypes.go index 15523354..103fc55c 100644 --- a/sdk/go/newrelic/pulumiTypes.go +++ b/sdk/go/newrelic/pulumiTypes.go @@ -41,7 +41,7 @@ type AlertChannelConfig struct { PayloadString *string `pulumi:"payloadString"` // Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. PayloadType *string `pulumi:"payloadType"` - // Comma delimited list of email addresses. + // A set of recipients for targeting notifications. Multiple values are comma separated. Recipients *string `pulumi:"recipients"` // The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. Region *string `pulumi:"region"` @@ -53,7 +53,7 @@ type AlertChannelConfig struct { Tags *string `pulumi:"tags"` // A set of teams for targeting notifications. Multiple values are comma separated. Teams *string `pulumi:"teams"` - // [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + // [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). Url *string `pulumi:"url"` UserId *string `pulumi:"userId"` } @@ -96,7 +96,7 @@ type AlertChannelConfigArgs struct { PayloadString pulumi.StringPtrInput `pulumi:"payloadString"` // Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. PayloadType pulumi.StringPtrInput `pulumi:"payloadType"` - // Comma delimited list of email addresses. + // A set of recipients for targeting notifications. Multiple values are comma separated. Recipients pulumi.StringPtrInput `pulumi:"recipients"` // The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. Region pulumi.StringPtrInput `pulumi:"region"` @@ -108,7 +108,7 @@ type AlertChannelConfigArgs struct { Tags pulumi.StringPtrInput `pulumi:"tags"` // A set of teams for targeting notifications. Multiple values are comma separated. Teams pulumi.StringPtrInput `pulumi:"teams"` - // [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + // [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). Url pulumi.StringPtrInput `pulumi:"url"` UserId pulumi.StringPtrInput `pulumi:"userId"` } @@ -273,7 +273,7 @@ func (o AlertChannelConfigOutput) PayloadType() pulumi.StringPtrOutput { return o.ApplyT(func(v AlertChannelConfig) *string { return v.PayloadType }).(pulumi.StringPtrOutput) } -// Comma delimited list of email addresses. +// A set of recipients for targeting notifications. Multiple values are comma separated. func (o AlertChannelConfigOutput) Recipients() pulumi.StringPtrOutput { return o.ApplyT(func(v AlertChannelConfig) *string { return v.Recipients }).(pulumi.StringPtrOutput) } @@ -303,7 +303,7 @@ func (o AlertChannelConfigOutput) Teams() pulumi.StringPtrOutput { return o.ApplyT(func(v AlertChannelConfig) *string { return v.Teams }).(pulumi.StringPtrOutput) } -// [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). +// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). func (o AlertChannelConfigOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v AlertChannelConfig) *string { return v.Url }).(pulumi.StringPtrOutput) } @@ -472,7 +472,7 @@ func (o AlertChannelConfigPtrOutput) PayloadType() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Comma delimited list of email addresses. +// A set of recipients for targeting notifications. Multiple values are comma separated. func (o AlertChannelConfigPtrOutput) Recipients() pulumi.StringPtrOutput { return o.ApplyT(func(v *AlertChannelConfig) *string { if v == nil { @@ -532,7 +532,7 @@ func (o AlertChannelConfigPtrOutput) Teams() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). +// [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). func (o AlertChannelConfigPtrOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v *AlertChannelConfig) *string { if v == nil { @@ -20765,8 +20765,7 @@ type ServiceLevelEventsBadEvents struct { From string `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select *ServiceLevelEventsBadEventsSelect `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where *string `pulumi:"where"` } @@ -20787,8 +20786,7 @@ type ServiceLevelEventsBadEventsArgs struct { From pulumi.StringInput `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select ServiceLevelEventsBadEventsSelectPtrInput `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` } @@ -20898,8 +20896,7 @@ func (o ServiceLevelEventsBadEventsOutput) Select() ServiceLevelEventsBadEventsS return o.ApplyT(func(v ServiceLevelEventsBadEvents) *ServiceLevelEventsBadEventsSelect { return v.Select }).(ServiceLevelEventsBadEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsBadEventsOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceLevelEventsBadEvents) *string { return v.Where }).(pulumi.StringPtrOutput) @@ -20955,8 +20952,7 @@ func (o ServiceLevelEventsBadEventsPtrOutput) Select() ServiceLevelEventsBadEven }).(ServiceLevelEventsBadEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsBadEventsPtrOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServiceLevelEventsBadEvents) *string { @@ -21171,8 +21167,7 @@ type ServiceLevelEventsGoodEvents struct { From string `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select *ServiceLevelEventsGoodEventsSelect `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where *string `pulumi:"where"` } @@ -21193,8 +21188,7 @@ type ServiceLevelEventsGoodEventsArgs struct { From pulumi.StringInput `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select ServiceLevelEventsGoodEventsSelectPtrInput `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` } @@ -21304,8 +21298,7 @@ func (o ServiceLevelEventsGoodEventsOutput) Select() ServiceLevelEventsGoodEvent return o.ApplyT(func(v ServiceLevelEventsGoodEvents) *ServiceLevelEventsGoodEventsSelect { return v.Select }).(ServiceLevelEventsGoodEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsGoodEventsOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceLevelEventsGoodEvents) *string { return v.Where }).(pulumi.StringPtrOutput) @@ -21361,8 +21354,7 @@ func (o ServiceLevelEventsGoodEventsPtrOutput) Select() ServiceLevelEventsGoodEv }).(ServiceLevelEventsGoodEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsGoodEventsPtrOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServiceLevelEventsGoodEvents) *string { @@ -21577,8 +21569,7 @@ type ServiceLevelEventsValidEvents struct { From string `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select *ServiceLevelEventsValidEventsSelect `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where *string `pulumi:"where"` } @@ -21599,8 +21590,7 @@ type ServiceLevelEventsValidEventsArgs struct { From pulumi.StringInput `pulumi:"from"` // The NRQL SELECT clause to aggregate events. Select ServiceLevelEventsValidEventsSelectPtrInput `pulumi:"select"` - // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - // a particular entity and were successful). + // A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` } @@ -21710,8 +21700,7 @@ func (o ServiceLevelEventsValidEventsOutput) Select() ServiceLevelEventsValidEve return o.ApplyT(func(v ServiceLevelEventsValidEvents) *ServiceLevelEventsValidEventsSelect { return v.Select }).(ServiceLevelEventsValidEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsValidEventsOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceLevelEventsValidEvents) *string { return v.Where }).(pulumi.StringPtrOutput) @@ -21767,8 +21756,7 @@ func (o ServiceLevelEventsValidEventsPtrOutput) Select() ServiceLevelEventsValid }).(ServiceLevelEventsValidEventsSelectPtrOutput) } -// A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). -// a particular entity and were successful). +// A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to // a particular entity and returned an error). func (o ServiceLevelEventsValidEventsPtrOutput) Where() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServiceLevelEventsValidEvents) *string { @@ -23126,8 +23114,7 @@ func (o WorkflowEnrichmentsNrqlConfigurationArrayOutput) Index(i pulumi.IntInput type WorkflowIssuesFilter struct { FilterId *string `pulumi:"filterId"` - // The name of the workflow. - Name string `pulumi:"name"` + Name string `pulumi:"name"` // A condition an issue event should satisfy to be processed by the workflow Predicates []WorkflowIssuesFilterPredicate `pulumi:"predicates"` // Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. @@ -23147,8 +23134,7 @@ type WorkflowIssuesFilterInput interface { type WorkflowIssuesFilterArgs struct { FilterId pulumi.StringPtrInput `pulumi:"filterId"` - // The name of the workflow. - Name pulumi.StringInput `pulumi:"name"` + Name pulumi.StringInput `pulumi:"name"` // A condition an issue event should satisfy to be processed by the workflow Predicates WorkflowIssuesFilterPredicateArrayInput `pulumi:"predicates"` // Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. @@ -23254,7 +23240,6 @@ func (o WorkflowIssuesFilterOutput) FilterId() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkflowIssuesFilter) *string { return v.FilterId }).(pulumi.StringPtrOutput) } -// The name of the workflow. func (o WorkflowIssuesFilterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v WorkflowIssuesFilter) string { return v.Name }).(pulumi.StringOutput) } @@ -23308,7 +23293,6 @@ func (o WorkflowIssuesFilterPtrOutput) FilterId() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// The name of the workflow. func (o WorkflowIssuesFilterPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *WorkflowIssuesFilter) *string { if v == nil { diff --git a/sdk/go/newrelic/synthetics/brokenLinksMonitor.go b/sdk/go/newrelic/synthetics/brokenLinksMonitor.go index a503d817..babd258e 100644 --- a/sdk/go/newrelic/synthetics/brokenLinksMonitor.go +++ b/sdk/go/newrelic/synthetics/brokenLinksMonitor.go @@ -133,6 +133,8 @@ type BrokenLinksMonitor struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntOutput `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringOutput `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags BrokenLinksMonitorTagArrayOutput `pulumi:"tags"` @@ -194,6 +196,8 @@ type brokenLinksMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes *int `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status *string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags []BrokenLinksMonitorTag `pulumi:"tags"` @@ -217,6 +221,8 @@ type BrokenLinksMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntPtrInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringPtrInput // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags BrokenLinksMonitorTagArrayInput @@ -240,6 +246,8 @@ type brokenLinksMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period string `pulumi:"period"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags []BrokenLinksMonitorTag `pulumi:"tags"` @@ -260,6 +268,8 @@ type BrokenLinksMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period pulumi.StringInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringInput // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags BrokenLinksMonitorTagArrayInput @@ -414,6 +424,8 @@ func (o BrokenLinksMonitorOutput) PeriodInMinutes() pulumi.IntOutput { } // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). +// +// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. func (o BrokenLinksMonitorOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *BrokenLinksMonitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/synthetics/certCheckMonitor.go b/sdk/go/newrelic/synthetics/certCheckMonitor.go index 59e9452b..3e612afd 100644 --- a/sdk/go/newrelic/synthetics/certCheckMonitor.go +++ b/sdk/go/newrelic/synthetics/certCheckMonitor.go @@ -136,6 +136,8 @@ type CertCheckMonitor struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntOutput `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringOutput `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags CertCheckMonitorTagArrayOutput `pulumi:"tags"` @@ -200,6 +202,8 @@ type certCheckMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes *int `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status *string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags []CertCheckMonitorTag `pulumi:"tags"` @@ -223,6 +227,8 @@ type CertCheckMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntPtrInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringPtrInput // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags CertCheckMonitorTagArrayInput @@ -248,6 +254,8 @@ type certCheckMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period string `pulumi:"period"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags []CertCheckMonitorTag `pulumi:"tags"` @@ -270,6 +278,8 @@ type CertCheckMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period pulumi.StringInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringInput // The tags that will be associated with the monitor. See Nested tag blocks below for details Tags CertCheckMonitorTagArrayInput @@ -427,6 +437,8 @@ func (o CertCheckMonitorOutput) PeriodInMinutes() pulumi.IntOutput { } // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). +// +// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. func (o CertCheckMonitorOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *CertCheckMonitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/synthetics/getPrivateLocation.go b/sdk/go/newrelic/synthetics/getPrivateLocation.go index c0e1efca..0e806515 100644 --- a/sdk/go/newrelic/synthetics/getPrivateLocation.go +++ b/sdk/go/newrelic/synthetics/getPrivateLocation.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := synthetics.LookupPrivateLocation(ctx, &synthetics.LookupPrivateLocationArgs{ +// example, err := synthetics.LookupPrivateLocation(ctx, &synthetics.LookupPrivateLocationArgs{ // AccountId: pulumi.IntRef(123456), // Name: "My private location", // }, nil) @@ -37,7 +37,7 @@ import ( // } // _, err = synthetics.NewMonitor(ctx, "foo", &synthetics.MonitorArgs{ // LocationsPrivates: pulumi.StringArray{ -// data.Newrelic_synthetics_monitor_location.Example.Id, +// *pulumi.String(example.Id), // }, // }) // if err != nil { diff --git a/sdk/go/newrelic/synthetics/monitor.go b/sdk/go/newrelic/synthetics/monitor.go index 7cfec029..6a311bfc 100644 --- a/sdk/go/newrelic/synthetics/monitor.go +++ b/sdk/go/newrelic/synthetics/monitor.go @@ -278,7 +278,9 @@ type Monitor struct { RuntimeTypeVersion pulumi.StringPtrOutput `pulumi:"runtimeTypeVersion"` // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrOutput `pulumi:"scriptLanguage"` - // The run state of the monitor. + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringOutput `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -362,7 +364,9 @@ type monitorState struct { RuntimeTypeVersion *string `pulumi:"runtimeTypeVersion"` // The programing language that should execute the script. ScriptLanguage *string `pulumi:"scriptLanguage"` - // The run state of the monitor. + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status *string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -411,7 +415,9 @@ type MonitorState struct { RuntimeTypeVersion pulumi.StringPtrInput // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrInput - // The run state of the monitor. + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringPtrInput // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -462,7 +468,9 @@ type monitorArgs struct { RuntimeTypeVersion *string `pulumi:"runtimeTypeVersion"` // The programing language that should execute the script. ScriptLanguage *string `pulumi:"scriptLanguage"` - // The run state of the monitor. + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -510,7 +518,9 @@ type MonitorArgs struct { RuntimeTypeVersion pulumi.StringPtrInput // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrInput - // The run state of the monitor. + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringInput // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -711,7 +721,9 @@ func (o MonitorOutput) ScriptLanguage() pulumi.StringPtrOutput { return o.ApplyT(func(v *Monitor) pulumi.StringPtrOutput { return v.ScriptLanguage }).(pulumi.StringPtrOutput) } -// The run state of the monitor. +// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). +// +// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. func (o MonitorOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *Monitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/synthetics/scriptMonitor.go b/sdk/go/newrelic/synthetics/scriptMonitor.go index e93b6ab5..795b2bc9 100644 --- a/sdk/go/newrelic/synthetics/scriptMonitor.go +++ b/sdk/go/newrelic/synthetics/scriptMonitor.go @@ -259,7 +259,9 @@ type ScriptMonitor struct { Script pulumi.StringPtrOutput `pulumi:"script"` // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrOutput `pulumi:"scriptLanguage"` - // The run state of the monitor: `ENABLED` or `DISABLED` + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringOutput `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -336,7 +338,9 @@ type scriptMonitorState struct { Script *string `pulumi:"script"` // The programing language that should execute the script. ScriptLanguage *string `pulumi:"scriptLanguage"` - // The run state of the monitor: `ENABLED` or `DISABLED` + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status *string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -375,7 +379,9 @@ type ScriptMonitorState struct { Script pulumi.StringPtrInput // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrInput - // The run state of the monitor: `ENABLED` or `DISABLED` + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringPtrInput // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -414,7 +420,9 @@ type scriptMonitorArgs struct { Script *string `pulumi:"script"` // The programing language that should execute the script. ScriptLanguage *string `pulumi:"scriptLanguage"` - // The run state of the monitor: `ENABLED` or `DISABLED` + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status string `pulumi:"status"` // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -450,7 +458,9 @@ type ScriptMonitorArgs struct { Script pulumi.StringPtrInput // The programing language that should execute the script. ScriptLanguage pulumi.StringPtrInput - // The run state of the monitor: `ENABLED` or `DISABLED` + // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringInput // The tags that will be associated with the monitor. See Nested tag blocks below for details. // @@ -641,7 +651,9 @@ func (o ScriptMonitorOutput) ScriptLanguage() pulumi.StringPtrOutput { return o.ApplyT(func(v *ScriptMonitor) pulumi.StringPtrOutput { return v.ScriptLanguage }).(pulumi.StringPtrOutput) } -// The run state of the monitor: `ENABLED` or `DISABLED` +// The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). +// +// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. func (o ScriptMonitorOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *ScriptMonitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } diff --git a/sdk/go/newrelic/synthetics/stepMonitor.go b/sdk/go/newrelic/synthetics/stepMonitor.go index c9bbafa2..8a2e2f46 100644 --- a/sdk/go/newrelic/synthetics/stepMonitor.go +++ b/sdk/go/newrelic/synthetics/stepMonitor.go @@ -95,6 +95,8 @@ type StepMonitor struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntOutput `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringOutput `pulumi:"status"` // The steps that make up the script the monitor will run. See Nested steps blocks below for details. Steps StepMonitorStepArrayOutput `pulumi:"steps"` @@ -158,6 +160,8 @@ type stepMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes *int `pulumi:"periodInMinutes"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status *string `pulumi:"status"` // The steps that make up the script the monitor will run. See Nested steps blocks below for details. Steps []StepMonitorStep `pulumi:"steps"` @@ -183,6 +187,8 @@ type StepMonitorState struct { // The interval in minutes at which Synthetic monitor should run. PeriodInMinutes pulumi.IntPtrInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringPtrInput // The steps that make up the script the monitor will run. See Nested steps blocks below for details. Steps StepMonitorStepArrayInput @@ -208,6 +214,8 @@ type stepMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period string `pulumi:"period"` // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status string `pulumi:"status"` // The steps that make up the script the monitor will run. See Nested steps blocks below for details. Steps []StepMonitorStep `pulumi:"steps"` @@ -230,6 +238,8 @@ type StepMonitorArgs struct { // The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. Period pulumi.StringInput // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + // + // > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. Status pulumi.StringInput // The steps that make up the script the monitor will run. See Nested steps blocks below for details. Steps StepMonitorStepArrayInput @@ -389,6 +399,8 @@ func (o StepMonitorOutput) PeriodInMinutes() pulumi.IntOutput { } // The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). +// +// > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. func (o StepMonitorOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *StepMonitor) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertCondition.java b/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertCondition.java index e17fa0b1..74b38584 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertCondition.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertCondition.java @@ -54,6 +54,10 @@ * - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). * - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. * + * > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified. + * + * > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `time_function` or `threshold_occurrences` (one of the two) is mandatory. Both of these should not be specified. + * * ## Additional Examples * * ##### Type: `baseline` @@ -298,14 +302,14 @@ public Output> aggregationTimer() { return Codegen.optional(this.aggregationTimer); } /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ @Export(name="aggregationWindow", type=Integer.class, parameters={}) private Output aggregationWindow; /** - * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ public Output aggregationWindow() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertConditionArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertConditionArgs.java index 7d48e694..bcf044b8 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertConditionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/NrqlAlertConditionArgs.java @@ -84,14 +84,14 @@ public Optional> aggregationTimer() { } /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ @Import(name="aggregationWindow") private @Nullable Output aggregationWindow; /** - * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ public Optional> aggregationWindow() { @@ -551,7 +551,7 @@ public Builder aggregationTimer(String aggregationTimer) { } /** - * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * * @return builder * @@ -562,7 +562,7 @@ public Builder aggregationWindow(@Nullable Output aggregationWindow) { } /** - * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccount.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccount.java index 91bf27ae..e2d2bb92 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccount.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccount.java @@ -113,14 +113,14 @@ public Output> metricCollectionMode() { return Codegen.optional(this.metricCollectionMode); } /** - * The linked account name + * The name of the linked account. * */ @Export(name="name", type=String.class, parameters={}) private Output name; /** - * @return The linked account name + * @return The name of the linked account. * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccountArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccountArgs.java index a15f7ba8..d138019a 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccountArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AwsLinkAccountArgs.java @@ -62,14 +62,14 @@ public Optional> metricCollectionMode() { } /** - * The linked account name + * The name of the linked account. * */ @Import(name="name") private @Nullable Output name; /** - * @return The linked account name + * @return The name of the linked account. * */ public Optional> name() { @@ -167,7 +167,7 @@ public Builder metricCollectionMode(String metricCollectionMode) { } /** - * @param name The linked account name + * @param name The name of the linked account. * * @return builder * @@ -178,7 +178,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The linked account name + * @param name The name of the linked account. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccount.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccount.java index ba14b2a5..3cd17b36 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccount.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccount.java @@ -116,14 +116,14 @@ public Output clientSecret() { return this.clientSecret; } /** - * The name of the application in New Relic APM. + * Name of the linked account * */ @Export(name="name", type=String.class, parameters={}) private Output name; /** - * @return The name of the application in New Relic APM. + * @return Name of the linked account * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccountArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccountArgs.java index b9e981ce..d11e1db0 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccountArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/AzureLinkAccountArgs.java @@ -62,14 +62,14 @@ public Output clientSecret() { } /** - * The name of the application in New Relic APM. + * Name of the linked account * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the application in New Relic APM. + * @return Name of the linked account * */ public Optional> name() { @@ -199,7 +199,7 @@ public Builder clientSecret(String clientSecret) { } /** - * @param name The name of the application in New Relic APM. + * @param name Name of the linked account * * @return builder * @@ -210,7 +210,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the application in New Relic APM. + * @param name Name of the linked account * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccount.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccount.java index 419c5cd4..64cbd258 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccount.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccount.java @@ -88,14 +88,14 @@ public Output accountId() { return this.accountId; } /** - * The name of the GCP account in New Relic. + * name of the linked account * */ @Export(name="name", type=String.class, parameters={}) private Output name; /** - * @return The name of the GCP account in New Relic. + * @return name of the linked account * */ public Output name() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccountArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccountArgs.java index 9d5e6674..2c93831d 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccountArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/GcpLinkAccountArgs.java @@ -32,14 +32,14 @@ public Optional> accountId() { } /** - * The name of the GCP account in New Relic. + * name of the linked account * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the GCP account in New Relic. + * @return name of the linked account * */ public Optional> name() { @@ -109,7 +109,7 @@ public Builder accountId(Integer accountId) { } /** - * @param name The name of the GCP account in New Relic. + * @param name name of the linked account * * @return builder * @@ -120,7 +120,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the GCP account in New Relic. + * @param name name of the linked account * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAlbArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAlbArgs.java index 589657ab..0a9954b8 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAlbArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAlbArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsAlbArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsAlbArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -118,9 +114,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -128,9 +121,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -169,8 +159,6 @@ public Builder(AwsGovcloudIntegrationsAlbArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -182,8 +170,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -194,8 +180,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -325,9 +309,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -339,9 +320,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsApiGatewayArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsApiGatewayArgs.java index fc462c86..659b6369 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsApiGatewayArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsApiGatewayArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsApiGatewayArgs extends com.pulumi.reso /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsApiGatewayArgs extends com.pulumi.reso /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -87,9 +83,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -97,9 +90,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -136,8 +126,6 @@ public Builder(AwsGovcloudIntegrationsApiGatewayArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -149,8 +137,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -161,8 +147,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -250,9 +234,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -264,9 +245,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAutoScalingArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAutoScalingArgs.java index 5e21183e..c1c65b9d 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAutoScalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAutoScalingArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsAutoScalingArgs extends com.pulumi.res /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsAutoScalingArgs extends com.pulumi.res /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -82,8 +78,6 @@ public Builder(AwsGovcloudIntegrationsAutoScalingArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -95,8 +89,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -107,8 +99,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.java index 43751dcd..2818ac94 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsDirectConnectArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsAwsDirectConnectArgs extends com.pulum /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsAwsDirectConnectArgs extends com.pulum /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -82,8 +78,6 @@ public Builder(AwsGovcloudIntegrationsAwsDirectConnectArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -95,8 +89,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -107,8 +99,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsStatesArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsStatesArgs.java index 49c288d4..07833899 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsStatesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsAwsStatesArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsAwsStatesArgs extends com.pulumi.resou /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsAwsStatesArgs extends com.pulumi.resou /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -82,8 +78,6 @@ public Builder(AwsGovcloudIntegrationsAwsStatesArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -95,8 +89,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -107,8 +99,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsCloudtrailArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsCloudtrailArgs.java index 9a24fdcd..76f6b42d 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsCloudtrailArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsCloudtrailArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsCloudtrailArgs extends com.pulumi.reso /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsCloudtrailArgs extends com.pulumi.reso /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -82,8 +78,6 @@ public Builder(AwsGovcloudIntegrationsCloudtrailArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -95,8 +89,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -107,8 +99,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsDynamoDbArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsDynamoDbArgs.java index a09e32bc..e2281ca6 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsDynamoDbArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsDynamoDbArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsDynamoDbArgs extends com.pulumi.resour /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsDynamoDbArgs extends com.pulumi.resour /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -103,9 +99,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -113,9 +106,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -153,8 +143,6 @@ public Builder(AwsGovcloudIntegrationsDynamoDbArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -166,8 +154,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -178,8 +164,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -278,9 +262,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -292,9 +273,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEbsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEbsArgs.java index aa58202b..e46294e4 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEbsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEbsArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsEbsArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsEbsArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -88,9 +84,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -98,9 +91,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -137,8 +127,6 @@ public Builder(AwsGovcloudIntegrationsEbsArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -150,8 +138,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -162,8 +148,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -241,9 +225,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -255,9 +236,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEc2Args.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEc2Args.java index bf14e6bb..77a5398f 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEc2Args.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEc2Args.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsEc2Args extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsEc2Args extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -88,9 +84,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -98,9 +91,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -137,8 +127,6 @@ public Builder(AwsGovcloudIntegrationsEc2Args defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -150,8 +138,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -162,8 +148,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -241,9 +225,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -255,9 +236,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElasticSearchArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElasticSearchArgs.java index 44ebb495..76b49724 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElasticSearchArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElasticSearchArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsElasticSearchArgs extends com.pulumi.r /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsElasticSearchArgs extends com.pulumi.r /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -88,9 +84,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -98,9 +91,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -137,8 +127,6 @@ public Builder(AwsGovcloudIntegrationsElasticSearchArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -150,8 +138,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -162,8 +148,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -241,9 +225,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -255,9 +236,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElbArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElbArgs.java index 62bc1d99..af9d545e 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElbArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsElbArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsElbArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsElbArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -115,8 +111,6 @@ public Builder(AwsGovcloudIntegrationsElbArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -128,8 +122,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -140,8 +132,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEmrArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEmrArgs.java index 44b010de..aa517138 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEmrArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsEmrArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsEmrArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsEmrArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional> awsRegions() { @@ -87,9 +83,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -97,9 +90,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -136,8 +126,6 @@ public Builder(AwsGovcloudIntegrationsEmrArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -149,8 +137,6 @@ public Builder awsRegions(@Nullable Output awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -228,9 +214,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -242,9 +225,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsIamArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsIamArgs.java index 9db013eb..d76cb951 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsIamArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsIamArgs.java @@ -52,9 +52,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -62,9 +59,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -145,9 +139,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -159,9 +150,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsLambdaArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsLambdaArgs.java index a3aa50b5..57f8af04 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsLambdaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsLambdaArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsLambdaArgs extends com.pulumi.resource /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsLambdaArgs extends com.pulumi.resource /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -88,9 +84,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -98,9 +91,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -137,8 +127,6 @@ public Builder(AwsGovcloudIntegrationsLambdaArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -150,8 +138,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -162,8 +148,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -241,9 +225,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -255,9 +236,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRdsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRdsArgs.java index 309357ee..85764a93 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRdsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRdsArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsRdsArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsRdsArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -88,9 +84,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -98,9 +91,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -137,8 +127,6 @@ public Builder(AwsGovcloudIntegrationsRdsArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -150,8 +138,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -162,8 +148,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -241,9 +225,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -255,9 +236,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRedShiftArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRedShiftArgs.java index 9b3c53bd..e24539a7 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRedShiftArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsRedShiftArgs.java @@ -19,8 +19,6 @@ public final class AwsGovcloudIntegrationsRedShiftArgs extends com.pulumi.resour /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -28,8 +26,6 @@ public final class AwsGovcloudIntegrationsRedShiftArgs extends com.pulumi.resour /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -72,9 +68,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -82,9 +75,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -120,8 +110,6 @@ public Builder(AwsGovcloudIntegrationsRedShiftArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -133,8 +121,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -145,8 +131,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -203,9 +187,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -217,9 +198,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsS3Args.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsS3Args.java index 887d472f..90a241df 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsS3Args.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsS3Args.java @@ -83,9 +83,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -93,9 +90,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -220,9 +214,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -234,9 +225,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSnsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSnsArgs.java index 2ef82754..71021817 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSnsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSnsArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsSnsArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsSnsArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -99,8 +95,6 @@ public Builder(AwsGovcloudIntegrationsSnsArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -112,8 +106,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -124,8 +116,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSqsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSqsArgs.java index e4bb0694..b9441182 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSqsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsGovcloudIntegrationsSqsArgs.java @@ -20,8 +20,6 @@ public final class AwsGovcloudIntegrationsSqsArgs extends com.pulumi.resources.R /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ @Import(name="awsRegions") @@ -29,8 +27,6 @@ public final class AwsGovcloudIntegrationsSqsArgs extends com.pulumi.resources.R /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional>> awsRegions() { @@ -118,9 +114,6 @@ public Optional> tagKey() { /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ @Import(name="tagValue") @@ -128,9 +121,6 @@ public Optional> tagKey() { /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional> tagValue() { @@ -169,8 +159,6 @@ public Builder(AwsGovcloudIntegrationsSqsArgs defaults) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -182,8 +170,6 @@ public Builder awsRegions(@Nullable Output> awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -194,8 +180,6 @@ public Builder awsRegions(List awsRegions) { /** * @param awsRegions Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * * @return builder * @@ -325,9 +309,6 @@ public Builder tagKey(String tagKey) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * @@ -339,9 +320,6 @@ public Builder tagValue(@Nullable Output tagValue) { /** * @param tagValue Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsLinkAccountState.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsLinkAccountState.java index 8a1aea7e..593edd27 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsLinkAccountState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AwsLinkAccountState.java @@ -62,14 +62,14 @@ public Optional> metricCollectionMode() { } /** - * The linked account name + * The name of the linked account. * */ @Import(name="name") private @Nullable Output name; /** - * @return The linked account name + * @return The name of the linked account. * */ public Optional> name() { @@ -167,7 +167,7 @@ public Builder metricCollectionMode(String metricCollectionMode) { } /** - * @param name The linked account name + * @param name The name of the linked account. * * @return builder * @@ -178,7 +178,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The linked account name + * @param name The name of the linked account. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AzureLinkAccountState.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AzureLinkAccountState.java index 769edfce..73acde95 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AzureLinkAccountState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/AzureLinkAccountState.java @@ -62,14 +62,14 @@ public Optional> clientSecret() { } /** - * The name of the application in New Relic APM. + * Name of the linked account * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the application in New Relic APM. + * @return Name of the linked account * */ public Optional> name() { @@ -199,7 +199,7 @@ public Builder clientSecret(String clientSecret) { } /** - * @param name The name of the application in New Relic APM. + * @param name Name of the linked account * * @return builder * @@ -210,7 +210,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the application in New Relic APM. + * @param name Name of the linked account * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/GcpLinkAccountState.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/GcpLinkAccountState.java index 6a0af139..ec404e6e 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/GcpLinkAccountState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/inputs/GcpLinkAccountState.java @@ -32,14 +32,14 @@ public Optional> accountId() { } /** - * The name of the GCP account in New Relic. + * name of the linked account * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the GCP account in New Relic. + * @return name of the linked account * */ public Optional> name() { @@ -109,7 +109,7 @@ public Builder accountId(Integer accountId) { } /** - * @param name The name of the GCP account in New Relic. + * @param name name of the linked account * * @return builder * @@ -120,7 +120,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the GCP account in New Relic. + * @param name name of the linked account * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAlb.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAlb.java index 8a2e7a43..7ebcbf96 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAlb.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAlb.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsAlb { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -50,9 +48,6 @@ public final class AwsGovcloudIntegrationsAlb { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -60,8 +55,6 @@ public final class AwsGovcloudIntegrationsAlb { private AwsGovcloudIntegrationsAlb() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -106,9 +99,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsApiGateway.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsApiGateway.java index 00c2c35f..6a0ba9e5 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsApiGateway.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsApiGateway.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsApiGateway { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -39,9 +37,6 @@ public final class AwsGovcloudIntegrationsApiGateway { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -49,8 +44,6 @@ public final class AwsGovcloudIntegrationsApiGateway { private AwsGovcloudIntegrationsApiGateway() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -81,9 +74,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAutoScaling.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAutoScaling.java index 65dc0228..d9046dbd 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAutoScaling.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAutoScaling.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsAutoScaling { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -31,8 +29,6 @@ public final class AwsGovcloudIntegrationsAutoScaling { private AwsGovcloudIntegrationsAutoScaling() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsDirectConnect.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsDirectConnect.java index a9ef3240..2c3e5aca 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsDirectConnect.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsDirectConnect.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsAwsDirectConnect { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -31,8 +29,6 @@ public final class AwsGovcloudIntegrationsAwsDirectConnect { private AwsGovcloudIntegrationsAwsDirectConnect() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsStates.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsStates.java index 3839d9cb..63fc2c30 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsStates.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsAwsStates.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsAwsStates { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -31,8 +29,6 @@ public final class AwsGovcloudIntegrationsAwsStates { private AwsGovcloudIntegrationsAwsStates() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsCloudtrail.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsCloudtrail.java index ded12934..976c9108 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsCloudtrail.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsCloudtrail.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsCloudtrail { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -31,8 +29,6 @@ public final class AwsGovcloudIntegrationsCloudtrail { private AwsGovcloudIntegrationsCloudtrail() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsDynamoDb.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsDynamoDb.java index 9c6fbdef..6901bd5a 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsDynamoDb.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsDynamoDb.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsDynamoDb { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -45,9 +43,6 @@ public final class AwsGovcloudIntegrationsDynamoDb { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -55,8 +50,6 @@ public final class AwsGovcloudIntegrationsDynamoDb { private AwsGovcloudIntegrationsDynamoDb() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -94,9 +87,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEbs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEbs.java index fe947e58..06f7a149 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEbs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEbs.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsEbs { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -40,9 +38,6 @@ public final class AwsGovcloudIntegrationsEbs { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -50,8 +45,6 @@ public final class AwsGovcloudIntegrationsEbs { private AwsGovcloudIntegrationsEbs() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -82,9 +75,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEc2.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEc2.java index c5b4c746..23d53c56 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEc2.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEc2.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsEc2 { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -40,9 +38,6 @@ public final class AwsGovcloudIntegrationsEc2 { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -50,8 +45,6 @@ public final class AwsGovcloudIntegrationsEc2 { private AwsGovcloudIntegrationsEc2() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -82,9 +75,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElasticSearch.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElasticSearch.java index b19d72ee..d7106af7 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElasticSearch.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElasticSearch.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsElasticSearch { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -40,9 +38,6 @@ public final class AwsGovcloudIntegrationsElasticSearch { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -50,8 +45,6 @@ public final class AwsGovcloudIntegrationsElasticSearch { private AwsGovcloudIntegrationsElasticSearch() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -82,9 +75,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElb.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElb.java index 902e6cab..fd83d2a5 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElb.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsElb.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsElb { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -42,8 +40,6 @@ public final class AwsGovcloudIntegrationsElb { private AwsGovcloudIntegrationsElb() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEmr.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEmr.java index 684f2090..65557532 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEmr.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsEmr.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsEmr { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable String awsRegions; @@ -39,9 +37,6 @@ public final class AwsGovcloudIntegrationsEmr { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -49,8 +44,6 @@ public final class AwsGovcloudIntegrationsEmr { private AwsGovcloudIntegrationsEmr() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public Optional awsRegions() { @@ -81,9 +74,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsIam.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsIam.java index daed529a..2b117a0d 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsIam.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsIam.java @@ -26,9 +26,6 @@ public final class AwsGovcloudIntegrationsIam { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -52,9 +49,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsLambda.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsLambda.java index bb6ec1ee..81a2c878 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsLambda.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsLambda.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsLambda { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -40,9 +38,6 @@ public final class AwsGovcloudIntegrationsLambda { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -50,8 +45,6 @@ public final class AwsGovcloudIntegrationsLambda { private AwsGovcloudIntegrationsLambda() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -82,9 +75,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRds.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRds.java index 42ae728c..852aa94c 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRds.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRds.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsRds { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -40,9 +38,6 @@ public final class AwsGovcloudIntegrationsRds { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -50,8 +45,6 @@ public final class AwsGovcloudIntegrationsRds { private AwsGovcloudIntegrationsRds() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -82,9 +75,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRedShift.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRedShift.java index c967fe21..e0504ae6 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRedShift.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsRedShift.java @@ -15,8 +15,6 @@ public final class AwsGovcloudIntegrationsRedShift { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -34,9 +32,6 @@ public final class AwsGovcloudIntegrationsRedShift { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -44,8 +39,6 @@ public final class AwsGovcloudIntegrationsRedShift { private AwsGovcloudIntegrationsRedShift() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -69,9 +62,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsS3.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsS3.java index 85e97020..24d4a470 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsS3.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsS3.java @@ -37,9 +37,6 @@ public final class AwsGovcloudIntegrationsS3 { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -77,9 +74,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSns.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSns.java index e9e8af2f..54d3f7e8 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSns.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSns.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsSns { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -37,8 +35,6 @@ public final class AwsGovcloudIntegrationsSns { private AwsGovcloudIntegrationsSns() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSqs.java b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSqs.java index a0660db4..79bb46b2 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSqs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/cloud/outputs/AwsGovcloudIntegrationsSqs.java @@ -16,8 +16,6 @@ public final class AwsGovcloudIntegrationsSqs { /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ private @Nullable List awsRegions; @@ -50,9 +48,6 @@ public final class AwsGovcloudIntegrationsSqs { private @Nullable String tagKey; /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ private @Nullable String tagValue; @@ -60,8 +55,6 @@ public final class AwsGovcloudIntegrationsSqs { private AwsGovcloudIntegrationsSqs() {} /** * @return Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` * */ public List awsRegions() { @@ -106,9 +99,6 @@ public Optional tagKey() { } /** * @return Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` * */ public Optional tagValue() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/AlertChannelConfigArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/AlertChannelConfigArgs.java index 119d9933..dce9ca4a 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/AlertChannelConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/AlertChannelConfigArgs.java @@ -212,14 +212,14 @@ public Optional> payloadType() { } /** - * Comma delimited list of email addresses. + * A set of recipients for targeting notifications. Multiple values are comma separated. * */ @Import(name="recipients") private @Nullable Output recipients; /** - * @return Comma delimited list of email addresses. + * @return A set of recipients for targeting notifications. Multiple values are comma separated. * */ public Optional> recipients() { @@ -302,14 +302,14 @@ public Optional> teams() { } /** - * [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * */ @Import(name="url") private @Nullable Output url; /** - * @return [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * @return [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * */ public Optional> url() { @@ -641,7 +641,7 @@ public Builder payloadType(String payloadType) { } /** - * @param recipients Comma delimited list of email addresses. + * @param recipients A set of recipients for targeting notifications. Multiple values are comma separated. * * @return builder * @@ -652,7 +652,7 @@ public Builder recipients(@Nullable Output recipients) { } /** - * @param recipients Comma delimited list of email addresses. + * @param recipients A set of recipients for targeting notifications. Multiple values are comma separated. * * @return builder * @@ -767,7 +767,7 @@ public Builder teams(String teams) { } /** - * @param url [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * @param url [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * * @return builder * @@ -778,7 +778,7 @@ public Builder url(@Nullable Output url) { } /** - * @param url [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * @param url [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/NrqlAlertConditionState.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/NrqlAlertConditionState.java index bd4b1fdf..7b1ff6c1 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/NrqlAlertConditionState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/NrqlAlertConditionState.java @@ -84,14 +84,14 @@ public Optional> aggregationTimer() { } /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ @Import(name="aggregationWindow") private @Nullable Output aggregationWindow; /** - * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @return The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * */ public Optional> aggregationWindow() { @@ -567,7 +567,7 @@ public Builder aggregationTimer(String aggregationTimer) { } /** - * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * * @return builder * @@ -578,7 +578,7 @@ public Builder aggregationWindow(@Nullable Output aggregationWindow) { } /** - * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * @param aggregationWindow The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsBadEventsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsBadEventsArgs.java index 2f71e26b..6fa66cbb 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsBadEventsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsBadEventsArgs.java @@ -47,8 +47,7 @@ public Optional> select() { } /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -56,8 +55,7 @@ public Optional> select() { private @Nullable Output where; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -134,8 +132,7 @@ public Builder select(ServiceLevelEventsBadEventsSelectArgs select) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder @@ -147,8 +144,7 @@ public Builder where(@Nullable Output where) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsGoodEventsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsGoodEventsArgs.java index be190d9c..a1b230ba 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsGoodEventsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsGoodEventsArgs.java @@ -47,8 +47,7 @@ public Optional> select() { } /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -56,8 +55,7 @@ public Optional> select() { private @Nullable Output where; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -134,8 +132,7 @@ public Builder select(ServiceLevelEventsGoodEventsSelectArgs select) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder @@ -147,8 +144,7 @@ public Builder where(@Nullable Output where) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsValidEventsArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsValidEventsArgs.java index b1b88c50..e2c08d2e 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsValidEventsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/ServiceLevelEventsValidEventsArgs.java @@ -47,8 +47,7 @@ public Optional> select() { } /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -56,8 +55,7 @@ public Optional> select() { private @Nullable Output where; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -134,8 +132,7 @@ public Builder select(ServiceLevelEventsValidEventsSelectArgs select) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder @@ -147,8 +144,7 @@ public Builder where(@Nullable Output where) { } /** - * @param where A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @param where A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * * @return builder diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/WorkflowIssuesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/WorkflowIssuesFilterArgs.java index 57ef7c33..33c8b539 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/inputs/WorkflowIssuesFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/inputs/WorkflowIssuesFilterArgs.java @@ -24,17 +24,9 @@ public Optional> filterId() { return Optional.ofNullable(this.filterId); } - /** - * The name of the workflow. - * - */ @Import(name="name", required=true) private Output name; - /** - * @return The name of the workflow. - * - */ public Output name() { return this.name; } @@ -105,23 +97,11 @@ public Builder filterId(String filterId) { return filterId(Output.of(filterId)); } - /** - * @param name The name of the workflow. - * - * @return builder - * - */ public Builder name(Output name) { $.name = name; return this; } - /** - * @param name The name of the workflow. - * - * @return builder - * - */ public Builder name(String name) { return name(Output.of(name)); } diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/AlertChannelConfig.java b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/AlertChannelConfig.java index 40805601..627b51be 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/AlertChannelConfig.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/AlertChannelConfig.java @@ -78,7 +78,7 @@ public final class AlertChannelConfig { */ private @Nullable String payloadType; /** - * @return Comma delimited list of email addresses. + * @return A set of recipients for targeting notifications. Multiple values are comma separated. * */ private @Nullable String recipients; @@ -108,7 +108,7 @@ public final class AlertChannelConfig { */ private @Nullable String teams; /** - * @return [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * @return [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * */ private @Nullable String url; @@ -207,7 +207,7 @@ public Optional payloadType() { return Optional.ofNullable(this.payloadType); } /** - * @return Comma delimited list of email addresses. + * @return A set of recipients for targeting notifications. Multiple values are comma separated. * */ public Optional recipients() { @@ -249,7 +249,7 @@ public Optional teams() { return Optional.ofNullable(this.teams); } /** - * @return [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * @return [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). * */ public Optional url() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsBadEvents.java b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsBadEvents.java index f90b3e09..1809f3d2 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsBadEvents.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsBadEvents.java @@ -23,8 +23,7 @@ public final class ServiceLevelEventsBadEvents { */ private @Nullable ServiceLevelEventsBadEventsSelect select; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -46,8 +45,7 @@ public Optional select() { return Optional.ofNullable(this.select); } /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsGoodEvents.java b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsGoodEvents.java index 6e4c8539..f6ae5109 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsGoodEvents.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsGoodEvents.java @@ -23,8 +23,7 @@ public final class ServiceLevelEventsGoodEvents { */ private @Nullable ServiceLevelEventsGoodEventsSelect select; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -46,8 +45,7 @@ public Optional select() { return Optional.ofNullable(this.select); } /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsValidEvents.java b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsValidEvents.java index 20df27f4..02f70346 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsValidEvents.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/ServiceLevelEventsValidEvents.java @@ -23,8 +23,7 @@ public final class ServiceLevelEventsValidEvents { */ private @Nullable ServiceLevelEventsValidEventsSelect select; /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ @@ -46,8 +45,7 @@ public Optional select() { return Optional.ofNullable(this.select); } /** - * @return A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * @return A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/WorkflowIssuesFilter.java b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/WorkflowIssuesFilter.java index feb88e37..0c5a97cf 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/outputs/WorkflowIssuesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/outputs/WorkflowIssuesFilter.java @@ -14,10 +14,6 @@ @CustomType public final class WorkflowIssuesFilter { private @Nullable String filterId; - /** - * @return The name of the workflow. - * - */ private String name; /** * @return A condition an issue event should satisfy to be processed by the workflow @@ -34,10 +30,6 @@ private WorkflowIssuesFilter() {} public Optional filterId() { return Optional.ofNullable(this.filterId); } - /** - * @return The name of the workflow. - * - */ public String name() { return this.name; } diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigAutomaticArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigAutomaticArgs.java index a23f9f72..4d11770e 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigAutomaticArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigAutomaticArgs.java @@ -19,14 +19,14 @@ public final class WorkloadStatusConfigAutomaticArgs extends com.pulumi.resource public static final WorkloadStatusConfigAutomaticArgs Empty = new WorkloadStatusConfigAutomaticArgs(); /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. * */ @Import(name="enabled", required=true) private Output enabled; /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ public Output enabled() { @@ -90,7 +90,7 @@ public Builder(WorkloadStatusConfigAutomaticArgs defaults) { } /** - * @param enabled Whether the automatic status configuration is enabled or not. + * @param enabled Whether the static status configuration is enabled or not. * * @return builder * @@ -101,7 +101,7 @@ public Builder enabled(Output enabled) { } /** - * @param enabled Whether the automatic status configuration is enabled or not. + * @param enabled Whether the static status configuration is enabled or not. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigStaticArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigStaticArgs.java index b3e47ff7..5ca3b5d4 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigStaticArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/inputs/WorkloadStatusConfigStaticArgs.java @@ -32,14 +32,14 @@ public Optional> description() { } /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. * */ @Import(name="enabled", required=true) private Output enabled; /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ public Output enabled() { @@ -125,7 +125,7 @@ public Builder description(String description) { } /** - * @param enabled Whether the automatic status configuration is enabled or not. + * @param enabled Whether the static status configuration is enabled or not. * * @return builder * @@ -136,7 +136,7 @@ public Builder enabled(Output enabled) { } /** - * @param enabled Whether the automatic status configuration is enabled or not. + * @param enabled Whether the static status configuration is enabled or not. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigAutomatic.java b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigAutomatic.java index 0a978e53..f74a1542 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigAutomatic.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigAutomatic.java @@ -15,7 +15,7 @@ @CustomType public final class WorkloadStatusConfigAutomatic { /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ private Boolean enabled; @@ -32,7 +32,7 @@ public final class WorkloadStatusConfigAutomatic { private WorkloadStatusConfigAutomatic() {} /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ public Boolean enabled() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigStatic.java b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigStatic.java index 65b0a554..b41cd38a 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigStatic.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/plugins/outputs/WorkloadStatusConfigStatic.java @@ -18,7 +18,7 @@ public final class WorkloadStatusConfigStatic { */ private @Nullable String description; /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ private Boolean enabled; @@ -42,7 +42,7 @@ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Whether the automatic status configuration is enabled or not. + * @return Whether the static status configuration is enabled or not. * */ public Boolean enabled() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitor.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitor.java index 8a456148..d45446e7 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitor.java @@ -221,6 +221,8 @@ public Output periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Export(name="status", type=String.class, parameters={}) private Output status; @@ -228,6 +230,8 @@ public Output periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitorArgs.java index 9729ca82..1843a297 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/BrokenLinksMonitorArgs.java @@ -96,6 +96,8 @@ public Output period() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status", required=true) private Output status; @@ -103,6 +105,8 @@ public Output period() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; @@ -297,6 +301,8 @@ public Builder period(String period) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -308,6 +314,8 @@ public Builder status(Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitor.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitor.java index 83481e31..0aa99f73 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitor.java @@ -236,6 +236,8 @@ public Output periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Export(name="status", type=String.class, parameters={}) private Output status; @@ -243,6 +245,8 @@ public Output periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitorArgs.java index e8d27d24..8120d482 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/CertCheckMonitorArgs.java @@ -126,6 +126,8 @@ public Output period() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status", required=true) private Output status; @@ -133,6 +135,8 @@ public Output period() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; @@ -355,6 +359,8 @@ public Builder period(String period) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -366,6 +372,8 @@ public Builder status(Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/Monitor.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/Monitor.java index cd7119d8..a234e8f3 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/Monitor.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/Monitor.java @@ -447,14 +447,18 @@ public Output> scriptLanguage() { return Codegen.optional(this.scriptLanguage); } /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Export(name="status", type=String.class, parameters={}) private Output status; /** - * @return The run state of the monitor. + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Output status() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/MonitorArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/MonitorArgs.java index 952fabd5..34a249d3 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/MonitorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/MonitorArgs.java @@ -220,14 +220,18 @@ public Optional> scriptLanguage() { } /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Import(name="status", required=true) private Output status; /** - * @return The run state of the monitor. + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Output status() { @@ -679,7 +683,9 @@ public Builder scriptLanguage(String scriptLanguage) { } /** - * @param status The run state of the monitor. + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * @@ -690,7 +696,9 @@ public Builder status(Output status) { } /** - * @param status The run state of the monitor. + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitor.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitor.java index 26a4261c..39549d1b 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitor.java @@ -434,14 +434,18 @@ public Output> scriptLanguage() { return Codegen.optional(this.scriptLanguage); } /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Export(name="status", type=String.class, parameters={}) private Output status; /** - * @return The run state of the monitor: `ENABLED` or `DISABLED` + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Output status() { diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitorArgs.java index 217b6706..ffb16ef3 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/ScriptMonitorArgs.java @@ -201,14 +201,18 @@ public Optional> scriptLanguage() { } /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Import(name="status", required=true) private Output status; /** - * @return The run state of the monitor: `ENABLED` or `DISABLED` + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Output status() { @@ -560,7 +564,9 @@ public Builder scriptLanguage(String scriptLanguage) { } /** - * @param status The run state of the monitor: `ENABLED` or `DISABLED` + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * @@ -571,7 +577,9 @@ public Builder status(Output status) { } /** - * @param status The run state of the monitor: `ENABLED` or `DISABLED` + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitor.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitor.java index f301ad21..292961c6 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitor.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitor.java @@ -257,6 +257,8 @@ public Output periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Export(name="status", type=String.class, parameters={}) private Output status; @@ -264,6 +266,8 @@ public Output periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitorArgs.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitorArgs.java index 67068aea..f76ccf57 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitorArgs.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/StepMonitorArgs.java @@ -114,6 +114,8 @@ public Output period() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status", required=true) private Output status; @@ -121,6 +123,8 @@ public Output period() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Output status() { return this.status; @@ -337,6 +341,8 @@ public Builder period(String period) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -348,6 +354,8 @@ public Builder status(Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/SyntheticsFunctions.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/SyntheticsFunctions.java index f4c40735..e1cd90cd 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/SyntheticsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/SyntheticsFunctions.java @@ -50,7 +50,7 @@ public final class SyntheticsFunctions { * .build()); * * var foo = new Monitor("foo", MonitorArgs.builder() - * .locationsPrivates(data.newrelic_synthetics_monitor_location().example().id()) + * .locationsPrivates(example.applyValue(getPrivateLocationResult -> getPrivateLocationResult.id())) * .build()); * * } @@ -132,7 +132,7 @@ public static Output getPrivateLocation(GetPrivateLoca * .build()); * * var foo = new Monitor("foo", MonitorArgs.builder() - * .locationsPrivates(data.newrelic_synthetics_monitor_location().example().id()) + * .locationsPrivates(example.applyValue(getPrivateLocationResult -> getPrivateLocationResult.id())) * .build()); * * } @@ -214,7 +214,7 @@ public static CompletableFuture getPrivateLocationPlai * .build()); * * var foo = new Monitor("foo", MonitorArgs.builder() - * .locationsPrivates(data.newrelic_synthetics_monitor_location().example().id()) + * .locationsPrivates(example.applyValue(getPrivateLocationResult -> getPrivateLocationResult.id())) * .build()); * * } @@ -296,7 +296,7 @@ public static Output getPrivateLocation(GetPrivateLoca * .build()); * * var foo = new Monitor("foo", MonitorArgs.builder() - * .locationsPrivates(data.newrelic_synthetics_monitor_location().example().id()) + * .locationsPrivates(example.applyValue(getPrivateLocationResult -> getPrivateLocationResult.id())) * .build()); * * } diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/BrokenLinksMonitorState.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/BrokenLinksMonitorState.java index a54fd62b..9fed6397 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/BrokenLinksMonitorState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/BrokenLinksMonitorState.java @@ -126,6 +126,8 @@ public Optional> periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status") private @Nullable Output status; @@ -133,6 +135,8 @@ public Optional> periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Optional> status() { return Optional.ofNullable(this.status); @@ -371,6 +375,8 @@ public Builder periodInMinutes(Integer periodInMinutes) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -382,6 +388,8 @@ public Builder status(@Nullable Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/CertCheckMonitorState.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/CertCheckMonitorState.java index 36ae2ed3..9b0170a6 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/CertCheckMonitorState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/CertCheckMonitorState.java @@ -141,6 +141,8 @@ public Optional> periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status") private @Nullable Output status; @@ -148,6 +150,8 @@ public Optional> periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Optional> status() { return Optional.ofNullable(this.status); @@ -392,6 +396,8 @@ public Builder periodInMinutes(Integer periodInMinutes) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -403,6 +409,8 @@ public Builder status(@Nullable Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/MonitorState.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/MonitorState.java index 26f99083..46e76f88 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/MonitorState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/MonitorState.java @@ -235,14 +235,18 @@ public Optional> scriptLanguage() { } /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Import(name="status") private @Nullable Output status; /** - * @return The run state of the monitor. + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Optional> status() { @@ -716,7 +720,9 @@ public Builder scriptLanguage(String scriptLanguage) { } /** - * @param status The run state of the monitor. + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * @@ -727,7 +733,9 @@ public Builder status(@Nullable Output status) { } /** - * @param status The run state of the monitor. + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/ScriptMonitorState.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/ScriptMonitorState.java index 03b0ac58..1e459116 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/ScriptMonitorState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/ScriptMonitorState.java @@ -231,14 +231,18 @@ public Optional> scriptLanguage() { } /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ @Import(name="status") private @Nullable Output status; /** - * @return The run state of the monitor: `ENABLED` or `DISABLED` + * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * */ public Optional> status() { @@ -634,7 +638,9 @@ public Builder scriptLanguage(String scriptLanguage) { } /** - * @param status The run state of the monitor: `ENABLED` or `DISABLED` + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * @@ -645,7 +651,9 @@ public Builder status(@Nullable Output status) { } /** - * @param status The run state of the monitor: `ENABLED` or `DISABLED` + * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/StepMonitorState.java b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/StepMonitorState.java index 492079d3..a4db676d 100644 --- a/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/StepMonitorState.java +++ b/sdk/java/src/main/java/com/pulumi/newrelic/synthetics/inputs/StepMonitorState.java @@ -144,6 +144,8 @@ public Optional> periodInMinutes() { /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ @Import(name="status") private @Nullable Output status; @@ -151,6 +153,8 @@ public Optional> periodInMinutes() { /** * @return The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * */ public Optional> status() { return Optional.ofNullable(this.status); @@ -411,6 +415,8 @@ public Builder periodInMinutes(Integer periodInMinutes) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ @@ -422,6 +428,8 @@ public Builder status(@Nullable Output status) { /** * @param status The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. + * * @return builder * */ diff --git a/sdk/nodejs/cloud/awsLinkAccount.ts b/sdk/nodejs/cloud/awsLinkAccount.ts index da33c954..0836662f 100644 --- a/sdk/nodejs/cloud/awsLinkAccount.ts +++ b/sdk/nodejs/cloud/awsLinkAccount.ts @@ -78,7 +78,7 @@ export class AwsLinkAccount extends pulumi.CustomResource { */ public readonly metricCollectionMode!: pulumi.Output; /** - * The linked account name + * The name of the linked account. */ public readonly name!: pulumi.Output; @@ -131,7 +131,7 @@ export interface AwsLinkAccountState { */ metricCollectionMode?: pulumi.Input; /** - * The linked account name + * The name of the linked account. */ name?: pulumi.Input; } @@ -153,7 +153,7 @@ export interface AwsLinkAccountArgs { */ metricCollectionMode?: pulumi.Input; /** - * The linked account name + * The name of the linked account. */ name?: pulumi.Input; } diff --git a/sdk/nodejs/cloud/azureLinkAccount.ts b/sdk/nodejs/cloud/azureLinkAccount.ts index 463a5dee..6f7c8954 100644 --- a/sdk/nodejs/cloud/azureLinkAccount.ts +++ b/sdk/nodejs/cloud/azureLinkAccount.ts @@ -81,7 +81,7 @@ export class AzureLinkAccount extends pulumi.CustomResource { */ public readonly clientSecret!: pulumi.Output; /** - * The name of the application in New Relic APM. + * Name of the linked account */ public readonly name!: pulumi.Output; /** @@ -157,7 +157,7 @@ export interface AzureLinkAccountState { */ clientSecret?: pulumi.Input; /** - * The name of the application in New Relic APM. + * Name of the linked account */ name?: pulumi.Input; /** @@ -187,7 +187,7 @@ export interface AzureLinkAccountArgs { */ clientSecret: pulumi.Input; /** - * The name of the application in New Relic APM. + * Name of the linked account */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/cloud/gcpLinkAccount.ts b/sdk/nodejs/cloud/gcpLinkAccount.ts index 472e4bd2..fda512ec 100644 --- a/sdk/nodejs/cloud/gcpLinkAccount.ts +++ b/sdk/nodejs/cloud/gcpLinkAccount.ts @@ -74,7 +74,7 @@ export class GcpLinkAccount extends pulumi.CustomResource { */ public readonly accountId!: pulumi.Output; /** - * The name of the GCP account in New Relic. + * name of the linked account */ public readonly name!: pulumi.Output; /** @@ -121,7 +121,7 @@ export interface GcpLinkAccountState { */ accountId?: pulumi.Input; /** - * The name of the GCP account in New Relic. + * name of the linked account */ name?: pulumi.Input; /** @@ -139,7 +139,7 @@ export interface GcpLinkAccountArgs { */ accountId?: pulumi.Input; /** - * The name of the GCP account in New Relic. + * name of the linked account */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/nrqlAlertCondition.ts b/sdk/nodejs/nrqlAlertCondition.ts index 2e170e10..0ed5e830 100644 --- a/sdk/nodejs/nrqlAlertCondition.ts +++ b/sdk/nodejs/nrqlAlertCondition.ts @@ -38,6 +38,10 @@ import * as utilities from "./utilities"; * - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). * - `timeFunction` - (Optional) **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. * + * > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `thresholdDuration` (one of the two) is mandatory. Both of these should not be specified. + * + * > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `timeFunction` or `thresholdOccurrences` (one of the two) is mandatory. Both of these should not be specified. + * * ## Additional Examples * * ##### Type: `baseline` @@ -200,7 +204,7 @@ export class NrqlAlertCondition extends pulumi.CustomResource { */ public readonly aggregationTimer!: pulumi.Output; /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. */ public readonly aggregationWindow!: pulumi.Output; /** @@ -394,7 +398,7 @@ export interface NrqlAlertConditionState { */ aggregationTimer?: pulumi.Input; /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. */ aggregationWindow?: pulumi.Input; /** @@ -510,7 +514,7 @@ export interface NrqlAlertConditionArgs { */ aggregationTimer?: pulumi.Input; /** - * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + * The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. */ aggregationWindow?: pulumi.Input; /** diff --git a/sdk/nodejs/synthetics/brokenLinksMonitor.ts b/sdk/nodejs/synthetics/brokenLinksMonitor.ts index 9665dcab..0ae11b86 100644 --- a/sdk/nodejs/synthetics/brokenLinksMonitor.ts +++ b/sdk/nodejs/synthetics/brokenLinksMonitor.ts @@ -120,7 +120,9 @@ export class BrokenLinksMonitor extends pulumi.CustomResource { */ public /*out*/ readonly periodInMinutes!: pulumi.Output; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ public readonly status!: pulumi.Output; /** @@ -215,7 +217,9 @@ export interface BrokenLinksMonitorState { */ periodInMinutes?: pulumi.Input; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status?: pulumi.Input; /** @@ -253,7 +257,9 @@ export interface BrokenLinksMonitorArgs { */ period: pulumi.Input; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status: pulumi.Input; /** diff --git a/sdk/nodejs/synthetics/certCheckMonitor.ts b/sdk/nodejs/synthetics/certCheckMonitor.ts index f3d287c1..439e01ad 100644 --- a/sdk/nodejs/synthetics/certCheckMonitor.ts +++ b/sdk/nodejs/synthetics/certCheckMonitor.ts @@ -125,7 +125,9 @@ export class CertCheckMonitor extends pulumi.CustomResource { */ public /*out*/ readonly periodInMinutes!: pulumi.Output; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ public readonly status!: pulumi.Output; /** @@ -223,7 +225,9 @@ export interface CertCheckMonitorState { */ periodInMinutes?: pulumi.Input; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status?: pulumi.Input; /** @@ -265,7 +269,9 @@ export interface CertCheckMonitorArgs { */ period: pulumi.Input; /** - * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status: pulumi.Input; /** diff --git a/sdk/nodejs/synthetics/getPrivateLocation.ts b/sdk/nodejs/synthetics/getPrivateLocation.ts index 08901959..4d52be13 100644 --- a/sdk/nodejs/synthetics/getPrivateLocation.ts +++ b/sdk/nodejs/synthetics/getPrivateLocation.ts @@ -17,7 +17,7 @@ import * as utilities from "../utilities"; * accountId: 123456, * name: "My private location", * }); - * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [data.newrelic_synthetics_monitor_location.example.id]}); + * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [example.then(example => example.id)]}); * ``` * * ```typescript @@ -89,7 +89,7 @@ export interface GetPrivateLocationResult { * accountId: 123456, * name: "My private location", * }); - * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [data.newrelic_synthetics_monitor_location.example.id]}); + * const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [example.then(example => example.id)]}); * ``` * * ```typescript diff --git a/sdk/nodejs/synthetics/monitor.ts b/sdk/nodejs/synthetics/monitor.ts index c8a84dee..54b59bca 100644 --- a/sdk/nodejs/synthetics/monitor.ts +++ b/sdk/nodejs/synthetics/monitor.ts @@ -227,7 +227,9 @@ export class Monitor extends pulumi.CustomResource { */ public readonly scriptLanguage!: pulumi.Output; /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ public readonly status!: pulumi.Output; /** @@ -389,7 +391,9 @@ export interface MonitorState { */ scriptLanguage?: pulumi.Input; /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status?: pulumi.Input; /** @@ -479,7 +483,9 @@ export interface MonitorArgs { */ scriptLanguage?: pulumi.Input; /** - * The run state of the monitor. + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status: pulumi.Input; /** diff --git a/sdk/nodejs/synthetics/scriptMonitor.ts b/sdk/nodejs/synthetics/scriptMonitor.ts index 6c9f0e6e..717749d1 100644 --- a/sdk/nodejs/synthetics/scriptMonitor.ts +++ b/sdk/nodejs/synthetics/scriptMonitor.ts @@ -220,7 +220,9 @@ export class ScriptMonitor extends pulumi.CustomResource { */ public readonly scriptLanguage!: pulumi.Output; /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ public readonly status!: pulumi.Output; /** @@ -359,7 +361,9 @@ export interface ScriptMonitorState { */ scriptLanguage?: pulumi.Input; /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status?: pulumi.Input; /** @@ -427,7 +431,9 @@ export interface ScriptMonitorArgs { */ scriptLanguage?: pulumi.Input; /** - * The run state of the monitor: `ENABLED` or `DISABLED` + * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status: pulumi.Input; /** diff --git a/sdk/nodejs/synthetics/stepMonitor.ts b/sdk/nodejs/synthetics/stepMonitor.ts index e703ca59..7546eeb7 100644 --- a/sdk/nodejs/synthetics/stepMonitor.ts +++ b/sdk/nodejs/synthetics/stepMonitor.ts @@ -107,6 +107,8 @@ export class StepMonitor extends pulumi.CustomResource { public /*out*/ readonly periodInMinutes!: pulumi.Output; /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ public readonly status!: pulumi.Output; /** @@ -208,6 +210,8 @@ export interface StepMonitorState { periodInMinutes?: pulumi.Input; /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status?: pulumi.Input; /** @@ -250,6 +254,8 @@ export interface StepMonitorArgs { period: pulumi.Input; /** * The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + * + * > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. */ status: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 92000068..be5bf02e 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -59,7 +59,7 @@ export interface AlertChannelConfig { */ payloadType?: pulumi.Input; /** - * Comma delimited list of email addresses. + * A set of recipients for targeting notifications. Multiple values are comma separated. */ recipients?: pulumi.Input; /** @@ -83,7 +83,7 @@ export interface AlertChannelConfig { */ teams?: pulumi.Input; /** - * [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). */ url?: pulumi.Input; userId?: pulumi.Input; @@ -2285,8 +2285,7 @@ export interface ServiceLevelEventsBadEvents { */ select?: pulumi.Input; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: pulumi.Input; @@ -2317,8 +2316,7 @@ export interface ServiceLevelEventsGoodEvents { */ select?: pulumi.Input; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: pulumi.Input; @@ -2349,8 +2347,7 @@ export interface ServiceLevelEventsValidEvents { */ select?: pulumi.Input; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: pulumi.Input; @@ -2464,9 +2461,6 @@ export interface WorkflowEnrichmentsNrqlConfiguration { export interface WorkflowIssuesFilter { filterId?: pulumi.Input; - /** - * The name of the workflow. - */ name: pulumi.Input; /** * A condition an issue event should satisfy to be processed by the workflow @@ -2496,8 +2490,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAlb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2524,9 +2516,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2534,8 +2523,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsApiGateway { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2554,9 +2541,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2564,8 +2548,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAutoScaling { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2579,8 +2561,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAwsDirectConnect { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2594,8 +2574,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAwsStates { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2609,8 +2587,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsCloudtrail { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2624,8 +2600,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsDynamoDb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2648,9 +2622,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2658,8 +2629,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEbs { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2678,9 +2647,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2688,8 +2654,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEc2 { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2708,9 +2672,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2718,8 +2679,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsElasticSearch { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2738,9 +2697,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2748,8 +2704,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsElb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2771,8 +2725,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEmr { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input; /** @@ -2791,9 +2743,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2811,9 +2760,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2821,8 +2767,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsLambda { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2841,9 +2785,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2851,8 +2792,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsRds { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2871,9 +2810,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2881,8 +2817,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsRedShift { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2897,9 +2831,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2938,9 +2869,6 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } @@ -2948,8 +2876,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsSns { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2967,8 +2893,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsSqs { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: pulumi.Input[]>; /** @@ -2995,16 +2919,13 @@ export namespace cloud { tagKey?: pulumi.Input; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: pulumi.Input; } export interface AwsIntegrationsAlb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3041,7 +2962,7 @@ export namespace cloud { export interface AwsIntegrationsApiGateway { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3068,7 +2989,7 @@ export namespace cloud { export interface AwsIntegrationsAutoScaling { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3083,7 +3004,7 @@ export namespace cloud { export interface AwsIntegrationsAwsAppSync { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3098,7 +3019,7 @@ export namespace cloud { export interface AwsIntegrationsAwsAthena { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3113,7 +3034,7 @@ export namespace cloud { export interface AwsIntegrationsAwsCognito { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3128,7 +3049,7 @@ export namespace cloud { export interface AwsIntegrationsAwsConnect { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3143,7 +3064,7 @@ export namespace cloud { export interface AwsIntegrationsAwsDirectConnect { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3158,7 +3079,7 @@ export namespace cloud { export interface AwsIntegrationsAwsFsx { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3173,7 +3094,7 @@ export namespace cloud { export interface AwsIntegrationsAwsGlue { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3188,7 +3109,7 @@ export namespace cloud { export interface AwsIntegrationsAwsKinesisAnalytics { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3203,7 +3124,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMediaConvert { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3218,7 +3139,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMediaPackageVod { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3233,7 +3154,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMq { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3248,7 +3169,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMsk { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3263,7 +3184,7 @@ export namespace cloud { export interface AwsIntegrationsAwsNeptune { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3278,7 +3199,7 @@ export namespace cloud { export interface AwsIntegrationsAwsQldb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3293,7 +3214,7 @@ export namespace cloud { export interface AwsIntegrationsAwsRoute53resolver { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3308,7 +3229,7 @@ export namespace cloud { export interface AwsIntegrationsAwsStates { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3323,7 +3244,7 @@ export namespace cloud { export interface AwsIntegrationsAwsTransitGateway { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3338,7 +3259,7 @@ export namespace cloud { export interface AwsIntegrationsAwsWaf { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3353,7 +3274,7 @@ export namespace cloud { export interface AwsIntegrationsAwsWafv2 { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3404,7 +3325,7 @@ export namespace cloud { export interface AwsIntegrationsCloudtrail { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3419,7 +3340,7 @@ export namespace cloud { export interface AwsIntegrationsDocDb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3434,7 +3355,7 @@ export namespace cloud { export interface AwsIntegrationsDynamodb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3467,7 +3388,7 @@ export namespace cloud { export interface AwsIntegrationsEbs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3496,7 +3417,7 @@ export namespace cloud { export interface AwsIntegrationsEc2 { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3527,7 +3448,7 @@ export namespace cloud { export interface AwsIntegrationsEcs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3554,7 +3475,7 @@ export namespace cloud { export interface AwsIntegrationsEfs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3581,7 +3502,7 @@ export namespace cloud { export interface AwsIntegrationsElasticache { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3608,7 +3529,7 @@ export namespace cloud { export interface AwsIntegrationsElasticbeanstalk { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3641,7 +3562,7 @@ export namespace cloud { export interface AwsIntegrationsElasticsearch { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3668,7 +3589,7 @@ export namespace cloud { export interface AwsIntegrationsElb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3693,7 +3614,7 @@ export namespace cloud { export interface AwsIntegrationsEmr { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3748,7 +3669,7 @@ export namespace cloud { export interface AwsIntegrationsIot { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3763,7 +3684,7 @@ export namespace cloud { export interface AwsIntegrationsKinesis { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3794,7 +3715,7 @@ export namespace cloud { export interface AwsIntegrationsKinesisFirehose { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3809,7 +3730,7 @@ export namespace cloud { export interface AwsIntegrationsLambda { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3836,7 +3757,7 @@ export namespace cloud { export interface AwsIntegrationsRds { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3863,7 +3784,7 @@ export namespace cloud { export interface AwsIntegrationsRedshift { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3930,7 +3851,7 @@ export namespace cloud { export interface AwsIntegrationsSes { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3945,7 +3866,7 @@ export namespace cloud { export interface AwsIntegrationsSns { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -3966,7 +3887,7 @@ export namespace cloud { export interface AwsIntegrationsSqs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -4013,7 +3934,7 @@ export namespace cloud { export interface AwsIntegrationsVpc { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -4044,7 +3965,7 @@ export namespace cloud { export interface AwsIntegrationsXRay { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: pulumi.Input[]>; @@ -4762,7 +4683,7 @@ export namespace plugins { export interface WorkloadStatusConfigAutomatic { /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. */ enabled: pulumi.Input; /** @@ -4844,7 +4765,7 @@ export namespace plugins { */ description?: pulumi.Input; /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. */ enabled: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 5838d36a..eb26a5a1 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -59,7 +59,7 @@ export interface AlertChannelConfig { */ payloadType?: string; /** - * Comma delimited list of email addresses. + * A set of recipients for targeting notifications. Multiple values are comma separated. */ recipients?: string; /** @@ -83,7 +83,7 @@ export interface AlertChannelConfig { */ teams?: string; /** - * [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + * [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). */ url?: string; userId?: string; @@ -2330,8 +2330,7 @@ export interface ServiceLevelEventsBadEvents { */ select?: outputs.ServiceLevelEventsBadEventsSelect; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: string; @@ -2362,8 +2361,7 @@ export interface ServiceLevelEventsGoodEvents { */ select?: outputs.ServiceLevelEventsGoodEventsSelect; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: string; @@ -2394,8 +2392,7 @@ export interface ServiceLevelEventsValidEvents { */ select?: outputs.ServiceLevelEventsValidEventsSelect; /** - * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - * a particular entity and were successful). + * A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to * a particular entity and returned an error). */ where?: string; @@ -2509,9 +2506,6 @@ export interface WorkflowEnrichmentsNrqlConfiguration { export interface WorkflowIssuesFilter { filterId: string; - /** - * The name of the workflow. - */ name: string; /** * A condition an issue event should satisfy to be processed by the workflow @@ -2542,8 +2536,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAlb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2570,9 +2562,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2580,8 +2569,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsApiGateway { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2600,9 +2587,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2610,8 +2594,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAutoScaling { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2625,8 +2607,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAwsDirectConnect { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2640,8 +2620,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsAwsStates { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2655,8 +2633,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsCloudtrail { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2670,8 +2646,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsDynamoDb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2694,9 +2668,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2704,8 +2675,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEbs { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2724,9 +2693,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2734,8 +2700,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEc2 { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2754,9 +2718,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2764,8 +2725,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsElasticSearch { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2784,9 +2743,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2794,8 +2750,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsElb { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2817,8 +2771,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsEmr { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string; /** @@ -2837,9 +2789,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2857,9 +2806,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2867,8 +2813,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsLambda { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2887,9 +2831,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2897,8 +2838,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsRds { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2917,9 +2856,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2927,8 +2863,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsRedShift { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -2943,9 +2877,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2984,9 +2915,6 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } @@ -2994,8 +2922,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsSns { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -3013,8 +2939,6 @@ export namespace cloud { export interface AwsGovcloudIntegrationsSqs { /** * Specify each AWS region that includes the resources that you want to monitor. - * * `direct connect` - * * `aws states` */ awsRegions?: string[]; /** @@ -3041,16 +2965,13 @@ export namespace cloud { tagKey?: string; /** * Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * * `api Gateway` - * * `auto scaling` - * * `elastic search` */ tagValue?: string; } export interface AwsIntegrationsAlb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3087,7 +3008,7 @@ export namespace cloud { export interface AwsIntegrationsApiGateway { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3114,7 +3035,7 @@ export namespace cloud { export interface AwsIntegrationsAutoScaling { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3129,7 +3050,7 @@ export namespace cloud { export interface AwsIntegrationsAwsAppSync { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3144,7 +3065,7 @@ export namespace cloud { export interface AwsIntegrationsAwsAthena { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3159,7 +3080,7 @@ export namespace cloud { export interface AwsIntegrationsAwsCognito { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3174,7 +3095,7 @@ export namespace cloud { export interface AwsIntegrationsAwsConnect { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3189,7 +3110,7 @@ export namespace cloud { export interface AwsIntegrationsAwsDirectConnect { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3204,7 +3125,7 @@ export namespace cloud { export interface AwsIntegrationsAwsFsx { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3219,7 +3140,7 @@ export namespace cloud { export interface AwsIntegrationsAwsGlue { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3234,7 +3155,7 @@ export namespace cloud { export interface AwsIntegrationsAwsKinesisAnalytics { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3249,7 +3170,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMediaConvert { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3264,7 +3185,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMediaPackageVod { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3279,7 +3200,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMq { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3294,7 +3215,7 @@ export namespace cloud { export interface AwsIntegrationsAwsMsk { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3309,7 +3230,7 @@ export namespace cloud { export interface AwsIntegrationsAwsNeptune { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3324,7 +3245,7 @@ export namespace cloud { export interface AwsIntegrationsAwsQldb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3339,7 +3260,7 @@ export namespace cloud { export interface AwsIntegrationsAwsRoute53resolver { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3354,7 +3275,7 @@ export namespace cloud { export interface AwsIntegrationsAwsStates { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3369,7 +3290,7 @@ export namespace cloud { export interface AwsIntegrationsAwsTransitGateway { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3384,7 +3305,7 @@ export namespace cloud { export interface AwsIntegrationsAwsWaf { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3399,7 +3320,7 @@ export namespace cloud { export interface AwsIntegrationsAwsWafv2 { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3450,7 +3371,7 @@ export namespace cloud { export interface AwsIntegrationsCloudtrail { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3465,7 +3386,7 @@ export namespace cloud { export interface AwsIntegrationsDocDb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3480,7 +3401,7 @@ export namespace cloud { export interface AwsIntegrationsDynamodb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3513,7 +3434,7 @@ export namespace cloud { export interface AwsIntegrationsEbs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3542,7 +3463,7 @@ export namespace cloud { export interface AwsIntegrationsEc2 { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3573,7 +3494,7 @@ export namespace cloud { export interface AwsIntegrationsEcs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3600,7 +3521,7 @@ export namespace cloud { export interface AwsIntegrationsEfs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3627,7 +3548,7 @@ export namespace cloud { export interface AwsIntegrationsElasticache { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3654,7 +3575,7 @@ export namespace cloud { export interface AwsIntegrationsElasticbeanstalk { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3687,7 +3608,7 @@ export namespace cloud { export interface AwsIntegrationsElasticsearch { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3714,7 +3635,7 @@ export namespace cloud { export interface AwsIntegrationsElb { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3739,7 +3660,7 @@ export namespace cloud { export interface AwsIntegrationsEmr { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3794,7 +3715,7 @@ export namespace cloud { export interface AwsIntegrationsIot { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3809,7 +3730,7 @@ export namespace cloud { export interface AwsIntegrationsKinesis { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3840,7 +3761,7 @@ export namespace cloud { export interface AwsIntegrationsKinesisFirehose { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3855,7 +3776,7 @@ export namespace cloud { export interface AwsIntegrationsLambda { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3882,7 +3803,7 @@ export namespace cloud { export interface AwsIntegrationsRds { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3909,7 +3830,7 @@ export namespace cloud { export interface AwsIntegrationsRedshift { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3976,7 +3897,7 @@ export namespace cloud { export interface AwsIntegrationsSes { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -3991,7 +3912,7 @@ export namespace cloud { export interface AwsIntegrationsSns { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -4012,7 +3933,7 @@ export namespace cloud { export interface AwsIntegrationsSqs { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -4059,7 +3980,7 @@ export namespace cloud { export interface AwsIntegrationsVpc { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -4090,7 +4011,7 @@ export namespace cloud { export interface AwsIntegrationsXRay { /** - * Specify each AWS region that includes the resources that you want to monitor. + * Specify each AWS region that includes the resources that you want to monitor. * */ awsRegions?: string[]; @@ -4810,7 +4731,7 @@ export namespace plugins { export interface WorkloadStatusConfigAutomatic { /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. */ enabled: boolean; /** @@ -4892,7 +4813,7 @@ export namespace plugins { */ description?: string; /** - * Whether the automatic status configuration is enabled or not. + * Whether the static status configuration is enabled or not. */ enabled: boolean; /** diff --git a/sdk/python/pulumi_newrelic/_inputs.py b/sdk/python/pulumi_newrelic/_inputs.py index 8159f238..9fcb1dc7 100644 --- a/sdk/python/pulumi_newrelic/_inputs.py +++ b/sdk/python/pulumi_newrelic/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -201,56 +201,105 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] payload: A map of key/value pairs that represents the webhook payload. Must provide `payload_type` if setting this argument. :param pulumi.Input[str] payload_string: Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`. :param pulumi.Input[str] payload_type: Can either be `application/json` or `application/x-www-form-urlencoded`. The `payload_type` argument is _required_ if `payload` is set. - :param pulumi.Input[str] recipients: Comma delimited list of email addresses. + :param pulumi.Input[str] recipients: A set of recipients for targeting notifications. Multiple values are comma separated. :param pulumi.Input[str] region: The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. :param pulumi.Input[str] route_key: The route key for integrating with VictorOps. :param pulumi.Input[str] service_key: Specifies the service key for integrating with Pagerduty. :param pulumi.Input[str] tags: A set of tags for targeting notifications. Multiple values are comma separated. :param pulumi.Input[str] teams: A set of teams for targeting notifications. Multiple values are comma separated. - :param pulumi.Input[str] url: [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). - """ + :param pulumi.Input[str] url: [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). + """ + AlertChannelConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_key=api_key, + auth_password=auth_password, + auth_type=auth_type, + auth_username=auth_username, + base_url=base_url, + channel=channel, + headers=headers, + headers_string=headers_string, + include_json_attachment=include_json_attachment, + key=key, + payload=payload, + payload_string=payload_string, + payload_type=payload_type, + recipients=recipients, + region=region, + route_key=route_key, + service_key=service_key, + tags=tags, + teams=teams, + url=url, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_key: Optional[pulumi.Input[str]] = None, + auth_password: Optional[pulumi.Input[str]] = None, + auth_type: Optional[pulumi.Input[str]] = None, + auth_username: Optional[pulumi.Input[str]] = None, + base_url: Optional[pulumi.Input[str]] = None, + channel: Optional[pulumi.Input[str]] = None, + headers: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + headers_string: Optional[pulumi.Input[str]] = None, + include_json_attachment: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + payload: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + payload_string: Optional[pulumi.Input[str]] = None, + payload_type: Optional[pulumi.Input[str]] = None, + recipients: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + route_key: Optional[pulumi.Input[str]] = None, + service_key: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[str]] = None, + teams: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_key is not None: - pulumi.set(__self__, "api_key", api_key) + _setter("api_key", api_key) if auth_password is not None: - pulumi.set(__self__, "auth_password", auth_password) + _setter("auth_password", auth_password) if auth_type is not None: - pulumi.set(__self__, "auth_type", auth_type) + _setter("auth_type", auth_type) if auth_username is not None: - pulumi.set(__self__, "auth_username", auth_username) + _setter("auth_username", auth_username) if base_url is not None: - pulumi.set(__self__, "base_url", base_url) + _setter("base_url", base_url) if channel is not None: - pulumi.set(__self__, "channel", channel) + _setter("channel", channel) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if headers_string is not None: - pulumi.set(__self__, "headers_string", headers_string) + _setter("headers_string", headers_string) if include_json_attachment is not None: - pulumi.set(__self__, "include_json_attachment", include_json_attachment) + _setter("include_json_attachment", include_json_attachment) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if payload is not None: - pulumi.set(__self__, "payload", payload) + _setter("payload", payload) if payload_string is not None: - pulumi.set(__self__, "payload_string", payload_string) + _setter("payload_string", payload_string) if payload_type is not None: - pulumi.set(__self__, "payload_type", payload_type) + _setter("payload_type", payload_type) if recipients is not None: - pulumi.set(__self__, "recipients", recipients) + _setter("recipients", recipients) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if route_key is not None: - pulumi.set(__self__, "route_key", route_key) + _setter("route_key", route_key) if service_key is not None: - pulumi.set(__self__, "service_key", service_key) + _setter("service_key", service_key) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if teams is not None: - pulumi.set(__self__, "teams", teams) + _setter("teams", teams) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="apiKey") @@ -412,7 +461,7 @@ def payload_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def recipients(self) -> Optional[pulumi.Input[str]]: """ - Comma delimited list of email addresses. + A set of recipients for targeting notifications. Multiple values are comma separated. """ return pulumi.get(self, "recipients") @@ -484,7 +533,7 @@ def teams(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def url(self) -> Optional[pulumi.Input[str]]: """ - [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). """ return pulumi.get(self, "url") @@ -510,13 +559,30 @@ def __init__(__self__, *, time_function: pulumi.Input[str], operator: Optional[pulumi.Input[str]] = None, priority: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "threshold", threshold) - pulumi.set(__self__, "time_function", time_function) + AlertConditionTermArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + threshold=threshold, + time_function=time_function, + operator=operator, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: pulumi.Input[int], + threshold: pulumi.Input[float], + time_function: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) + _setter("threshold", threshold) + _setter("time_function", time_function) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -573,8 +639,19 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]] conditions: The individual MutingRuleConditions within the group. See Nested conditions blocks below for details. :param pulumi.Input[str] operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`. """ - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "operator", operator) + AlertMutingRuleConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + conditions=conditions, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + conditions: pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]], + operator: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("conditions", conditions) + _setter("operator", operator) @property @pulumi.getter @@ -612,9 +689,22 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The value(s) to compare against the attribute's value. """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "values", values) + AlertMutingRuleConditionConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + operator=operator, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: pulumi.Input[str], + operator: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute", attribute) + _setter("operator", operator) + _setter("values", values) @property @pulumi.getter @@ -671,19 +761,40 @@ def __init__(__self__, *, :param pulumi.Input[str] start_time: The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00' :param pulumi.Input[Sequence[pulumi.Input[str]]] weekly_repeat_days: The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY'] """ - pulumi.set(__self__, "time_zone", time_zone) + AlertMutingRuleScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_zone=time_zone, + end_repeat=end_repeat, + end_time=end_time, + repeat=repeat, + repeat_count=repeat_count, + start_time=start_time, + weekly_repeat_days=weekly_repeat_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_zone: pulumi.Input[str], + end_repeat: Optional[pulumi.Input[str]] = None, + end_time: Optional[pulumi.Input[str]] = None, + repeat: Optional[pulumi.Input[str]] = None, + repeat_count: Optional[pulumi.Input[int]] = None, + start_time: Optional[pulumi.Input[str]] = None, + weekly_repeat_days: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_zone", time_zone) if end_repeat is not None: - pulumi.set(__self__, "end_repeat", end_repeat) + _setter("end_repeat", end_repeat) if end_time is not None: - pulumi.set(__self__, "end_time", end_time) + _setter("end_time", end_time) if repeat is not None: - pulumi.set(__self__, "repeat", repeat) + _setter("repeat", repeat) if repeat_count is not None: - pulumi.set(__self__, "repeat_count", repeat_count) + _setter("repeat_count", repeat_count) if start_time is not None: - pulumi.set(__self__, "start_time", start_time) + _setter("start_time", start_time) if weekly_repeat_days is not None: - pulumi.set(__self__, "weekly_repeat_days", weekly_repeat_days) + _setter("weekly_repeat_days", weekly_repeat_days) @property @pulumi.getter(name="timeZone") @@ -776,8 +887,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: The tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The tag values. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + EntityTagsTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -810,11 +932,24 @@ def __init__(__self__, *, duration: pulumi.Input[int], time_function: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[float]] = None): - pulumi.set(__self__, "duration", duration) + InfraAlertConditionCriticalArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + time_function=time_function, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: pulumi.Input[int], + time_function: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -850,11 +985,24 @@ def __init__(__self__, *, duration: pulumi.Input[int], time_function: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[float]] = None): - pulumi.set(__self__, "duration", duration) + InfraAlertConditionWarningArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + time_function=time_function, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: pulumi.Input[int], + time_function: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -899,12 +1047,27 @@ def __init__(__self__, *, Each notification channel type supports a specific set of arguments for the `property` block: :param pulumi.Input[str] label: The notification property label. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + NotificationChannelPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + display_value=display_value, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + display_value: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if display_value is not None: - pulumi.set(__self__, "display_value", display_value) + _setter("display_value", display_value) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter @@ -966,8 +1129,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: Specifies an authentication password for use with a destination. :param pulumi.Input[str] user: The username of the basic auth. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user", user) + NotificationDestinationAuthBasicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + user: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user", user) @property @pulumi.getter @@ -1002,9 +1176,20 @@ def __init__(__self__, *, """ :param pulumi.Input[str] prefix: The prefix of the token auth. """ - pulumi.set(__self__, "token", token) + NotificationDestinationAuthTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + token=token, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token: pulumi.Input[str], + prefix: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token", token) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -1043,12 +1228,27 @@ def __init__(__self__, *, Each notification destination type supports a specific set of arguments for the `property` block. See Additional Examples below for details: :param pulumi.Input[str] label: The notification property label. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + NotificationDestinationPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + display_value=display_value, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + display_value: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if display_value is not None: - pulumi.set(__self__, "display_value", display_value) + _setter("display_value", display_value) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter @@ -1110,23 +1310,42 @@ def __init__(__self__, *, threshold_duration: Optional[pulumi.Input[int]] = None, threshold_occurrences: Optional[pulumi.Input[str]] = None, time_function: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionCriticalArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: pulumi.Input[float], + duration: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + threshold_duration: Optional[pulumi.Input[int]] = None, + threshold_occurrences: Optional[pulumi.Input[str]] = None, + time_function: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: warnings.warn("""use `threshold_duration` attribute instead""", DeprecationWarning) pulumi.log.warn("""duration is deprecated: use `threshold_duration` attribute instead""") if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: warnings.warn("""use `threshold_occurrences` attribute instead""", DeprecationWarning) pulumi.log.warn("""time_function is deprecated: use `threshold_occurrences` attribute instead""") if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1195,17 +1414,30 @@ def __init__(__self__, *, query: pulumi.Input[str], evaluation_offset: Optional[pulumi.Input[int]] = None, since_value: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "query", query) + NrqlAlertConditionNrqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + evaluation_offset=evaluation_offset, + since_value=since_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + evaluation_offset: Optional[pulumi.Input[int]] = None, + since_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if evaluation_offset is not None: warnings.warn("""use `aggregation_method` attribute instead""", DeprecationWarning) pulumi.log.warn("""evaluation_offset is deprecated: use `aggregation_method` attribute instead""") if evaluation_offset is not None: - pulumi.set(__self__, "evaluation_offset", evaluation_offset) + _setter("evaluation_offset", evaluation_offset) if since_value is not None: warnings.warn("""use `aggregation_method` attribute instead""", DeprecationWarning) pulumi.log.warn("""since_value is deprecated: use `aggregation_method` attribute instead""") if since_value is not None: - pulumi.set(__self__, "since_value", since_value) + _setter("since_value", since_value) @property @pulumi.getter @@ -1251,25 +1483,46 @@ def __init__(__self__, *, threshold_duration: Optional[pulumi.Input[int]] = None, threshold_occurrences: Optional[pulumi.Input[str]] = None, time_function: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionTermArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + priority=priority, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: pulumi.Input[float], + duration: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + threshold_duration: Optional[pulumi.Input[int]] = None, + threshold_occurrences: Optional[pulumi.Input[str]] = None, + time_function: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: warnings.warn("""use `threshold_duration` attribute instead""", DeprecationWarning) pulumi.log.warn("""duration is deprecated: use `threshold_duration` attribute instead""") if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: warnings.warn("""use `threshold_occurrences` attribute instead""", DeprecationWarning) pulumi.log.warn("""time_function is deprecated: use `threshold_occurrences` attribute instead""") if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1350,23 +1603,42 @@ def __init__(__self__, *, threshold_duration: Optional[pulumi.Input[int]] = None, threshold_occurrences: Optional[pulumi.Input[str]] = None, time_function: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionWarningArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: pulumi.Input[float], + duration: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + threshold_duration: Optional[pulumi.Input[int]] = None, + threshold_occurrences: Optional[pulumi.Input[str]] = None, + time_function: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: warnings.warn("""use `threshold_duration` attribute instead""", DeprecationWarning) pulumi.log.warn("""duration is deprecated: use `threshold_duration` attribute instead""") if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: warnings.warn("""use `threshold_occurrences` attribute instead""", DeprecationWarning) pulumi.log.warn("""time_function is deprecated: use `threshold_occurrences` attribute instead""") if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1440,9 +1712,22 @@ def __init__(__self__, *, :param pulumi.Input[str] expression_id: Expression Id for action. :param pulumi.Input[str] method: Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`. """ - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "expression_id", expression_id) - pulumi.set(__self__, "method", method) + ObfuscationRuleActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + expression_id=expression_id, + method=method, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: pulumi.Input[Sequence[pulumi.Input[str]]], + expression_id: pulumi.Input[str], + method: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("expression_id", expression_id) + _setter("method", method) @property @pulumi.getter @@ -1506,39 +1791,80 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Brief text describing the dashboard. :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic. """ - pulumi.set(__self__, "name", name) + OneDashboardPageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + guid=guid, + widget_areas=widget_areas, + widget_bars=widget_bars, + widget_billboards=widget_billboards, + widget_bullets=widget_bullets, + widget_funnels=widget_funnels, + widget_heatmaps=widget_heatmaps, + widget_histograms=widget_histograms, + widget_jsons=widget_jsons, + widget_lines=widget_lines, + widget_log_tables=widget_log_tables, + widget_markdowns=widget_markdowns, + widget_pies=widget_pies, + widget_stacked_bars=widget_stacked_bars, + widget_tables=widget_tables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + widget_areas: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaArgs']]]] = None, + widget_bars: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarArgs']]]] = None, + widget_billboards: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardArgs']]]] = None, + widget_bullets: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletArgs']]]] = None, + widget_funnels: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelArgs']]]] = None, + widget_heatmaps: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapArgs']]]] = None, + widget_histograms: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramArgs']]]] = None, + widget_jsons: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonArgs']]]] = None, + widget_lines: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineArgs']]]] = None, + widget_log_tables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableArgs']]]] = None, + widget_markdowns: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownArgs']]]] = None, + widget_pies: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyArgs']]]] = None, + widget_stacked_bars: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarArgs']]]] = None, + widget_tables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if widget_areas is not None: - pulumi.set(__self__, "widget_areas", widget_areas) + _setter("widget_areas", widget_areas) if widget_bars is not None: - pulumi.set(__self__, "widget_bars", widget_bars) + _setter("widget_bars", widget_bars) if widget_billboards is not None: - pulumi.set(__self__, "widget_billboards", widget_billboards) + _setter("widget_billboards", widget_billboards) if widget_bullets is not None: - pulumi.set(__self__, "widget_bullets", widget_bullets) + _setter("widget_bullets", widget_bullets) if widget_funnels is not None: - pulumi.set(__self__, "widget_funnels", widget_funnels) + _setter("widget_funnels", widget_funnels) if widget_heatmaps is not None: - pulumi.set(__self__, "widget_heatmaps", widget_heatmaps) + _setter("widget_heatmaps", widget_heatmaps) if widget_histograms is not None: - pulumi.set(__self__, "widget_histograms", widget_histograms) + _setter("widget_histograms", widget_histograms) if widget_jsons is not None: - pulumi.set(__self__, "widget_jsons", widget_jsons) + _setter("widget_jsons", widget_jsons) if widget_lines is not None: - pulumi.set(__self__, "widget_lines", widget_lines) + _setter("widget_lines", widget_lines) if widget_log_tables is not None: - pulumi.set(__self__, "widget_log_tables", widget_log_tables) + _setter("widget_log_tables", widget_log_tables) if widget_markdowns is not None: - pulumi.set(__self__, "widget_markdowns", widget_markdowns) + _setter("widget_markdowns", widget_markdowns) if widget_pies is not None: - pulumi.set(__self__, "widget_pies", widget_pies) + _setter("widget_pies", widget_pies) if widget_stacked_bars is not None: - pulumi.set(__self__, "widget_stacked_bars", widget_stacked_bars) + _setter("widget_stacked_bars", widget_stacked_bars) if widget_tables is not None: - pulumi.set(__self__, "widget_tables", widget_tables) + _setter("widget_tables", widget_tables) @property @pulumi.getter @@ -1736,32 +2062,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetAreaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -1947,10 +2310,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetAreaColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -1985,10 +2359,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetAreaColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -2021,9 +2406,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetAreaNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -2059,10 +2455,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetAreaNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -2097,10 +2504,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetAreaNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -2133,10 +2551,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetAreaUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -2171,10 +2600,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetAreaUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -2235,36 +2675,77 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBarArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + filter_current_dashboard: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -2474,10 +2955,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBarColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -2512,10 +3004,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBarColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -2548,9 +3051,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBarNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -2586,10 +3100,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBarNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -2624,10 +3149,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBarNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -2660,10 +3196,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBarUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -2698,10 +3245,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBarUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -2762,36 +3320,77 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBillboardArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + critical=critical, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + warning=warning, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardColorArgs']]]] = None, + critical: Optional[pulumi.Input[str]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardUnitArgs']]]] = None, + warning: Optional[pulumi.Input[str]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -3001,10 +3600,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBillboardColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -3039,10 +3649,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBillboardColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -3075,9 +3696,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBillboardNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -3113,10 +3745,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBillboardNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -3151,10 +3794,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBillboardNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -3187,10 +3841,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBillboardUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBillboardUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -3225,10 +3890,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBillboardUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -3287,33 +3963,72 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBulletArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + limit=limit, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + limit: pulumi.Input[float], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("limit", limit) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -3511,10 +4226,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBulletColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -3549,10 +4275,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBulletColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -3585,9 +4322,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBulletNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -3623,10 +4371,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBulletNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -3661,10 +4420,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBulletNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -3697,10 +4467,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBulletUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBulletUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -3735,10 +4516,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBulletUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -3795,32 +4587,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetFunnelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -4006,10 +4835,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetFunnelColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -4044,10 +4884,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetFunnelColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -4080,9 +4931,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetFunnelNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -4118,10 +4980,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetFunnelNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -4156,10 +5029,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetFunnelNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -4192,10 +5076,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetFunnelUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetFunnelUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -4230,10 +5125,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetFunnelUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -4294,36 +5200,77 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetHeatmapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + filter_current_dashboard: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -4533,10 +5480,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHeatmapColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -4571,10 +5529,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetHeatmapColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -4607,9 +5576,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetHeatmapNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -4645,10 +5625,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHeatmapNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -4683,10 +5674,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetHeatmapNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -4719,10 +5721,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHeatmapUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHeatmapUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -4757,10 +5770,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHeatmapUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -4817,32 +5841,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetHistogramArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -5028,10 +6089,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHistogramColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -5066,10 +6138,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetHistogramColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -5102,9 +6185,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetHistogramNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -5140,10 +6234,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHistogramNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -5178,10 +6283,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetHistogramNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -5214,10 +6330,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHistogramUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetHistogramUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -5252,10 +6379,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHistogramUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -5312,32 +6450,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetJsonArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -5523,10 +6698,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetJsonColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -5561,10 +6747,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetJsonColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -5597,9 +6794,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetJsonNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -5635,10 +6843,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetJsonNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -5673,10 +6892,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetJsonNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -5709,10 +6939,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetJsonUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetJsonUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -5747,10 +6988,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetJsonUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -5809,34 +7061,73 @@ def __init__(__self__, *, :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. :param pulumi.Input[bool] y_axis_left_zero: (Optional) An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from `y_axis_left_min` (or 0 if it is not defined) to `y_axis_left_max`. Use `y_axis_left_zero = true` with a combination of `y_axis_left_min` and `y_axis_left_max` to render values from 0 or the specified minimum to the maximum, and `y_axis_left_zero = false` to fit the graph to scale. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetLineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + y_axis_left_zero=y_axis_left_zero, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + y_axis_left_zero: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) if y_axis_left_zero is not None: - pulumi.set(__self__, "y_axis_left_zero", y_axis_left_zero) + _setter("y_axis_left_zero", y_axis_left_zero) @property @pulumi.getter @@ -6034,10 +7325,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLineColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -6072,10 +7374,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetLineColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -6108,9 +7421,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetLineNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -6146,10 +7470,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLineNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -6184,10 +7519,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetLineNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -6220,10 +7566,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLineUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -6258,10 +7615,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLineUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -6318,32 +7686,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetLogTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -6529,10 +7934,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLogTableColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -6567,10 +7983,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetLogTableColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -6603,9 +8030,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetLogTableNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -6641,10 +8079,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLogTableNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -6679,10 +8128,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetLogTableNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -6715,10 +8175,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLogTableUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLogTableUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -6753,10 +8224,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLogTableUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -6813,32 +8295,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetMarkdownArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + row=row, + text=text, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + row: pulumi.Input[int], + text: pulumi.Input[str], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("row", row) + _setter("text", text) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -7024,10 +8543,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetMarkdownColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -7062,10 +8592,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetMarkdownColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -7098,10 +8639,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetMarkdownNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -7136,10 +8688,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetMarkdownNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -7172,10 +8735,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetMarkdownUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetMarkdownUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -7210,10 +8784,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetMarkdownUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -7274,36 +8859,77 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetPyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + filter_current_dashboard: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -7513,10 +9139,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetPyColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -7551,10 +9188,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetPyColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -7587,9 +9235,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetPyNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -7625,10 +9284,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetPyNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -7663,10 +9333,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetPyNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -7699,10 +9380,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetPyUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetPyUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -7737,10 +9429,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetPyUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -7797,32 +9500,69 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetStackedBarArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -8008,10 +9748,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetStackedBarColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -8046,10 +9797,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetStackedBarColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -8082,9 +9844,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetStackedBarNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -8120,10 +9893,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetStackedBarNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -8158,10 +9942,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetStackedBarNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -8194,10 +9989,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetStackedBarUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -8232,10 +10038,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetStackedBarUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -8296,36 +10113,77 @@ def __init__(__self__, *, :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + nrql_queries: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNrqlQueryArgs']]], + row: pulumi.Input[int], + title: pulumi.Input[str], + colors: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableColorArgs']]]] = None, + facet_show_other_series: Optional[pulumi.Input[bool]] = None, + filter_current_dashboard: Optional[pulumi.Input[bool]] = None, + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + ignore_time_range: Optional[pulumi.Input[bool]] = None, + legend_enabled: Optional[pulumi.Input[bool]] = None, + linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueArgs']]]] = None, + units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitArgs']]]] = None, + width: Optional[pulumi.Input[int]] = None, + y_axis_left_max: Optional[pulumi.Input[float]] = None, + y_axis_left_min: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -8535,10 +10393,21 @@ def __init__(__self__, *, :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableColorSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetTableColorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableColorSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -8573,10 +10442,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetTableColorSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -8609,9 +10489,20 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetTableNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -8647,10 +10538,21 @@ def __init__(__self__, *, :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetTableNullValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueSeriesOverrideArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -8685,10 +10587,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetTableNullValueSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[pulumi.Input[str]] = None, + series_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -8721,10 +10634,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitSeriesOverrideArgs']]] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetTableUnitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitSeriesOverrideArgs']]]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -8759,10 +10683,21 @@ def __init__(__self__, *, """ :param pulumi.Input[str] unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetTableUnitSeriesOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -8799,13 +10734,28 @@ def __init__(__self__, *, :param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageWidgetArgs']]] widgets: (Optional) A nested block that describes a widget. See Nested widget blocks below for details. """ - pulumi.set(__self__, "name", name) + OneDashboardRawPageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + guid=guid, + widgets=widgets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + widgets: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageWidgetArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if widgets is not None: - pulumi.set(__self__, "widgets", widgets) + _setter("widgets", widgets) @property @pulumi.getter @@ -8878,19 +10828,44 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] linked_entity_guids: (Optional) Related entity GUIDs. :param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "visualization_id", visualization_id) + OneDashboardRawPageWidgetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + configuration=configuration, + row=row, + title=title, + visualization_id=visualization_id, + height=height, + id=id, + linked_entity_guids=linked_entity_guids, + width=width, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: pulumi.Input[int], + configuration: pulumi.Input[str], + row: pulumi.Input[int], + title: pulumi.Input[str], + visualization_id: pulumi.Input[str], + height: Optional[pulumi.Input[int]] = None, + id: Optional[pulumi.Input[str]] = None, + linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + width: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("configuration", configuration) + _setter("row", row) + _setter("title", title) + _setter("visualization_id", visualization_id) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) @property @pulumi.getter @@ -9019,18 +10994,41 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableItemArgs']]] items: (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details. :param pulumi.Input['OneDashboardVariableNrqlQueryArgs'] nrql_query: (Optional) Configuration for variables of type `nrql`. See Nested nrql\\_query blocks for details. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "replacement_strategy", replacement_strategy) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "type", type) + OneDashboardVariableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + replacement_strategy=replacement_strategy, + title=title, + type=type, + default_values=default_values, + is_multi_selection=is_multi_selection, + items=items, + nrql_query=nrql_query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + replacement_strategy: pulumi.Input[str], + title: pulumi.Input[str], + type: pulumi.Input[str], + default_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_multi_selection: Optional[pulumi.Input[bool]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableItemArgs']]]] = None, + nrql_query: Optional[pulumi.Input['OneDashboardVariableNrqlQueryArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("replacement_strategy", replacement_strategy) + _setter("title", title) + _setter("type", type) if default_values is not None: - pulumi.set(__self__, "default_values", default_values) + _setter("default_values", default_values) if is_multi_selection is not None: - pulumi.set(__self__, "is_multi_selection", is_multi_selection) + _setter("is_multi_selection", is_multi_selection) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if nrql_query is not None: - pulumi.set(__self__, "nrql_query", nrql_query) + _setter("nrql_query", nrql_query) @property @pulumi.getter @@ -9138,9 +11136,20 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Required) A possible variable value :param pulumi.Input[str] title: (Optional) A human-friendly display string for this value. """ - pulumi.set(__self__, "value", value) + OneDashboardVariableItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + title: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) @property @pulumi.getter @@ -9175,9 +11184,20 @@ def __init__(__self__, *, """ :param pulumi.Input[str] query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. """ - pulumi.set(__self__, "query", query) + OneDashboardVariableNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_ids=account_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) + _setter("account_ids", account_ids) @property @pulumi.getter @@ -9215,12 +11235,27 @@ def __init__(__self__, *, :param pulumi.Input['ServiceLevelEventsBadEventsArgs'] bad_events: The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty. :param pulumi.Input['ServiceLevelEventsGoodEventsArgs'] good_events: The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty. """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "valid_events", valid_events) + ServiceLevelEventsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + valid_events=valid_events, + bad_events=bad_events, + good_events=good_events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: pulumi.Input[int], + valid_events: pulumi.Input['ServiceLevelEventsValidEventsArgs'], + bad_events: Optional[pulumi.Input['ServiceLevelEventsBadEventsArgs']] = None, + good_events: Optional[pulumi.Input['ServiceLevelEventsGoodEventsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_id", account_id) + _setter("valid_events", valid_events) if bad_events is not None: - pulumi.set(__self__, "bad_events", bad_events) + _setter("bad_events", bad_events) if good_events is not None: - pulumi.set(__self__, "good_events", good_events) + _setter("good_events", good_events) @property @pulumi.getter(name="accountId") @@ -9281,15 +11316,27 @@ def __init__(__self__, *, """ :param pulumi.Input[str] from_: The event type where NRDB data will be fetched from. :param pulumi.Input['ServiceLevelEventsBadEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events. - :param pulumi.Input[str] where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param pulumi.Input[str] where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsBadEventsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + select: Optional[pulumi.Input['ServiceLevelEventsBadEventsSelectArgs']] = None, + where: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9319,8 +11366,7 @@ def select(self, value: Optional[pulumi.Input['ServiceLevelEventsBadEventsSelect @pulumi.getter def where(self) -> Optional[pulumi.Input[str]]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9341,11 +11387,24 @@ def __init__(__self__, *, :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause. :param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsBadEventsSelectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: pulumi.Input[str], + attribute: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9393,15 +11452,27 @@ def __init__(__self__, *, """ :param pulumi.Input[str] from_: The event type where NRDB data will be fetched from. :param pulumi.Input['ServiceLevelEventsGoodEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events. - :param pulumi.Input[str] where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param pulumi.Input[str] where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsGoodEventsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + select: Optional[pulumi.Input['ServiceLevelEventsGoodEventsSelectArgs']] = None, + where: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9431,8 +11502,7 @@ def select(self, value: Optional[pulumi.Input['ServiceLevelEventsGoodEventsSelec @pulumi.getter def where(self) -> Optional[pulumi.Input[str]]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9453,11 +11523,24 @@ def __init__(__self__, *, :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause. :param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsGoodEventsSelectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: pulumi.Input[str], + attribute: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9505,15 +11588,27 @@ def __init__(__self__, *, """ :param pulumi.Input[str] from_: The event type where NRDB data will be fetched from. :param pulumi.Input['ServiceLevelEventsValidEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events. - :param pulumi.Input[str] where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param pulumi.Input[str] where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsValidEventsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + select: Optional[pulumi.Input['ServiceLevelEventsValidEventsSelectArgs']] = None, + where: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9543,8 +11638,7 @@ def select(self, value: Optional[pulumi.Input['ServiceLevelEventsValidEventsSele @pulumi.getter def where(self) -> Optional[pulumi.Input[str]]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9565,11 +11659,24 @@ def __init__(__self__, *, :param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause. :param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsValidEventsSelectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: pulumi.Input[str], + attribute: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9621,12 +11728,27 @@ def __init__(__self__, *, :param pulumi.Input[str] description: The description of the SLI. :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about. """ - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "time_window", time_window) + ServiceLevelObjectiveArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + target=target, + time_window=time_window, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target: pulumi.Input[float], + time_window: pulumi.Input['ServiceLevelObjectiveTimeWindowArgs'], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target", target) + _setter("time_window", time_window) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -9684,7 +11806,16 @@ def __init__(__self__, *, """ :param pulumi.Input['ServiceLevelObjectiveTimeWindowRollingArgs'] rolling: Rolling window. """ - pulumi.set(__self__, "rolling", rolling) + ServiceLevelObjectiveTimeWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rolling=rolling, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rolling: pulumi.Input['ServiceLevelObjectiveTimeWindowRollingArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rolling", rolling) @property @pulumi.getter @@ -9708,8 +11839,19 @@ def __init__(__self__, *, :param pulumi.Input[int] count: Valid values are `1`, `7` and `28`. :param pulumi.Input[str] unit: The only supported value is `DAY`. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "unit", unit) + ServiceLevelObjectiveTimeWindowRollingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: pulumi.Input[int], + unit: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("unit", unit) @property @pulumi.getter @@ -9750,13 +11892,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] notification_triggers: Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details. :param pulumi.Input[str] type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. """ - pulumi.set(__self__, "channel_id", channel_id) + WorkflowDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + channel_id=channel_id, + name=name, + notification_triggers=notification_triggers, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channel_id: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + notification_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("channel_id", channel_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notification_triggers is not None: - pulumi.set(__self__, "notification_triggers", notification_triggers) + _setter("notification_triggers", notification_triggers) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="channelId") @@ -9815,7 +11972,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['WorkflowEnrichmentsNrqlArgs']]] nrqls: a wrapper block """ - pulumi.set(__self__, "nrqls", nrqls) + WorkflowEnrichmentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + nrqls=nrqls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nrqls: pulumi.Input[Sequence[pulumi.Input['WorkflowEnrichmentsNrqlArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nrqls", nrqls) @property @pulumi.getter @@ -9844,14 +12010,31 @@ def __init__(__self__, *, :param pulumi.Input[int] account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. :param pulumi.Input[str] type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. """ - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) + WorkflowEnrichmentsNrqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + configurations=configurations, + name=name, + account_id=account_id, + enrichment_id=enrichment_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configurations: pulumi.Input[Sequence[pulumi.Input['WorkflowEnrichmentsNrqlConfigurationArgs']]], + name: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + enrichment_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configurations", configurations) + _setter("name", name) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if enrichment_id is not None: - pulumi.set(__self__, "enrichment_id", enrichment_id) + _setter("enrichment_id", enrichment_id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -9918,7 +12101,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] query: An NRQL query to run """ - pulumi.set(__self__, "query", query) + WorkflowEnrichmentsNrqlConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -9941,23 +12133,34 @@ def __init__(__self__, *, filter_id: Optional[pulumi.Input[str]] = None, predicates: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowIssuesFilterPredicateArgs']]]] = None): """ - :param pulumi.Input[str] name: The name of the workflow. :param pulumi.Input[str] type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. :param pulumi.Input[Sequence[pulumi.Input['WorkflowIssuesFilterPredicateArgs']]] predicates: A condition an issue event should satisfy to be processed by the workflow """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + WorkflowIssuesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + filter_id=filter_id, + predicates=predicates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + type: pulumi.Input[str], + filter_id: Optional[pulumi.Input[str]] = None, + predicates: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowIssuesFilterPredicateArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if filter_id is not None: - pulumi.set(__self__, "filter_id", filter_id) + _setter("filter_id", filter_id) if predicates is not None: - pulumi.set(__self__, "predicates", predicates) + _setter("predicates", predicates) @property @pulumi.getter def name(self) -> pulumi.Input[str]: - """ - The name of the workflow. - """ return pulumi.get(self, "name") @name.setter @@ -10009,9 +12212,22 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: An operator to use to compare the attribute with the provided `values`, see supported operators below :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The `attribute` must match **any** of the values in this list """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "values", values) + WorkflowIssuesFilterPredicateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + operator=operator, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: pulumi.Input[str], + operator: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute", attribute) + _setter("operator", operator) + _setter("values", values) @property @pulumi.getter @@ -10059,8 +12275,19 @@ def __init__(__self__, *, :param str key: The tag key. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetEntityTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/account_management.py b/sdk/python/pulumi_newrelic/account_management.py index 4b94aaaf..92378ce8 100644 --- a/sdk/python/pulumi_newrelic/account_management.py +++ b/sdk/python/pulumi_newrelic/account_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AccountManagementArgs', 'AccountManagement'] @@ -21,9 +21,20 @@ def __init__(__self__, *, :param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`. :param pulumi.Input[str] name: The name of the Account. """ - pulumi.set(__self__, "region", region) + AccountManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -60,10 +71,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the Account. :param pulumi.Input[str] region: The region code of the account. One of: `us01`, `eu01`. """ + _AccountManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter @@ -165,6 +187,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AccountManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/alert_channel.py b/sdk/python/pulumi_newrelic/alert_channel.py index c0498e1a..e0da090a 100644 --- a/sdk/python/pulumi_newrelic/alert_channel.py +++ b/sdk/python/pulumi_newrelic/alert_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -27,13 +27,28 @@ def __init__(__self__, *, :param pulumi.Input['AlertChannelConfigArgs'] config: A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details. :param pulumi.Input[str] name: The name of the channel. """ - pulumi.set(__self__, "type", type) + AlertChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + account_id=account_id, + config=config, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -98,14 +113,29 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the channel. :param pulumi.Input[str] type: The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`. """ + _AlertChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + config=config, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + config: Optional[pulumi.Input['AlertChannelConfigArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="accountId") @@ -439,6 +469,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -458,6 +492,11 @@ def _internal_init(__self__, __props__ = AlertChannelArgs.__new__(AlertChannelArgs) __props__.__dict__["account_id"] = account_id + if config is not None and not isinstance(config, AlertChannelConfigArgs): + config = config or {} + def _setter(key, value): + config[key] = value + AlertChannelConfigArgs._configure(_setter, **config) __props__.__dict__["config"] = config __props__.__dict__["name"] = name if type is None and not opts.urn: diff --git a/sdk/python/pulumi_newrelic/alert_condition.py b/sdk/python/pulumi_newrelic/alert_condition.py index 6f85acae..6131549e 100644 --- a/sdk/python/pulumi_newrelic/alert_condition.py +++ b/sdk/python/pulumi_newrelic/alert_condition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -53,27 +53,60 @@ def __init__(__self__, *, * when `type` = `apm_app_metric` and `condition_scope` = `instance` * when `type` = `apm_jvm_metric` """ - pulumi.set(__self__, "entities", entities) - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "terms", terms) - pulumi.set(__self__, "type", type) + AlertConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + entities=entities, + metric=metric, + policy_id=policy_id, + terms=terms, + type=type, + condition_scope=condition_scope, + enabled=enabled, + gc_metric=gc_metric, + name=name, + runbook_url=runbook_url, + user_defined_metric=user_defined_metric, + user_defined_value_function=user_defined_value_function, + violation_close_timer=violation_close_timer, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entities: pulumi.Input[Sequence[pulumi.Input[int]]], + metric: pulumi.Input[str], + policy_id: pulumi.Input[int], + terms: pulumi.Input[Sequence[pulumi.Input['AlertConditionTermArgs']]], + type: pulumi.Input[str], + condition_scope: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + gc_metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + user_defined_metric: Optional[pulumi.Input[str]] = None, + user_defined_value_function: Optional[pulumi.Input[str]] = None, + violation_close_timer: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entities", entities) + _setter("metric", metric) + _setter("policy_id", policy_id) + _setter("terms", terms) + _setter("type", type) if condition_scope is not None: - pulumi.set(__self__, "condition_scope", condition_scope) + _setter("condition_scope", condition_scope) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if gc_metric is not None: - pulumi.set(__self__, "gc_metric", gc_metric) + _setter("gc_metric", gc_metric) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if user_defined_metric is not None: - pulumi.set(__self__, "user_defined_metric", user_defined_metric) + _setter("user_defined_metric", user_defined_metric) if user_defined_value_function is not None: - pulumi.set(__self__, "user_defined_value_function", user_defined_value_function) + _setter("user_defined_value_function", user_defined_value_function) if violation_close_timer is not None: - pulumi.set(__self__, "violation_close_timer", violation_close_timer) + _setter("violation_close_timer", violation_close_timer) @property @pulumi.getter @@ -282,34 +315,69 @@ def __init__(__self__, *, * when `type` = `apm_app_metric` and `condition_scope` = `instance` * when `type` = `apm_jvm_metric` """ + _AlertConditionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_scope=condition_scope, + enabled=enabled, + entities=entities, + entity_guid=entity_guid, + gc_metric=gc_metric, + metric=metric, + name=name, + policy_id=policy_id, + runbook_url=runbook_url, + terms=terms, + type=type, + user_defined_metric=user_defined_metric, + user_defined_value_function=user_defined_value_function, + violation_close_timer=violation_close_timer, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_scope: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entities: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + entity_guid: Optional[pulumi.Input[str]] = None, + gc_metric: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + terms: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConditionTermArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + user_defined_metric: Optional[pulumi.Input[str]] = None, + user_defined_value_function: Optional[pulumi.Input[str]] = None, + violation_close_timer: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_scope is not None: - pulumi.set(__self__, "condition_scope", condition_scope) + _setter("condition_scope", condition_scope) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if entities is not None: - pulumi.set(__self__, "entities", entities) + _setter("entities", entities) if entity_guid is not None: - pulumi.set(__self__, "entity_guid", entity_guid) + _setter("entity_guid", entity_guid) if gc_metric is not None: - pulumi.set(__self__, "gc_metric", gc_metric) + _setter("gc_metric", gc_metric) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if terms is not None: - pulumi.set(__self__, "terms", terms) + _setter("terms", terms) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if user_defined_metric is not None: - pulumi.set(__self__, "user_defined_metric", user_defined_metric) + _setter("user_defined_metric", user_defined_metric) if user_defined_value_function is not None: - pulumi.set(__self__, "user_defined_value_function", user_defined_value_function) + _setter("user_defined_value_function", user_defined_value_function) if violation_close_timer is not None: - pulumi.set(__self__, "violation_close_timer", violation_close_timer) + _setter("violation_close_timer", violation_close_timer) @property @pulumi.getter(name="conditionScope") @@ -725,6 +793,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertConditionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/alert_muting_rule.py b/sdk/python/pulumi_newrelic/alert_muting_rule.py index 0bd46509..7110a76c 100644 --- a/sdk/python/pulumi_newrelic/alert_muting_rule.py +++ b/sdk/python/pulumi_newrelic/alert_muting_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -31,16 +31,35 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the MutingRule. :param pulumi.Input['AlertMutingRuleScheduleArgs'] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "enabled", enabled) + AlertMutingRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + enabled=enabled, + account_id=account_id, + description=description, + name=name, + schedule=schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: pulumi.Input['AlertMutingRuleConditionArgs'], + enabled: pulumi.Input[bool], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("enabled", enabled) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) @property @pulumi.getter @@ -133,18 +152,37 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the MutingRule. :param pulumi.Input['AlertMutingRuleScheduleArgs'] schedule: Specify a schedule for enabling the MutingRule. See Schedule below for details """ + _AlertMutingRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + condition=condition, + description=description, + enabled=enabled, + name=name, + schedule=schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + condition: Optional[pulumi.Input['AlertMutingRuleConditionArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input['AlertMutingRuleScheduleArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) @property @pulumi.getter(name="accountId") @@ -350,6 +388,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertMutingRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -371,6 +413,11 @@ def _internal_init(__self__, __props__ = AlertMutingRuleArgs.__new__(AlertMutingRuleArgs) __props__.__dict__["account_id"] = account_id + if condition is not None and not isinstance(condition, AlertMutingRuleConditionArgs): + condition = condition or {} + def _setter(key, value): + condition[key] = value + AlertMutingRuleConditionArgs._configure(_setter, **condition) if condition is None and not opts.urn: raise TypeError("Missing required property 'condition'") __props__.__dict__["condition"] = condition @@ -379,6 +426,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'enabled'") __props__.__dict__["enabled"] = enabled __props__.__dict__["name"] = name + if schedule is not None and not isinstance(schedule, AlertMutingRuleScheduleArgs): + schedule = schedule or {} + def _setter(key, value): + schedule[key] = value + AlertMutingRuleScheduleArgs._configure(_setter, **schedule) __props__.__dict__["schedule"] = schedule super(AlertMutingRule, __self__).__init__( 'newrelic:index/alertMutingRule:AlertMutingRule', diff --git a/sdk/python/pulumi_newrelic/alert_policy.py b/sdk/python/pulumi_newrelic/alert_policy.py index 71ded46f..6d049f39 100644 --- a/sdk/python/pulumi_newrelic/alert_policy.py +++ b/sdk/python/pulumi_newrelic/alert_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AlertPolicyArgs', 'AlertPolicy'] @@ -25,17 +25,32 @@ def __init__(__self__, *, :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`. :param pulumi.Input[str] name: The name of the policy. """ + AlertPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + channel_ids=channel_ids, + incident_preference=incident_preference, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + incident_preference: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if channel_ids is not None: warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning) pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""") if channel_ids is not None: - pulumi.set(__self__, "channel_ids", channel_ids) + _setter("channel_ids", channel_ids) if incident_preference is not None: - pulumi.set(__self__, "incident_preference", incident_preference) + _setter("incident_preference", incident_preference) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -103,17 +118,32 @@ def __init__(__self__, *, :param pulumi.Input[str] incident_preference: The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`. :param pulumi.Input[str] name: The name of the policy. """ + _AlertPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + channel_ids=channel_ids, + incident_preference=incident_preference, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + incident_preference: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if channel_ids is not None: warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning) pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""") if channel_ids is not None: - pulumi.set(__self__, "channel_ids", channel_ids) + _setter("channel_ids", channel_ids) if incident_preference is not None: - pulumi.set(__self__, "incident_preference", incident_preference) + _setter("incident_preference", incident_preference) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -334,6 +364,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -353,9 +387,6 @@ def _internal_init(__self__, __props__ = AlertPolicyArgs.__new__(AlertPolicyArgs) __props__.__dict__["account_id"] = account_id - if channel_ids is not None and not opts.urn: - warnings.warn("""The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""", DeprecationWarning) - pulumi.log.warn("""channel_ids is deprecated: The `channel_ids` attribute is deprecated and will be removed in the next major release of the provider.""") __props__.__dict__["channel_ids"] = channel_ids __props__.__dict__["incident_preference"] = incident_preference __props__.__dict__["name"] = name diff --git a/sdk/python/pulumi_newrelic/alert_policy_channel.py b/sdk/python/pulumi_newrelic/alert_policy_channel.py index 0afaf0d0..302a2ce8 100644 --- a/sdk/python/pulumi_newrelic/alert_policy_channel.py +++ b/sdk/python/pulumi_newrelic/alert_policy_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AlertPolicyChannelArgs', 'AlertPolicyChannel'] @@ -23,10 +23,23 @@ def __init__(__self__, *, :param pulumi.Input[int] policy_id: The ID of the policy. :param pulumi.Input[int] account_id: Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "channel_ids", channel_ids) - pulumi.set(__self__, "policy_id", policy_id) + AlertPolicyChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + channel_ids=channel_ids, + policy_id=policy_id, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channel_ids: pulumi.Input[Sequence[pulumi.Input[int]]], + policy_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("channel_ids", channel_ids) + _setter("policy_id", policy_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter(name="channelIds") @@ -77,12 +90,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[int]]] channel_ids: Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state. :param pulumi.Input[int] policy_id: The ID of the policy. """ + _AlertPolicyChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + channel_ids=channel_ids, + policy_id=policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + channel_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if channel_ids is not None: - pulumi.set(__self__, "channel_ids", channel_ids) + _setter("channel_ids", channel_ids) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) @property @pulumi.getter(name="accountId") @@ -246,6 +272,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertPolicyChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/api_access_key.py b/sdk/python/pulumi_newrelic/api_access_key.py index 2f109c46..ab387999 100644 --- a/sdk/python/pulumi_newrelic/api_access_key.py +++ b/sdk/python/pulumi_newrelic/api_access_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ApiAccessKeyArgs', 'ApiAccessKey'] @@ -29,16 +29,35 @@ def __init__(__self__, *, :param pulumi.Input[str] notes: Any notes about this ingest key. :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account. """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "key_type", key_type) + ApiAccessKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + key_type=key_type, + ingest_type=ingest_type, + name=name, + notes=notes, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: pulumi.Input[int], + key_type: pulumi.Input[str], + ingest_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_id", account_id) + _setter("key_type", key_type) if ingest_type is not None: - pulumi.set(__self__, "ingest_type", ingest_type) + _setter("ingest_type", ingest_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notes is not None: - pulumi.set(__self__, "notes", notes) + _setter("notes", notes) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="accountId") @@ -133,20 +152,41 @@ def __init__(__self__, *, :param pulumi.Input[str] notes: Any notes about this ingest key. :param pulumi.Input[int] user_id: Required if `key_type = USER`. The New Relic user ID yous wish to create the API access key for in an account. """ + _ApiAccessKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + ingest_type=ingest_type, + key=key, + key_type=key_type, + name=name, + notes=notes, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + ingest_type: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if ingest_type is not None: - pulumi.set(__self__, "ingest_type", ingest_type) + _setter("ingest_type", ingest_type) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_type is not None: - pulumi.set(__self__, "key_type", key_type) + _setter("key_type", key_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notes is not None: - pulumi.set(__self__, "notes", notes) + _setter("notes", notes) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="accountId") @@ -350,6 +390,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApiAccessKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/browser_application.py b/sdk/python/pulumi_newrelic/browser_application.py index affaab37..14d83d54 100644 --- a/sdk/python/pulumi_newrelic/browser_application.py +++ b/sdk/python/pulumi_newrelic/browser_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['BrowserApplicationArgs', 'BrowserApplication'] @@ -27,16 +27,33 @@ def __init__(__self__, *, :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types. :param pulumi.Input[str] name: The name of the browser application. """ + BrowserApplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + cookies_enabled=cookies_enabled, + distributed_tracing_enabled=distributed_tracing_enabled, + loader_type=loader_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + cookies_enabled: Optional[pulumi.Input[bool]] = None, + distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None, + loader_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if cookies_enabled is not None: - pulumi.set(__self__, "cookies_enabled", cookies_enabled) + _setter("cookies_enabled", cookies_enabled) if distributed_tracing_enabled is not None: - pulumi.set(__self__, "distributed_tracing_enabled", distributed_tracing_enabled) + _setter("distributed_tracing_enabled", distributed_tracing_enabled) if loader_type is not None: - pulumi.set(__self__, "loader_type", loader_type) + _setter("loader_type", loader_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -117,18 +134,37 @@ def __init__(__self__, *, :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types. :param pulumi.Input[str] name: The name of the browser application. """ + _BrowserApplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + cookies_enabled=cookies_enabled, + distributed_tracing_enabled=distributed_tracing_enabled, + guid=guid, + loader_type=loader_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + cookies_enabled: Optional[pulumi.Input[bool]] = None, + distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None, + guid: Optional[pulumi.Input[str]] = None, + loader_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if cookies_enabled is not None: - pulumi.set(__self__, "cookies_enabled", cookies_enabled) + _setter("cookies_enabled", cookies_enabled) if distributed_tracing_enabled is not None: - pulumi.set(__self__, "distributed_tracing_enabled", distributed_tracing_enabled) + _setter("distributed_tracing_enabled", distributed_tracing_enabled) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if loader_type is not None: - pulumi.set(__self__, "loader_type", loader_type) + _setter("loader_type", loader_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -286,6 +322,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BrowserApplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/cloud/_inputs.py b/sdk/python/pulumi_newrelic/cloud/_inputs.py index 42f076a8..3a5bf6cb 100644 --- a/sdk/python/pulumi_newrelic/cloud/_inputs.py +++ b/sdk/python/pulumi_newrelic/cloud/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -154,8 +154,6 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[Sequence[pulumi.Input[str]]] load_balancer_prefixes: Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive. @@ -164,32 +162,48 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsAlbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + load_balancer_prefixes=load_balancer_prefixes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + load_balancer_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if load_balancer_prefixes is not None: - pulumi.set(__self__, "load_balancer_prefixes", load_balancer_prefixes) + _setter("load_balancer_prefixes", load_balancer_prefixes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -264,9 +278,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -285,36 +296,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[Sequence[pulumi.Input[str]]] stage_prefixes: Specify each name or prefix for the Stages that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsApiGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + stage_prefixes=stage_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + stage_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if stage_prefixes is not None: - pulumi.set(__self__, "stage_prefixes", stage_prefixes) + _setter("stage_prefixes", stage_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -365,9 +386,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -383,24 +401,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAutoScalingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -430,24 +455,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAwsDirectConnectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -477,24 +509,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAwsStatesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -524,24 +563,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsCloudtrailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -575,8 +621,6 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -584,30 +628,44 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsDynamoDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -670,9 +728,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -691,36 +746,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEbsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -771,9 +836,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -792,36 +854,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_ip_addresses: Specify if IP addresses of ec2 instance should be collected :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEc2Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_ip_addresses=fetch_ip_addresses, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_ip_addresses: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_ip_addresses is not None: - pulumi.set(__self__, "fetch_ip_addresses", fetch_ip_addresses) + _setter("fetch_ip_addresses", fetch_ip_addresses) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -872,9 +944,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -893,36 +962,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_nodes: Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsElasticSearchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nodes=fetch_nodes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_nodes: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nodes is not None: - pulumi.set(__self__, "fetch_nodes", fetch_nodes) + _setter("fetch_nodes", fetch_nodes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -973,9 +1052,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -993,30 +1069,41 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsElbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1073,36 +1160,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEmrArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[str]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1153,9 +1250,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1176,16 +1270,26 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AwsGovcloudIntegrationsIamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="metricsPollingInterval") @@ -1218,9 +1322,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1239,36 +1340,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsLambdaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1319,9 +1430,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1340,36 +1448,46 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsRdsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1420,9 +1538,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1440,33 +1555,41 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsRedShiftArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1505,9 +1628,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1527,10 +1647,21 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsRoute53Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchExtendedInventory") @@ -1575,20 +1706,34 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsS3Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchExtendedInventory") @@ -1645,9 +1790,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1664,27 +1806,36 @@ def __init__(__self__, *, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsSnsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1731,8 +1882,6 @@ def __init__(__self__, *, tag_value: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -1741,32 +1890,48 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] queue_prefixes: Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsSqsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + queue_prefixes=queue_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + queue_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if queue_prefixes is not None: - pulumi.set(__self__, "queue_prefixes", queue_prefixes) + _setter("queue_prefixes", queue_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1841,9 +2006,6 @@ def tag_key(self, value: Optional[pulumi.Input[str]]): def tag_value(self) -> Optional[pulumi.Input[str]]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1863,7 +2025,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -1877,26 +2039,47 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsAlbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + load_balancer_prefixes=load_balancer_prefixes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + load_balancer_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if load_balancer_prefixes is not None: - pulumi.set(__self__, "load_balancer_prefixes", load_balancer_prefixes) + _setter("load_balancer_prefixes", load_balancer_prefixes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -1992,7 +2175,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -2002,22 +2185,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsApiGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + stage_prefixes=stage_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + stage_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if stage_prefixes is not None: - pulumi.set(__self__, "stage_prefixes", stage_prefixes) + _setter("stage_prefixes", stage_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -2084,23 +2284,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAutoScalingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2131,23 +2342,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsAppSyncArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2178,23 +2400,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsAthenaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2225,23 +2458,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsCognitoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2272,23 +2516,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsConnectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2319,23 +2574,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsDirectConnectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2366,23 +2632,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsFsxArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2413,23 +2690,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsGlueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2460,23 +2748,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsKinesisAnalyticsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2507,23 +2806,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMediaConvertArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2554,23 +2864,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMediaPackageVodArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2601,23 +2922,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMqArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2648,23 +2980,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2695,23 +3038,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsNeptuneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2742,23 +3096,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsQldbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2789,23 +3154,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsRoute53resolverArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2836,23 +3212,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsStatesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2883,23 +3270,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsTransitGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2930,23 +3328,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsWafArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2977,23 +3386,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsWafv2Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3028,8 +3448,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsBillingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -3065,16 +3494,33 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsCloudfrontArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_lambdas_at_edge=fetch_lambdas_at_edge, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_lambdas_at_edge: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_lambdas_at_edge is not None: - pulumi.set(__self__, "fetch_lambdas_at_edge", fetch_lambdas_at_edge) + _setter("fetch_lambdas_at_edge", fetch_lambdas_at_edge) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchLambdasAtEdge") @@ -3146,23 +3592,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsCloudtrailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3193,23 +3650,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsDocDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3244,7 +3712,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -3257,24 +3725,43 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsDynamodbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3358,7 +3845,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -3370,22 +3857,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEbsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3458,7 +3962,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] duplicate_ec2_tags: Specify if the old legacy metadata and tag names have to be kept, it will consume more ingest data size. :param pulumi.Input[bool] fetch_ip_addresses: Specify if IP addresses of ec2 instance should be collected. @@ -3469,24 +3973,43 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEc2Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + duplicate_ec2_tags=duplicate_ec2_tags, + fetch_ip_addresses=fetch_ip_addresses, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + duplicate_ec2_tags: Optional[pulumi.Input[bool]] = None, + fetch_ip_addresses: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if duplicate_ec2_tags is not None: - pulumi.set(__self__, "duplicate_ec2_tags", duplicate_ec2_tags) + _setter("duplicate_ec2_tags", duplicate_ec2_tags) if fetch_ip_addresses is not None: - pulumi.set(__self__, "fetch_ip_addresses", fetch_ip_addresses) + _setter("fetch_ip_addresses", fetch_ip_addresses) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3568,7 +4091,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -3578,22 +4101,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEcsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3663,7 +4203,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -3673,22 +4213,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEfsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3758,7 +4315,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -3768,22 +4325,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticacheArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3854,7 +4428,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -3867,24 +4441,43 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticbeanstalkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3968,7 +4561,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_nodes: Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -3978,22 +4571,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticsearchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nodes=fetch_nodes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_nodes: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nodes is not None: - pulumi.set(__self__, "fetch_nodes", fetch_nodes) + _setter("fetch_nodes", fetch_nodes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4062,7 +4672,7 @@ def __init__(__self__, *, fetch_tags: Optional[pulumi.Input[bool]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -4073,20 +4683,35 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsElbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4146,7 +4771,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -4156,22 +4781,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEmrArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4242,8 +4884,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsHealthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -4275,12 +4926,25 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AwsIntegrationsIamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="metricsPollingInterval") @@ -4328,23 +4992,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsIotArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4379,7 +5054,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_shards: Specify if Shards should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -4390,24 +5065,43 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsKinesisArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_shards=fetch_shards, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_shards: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_shards is not None: - pulumi.set(__self__, "fetch_shards", fetch_shards) + _setter("fetch_shards", fetch_shards) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4486,23 +5180,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsKinesisFirehoseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4536,7 +5241,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -4546,22 +5251,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsLambdaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4631,7 +5353,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -4641,22 +5363,39 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsRdsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4725,7 +5464,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. @@ -4734,20 +5473,35 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsRedshiftArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4810,10 +5564,21 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsRoute53Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchExtendedInventory") @@ -4865,16 +5630,33 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsS3Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchExtendedInventory") @@ -4948,23 +5730,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsSesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4996,7 +5789,7 @@ def __init__(__self__, *, fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5006,18 +5799,31 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsSnsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5067,7 +5873,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[bool] fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5081,26 +5887,47 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsSqsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + queue_prefixes=queue_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_extended_inventory: Optional[pulumi.Input[bool]] = None, + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + queue_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if queue_prefixes is not None: - pulumi.set(__self__, "queue_prefixes", queue_prefixes) + _setter("queue_prefixes", queue_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5197,8 +6024,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsTrustedAdvisorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -5226,7 +6062,7 @@ def __init__(__self__, *, tag_key: Optional[pulumi.Input[str]] = None, tag_value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param pulumi.Input[bool] fetch_nat_gateway: Specify if NAT gateway should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. :param pulumi.Input[bool] fetch_vpn: Specify if VPN should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5237,24 +6073,43 @@ def __init__(__self__, *, :param pulumi.Input[str] tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param pulumi.Input[str] tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsVpcArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nat_gateway=fetch_nat_gateway, + fetch_vpn=fetch_vpn, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fetch_nat_gateway: Optional[pulumi.Input[bool]] = None, + fetch_vpn: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_key: Optional[pulumi.Input[str]] = None, + tag_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nat_gateway is not None: - pulumi.set(__self__, "fetch_nat_gateway", fetch_nat_gateway) + _setter("fetch_nat_gateway", fetch_nat_gateway) if fetch_vpn is not None: - pulumi.set(__self__, "fetch_vpn", fetch_vpn) + _setter("fetch_vpn", fetch_vpn) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5333,23 +6188,34 @@ def __init__(__self__, *, aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metrics_polling_interval: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param pulumi.Input[Sequence[pulumi.Input[str]]] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsXRayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5385,10 +6251,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsApiManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5428,10 +6305,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsAppGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5471,10 +6359,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsAppServiceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5514,10 +6413,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsContainersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5557,10 +6467,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsCosmosDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5598,10 +6519,21 @@ def __init__(__self__, *, :param pulumi.Input[int] metrics_polling_interval: The data polling interval in seconds. :param pulumi.Input[Sequence[pulumi.Input[str]]] tag_keys: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsCostManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_keys=tag_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + tag_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if tag_keys is not None: - pulumi.set(__self__, "tag_keys", tag_keys) + _setter("tag_keys", tag_keys) @property @pulumi.getter(name="metricsPollingInterval") @@ -5639,10 +6571,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsDataFactoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5682,10 +6625,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsEventHubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5725,10 +6679,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsExpressRouteArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5768,10 +6733,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsFirewallsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5811,10 +6787,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsFrontDoorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5854,10 +6841,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsFunctionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5897,10 +6895,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsKeyVaultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5940,10 +6949,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsLoadBalancerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -5983,10 +7003,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsLogicAppsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6026,10 +7057,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsMachineLearningArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6069,10 +7111,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsMariaDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6120,18 +7173,37 @@ def __init__(__self__, *, Other integration type support an additional argument: :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_types: A list of Azure resource types that need to be monitored. """ + AzureIntegrationsMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + exclude_tags=exclude_tags, + include_tags=include_tags, + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + resource_types=resource_types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: Optional[pulumi.Input[bool]] = None, + exclude_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + include_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if exclude_tags is not None: - pulumi.set(__self__, "exclude_tags", exclude_tags) + _setter("exclude_tags", exclude_tags) if include_tags is not None: - pulumi.set(__self__, "include_tags", include_tags) + _setter("include_tags", include_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) if resource_types is not None: - pulumi.set(__self__, "resource_types", resource_types) + _setter("resource_types", resource_types) @property @pulumi.getter @@ -6219,10 +7291,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsMysqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6262,10 +7345,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsMysqlFlexibleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6305,10 +7399,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsPostgresqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6348,10 +7453,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsPostgresqlFlexibleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6391,10 +7507,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsPowerBiDedicatedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6434,10 +7561,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsRedisCacheArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6477,10 +7615,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsServiceBusArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6520,10 +7669,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsSqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6563,10 +7723,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsSqlManagedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6606,10 +7777,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6649,10 +7831,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsVirtualMachineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6692,10 +7885,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsVirtualNetworksArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6735,10 +7939,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsVmsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6778,10 +7993,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AzureIntegrationsVpnGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + resource_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6819,8 +8045,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsAlloyDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -6846,8 +8081,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsAppEngineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -6875,10 +8119,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsBigQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -6916,8 +8171,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsBigTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -6943,8 +8207,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsComposerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -6970,8 +8243,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataFlowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -6997,8 +8279,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataProcArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7024,8 +8315,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7051,8 +8351,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7078,8 +8387,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseHostingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7105,8 +8423,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7132,8 +8459,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7159,8 +8495,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFunctionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7186,8 +8531,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsInterconnectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7213,8 +8567,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsKubernetesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7240,8 +8603,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsLoadBalancingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7267,8 +8639,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsMemCacheArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7296,10 +8677,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsPubSubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -7337,8 +8729,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRedisArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7364,8 +8765,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRouterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7391,8 +8801,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7420,10 +8839,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsSpannerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -7461,8 +8891,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsSqlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7490,10 +8929,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[pulumi.Input[bool]] = None, + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -7531,8 +8981,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsVirtualMachinesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7558,8 +9017,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + GcpIntegrationsVpcAccessArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") diff --git a/sdk/python/pulumi_newrelic/cloud/aws_govcloud_integrations.py b/sdk/python/pulumi_newrelic/cloud/aws_govcloud_integrations.py index 3413e5c4..12368ce1 100644 --- a/sdk/python/pulumi_newrelic/cloud/aws_govcloud_integrations.py +++ b/sdk/python/pulumi_newrelic/cloud/aws_govcloud_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -63,49 +63,100 @@ def __init__(__self__, *, :param pulumi.Input['AwsGovcloudIntegrationsSnsArgs'] sns: SNS AwsGovCloud integration.See Integration blocks below for details. :param pulumi.Input['AwsGovcloudIntegrationsSqsArgs'] sqs: SQS AwsGovCloud integration.See Integration blocks below for details. """ - pulumi.set(__self__, "linked_account_id", linked_account_id) + AwsGovcloudIntegrationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + linked_account_id=linked_account_id, + account_id=account_id, + alb=alb, + api_gateway=api_gateway, + auto_scaling=auto_scaling, + aws_direct_connect=aws_direct_connect, + aws_states=aws_states, + cloudtrail=cloudtrail, + dynamo_db=dynamo_db, + ebs=ebs, + ec2=ec2, + elastic_search=elastic_search, + elb=elb, + emr=emr, + iam=iam, + lambda_=lambda_, + rds=rds, + red_shift=red_shift, + route53=route53, + s3=s3, + sns=sns, + sqs=sqs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + linked_account_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None, + api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None, + auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None, + aws_direct_connect: Optional[pulumi.Input['AwsGovcloudIntegrationsAwsDirectConnectArgs']] = None, + aws_states: Optional[pulumi.Input['AwsGovcloudIntegrationsAwsStatesArgs']] = None, + cloudtrail: Optional[pulumi.Input['AwsGovcloudIntegrationsCloudtrailArgs']] = None, + dynamo_db: Optional[pulumi.Input['AwsGovcloudIntegrationsDynamoDbArgs']] = None, + ebs: Optional[pulumi.Input['AwsGovcloudIntegrationsEbsArgs']] = None, + ec2: Optional[pulumi.Input['AwsGovcloudIntegrationsEc2Args']] = None, + elastic_search: Optional[pulumi.Input['AwsGovcloudIntegrationsElasticSearchArgs']] = None, + elb: Optional[pulumi.Input['AwsGovcloudIntegrationsElbArgs']] = None, + emr: Optional[pulumi.Input['AwsGovcloudIntegrationsEmrArgs']] = None, + iam: Optional[pulumi.Input['AwsGovcloudIntegrationsIamArgs']] = None, + lambda_: Optional[pulumi.Input['AwsGovcloudIntegrationsLambdaArgs']] = None, + rds: Optional[pulumi.Input['AwsGovcloudIntegrationsRdsArgs']] = None, + red_shift: Optional[pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs']] = None, + route53: Optional[pulumi.Input['AwsGovcloudIntegrationsRoute53Args']] = None, + s3: Optional[pulumi.Input['AwsGovcloudIntegrationsS3Args']] = None, + sns: Optional[pulumi.Input['AwsGovcloudIntegrationsSnsArgs']] = None, + sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("linked_account_id", linked_account_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alb is not None: - pulumi.set(__self__, "alb", alb) + _setter("alb", alb) if api_gateway is not None: - pulumi.set(__self__, "api_gateway", api_gateway) + _setter("api_gateway", api_gateway) if auto_scaling is not None: - pulumi.set(__self__, "auto_scaling", auto_scaling) + _setter("auto_scaling", auto_scaling) if aws_direct_connect is not None: - pulumi.set(__self__, "aws_direct_connect", aws_direct_connect) + _setter("aws_direct_connect", aws_direct_connect) if aws_states is not None: - pulumi.set(__self__, "aws_states", aws_states) + _setter("aws_states", aws_states) if cloudtrail is not None: - pulumi.set(__self__, "cloudtrail", cloudtrail) + _setter("cloudtrail", cloudtrail) if dynamo_db is not None: - pulumi.set(__self__, "dynamo_db", dynamo_db) + _setter("dynamo_db", dynamo_db) if ebs is not None: - pulumi.set(__self__, "ebs", ebs) + _setter("ebs", ebs) if ec2 is not None: - pulumi.set(__self__, "ec2", ec2) + _setter("ec2", ec2) if elastic_search is not None: - pulumi.set(__self__, "elastic_search", elastic_search) + _setter("elastic_search", elastic_search) if elb is not None: - pulumi.set(__self__, "elb", elb) + _setter("elb", elb) if emr is not None: - pulumi.set(__self__, "emr", emr) + _setter("emr", emr) if iam is not None: - pulumi.set(__self__, "iam", iam) + _setter("iam", iam) if lambda_ is not None: - pulumi.set(__self__, "lambda_", lambda_) + _setter("lambda_", lambda_) if rds is not None: - pulumi.set(__self__, "rds", rds) + _setter("rds", rds) if red_shift is not None: - pulumi.set(__self__, "red_shift", red_shift) + _setter("red_shift", red_shift) if route53 is not None: - pulumi.set(__self__, "route53", route53) + _setter("route53", route53) if s3 is not None: - pulumi.set(__self__, "s3", s3) + _setter("s3", s3) if sns is not None: - pulumi.set(__self__, "sns", sns) + _setter("sns", sns) if sqs is not None: - pulumi.set(__self__, "sqs", sqs) + _setter("sqs", sqs) @property @pulumi.getter(name="linkedAccountId") @@ -422,50 +473,101 @@ def __init__(__self__, *, :param pulumi.Input['AwsGovcloudIntegrationsSnsArgs'] sns: SNS AwsGovCloud integration.See Integration blocks below for details. :param pulumi.Input['AwsGovcloudIntegrationsSqsArgs'] sqs: SQS AwsGovCloud integration.See Integration blocks below for details. """ + _AwsGovcloudIntegrationsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + alb=alb, + api_gateway=api_gateway, + auto_scaling=auto_scaling, + aws_direct_connect=aws_direct_connect, + aws_states=aws_states, + cloudtrail=cloudtrail, + dynamo_db=dynamo_db, + ebs=ebs, + ec2=ec2, + elastic_search=elastic_search, + elb=elb, + emr=emr, + iam=iam, + lambda_=lambda_, + linked_account_id=linked_account_id, + rds=rds, + red_shift=red_shift, + route53=route53, + s3=s3, + sns=sns, + sqs=sqs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None, + api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None, + auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None, + aws_direct_connect: Optional[pulumi.Input['AwsGovcloudIntegrationsAwsDirectConnectArgs']] = None, + aws_states: Optional[pulumi.Input['AwsGovcloudIntegrationsAwsStatesArgs']] = None, + cloudtrail: Optional[pulumi.Input['AwsGovcloudIntegrationsCloudtrailArgs']] = None, + dynamo_db: Optional[pulumi.Input['AwsGovcloudIntegrationsDynamoDbArgs']] = None, + ebs: Optional[pulumi.Input['AwsGovcloudIntegrationsEbsArgs']] = None, + ec2: Optional[pulumi.Input['AwsGovcloudIntegrationsEc2Args']] = None, + elastic_search: Optional[pulumi.Input['AwsGovcloudIntegrationsElasticSearchArgs']] = None, + elb: Optional[pulumi.Input['AwsGovcloudIntegrationsElbArgs']] = None, + emr: Optional[pulumi.Input['AwsGovcloudIntegrationsEmrArgs']] = None, + iam: Optional[pulumi.Input['AwsGovcloudIntegrationsIamArgs']] = None, + lambda_: Optional[pulumi.Input['AwsGovcloudIntegrationsLambdaArgs']] = None, + linked_account_id: Optional[pulumi.Input[int]] = None, + rds: Optional[pulumi.Input['AwsGovcloudIntegrationsRdsArgs']] = None, + red_shift: Optional[pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs']] = None, + route53: Optional[pulumi.Input['AwsGovcloudIntegrationsRoute53Args']] = None, + s3: Optional[pulumi.Input['AwsGovcloudIntegrationsS3Args']] = None, + sns: Optional[pulumi.Input['AwsGovcloudIntegrationsSnsArgs']] = None, + sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alb is not None: - pulumi.set(__self__, "alb", alb) + _setter("alb", alb) if api_gateway is not None: - pulumi.set(__self__, "api_gateway", api_gateway) + _setter("api_gateway", api_gateway) if auto_scaling is not None: - pulumi.set(__self__, "auto_scaling", auto_scaling) + _setter("auto_scaling", auto_scaling) if aws_direct_connect is not None: - pulumi.set(__self__, "aws_direct_connect", aws_direct_connect) + _setter("aws_direct_connect", aws_direct_connect) if aws_states is not None: - pulumi.set(__self__, "aws_states", aws_states) + _setter("aws_states", aws_states) if cloudtrail is not None: - pulumi.set(__self__, "cloudtrail", cloudtrail) + _setter("cloudtrail", cloudtrail) if dynamo_db is not None: - pulumi.set(__self__, "dynamo_db", dynamo_db) + _setter("dynamo_db", dynamo_db) if ebs is not None: - pulumi.set(__self__, "ebs", ebs) + _setter("ebs", ebs) if ec2 is not None: - pulumi.set(__self__, "ec2", ec2) + _setter("ec2", ec2) if elastic_search is not None: - pulumi.set(__self__, "elastic_search", elastic_search) + _setter("elastic_search", elastic_search) if elb is not None: - pulumi.set(__self__, "elb", elb) + _setter("elb", elb) if emr is not None: - pulumi.set(__self__, "emr", emr) + _setter("emr", emr) if iam is not None: - pulumi.set(__self__, "iam", iam) + _setter("iam", iam) if lambda_ is not None: - pulumi.set(__self__, "lambda_", lambda_) + _setter("lambda_", lambda_) if linked_account_id is not None: - pulumi.set(__self__, "linked_account_id", linked_account_id) + _setter("linked_account_id", linked_account_id) if rds is not None: - pulumi.set(__self__, "rds", rds) + _setter("rds", rds) if red_shift is not None: - pulumi.set(__self__, "red_shift", red_shift) + _setter("red_shift", red_shift) if route53 is not None: - pulumi.set(__self__, "route53", route53) + _setter("route53", route53) if s3 is not None: - pulumi.set(__self__, "s3", s3) + _setter("s3", s3) if sns is not None: - pulumi.set(__self__, "sns", sns) + _setter("sns", sns) if sqs is not None: - pulumi.set(__self__, "sqs", sqs) + _setter("sqs", sqs) @property @pulumi.getter(name="accountId") @@ -819,6 +921,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AwsGovcloudIntegrationsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -856,28 +962,128 @@ def _internal_init(__self__, __props__ = AwsGovcloudIntegrationsArgs.__new__(AwsGovcloudIntegrationsArgs) __props__.__dict__["account_id"] = account_id + if alb is not None and not isinstance(alb, AwsGovcloudIntegrationsAlbArgs): + alb = alb or {} + def _setter(key, value): + alb[key] = value + AwsGovcloudIntegrationsAlbArgs._configure(_setter, **alb) __props__.__dict__["alb"] = alb + if api_gateway is not None and not isinstance(api_gateway, AwsGovcloudIntegrationsApiGatewayArgs): + api_gateway = api_gateway or {} + def _setter(key, value): + api_gateway[key] = value + AwsGovcloudIntegrationsApiGatewayArgs._configure(_setter, **api_gateway) __props__.__dict__["api_gateway"] = api_gateway + if auto_scaling is not None and not isinstance(auto_scaling, AwsGovcloudIntegrationsAutoScalingArgs): + auto_scaling = auto_scaling or {} + def _setter(key, value): + auto_scaling[key] = value + AwsGovcloudIntegrationsAutoScalingArgs._configure(_setter, **auto_scaling) __props__.__dict__["auto_scaling"] = auto_scaling + if aws_direct_connect is not None and not isinstance(aws_direct_connect, AwsGovcloudIntegrationsAwsDirectConnectArgs): + aws_direct_connect = aws_direct_connect or {} + def _setter(key, value): + aws_direct_connect[key] = value + AwsGovcloudIntegrationsAwsDirectConnectArgs._configure(_setter, **aws_direct_connect) __props__.__dict__["aws_direct_connect"] = aws_direct_connect + if aws_states is not None and not isinstance(aws_states, AwsGovcloudIntegrationsAwsStatesArgs): + aws_states = aws_states or {} + def _setter(key, value): + aws_states[key] = value + AwsGovcloudIntegrationsAwsStatesArgs._configure(_setter, **aws_states) __props__.__dict__["aws_states"] = aws_states + if cloudtrail is not None and not isinstance(cloudtrail, AwsGovcloudIntegrationsCloudtrailArgs): + cloudtrail = cloudtrail or {} + def _setter(key, value): + cloudtrail[key] = value + AwsGovcloudIntegrationsCloudtrailArgs._configure(_setter, **cloudtrail) __props__.__dict__["cloudtrail"] = cloudtrail + if dynamo_db is not None and not isinstance(dynamo_db, AwsGovcloudIntegrationsDynamoDbArgs): + dynamo_db = dynamo_db or {} + def _setter(key, value): + dynamo_db[key] = value + AwsGovcloudIntegrationsDynamoDbArgs._configure(_setter, **dynamo_db) __props__.__dict__["dynamo_db"] = dynamo_db + if ebs is not None and not isinstance(ebs, AwsGovcloudIntegrationsEbsArgs): + ebs = ebs or {} + def _setter(key, value): + ebs[key] = value + AwsGovcloudIntegrationsEbsArgs._configure(_setter, **ebs) __props__.__dict__["ebs"] = ebs + if ec2 is not None and not isinstance(ec2, AwsGovcloudIntegrationsEc2Args): + ec2 = ec2 or {} + def _setter(key, value): + ec2[key] = value + AwsGovcloudIntegrationsEc2Args._configure(_setter, **ec2) __props__.__dict__["ec2"] = ec2 + if elastic_search is not None and not isinstance(elastic_search, AwsGovcloudIntegrationsElasticSearchArgs): + elastic_search = elastic_search or {} + def _setter(key, value): + elastic_search[key] = value + AwsGovcloudIntegrationsElasticSearchArgs._configure(_setter, **elastic_search) __props__.__dict__["elastic_search"] = elastic_search + if elb is not None and not isinstance(elb, AwsGovcloudIntegrationsElbArgs): + elb = elb or {} + def _setter(key, value): + elb[key] = value + AwsGovcloudIntegrationsElbArgs._configure(_setter, **elb) __props__.__dict__["elb"] = elb + if emr is not None and not isinstance(emr, AwsGovcloudIntegrationsEmrArgs): + emr = emr or {} + def _setter(key, value): + emr[key] = value + AwsGovcloudIntegrationsEmrArgs._configure(_setter, **emr) __props__.__dict__["emr"] = emr + if iam is not None and not isinstance(iam, AwsGovcloudIntegrationsIamArgs): + iam = iam or {} + def _setter(key, value): + iam[key] = value + AwsGovcloudIntegrationsIamArgs._configure(_setter, **iam) __props__.__dict__["iam"] = iam + if lambda_ is not None and not isinstance(lambda_, AwsGovcloudIntegrationsLambdaArgs): + lambda_ = lambda_ or {} + def _setter(key, value): + lambda_[key] = value + AwsGovcloudIntegrationsLambdaArgs._configure(_setter, **lambda_) __props__.__dict__["lambda_"] = lambda_ if linked_account_id is None and not opts.urn: raise TypeError("Missing required property 'linked_account_id'") __props__.__dict__["linked_account_id"] = linked_account_id + if rds is not None and not isinstance(rds, AwsGovcloudIntegrationsRdsArgs): + rds = rds or {} + def _setter(key, value): + rds[key] = value + AwsGovcloudIntegrationsRdsArgs._configure(_setter, **rds) __props__.__dict__["rds"] = rds + if red_shift is not None and not isinstance(red_shift, AwsGovcloudIntegrationsRedShiftArgs): + red_shift = red_shift or {} + def _setter(key, value): + red_shift[key] = value + AwsGovcloudIntegrationsRedShiftArgs._configure(_setter, **red_shift) __props__.__dict__["red_shift"] = red_shift + if route53 is not None and not isinstance(route53, AwsGovcloudIntegrationsRoute53Args): + route53 = route53 or {} + def _setter(key, value): + route53[key] = value + AwsGovcloudIntegrationsRoute53Args._configure(_setter, **route53) __props__.__dict__["route53"] = route53 + if s3 is not None and not isinstance(s3, AwsGovcloudIntegrationsS3Args): + s3 = s3 or {} + def _setter(key, value): + s3[key] = value + AwsGovcloudIntegrationsS3Args._configure(_setter, **s3) __props__.__dict__["s3"] = s3 + if sns is not None and not isinstance(sns, AwsGovcloudIntegrationsSnsArgs): + sns = sns or {} + def _setter(key, value): + sns[key] = value + AwsGovcloudIntegrationsSnsArgs._configure(_setter, **sns) __props__.__dict__["sns"] = sns + if sqs is not None and not isinstance(sqs, AwsGovcloudIntegrationsSqsArgs): + sqs = sqs or {} + def _setter(key, value): + sqs[key] = value + AwsGovcloudIntegrationsSqsArgs._configure(_setter, **sqs) __props__.__dict__["sqs"] = sqs super(AwsGovcloudIntegrations, __self__).__init__( 'newrelic:cloud/awsGovcloudIntegrations:AwsGovcloudIntegrations', diff --git a/sdk/python/pulumi_newrelic/cloud/aws_govcloud_link_account.py b/sdk/python/pulumi_newrelic/cloud/aws_govcloud_link_account.py index a0ba5a06..3d05cbd5 100644 --- a/sdk/python/pulumi_newrelic/cloud/aws_govcloud_link_account.py +++ b/sdk/python/pulumi_newrelic/cloud/aws_govcloud_link_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AwsGovcloudLinkAccountArgs', 'AwsGovcloudLinkAccount'] @@ -29,15 +29,34 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. :param pulumi.Input[str] name: The linked account name """ - pulumi.set(__self__, "access_key_id", access_key_id) - pulumi.set(__self__, "aws_account_id", aws_account_id) - pulumi.set(__self__, "secret_access_key", secret_access_key) + AwsGovcloudLinkAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + aws_account_id=aws_account_id, + secret_access_key=secret_access_key, + account_id=account_id, + metric_collection_mode=metric_collection_mode, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: pulumi.Input[str], + aws_account_id: pulumi.Input[str], + secret_access_key: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + metric_collection_mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key_id", access_key_id) + _setter("aws_account_id", aws_account_id) + _setter("secret_access_key", secret_access_key) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if metric_collection_mode is not None: - pulumi.set(__self__, "metric_collection_mode", metric_collection_mode) + _setter("metric_collection_mode", metric_collection_mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accessKeyId") @@ -130,18 +149,37 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The linked account name :param pulumi.Input[str] secret_access_key: The secret key of the AwsGovCloud. """ + _AwsGovcloudLinkAccountState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + account_id=account_id, + aws_account_id=aws_account_id, + metric_collection_mode=metric_collection_mode, + name=name, + secret_access_key=secret_access_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: Optional[pulumi.Input[str]] = None, + account_id: Optional[pulumi.Input[int]] = None, + aws_account_id: Optional[pulumi.Input[str]] = None, + metric_collection_mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + secret_access_key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_key_id is not None: - pulumi.set(__self__, "access_key_id", access_key_id) + _setter("access_key_id", access_key_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if aws_account_id is not None: - pulumi.set(__self__, "aws_account_id", aws_account_id) + _setter("aws_account_id", aws_account_id) if metric_collection_mode is not None: - pulumi.set(__self__, "metric_collection_mode", metric_collection_mode) + _setter("metric_collection_mode", metric_collection_mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if secret_access_key is not None: - pulumi.set(__self__, "secret_access_key", secret_access_key) + _setter("secret_access_key", secret_access_key) @property @pulumi.getter(name="accessKeyId") @@ -299,6 +337,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AwsGovcloudLinkAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/cloud/aws_integrations.py b/sdk/python/pulumi_newrelic/cloud/aws_integrations.py index 3c1d9315..236ce8dc 100644 --- a/sdk/python/pulumi_newrelic/cloud/aws_integrations.py +++ b/sdk/python/pulumi_newrelic/cloud/aws_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -188,113 +188,228 @@ def __init__(__self__, *, :param pulumi.Input['AwsIntegrationsVpcArgs'] vpc: VPC integration :param pulumi.Input['AwsIntegrationsXRayArgs'] x_ray: X-Ray integration """ - pulumi.set(__self__, "linked_account_id", linked_account_id) + AwsIntegrationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + linked_account_id=linked_account_id, + account_id=account_id, + alb=alb, + api_gateway=api_gateway, + auto_scaling=auto_scaling, + aws_app_sync=aws_app_sync, + aws_athena=aws_athena, + aws_cognito=aws_cognito, + aws_connect=aws_connect, + aws_direct_connect=aws_direct_connect, + aws_fsx=aws_fsx, + aws_glue=aws_glue, + aws_kinesis_analytics=aws_kinesis_analytics, + aws_media_convert=aws_media_convert, + aws_media_package_vod=aws_media_package_vod, + aws_mq=aws_mq, + aws_msk=aws_msk, + aws_neptune=aws_neptune, + aws_qldb=aws_qldb, + aws_route53resolver=aws_route53resolver, + aws_states=aws_states, + aws_transit_gateway=aws_transit_gateway, + aws_waf=aws_waf, + aws_wafv2=aws_wafv2, + billing=billing, + cloudfront=cloudfront, + cloudtrail=cloudtrail, + doc_db=doc_db, + dynamodb=dynamodb, + ebs=ebs, + ec2=ec2, + ecs=ecs, + efs=efs, + elasticache=elasticache, + elasticbeanstalk=elasticbeanstalk, + elasticsearch=elasticsearch, + elb=elb, + emr=emr, + health=health, + iam=iam, + iot=iot, + kinesis=kinesis, + kinesis_firehose=kinesis_firehose, + lambda_=lambda_, + rds=rds, + redshift=redshift, + route53=route53, + s3=s3, + ses=ses, + sns=sns, + sqs=sqs, + trusted_advisor=trusted_advisor, + vpc=vpc, + x_ray=x_ray, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + linked_account_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + alb: Optional[pulumi.Input['AwsIntegrationsAlbArgs']] = None, + api_gateway: Optional[pulumi.Input['AwsIntegrationsApiGatewayArgs']] = None, + auto_scaling: Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']] = None, + aws_app_sync: Optional[pulumi.Input['AwsIntegrationsAwsAppSyncArgs']] = None, + aws_athena: Optional[pulumi.Input['AwsIntegrationsAwsAthenaArgs']] = None, + aws_cognito: Optional[pulumi.Input['AwsIntegrationsAwsCognitoArgs']] = None, + aws_connect: Optional[pulumi.Input['AwsIntegrationsAwsConnectArgs']] = None, + aws_direct_connect: Optional[pulumi.Input['AwsIntegrationsAwsDirectConnectArgs']] = None, + aws_fsx: Optional[pulumi.Input['AwsIntegrationsAwsFsxArgs']] = None, + aws_glue: Optional[pulumi.Input['AwsIntegrationsAwsGlueArgs']] = None, + aws_kinesis_analytics: Optional[pulumi.Input['AwsIntegrationsAwsKinesisAnalyticsArgs']] = None, + aws_media_convert: Optional[pulumi.Input['AwsIntegrationsAwsMediaConvertArgs']] = None, + aws_media_package_vod: Optional[pulumi.Input['AwsIntegrationsAwsMediaPackageVodArgs']] = None, + aws_mq: Optional[pulumi.Input['AwsIntegrationsAwsMqArgs']] = None, + aws_msk: Optional[pulumi.Input['AwsIntegrationsAwsMskArgs']] = None, + aws_neptune: Optional[pulumi.Input['AwsIntegrationsAwsNeptuneArgs']] = None, + aws_qldb: Optional[pulumi.Input['AwsIntegrationsAwsQldbArgs']] = None, + aws_route53resolver: Optional[pulumi.Input['AwsIntegrationsAwsRoute53resolverArgs']] = None, + aws_states: Optional[pulumi.Input['AwsIntegrationsAwsStatesArgs']] = None, + aws_transit_gateway: Optional[pulumi.Input['AwsIntegrationsAwsTransitGatewayArgs']] = None, + aws_waf: Optional[pulumi.Input['AwsIntegrationsAwsWafArgs']] = None, + aws_wafv2: Optional[pulumi.Input['AwsIntegrationsAwsWafv2Args']] = None, + billing: Optional[pulumi.Input['AwsIntegrationsBillingArgs']] = None, + cloudfront: Optional[pulumi.Input['AwsIntegrationsCloudfrontArgs']] = None, + cloudtrail: Optional[pulumi.Input['AwsIntegrationsCloudtrailArgs']] = None, + doc_db: Optional[pulumi.Input['AwsIntegrationsDocDbArgs']] = None, + dynamodb: Optional[pulumi.Input['AwsIntegrationsDynamodbArgs']] = None, + ebs: Optional[pulumi.Input['AwsIntegrationsEbsArgs']] = None, + ec2: Optional[pulumi.Input['AwsIntegrationsEc2Args']] = None, + ecs: Optional[pulumi.Input['AwsIntegrationsEcsArgs']] = None, + efs: Optional[pulumi.Input['AwsIntegrationsEfsArgs']] = None, + elasticache: Optional[pulumi.Input['AwsIntegrationsElasticacheArgs']] = None, + elasticbeanstalk: Optional[pulumi.Input['AwsIntegrationsElasticbeanstalkArgs']] = None, + elasticsearch: Optional[pulumi.Input['AwsIntegrationsElasticsearchArgs']] = None, + elb: Optional[pulumi.Input['AwsIntegrationsElbArgs']] = None, + emr: Optional[pulumi.Input['AwsIntegrationsEmrArgs']] = None, + health: Optional[pulumi.Input['AwsIntegrationsHealthArgs']] = None, + iam: Optional[pulumi.Input['AwsIntegrationsIamArgs']] = None, + iot: Optional[pulumi.Input['AwsIntegrationsIotArgs']] = None, + kinesis: Optional[pulumi.Input['AwsIntegrationsKinesisArgs']] = None, + kinesis_firehose: Optional[pulumi.Input['AwsIntegrationsKinesisFirehoseArgs']] = None, + lambda_: Optional[pulumi.Input['AwsIntegrationsLambdaArgs']] = None, + rds: Optional[pulumi.Input['AwsIntegrationsRdsArgs']] = None, + redshift: Optional[pulumi.Input['AwsIntegrationsRedshiftArgs']] = None, + route53: Optional[pulumi.Input['AwsIntegrationsRoute53Args']] = None, + s3: Optional[pulumi.Input['AwsIntegrationsS3Args']] = None, + ses: Optional[pulumi.Input['AwsIntegrationsSesArgs']] = None, + sns: Optional[pulumi.Input['AwsIntegrationsSnsArgs']] = None, + sqs: Optional[pulumi.Input['AwsIntegrationsSqsArgs']] = None, + trusted_advisor: Optional[pulumi.Input['AwsIntegrationsTrustedAdvisorArgs']] = None, + vpc: Optional[pulumi.Input['AwsIntegrationsVpcArgs']] = None, + x_ray: Optional[pulumi.Input['AwsIntegrationsXRayArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("linked_account_id", linked_account_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alb is not None: - pulumi.set(__self__, "alb", alb) + _setter("alb", alb) if api_gateway is not None: - pulumi.set(__self__, "api_gateway", api_gateway) + _setter("api_gateway", api_gateway) if auto_scaling is not None: - pulumi.set(__self__, "auto_scaling", auto_scaling) + _setter("auto_scaling", auto_scaling) if aws_app_sync is not None: - pulumi.set(__self__, "aws_app_sync", aws_app_sync) + _setter("aws_app_sync", aws_app_sync) if aws_athena is not None: - pulumi.set(__self__, "aws_athena", aws_athena) + _setter("aws_athena", aws_athena) if aws_cognito is not None: - pulumi.set(__self__, "aws_cognito", aws_cognito) + _setter("aws_cognito", aws_cognito) if aws_connect is not None: - pulumi.set(__self__, "aws_connect", aws_connect) + _setter("aws_connect", aws_connect) if aws_direct_connect is not None: - pulumi.set(__self__, "aws_direct_connect", aws_direct_connect) + _setter("aws_direct_connect", aws_direct_connect) if aws_fsx is not None: - pulumi.set(__self__, "aws_fsx", aws_fsx) + _setter("aws_fsx", aws_fsx) if aws_glue is not None: - pulumi.set(__self__, "aws_glue", aws_glue) + _setter("aws_glue", aws_glue) if aws_kinesis_analytics is not None: - pulumi.set(__self__, "aws_kinesis_analytics", aws_kinesis_analytics) + _setter("aws_kinesis_analytics", aws_kinesis_analytics) if aws_media_convert is not None: - pulumi.set(__self__, "aws_media_convert", aws_media_convert) + _setter("aws_media_convert", aws_media_convert) if aws_media_package_vod is not None: - pulumi.set(__self__, "aws_media_package_vod", aws_media_package_vod) + _setter("aws_media_package_vod", aws_media_package_vod) if aws_mq is not None: - pulumi.set(__self__, "aws_mq", aws_mq) + _setter("aws_mq", aws_mq) if aws_msk is not None: - pulumi.set(__self__, "aws_msk", aws_msk) + _setter("aws_msk", aws_msk) if aws_neptune is not None: - pulumi.set(__self__, "aws_neptune", aws_neptune) + _setter("aws_neptune", aws_neptune) if aws_qldb is not None: - pulumi.set(__self__, "aws_qldb", aws_qldb) + _setter("aws_qldb", aws_qldb) if aws_route53resolver is not None: - pulumi.set(__self__, "aws_route53resolver", aws_route53resolver) + _setter("aws_route53resolver", aws_route53resolver) if aws_states is not None: - pulumi.set(__self__, "aws_states", aws_states) + _setter("aws_states", aws_states) if aws_transit_gateway is not None: - pulumi.set(__self__, "aws_transit_gateway", aws_transit_gateway) + _setter("aws_transit_gateway", aws_transit_gateway) if aws_waf is not None: - pulumi.set(__self__, "aws_waf", aws_waf) + _setter("aws_waf", aws_waf) if aws_wafv2 is not None: - pulumi.set(__self__, "aws_wafv2", aws_wafv2) + _setter("aws_wafv2", aws_wafv2) if billing is not None: - pulumi.set(__self__, "billing", billing) + _setter("billing", billing) if cloudfront is not None: - pulumi.set(__self__, "cloudfront", cloudfront) + _setter("cloudfront", cloudfront) if cloudtrail is not None: - pulumi.set(__self__, "cloudtrail", cloudtrail) + _setter("cloudtrail", cloudtrail) if doc_db is not None: - pulumi.set(__self__, "doc_db", doc_db) + _setter("doc_db", doc_db) if dynamodb is not None: - pulumi.set(__self__, "dynamodb", dynamodb) + _setter("dynamodb", dynamodb) if ebs is not None: - pulumi.set(__self__, "ebs", ebs) + _setter("ebs", ebs) if ec2 is not None: - pulumi.set(__self__, "ec2", ec2) + _setter("ec2", ec2) if ecs is not None: - pulumi.set(__self__, "ecs", ecs) + _setter("ecs", ecs) if efs is not None: - pulumi.set(__self__, "efs", efs) + _setter("efs", efs) if elasticache is not None: - pulumi.set(__self__, "elasticache", elasticache) + _setter("elasticache", elasticache) if elasticbeanstalk is not None: - pulumi.set(__self__, "elasticbeanstalk", elasticbeanstalk) + _setter("elasticbeanstalk", elasticbeanstalk) if elasticsearch is not None: - pulumi.set(__self__, "elasticsearch", elasticsearch) + _setter("elasticsearch", elasticsearch) if elb is not None: - pulumi.set(__self__, "elb", elb) + _setter("elb", elb) if emr is not None: - pulumi.set(__self__, "emr", emr) + _setter("emr", emr) if health is not None: - pulumi.set(__self__, "health", health) + _setter("health", health) if iam is not None: - pulumi.set(__self__, "iam", iam) + _setter("iam", iam) if iot is not None: - pulumi.set(__self__, "iot", iot) + _setter("iot", iot) if kinesis is not None: - pulumi.set(__self__, "kinesis", kinesis) + _setter("kinesis", kinesis) if kinesis_firehose is not None: - pulumi.set(__self__, "kinesis_firehose", kinesis_firehose) + _setter("kinesis_firehose", kinesis_firehose) if lambda_ is not None: - pulumi.set(__self__, "lambda_", lambda_) + _setter("lambda_", lambda_) if rds is not None: - pulumi.set(__self__, "rds", rds) + _setter("rds", rds) if redshift is not None: - pulumi.set(__self__, "redshift", redshift) + _setter("redshift", redshift) if route53 is not None: - pulumi.set(__self__, "route53", route53) + _setter("route53", route53) if s3 is not None: - pulumi.set(__self__, "s3", s3) + _setter("s3", s3) if ses is not None: - pulumi.set(__self__, "ses", ses) + _setter("ses", ses) if sns is not None: - pulumi.set(__self__, "sns", sns) + _setter("sns", sns) if sqs is not None: - pulumi.set(__self__, "sqs", sqs) + _setter("sqs", sqs) if trusted_advisor is not None: - pulumi.set(__self__, "trusted_advisor", trusted_advisor) + _setter("trusted_advisor", trusted_advisor) if vpc is not None: - pulumi.set(__self__, "vpc", vpc) + _setter("vpc", vpc) if x_ray is not None: - pulumi.set(__self__, "x_ray", x_ray) + _setter("x_ray", x_ray) @property @pulumi.getter(name="linkedAccountId") @@ -1181,114 +1296,229 @@ def __init__(__self__, *, :param pulumi.Input['AwsIntegrationsVpcArgs'] vpc: VPC integration :param pulumi.Input['AwsIntegrationsXRayArgs'] x_ray: X-Ray integration """ + _AwsIntegrationsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + alb=alb, + api_gateway=api_gateway, + auto_scaling=auto_scaling, + aws_app_sync=aws_app_sync, + aws_athena=aws_athena, + aws_cognito=aws_cognito, + aws_connect=aws_connect, + aws_direct_connect=aws_direct_connect, + aws_fsx=aws_fsx, + aws_glue=aws_glue, + aws_kinesis_analytics=aws_kinesis_analytics, + aws_media_convert=aws_media_convert, + aws_media_package_vod=aws_media_package_vod, + aws_mq=aws_mq, + aws_msk=aws_msk, + aws_neptune=aws_neptune, + aws_qldb=aws_qldb, + aws_route53resolver=aws_route53resolver, + aws_states=aws_states, + aws_transit_gateway=aws_transit_gateway, + aws_waf=aws_waf, + aws_wafv2=aws_wafv2, + billing=billing, + cloudfront=cloudfront, + cloudtrail=cloudtrail, + doc_db=doc_db, + dynamodb=dynamodb, + ebs=ebs, + ec2=ec2, + ecs=ecs, + efs=efs, + elasticache=elasticache, + elasticbeanstalk=elasticbeanstalk, + elasticsearch=elasticsearch, + elb=elb, + emr=emr, + health=health, + iam=iam, + iot=iot, + kinesis=kinesis, + kinesis_firehose=kinesis_firehose, + lambda_=lambda_, + linked_account_id=linked_account_id, + rds=rds, + redshift=redshift, + route53=route53, + s3=s3, + ses=ses, + sns=sns, + sqs=sqs, + trusted_advisor=trusted_advisor, + vpc=vpc, + x_ray=x_ray, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + alb: Optional[pulumi.Input['AwsIntegrationsAlbArgs']] = None, + api_gateway: Optional[pulumi.Input['AwsIntegrationsApiGatewayArgs']] = None, + auto_scaling: Optional[pulumi.Input['AwsIntegrationsAutoScalingArgs']] = None, + aws_app_sync: Optional[pulumi.Input['AwsIntegrationsAwsAppSyncArgs']] = None, + aws_athena: Optional[pulumi.Input['AwsIntegrationsAwsAthenaArgs']] = None, + aws_cognito: Optional[pulumi.Input['AwsIntegrationsAwsCognitoArgs']] = None, + aws_connect: Optional[pulumi.Input['AwsIntegrationsAwsConnectArgs']] = None, + aws_direct_connect: Optional[pulumi.Input['AwsIntegrationsAwsDirectConnectArgs']] = None, + aws_fsx: Optional[pulumi.Input['AwsIntegrationsAwsFsxArgs']] = None, + aws_glue: Optional[pulumi.Input['AwsIntegrationsAwsGlueArgs']] = None, + aws_kinesis_analytics: Optional[pulumi.Input['AwsIntegrationsAwsKinesisAnalyticsArgs']] = None, + aws_media_convert: Optional[pulumi.Input['AwsIntegrationsAwsMediaConvertArgs']] = None, + aws_media_package_vod: Optional[pulumi.Input['AwsIntegrationsAwsMediaPackageVodArgs']] = None, + aws_mq: Optional[pulumi.Input['AwsIntegrationsAwsMqArgs']] = None, + aws_msk: Optional[pulumi.Input['AwsIntegrationsAwsMskArgs']] = None, + aws_neptune: Optional[pulumi.Input['AwsIntegrationsAwsNeptuneArgs']] = None, + aws_qldb: Optional[pulumi.Input['AwsIntegrationsAwsQldbArgs']] = None, + aws_route53resolver: Optional[pulumi.Input['AwsIntegrationsAwsRoute53resolverArgs']] = None, + aws_states: Optional[pulumi.Input['AwsIntegrationsAwsStatesArgs']] = None, + aws_transit_gateway: Optional[pulumi.Input['AwsIntegrationsAwsTransitGatewayArgs']] = None, + aws_waf: Optional[pulumi.Input['AwsIntegrationsAwsWafArgs']] = None, + aws_wafv2: Optional[pulumi.Input['AwsIntegrationsAwsWafv2Args']] = None, + billing: Optional[pulumi.Input['AwsIntegrationsBillingArgs']] = None, + cloudfront: Optional[pulumi.Input['AwsIntegrationsCloudfrontArgs']] = None, + cloudtrail: Optional[pulumi.Input['AwsIntegrationsCloudtrailArgs']] = None, + doc_db: Optional[pulumi.Input['AwsIntegrationsDocDbArgs']] = None, + dynamodb: Optional[pulumi.Input['AwsIntegrationsDynamodbArgs']] = None, + ebs: Optional[pulumi.Input['AwsIntegrationsEbsArgs']] = None, + ec2: Optional[pulumi.Input['AwsIntegrationsEc2Args']] = None, + ecs: Optional[pulumi.Input['AwsIntegrationsEcsArgs']] = None, + efs: Optional[pulumi.Input['AwsIntegrationsEfsArgs']] = None, + elasticache: Optional[pulumi.Input['AwsIntegrationsElasticacheArgs']] = None, + elasticbeanstalk: Optional[pulumi.Input['AwsIntegrationsElasticbeanstalkArgs']] = None, + elasticsearch: Optional[pulumi.Input['AwsIntegrationsElasticsearchArgs']] = None, + elb: Optional[pulumi.Input['AwsIntegrationsElbArgs']] = None, + emr: Optional[pulumi.Input['AwsIntegrationsEmrArgs']] = None, + health: Optional[pulumi.Input['AwsIntegrationsHealthArgs']] = None, + iam: Optional[pulumi.Input['AwsIntegrationsIamArgs']] = None, + iot: Optional[pulumi.Input['AwsIntegrationsIotArgs']] = None, + kinesis: Optional[pulumi.Input['AwsIntegrationsKinesisArgs']] = None, + kinesis_firehose: Optional[pulumi.Input['AwsIntegrationsKinesisFirehoseArgs']] = None, + lambda_: Optional[pulumi.Input['AwsIntegrationsLambdaArgs']] = None, + linked_account_id: Optional[pulumi.Input[int]] = None, + rds: Optional[pulumi.Input['AwsIntegrationsRdsArgs']] = None, + redshift: Optional[pulumi.Input['AwsIntegrationsRedshiftArgs']] = None, + route53: Optional[pulumi.Input['AwsIntegrationsRoute53Args']] = None, + s3: Optional[pulumi.Input['AwsIntegrationsS3Args']] = None, + ses: Optional[pulumi.Input['AwsIntegrationsSesArgs']] = None, + sns: Optional[pulumi.Input['AwsIntegrationsSnsArgs']] = None, + sqs: Optional[pulumi.Input['AwsIntegrationsSqsArgs']] = None, + trusted_advisor: Optional[pulumi.Input['AwsIntegrationsTrustedAdvisorArgs']] = None, + vpc: Optional[pulumi.Input['AwsIntegrationsVpcArgs']] = None, + x_ray: Optional[pulumi.Input['AwsIntegrationsXRayArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alb is not None: - pulumi.set(__self__, "alb", alb) + _setter("alb", alb) if api_gateway is not None: - pulumi.set(__self__, "api_gateway", api_gateway) + _setter("api_gateway", api_gateway) if auto_scaling is not None: - pulumi.set(__self__, "auto_scaling", auto_scaling) + _setter("auto_scaling", auto_scaling) if aws_app_sync is not None: - pulumi.set(__self__, "aws_app_sync", aws_app_sync) + _setter("aws_app_sync", aws_app_sync) if aws_athena is not None: - pulumi.set(__self__, "aws_athena", aws_athena) + _setter("aws_athena", aws_athena) if aws_cognito is not None: - pulumi.set(__self__, "aws_cognito", aws_cognito) + _setter("aws_cognito", aws_cognito) if aws_connect is not None: - pulumi.set(__self__, "aws_connect", aws_connect) + _setter("aws_connect", aws_connect) if aws_direct_connect is not None: - pulumi.set(__self__, "aws_direct_connect", aws_direct_connect) + _setter("aws_direct_connect", aws_direct_connect) if aws_fsx is not None: - pulumi.set(__self__, "aws_fsx", aws_fsx) + _setter("aws_fsx", aws_fsx) if aws_glue is not None: - pulumi.set(__self__, "aws_glue", aws_glue) + _setter("aws_glue", aws_glue) if aws_kinesis_analytics is not None: - pulumi.set(__self__, "aws_kinesis_analytics", aws_kinesis_analytics) + _setter("aws_kinesis_analytics", aws_kinesis_analytics) if aws_media_convert is not None: - pulumi.set(__self__, "aws_media_convert", aws_media_convert) + _setter("aws_media_convert", aws_media_convert) if aws_media_package_vod is not None: - pulumi.set(__self__, "aws_media_package_vod", aws_media_package_vod) + _setter("aws_media_package_vod", aws_media_package_vod) if aws_mq is not None: - pulumi.set(__self__, "aws_mq", aws_mq) + _setter("aws_mq", aws_mq) if aws_msk is not None: - pulumi.set(__self__, "aws_msk", aws_msk) + _setter("aws_msk", aws_msk) if aws_neptune is not None: - pulumi.set(__self__, "aws_neptune", aws_neptune) + _setter("aws_neptune", aws_neptune) if aws_qldb is not None: - pulumi.set(__self__, "aws_qldb", aws_qldb) + _setter("aws_qldb", aws_qldb) if aws_route53resolver is not None: - pulumi.set(__self__, "aws_route53resolver", aws_route53resolver) + _setter("aws_route53resolver", aws_route53resolver) if aws_states is not None: - pulumi.set(__self__, "aws_states", aws_states) + _setter("aws_states", aws_states) if aws_transit_gateway is not None: - pulumi.set(__self__, "aws_transit_gateway", aws_transit_gateway) + _setter("aws_transit_gateway", aws_transit_gateway) if aws_waf is not None: - pulumi.set(__self__, "aws_waf", aws_waf) + _setter("aws_waf", aws_waf) if aws_wafv2 is not None: - pulumi.set(__self__, "aws_wafv2", aws_wafv2) + _setter("aws_wafv2", aws_wafv2) if billing is not None: - pulumi.set(__self__, "billing", billing) + _setter("billing", billing) if cloudfront is not None: - pulumi.set(__self__, "cloudfront", cloudfront) + _setter("cloudfront", cloudfront) if cloudtrail is not None: - pulumi.set(__self__, "cloudtrail", cloudtrail) + _setter("cloudtrail", cloudtrail) if doc_db is not None: - pulumi.set(__self__, "doc_db", doc_db) + _setter("doc_db", doc_db) if dynamodb is not None: - pulumi.set(__self__, "dynamodb", dynamodb) + _setter("dynamodb", dynamodb) if ebs is not None: - pulumi.set(__self__, "ebs", ebs) + _setter("ebs", ebs) if ec2 is not None: - pulumi.set(__self__, "ec2", ec2) + _setter("ec2", ec2) if ecs is not None: - pulumi.set(__self__, "ecs", ecs) + _setter("ecs", ecs) if efs is not None: - pulumi.set(__self__, "efs", efs) + _setter("efs", efs) if elasticache is not None: - pulumi.set(__self__, "elasticache", elasticache) + _setter("elasticache", elasticache) if elasticbeanstalk is not None: - pulumi.set(__self__, "elasticbeanstalk", elasticbeanstalk) + _setter("elasticbeanstalk", elasticbeanstalk) if elasticsearch is not None: - pulumi.set(__self__, "elasticsearch", elasticsearch) + _setter("elasticsearch", elasticsearch) if elb is not None: - pulumi.set(__self__, "elb", elb) + _setter("elb", elb) if emr is not None: - pulumi.set(__self__, "emr", emr) + _setter("emr", emr) if health is not None: - pulumi.set(__self__, "health", health) + _setter("health", health) if iam is not None: - pulumi.set(__self__, "iam", iam) + _setter("iam", iam) if iot is not None: - pulumi.set(__self__, "iot", iot) + _setter("iot", iot) if kinesis is not None: - pulumi.set(__self__, "kinesis", kinesis) + _setter("kinesis", kinesis) if kinesis_firehose is not None: - pulumi.set(__self__, "kinesis_firehose", kinesis_firehose) + _setter("kinesis_firehose", kinesis_firehose) if lambda_ is not None: - pulumi.set(__self__, "lambda_", lambda_) + _setter("lambda_", lambda_) if linked_account_id is not None: - pulumi.set(__self__, "linked_account_id", linked_account_id) + _setter("linked_account_id", linked_account_id) if rds is not None: - pulumi.set(__self__, "rds", rds) + _setter("rds", rds) if redshift is not None: - pulumi.set(__self__, "redshift", redshift) + _setter("redshift", redshift) if route53 is not None: - pulumi.set(__self__, "route53", route53) + _setter("route53", route53) if s3 is not None: - pulumi.set(__self__, "s3", s3) + _setter("s3", s3) if ses is not None: - pulumi.set(__self__, "ses", ses) + _setter("ses", ses) if sns is not None: - pulumi.set(__self__, "sns", sns) + _setter("sns", sns) if sqs is not None: - pulumi.set(__self__, "sqs", sqs) + _setter("sqs", sqs) if trusted_advisor is not None: - pulumi.set(__self__, "trusted_advisor", trusted_advisor) + _setter("trusted_advisor", trusted_advisor) if vpc is not None: - pulumi.set(__self__, "vpc", vpc) + _setter("vpc", vpc) if x_ray is not None: - pulumi.set(__self__, "x_ray", x_ray) + _setter("x_ray", x_ray) @property @pulumi.getter(name="accountId") @@ -2814,6 +3044,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AwsIntegrationsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -2883,60 +3117,320 @@ def _internal_init(__self__, __props__ = AwsIntegrationsArgs.__new__(AwsIntegrationsArgs) __props__.__dict__["account_id"] = account_id + if alb is not None and not isinstance(alb, AwsIntegrationsAlbArgs): + alb = alb or {} + def _setter(key, value): + alb[key] = value + AwsIntegrationsAlbArgs._configure(_setter, **alb) __props__.__dict__["alb"] = alb + if api_gateway is not None and not isinstance(api_gateway, AwsIntegrationsApiGatewayArgs): + api_gateway = api_gateway or {} + def _setter(key, value): + api_gateway[key] = value + AwsIntegrationsApiGatewayArgs._configure(_setter, **api_gateway) __props__.__dict__["api_gateway"] = api_gateway + if auto_scaling is not None and not isinstance(auto_scaling, AwsIntegrationsAutoScalingArgs): + auto_scaling = auto_scaling or {} + def _setter(key, value): + auto_scaling[key] = value + AwsIntegrationsAutoScalingArgs._configure(_setter, **auto_scaling) __props__.__dict__["auto_scaling"] = auto_scaling + if aws_app_sync is not None and not isinstance(aws_app_sync, AwsIntegrationsAwsAppSyncArgs): + aws_app_sync = aws_app_sync or {} + def _setter(key, value): + aws_app_sync[key] = value + AwsIntegrationsAwsAppSyncArgs._configure(_setter, **aws_app_sync) __props__.__dict__["aws_app_sync"] = aws_app_sync + if aws_athena is not None and not isinstance(aws_athena, AwsIntegrationsAwsAthenaArgs): + aws_athena = aws_athena or {} + def _setter(key, value): + aws_athena[key] = value + AwsIntegrationsAwsAthenaArgs._configure(_setter, **aws_athena) __props__.__dict__["aws_athena"] = aws_athena + if aws_cognito is not None and not isinstance(aws_cognito, AwsIntegrationsAwsCognitoArgs): + aws_cognito = aws_cognito or {} + def _setter(key, value): + aws_cognito[key] = value + AwsIntegrationsAwsCognitoArgs._configure(_setter, **aws_cognito) __props__.__dict__["aws_cognito"] = aws_cognito + if aws_connect is not None and not isinstance(aws_connect, AwsIntegrationsAwsConnectArgs): + aws_connect = aws_connect or {} + def _setter(key, value): + aws_connect[key] = value + AwsIntegrationsAwsConnectArgs._configure(_setter, **aws_connect) __props__.__dict__["aws_connect"] = aws_connect + if aws_direct_connect is not None and not isinstance(aws_direct_connect, AwsIntegrationsAwsDirectConnectArgs): + aws_direct_connect = aws_direct_connect or {} + def _setter(key, value): + aws_direct_connect[key] = value + AwsIntegrationsAwsDirectConnectArgs._configure(_setter, **aws_direct_connect) __props__.__dict__["aws_direct_connect"] = aws_direct_connect + if aws_fsx is not None and not isinstance(aws_fsx, AwsIntegrationsAwsFsxArgs): + aws_fsx = aws_fsx or {} + def _setter(key, value): + aws_fsx[key] = value + AwsIntegrationsAwsFsxArgs._configure(_setter, **aws_fsx) __props__.__dict__["aws_fsx"] = aws_fsx + if aws_glue is not None and not isinstance(aws_glue, AwsIntegrationsAwsGlueArgs): + aws_glue = aws_glue or {} + def _setter(key, value): + aws_glue[key] = value + AwsIntegrationsAwsGlueArgs._configure(_setter, **aws_glue) __props__.__dict__["aws_glue"] = aws_glue + if aws_kinesis_analytics is not None and not isinstance(aws_kinesis_analytics, AwsIntegrationsAwsKinesisAnalyticsArgs): + aws_kinesis_analytics = aws_kinesis_analytics or {} + def _setter(key, value): + aws_kinesis_analytics[key] = value + AwsIntegrationsAwsKinesisAnalyticsArgs._configure(_setter, **aws_kinesis_analytics) __props__.__dict__["aws_kinesis_analytics"] = aws_kinesis_analytics + if aws_media_convert is not None and not isinstance(aws_media_convert, AwsIntegrationsAwsMediaConvertArgs): + aws_media_convert = aws_media_convert or {} + def _setter(key, value): + aws_media_convert[key] = value + AwsIntegrationsAwsMediaConvertArgs._configure(_setter, **aws_media_convert) __props__.__dict__["aws_media_convert"] = aws_media_convert + if aws_media_package_vod is not None and not isinstance(aws_media_package_vod, AwsIntegrationsAwsMediaPackageVodArgs): + aws_media_package_vod = aws_media_package_vod or {} + def _setter(key, value): + aws_media_package_vod[key] = value + AwsIntegrationsAwsMediaPackageVodArgs._configure(_setter, **aws_media_package_vod) __props__.__dict__["aws_media_package_vod"] = aws_media_package_vod + if aws_mq is not None and not isinstance(aws_mq, AwsIntegrationsAwsMqArgs): + aws_mq = aws_mq or {} + def _setter(key, value): + aws_mq[key] = value + AwsIntegrationsAwsMqArgs._configure(_setter, **aws_mq) __props__.__dict__["aws_mq"] = aws_mq + if aws_msk is not None and not isinstance(aws_msk, AwsIntegrationsAwsMskArgs): + aws_msk = aws_msk or {} + def _setter(key, value): + aws_msk[key] = value + AwsIntegrationsAwsMskArgs._configure(_setter, **aws_msk) __props__.__dict__["aws_msk"] = aws_msk + if aws_neptune is not None and not isinstance(aws_neptune, AwsIntegrationsAwsNeptuneArgs): + aws_neptune = aws_neptune or {} + def _setter(key, value): + aws_neptune[key] = value + AwsIntegrationsAwsNeptuneArgs._configure(_setter, **aws_neptune) __props__.__dict__["aws_neptune"] = aws_neptune + if aws_qldb is not None and not isinstance(aws_qldb, AwsIntegrationsAwsQldbArgs): + aws_qldb = aws_qldb or {} + def _setter(key, value): + aws_qldb[key] = value + AwsIntegrationsAwsQldbArgs._configure(_setter, **aws_qldb) __props__.__dict__["aws_qldb"] = aws_qldb + if aws_route53resolver is not None and not isinstance(aws_route53resolver, AwsIntegrationsAwsRoute53resolverArgs): + aws_route53resolver = aws_route53resolver or {} + def _setter(key, value): + aws_route53resolver[key] = value + AwsIntegrationsAwsRoute53resolverArgs._configure(_setter, **aws_route53resolver) __props__.__dict__["aws_route53resolver"] = aws_route53resolver + if aws_states is not None and not isinstance(aws_states, AwsIntegrationsAwsStatesArgs): + aws_states = aws_states or {} + def _setter(key, value): + aws_states[key] = value + AwsIntegrationsAwsStatesArgs._configure(_setter, **aws_states) __props__.__dict__["aws_states"] = aws_states + if aws_transit_gateway is not None and not isinstance(aws_transit_gateway, AwsIntegrationsAwsTransitGatewayArgs): + aws_transit_gateway = aws_transit_gateway or {} + def _setter(key, value): + aws_transit_gateway[key] = value + AwsIntegrationsAwsTransitGatewayArgs._configure(_setter, **aws_transit_gateway) __props__.__dict__["aws_transit_gateway"] = aws_transit_gateway + if aws_waf is not None and not isinstance(aws_waf, AwsIntegrationsAwsWafArgs): + aws_waf = aws_waf or {} + def _setter(key, value): + aws_waf[key] = value + AwsIntegrationsAwsWafArgs._configure(_setter, **aws_waf) __props__.__dict__["aws_waf"] = aws_waf + if aws_wafv2 is not None and not isinstance(aws_wafv2, AwsIntegrationsAwsWafv2Args): + aws_wafv2 = aws_wafv2 or {} + def _setter(key, value): + aws_wafv2[key] = value + AwsIntegrationsAwsWafv2Args._configure(_setter, **aws_wafv2) __props__.__dict__["aws_wafv2"] = aws_wafv2 + if billing is not None and not isinstance(billing, AwsIntegrationsBillingArgs): + billing = billing or {} + def _setter(key, value): + billing[key] = value + AwsIntegrationsBillingArgs._configure(_setter, **billing) __props__.__dict__["billing"] = billing + if cloudfront is not None and not isinstance(cloudfront, AwsIntegrationsCloudfrontArgs): + cloudfront = cloudfront or {} + def _setter(key, value): + cloudfront[key] = value + AwsIntegrationsCloudfrontArgs._configure(_setter, **cloudfront) __props__.__dict__["cloudfront"] = cloudfront + if cloudtrail is not None and not isinstance(cloudtrail, AwsIntegrationsCloudtrailArgs): + cloudtrail = cloudtrail or {} + def _setter(key, value): + cloudtrail[key] = value + AwsIntegrationsCloudtrailArgs._configure(_setter, **cloudtrail) __props__.__dict__["cloudtrail"] = cloudtrail + if doc_db is not None and not isinstance(doc_db, AwsIntegrationsDocDbArgs): + doc_db = doc_db or {} + def _setter(key, value): + doc_db[key] = value + AwsIntegrationsDocDbArgs._configure(_setter, **doc_db) __props__.__dict__["doc_db"] = doc_db + if dynamodb is not None and not isinstance(dynamodb, AwsIntegrationsDynamodbArgs): + dynamodb = dynamodb or {} + def _setter(key, value): + dynamodb[key] = value + AwsIntegrationsDynamodbArgs._configure(_setter, **dynamodb) __props__.__dict__["dynamodb"] = dynamodb + if ebs is not None and not isinstance(ebs, AwsIntegrationsEbsArgs): + ebs = ebs or {} + def _setter(key, value): + ebs[key] = value + AwsIntegrationsEbsArgs._configure(_setter, **ebs) __props__.__dict__["ebs"] = ebs + if ec2 is not None and not isinstance(ec2, AwsIntegrationsEc2Args): + ec2 = ec2 or {} + def _setter(key, value): + ec2[key] = value + AwsIntegrationsEc2Args._configure(_setter, **ec2) __props__.__dict__["ec2"] = ec2 + if ecs is not None and not isinstance(ecs, AwsIntegrationsEcsArgs): + ecs = ecs or {} + def _setter(key, value): + ecs[key] = value + AwsIntegrationsEcsArgs._configure(_setter, **ecs) __props__.__dict__["ecs"] = ecs + if efs is not None and not isinstance(efs, AwsIntegrationsEfsArgs): + efs = efs or {} + def _setter(key, value): + efs[key] = value + AwsIntegrationsEfsArgs._configure(_setter, **efs) __props__.__dict__["efs"] = efs + if elasticache is not None and not isinstance(elasticache, AwsIntegrationsElasticacheArgs): + elasticache = elasticache or {} + def _setter(key, value): + elasticache[key] = value + AwsIntegrationsElasticacheArgs._configure(_setter, **elasticache) __props__.__dict__["elasticache"] = elasticache + if elasticbeanstalk is not None and not isinstance(elasticbeanstalk, AwsIntegrationsElasticbeanstalkArgs): + elasticbeanstalk = elasticbeanstalk or {} + def _setter(key, value): + elasticbeanstalk[key] = value + AwsIntegrationsElasticbeanstalkArgs._configure(_setter, **elasticbeanstalk) __props__.__dict__["elasticbeanstalk"] = elasticbeanstalk + if elasticsearch is not None and not isinstance(elasticsearch, AwsIntegrationsElasticsearchArgs): + elasticsearch = elasticsearch or {} + def _setter(key, value): + elasticsearch[key] = value + AwsIntegrationsElasticsearchArgs._configure(_setter, **elasticsearch) __props__.__dict__["elasticsearch"] = elasticsearch + if elb is not None and not isinstance(elb, AwsIntegrationsElbArgs): + elb = elb or {} + def _setter(key, value): + elb[key] = value + AwsIntegrationsElbArgs._configure(_setter, **elb) __props__.__dict__["elb"] = elb + if emr is not None and not isinstance(emr, AwsIntegrationsEmrArgs): + emr = emr or {} + def _setter(key, value): + emr[key] = value + AwsIntegrationsEmrArgs._configure(_setter, **emr) __props__.__dict__["emr"] = emr + if health is not None and not isinstance(health, AwsIntegrationsHealthArgs): + health = health or {} + def _setter(key, value): + health[key] = value + AwsIntegrationsHealthArgs._configure(_setter, **health) __props__.__dict__["health"] = health + if iam is not None and not isinstance(iam, AwsIntegrationsIamArgs): + iam = iam or {} + def _setter(key, value): + iam[key] = value + AwsIntegrationsIamArgs._configure(_setter, **iam) __props__.__dict__["iam"] = iam + if iot is not None and not isinstance(iot, AwsIntegrationsIotArgs): + iot = iot or {} + def _setter(key, value): + iot[key] = value + AwsIntegrationsIotArgs._configure(_setter, **iot) __props__.__dict__["iot"] = iot + if kinesis is not None and not isinstance(kinesis, AwsIntegrationsKinesisArgs): + kinesis = kinesis or {} + def _setter(key, value): + kinesis[key] = value + AwsIntegrationsKinesisArgs._configure(_setter, **kinesis) __props__.__dict__["kinesis"] = kinesis + if kinesis_firehose is not None and not isinstance(kinesis_firehose, AwsIntegrationsKinesisFirehoseArgs): + kinesis_firehose = kinesis_firehose or {} + def _setter(key, value): + kinesis_firehose[key] = value + AwsIntegrationsKinesisFirehoseArgs._configure(_setter, **kinesis_firehose) __props__.__dict__["kinesis_firehose"] = kinesis_firehose + if lambda_ is not None and not isinstance(lambda_, AwsIntegrationsLambdaArgs): + lambda_ = lambda_ or {} + def _setter(key, value): + lambda_[key] = value + AwsIntegrationsLambdaArgs._configure(_setter, **lambda_) __props__.__dict__["lambda_"] = lambda_ if linked_account_id is None and not opts.urn: raise TypeError("Missing required property 'linked_account_id'") __props__.__dict__["linked_account_id"] = linked_account_id + if rds is not None and not isinstance(rds, AwsIntegrationsRdsArgs): + rds = rds or {} + def _setter(key, value): + rds[key] = value + AwsIntegrationsRdsArgs._configure(_setter, **rds) __props__.__dict__["rds"] = rds + if redshift is not None and not isinstance(redshift, AwsIntegrationsRedshiftArgs): + redshift = redshift or {} + def _setter(key, value): + redshift[key] = value + AwsIntegrationsRedshiftArgs._configure(_setter, **redshift) __props__.__dict__["redshift"] = redshift + if route53 is not None and not isinstance(route53, AwsIntegrationsRoute53Args): + route53 = route53 or {} + def _setter(key, value): + route53[key] = value + AwsIntegrationsRoute53Args._configure(_setter, **route53) __props__.__dict__["route53"] = route53 + if s3 is not None and not isinstance(s3, AwsIntegrationsS3Args): + s3 = s3 or {} + def _setter(key, value): + s3[key] = value + AwsIntegrationsS3Args._configure(_setter, **s3) __props__.__dict__["s3"] = s3 + if ses is not None and not isinstance(ses, AwsIntegrationsSesArgs): + ses = ses or {} + def _setter(key, value): + ses[key] = value + AwsIntegrationsSesArgs._configure(_setter, **ses) __props__.__dict__["ses"] = ses + if sns is not None and not isinstance(sns, AwsIntegrationsSnsArgs): + sns = sns or {} + def _setter(key, value): + sns[key] = value + AwsIntegrationsSnsArgs._configure(_setter, **sns) __props__.__dict__["sns"] = sns + if sqs is not None and not isinstance(sqs, AwsIntegrationsSqsArgs): + sqs = sqs or {} + def _setter(key, value): + sqs[key] = value + AwsIntegrationsSqsArgs._configure(_setter, **sqs) __props__.__dict__["sqs"] = sqs + if trusted_advisor is not None and not isinstance(trusted_advisor, AwsIntegrationsTrustedAdvisorArgs): + trusted_advisor = trusted_advisor or {} + def _setter(key, value): + trusted_advisor[key] = value + AwsIntegrationsTrustedAdvisorArgs._configure(_setter, **trusted_advisor) __props__.__dict__["trusted_advisor"] = trusted_advisor + if vpc is not None and not isinstance(vpc, AwsIntegrationsVpcArgs): + vpc = vpc or {} + def _setter(key, value): + vpc[key] = value + AwsIntegrationsVpcArgs._configure(_setter, **vpc) __props__.__dict__["vpc"] = vpc + if x_ray is not None and not isinstance(x_ray, AwsIntegrationsXRayArgs): + x_ray = x_ray or {} + def _setter(key, value): + x_ray[key] = value + AwsIntegrationsXRayArgs._configure(_setter, **x_ray) __props__.__dict__["x_ray"] = x_ray super(AwsIntegrations, __self__).__init__( 'newrelic:cloud/awsIntegrations:AwsIntegrations', diff --git a/sdk/python/pulumi_newrelic/cloud/aws_link_account.py b/sdk/python/pulumi_newrelic/cloud/aws_link_account.py index 2d97b110..087fff3a 100644 --- a/sdk/python/pulumi_newrelic/cloud/aws_link_account.py +++ b/sdk/python/pulumi_newrelic/cloud/aws_link_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AwsLinkAccountArgs', 'AwsLinkAccount'] @@ -23,15 +23,30 @@ def __init__(__self__, *, :param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role. :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. :param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. - :param pulumi.Input[str] name: The linked account name - """ - pulumi.set(__self__, "arn", arn) + :param pulumi.Input[str] name: The name of the linked account. + """ + AwsLinkAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + arn=arn, + account_id=account_id, + metric_collection_mode=metric_collection_mode, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arn: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + metric_collection_mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("arn", arn) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if metric_collection_mode is not None: - pulumi.set(__self__, "metric_collection_mode", metric_collection_mode) + _setter("metric_collection_mode", metric_collection_mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -73,7 +88,7 @@ def metric_collection_mode(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The linked account name + The name of the linked account. """ return pulumi.get(self, "name") @@ -94,16 +109,31 @@ def __init__(__self__, *, :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. :param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role. :param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. - :param pulumi.Input[str] name: The linked account name - """ + :param pulumi.Input[str] name: The name of the linked account. + """ + _AwsLinkAccountState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + arn=arn, + metric_collection_mode=metric_collection_mode, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + arn: Optional[pulumi.Input[str]] = None, + metric_collection_mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if arn is not None: - pulumi.set(__self__, "arn", arn) + _setter("arn", arn) if metric_collection_mode is not None: - pulumi.set(__self__, "metric_collection_mode", metric_collection_mode) + _setter("metric_collection_mode", metric_collection_mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -145,7 +175,7 @@ def metric_collection_mode(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The linked account name + The name of the linked account. """ return pulumi.get(self, "name") @@ -201,7 +231,7 @@ def __init__(__self__, :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. :param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role. :param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. - :param pulumi.Input[str] name: The linked account name + :param pulumi.Input[str] name: The name of the linked account. """ ... @overload @@ -251,6 +281,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AwsLinkAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -299,7 +333,7 @@ def get(resource_name: str, :param pulumi.Input[int] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. :param pulumi.Input[str] arn: The Amazon Resource Name (ARN) of the IAM role. :param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services. - :param pulumi.Input[str] name: The linked account name + :param pulumi.Input[str] name: The name of the linked account. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -339,7 +373,7 @@ def metric_collection_mode(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The linked account name + The name of the linked account. """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_newrelic/cloud/azure_integrations.py b/sdk/python/pulumi_newrelic/cloud/azure_integrations.py index b4e2e7bc..c78decf2 100644 --- a/sdk/python/pulumi_newrelic/cloud/azure_integrations.py +++ b/sdk/python/pulumi_newrelic/cloud/azure_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -91,73 +91,148 @@ def __init__(__self__, *, Below arguments supports the minimum metric polling interval of 900 seconds """ - pulumi.set(__self__, "linked_account_id", linked_account_id) + AzureIntegrationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + linked_account_id=linked_account_id, + account_id=account_id, + api_management=api_management, + app_gateway=app_gateway, + app_service=app_service, + containers=containers, + cosmos_db=cosmos_db, + cost_management=cost_management, + data_factory=data_factory, + event_hub=event_hub, + express_route=express_route, + firewalls=firewalls, + front_door=front_door, + functions=functions, + key_vault=key_vault, + load_balancer=load_balancer, + logic_apps=logic_apps, + machine_learning=machine_learning, + maria_db=maria_db, + monitor=monitor, + mysql=mysql, + mysql_flexible=mysql_flexible, + postgresql=postgresql, + postgresql_flexible=postgresql_flexible, + power_bi_dedicated=power_bi_dedicated, + redis_cache=redis_cache, + service_bus=service_bus, + sql=sql, + sql_managed=sql_managed, + storage=storage, + virtual_machine=virtual_machine, + virtual_networks=virtual_networks, + vms=vms, + vpn_gateway=vpn_gateway, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + linked_account_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + api_management: Optional[pulumi.Input['AzureIntegrationsApiManagementArgs']] = None, + app_gateway: Optional[pulumi.Input['AzureIntegrationsAppGatewayArgs']] = None, + app_service: Optional[pulumi.Input['AzureIntegrationsAppServiceArgs']] = None, + containers: Optional[pulumi.Input['AzureIntegrationsContainersArgs']] = None, + cosmos_db: Optional[pulumi.Input['AzureIntegrationsCosmosDbArgs']] = None, + cost_management: Optional[pulumi.Input['AzureIntegrationsCostManagementArgs']] = None, + data_factory: Optional[pulumi.Input['AzureIntegrationsDataFactoryArgs']] = None, + event_hub: Optional[pulumi.Input['AzureIntegrationsEventHubArgs']] = None, + express_route: Optional[pulumi.Input['AzureIntegrationsExpressRouteArgs']] = None, + firewalls: Optional[pulumi.Input['AzureIntegrationsFirewallsArgs']] = None, + front_door: Optional[pulumi.Input['AzureIntegrationsFrontDoorArgs']] = None, + functions: Optional[pulumi.Input['AzureIntegrationsFunctionsArgs']] = None, + key_vault: Optional[pulumi.Input['AzureIntegrationsKeyVaultArgs']] = None, + load_balancer: Optional[pulumi.Input['AzureIntegrationsLoadBalancerArgs']] = None, + logic_apps: Optional[pulumi.Input['AzureIntegrationsLogicAppsArgs']] = None, + machine_learning: Optional[pulumi.Input['AzureIntegrationsMachineLearningArgs']] = None, + maria_db: Optional[pulumi.Input['AzureIntegrationsMariaDbArgs']] = None, + monitor: Optional[pulumi.Input['AzureIntegrationsMonitorArgs']] = None, + mysql: Optional[pulumi.Input['AzureIntegrationsMysqlArgs']] = None, + mysql_flexible: Optional[pulumi.Input['AzureIntegrationsMysqlFlexibleArgs']] = None, + postgresql: Optional[pulumi.Input['AzureIntegrationsPostgresqlArgs']] = None, + postgresql_flexible: Optional[pulumi.Input['AzureIntegrationsPostgresqlFlexibleArgs']] = None, + power_bi_dedicated: Optional[pulumi.Input['AzureIntegrationsPowerBiDedicatedArgs']] = None, + redis_cache: Optional[pulumi.Input['AzureIntegrationsRedisCacheArgs']] = None, + service_bus: Optional[pulumi.Input['AzureIntegrationsServiceBusArgs']] = None, + sql: Optional[pulumi.Input['AzureIntegrationsSqlArgs']] = None, + sql_managed: Optional[pulumi.Input['AzureIntegrationsSqlManagedArgs']] = None, + storage: Optional[pulumi.Input['AzureIntegrationsStorageArgs']] = None, + virtual_machine: Optional[pulumi.Input['AzureIntegrationsVirtualMachineArgs']] = None, + virtual_networks: Optional[pulumi.Input['AzureIntegrationsVirtualNetworksArgs']] = None, + vms: Optional[pulumi.Input['AzureIntegrationsVmsArgs']] = None, + vpn_gateway: Optional[pulumi.Input['AzureIntegrationsVpnGatewayArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("linked_account_id", linked_account_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if api_management is not None: - pulumi.set(__self__, "api_management", api_management) + _setter("api_management", api_management) if app_gateway is not None: - pulumi.set(__self__, "app_gateway", app_gateway) + _setter("app_gateway", app_gateway) if app_service is not None: - pulumi.set(__self__, "app_service", app_service) + _setter("app_service", app_service) if containers is not None: - pulumi.set(__self__, "containers", containers) + _setter("containers", containers) if cosmos_db is not None: - pulumi.set(__self__, "cosmos_db", cosmos_db) + _setter("cosmos_db", cosmos_db) if cost_management is not None: - pulumi.set(__self__, "cost_management", cost_management) + _setter("cost_management", cost_management) if data_factory is not None: - pulumi.set(__self__, "data_factory", data_factory) + _setter("data_factory", data_factory) if event_hub is not None: - pulumi.set(__self__, "event_hub", event_hub) + _setter("event_hub", event_hub) if express_route is not None: - pulumi.set(__self__, "express_route", express_route) + _setter("express_route", express_route) if firewalls is not None: - pulumi.set(__self__, "firewalls", firewalls) + _setter("firewalls", firewalls) if front_door is not None: - pulumi.set(__self__, "front_door", front_door) + _setter("front_door", front_door) if functions is not None: - pulumi.set(__self__, "functions", functions) + _setter("functions", functions) if key_vault is not None: - pulumi.set(__self__, "key_vault", key_vault) + _setter("key_vault", key_vault) if load_balancer is not None: - pulumi.set(__self__, "load_balancer", load_balancer) + _setter("load_balancer", load_balancer) if logic_apps is not None: - pulumi.set(__self__, "logic_apps", logic_apps) + _setter("logic_apps", logic_apps) if machine_learning is not None: - pulumi.set(__self__, "machine_learning", machine_learning) + _setter("machine_learning", machine_learning) if maria_db is not None: - pulumi.set(__self__, "maria_db", maria_db) + _setter("maria_db", maria_db) if monitor is not None: - pulumi.set(__self__, "monitor", monitor) + _setter("monitor", monitor) if mysql is not None: - pulumi.set(__self__, "mysql", mysql) + _setter("mysql", mysql) if mysql_flexible is not None: - pulumi.set(__self__, "mysql_flexible", mysql_flexible) + _setter("mysql_flexible", mysql_flexible) if postgresql is not None: - pulumi.set(__self__, "postgresql", postgresql) + _setter("postgresql", postgresql) if postgresql_flexible is not None: - pulumi.set(__self__, "postgresql_flexible", postgresql_flexible) + _setter("postgresql_flexible", postgresql_flexible) if power_bi_dedicated is not None: - pulumi.set(__self__, "power_bi_dedicated", power_bi_dedicated) + _setter("power_bi_dedicated", power_bi_dedicated) if redis_cache is not None: - pulumi.set(__self__, "redis_cache", redis_cache) + _setter("redis_cache", redis_cache) if service_bus is not None: - pulumi.set(__self__, "service_bus", service_bus) + _setter("service_bus", service_bus) if sql is not None: - pulumi.set(__self__, "sql", sql) + _setter("sql", sql) if sql_managed is not None: - pulumi.set(__self__, "sql_managed", sql_managed) + _setter("sql_managed", sql_managed) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if virtual_machine is not None: - pulumi.set(__self__, "virtual_machine", virtual_machine) + _setter("virtual_machine", virtual_machine) if virtual_networks is not None: - pulumi.set(__self__, "virtual_networks", virtual_networks) + _setter("virtual_networks", virtual_networks) if vms is not None: - pulumi.set(__self__, "vms", vms) + _setter("vms", vms) if vpn_gateway is not None: - pulumi.set(__self__, "vpn_gateway", vpn_gateway) + _setter("vpn_gateway", vpn_gateway) @property @pulumi.getter(name="linkedAccountId") @@ -650,74 +725,149 @@ def __init__(__self__, *, Below arguments supports the minimum metric polling interval of 900 seconds """ + _AzureIntegrationsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + api_management=api_management, + app_gateway=app_gateway, + app_service=app_service, + containers=containers, + cosmos_db=cosmos_db, + cost_management=cost_management, + data_factory=data_factory, + event_hub=event_hub, + express_route=express_route, + firewalls=firewalls, + front_door=front_door, + functions=functions, + key_vault=key_vault, + linked_account_id=linked_account_id, + load_balancer=load_balancer, + logic_apps=logic_apps, + machine_learning=machine_learning, + maria_db=maria_db, + monitor=monitor, + mysql=mysql, + mysql_flexible=mysql_flexible, + postgresql=postgresql, + postgresql_flexible=postgresql_flexible, + power_bi_dedicated=power_bi_dedicated, + redis_cache=redis_cache, + service_bus=service_bus, + sql=sql, + sql_managed=sql_managed, + storage=storage, + virtual_machine=virtual_machine, + virtual_networks=virtual_networks, + vms=vms, + vpn_gateway=vpn_gateway, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + api_management: Optional[pulumi.Input['AzureIntegrationsApiManagementArgs']] = None, + app_gateway: Optional[pulumi.Input['AzureIntegrationsAppGatewayArgs']] = None, + app_service: Optional[pulumi.Input['AzureIntegrationsAppServiceArgs']] = None, + containers: Optional[pulumi.Input['AzureIntegrationsContainersArgs']] = None, + cosmos_db: Optional[pulumi.Input['AzureIntegrationsCosmosDbArgs']] = None, + cost_management: Optional[pulumi.Input['AzureIntegrationsCostManagementArgs']] = None, + data_factory: Optional[pulumi.Input['AzureIntegrationsDataFactoryArgs']] = None, + event_hub: Optional[pulumi.Input['AzureIntegrationsEventHubArgs']] = None, + express_route: Optional[pulumi.Input['AzureIntegrationsExpressRouteArgs']] = None, + firewalls: Optional[pulumi.Input['AzureIntegrationsFirewallsArgs']] = None, + front_door: Optional[pulumi.Input['AzureIntegrationsFrontDoorArgs']] = None, + functions: Optional[pulumi.Input['AzureIntegrationsFunctionsArgs']] = None, + key_vault: Optional[pulumi.Input['AzureIntegrationsKeyVaultArgs']] = None, + linked_account_id: Optional[pulumi.Input[int]] = None, + load_balancer: Optional[pulumi.Input['AzureIntegrationsLoadBalancerArgs']] = None, + logic_apps: Optional[pulumi.Input['AzureIntegrationsLogicAppsArgs']] = None, + machine_learning: Optional[pulumi.Input['AzureIntegrationsMachineLearningArgs']] = None, + maria_db: Optional[pulumi.Input['AzureIntegrationsMariaDbArgs']] = None, + monitor: Optional[pulumi.Input['AzureIntegrationsMonitorArgs']] = None, + mysql: Optional[pulumi.Input['AzureIntegrationsMysqlArgs']] = None, + mysql_flexible: Optional[pulumi.Input['AzureIntegrationsMysqlFlexibleArgs']] = None, + postgresql: Optional[pulumi.Input['AzureIntegrationsPostgresqlArgs']] = None, + postgresql_flexible: Optional[pulumi.Input['AzureIntegrationsPostgresqlFlexibleArgs']] = None, + power_bi_dedicated: Optional[pulumi.Input['AzureIntegrationsPowerBiDedicatedArgs']] = None, + redis_cache: Optional[pulumi.Input['AzureIntegrationsRedisCacheArgs']] = None, + service_bus: Optional[pulumi.Input['AzureIntegrationsServiceBusArgs']] = None, + sql: Optional[pulumi.Input['AzureIntegrationsSqlArgs']] = None, + sql_managed: Optional[pulumi.Input['AzureIntegrationsSqlManagedArgs']] = None, + storage: Optional[pulumi.Input['AzureIntegrationsStorageArgs']] = None, + virtual_machine: Optional[pulumi.Input['AzureIntegrationsVirtualMachineArgs']] = None, + virtual_networks: Optional[pulumi.Input['AzureIntegrationsVirtualNetworksArgs']] = None, + vms: Optional[pulumi.Input['AzureIntegrationsVmsArgs']] = None, + vpn_gateway: Optional[pulumi.Input['AzureIntegrationsVpnGatewayArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if api_management is not None: - pulumi.set(__self__, "api_management", api_management) + _setter("api_management", api_management) if app_gateway is not None: - pulumi.set(__self__, "app_gateway", app_gateway) + _setter("app_gateway", app_gateway) if app_service is not None: - pulumi.set(__self__, "app_service", app_service) + _setter("app_service", app_service) if containers is not None: - pulumi.set(__self__, "containers", containers) + _setter("containers", containers) if cosmos_db is not None: - pulumi.set(__self__, "cosmos_db", cosmos_db) + _setter("cosmos_db", cosmos_db) if cost_management is not None: - pulumi.set(__self__, "cost_management", cost_management) + _setter("cost_management", cost_management) if data_factory is not None: - pulumi.set(__self__, "data_factory", data_factory) + _setter("data_factory", data_factory) if event_hub is not None: - pulumi.set(__self__, "event_hub", event_hub) + _setter("event_hub", event_hub) if express_route is not None: - pulumi.set(__self__, "express_route", express_route) + _setter("express_route", express_route) if firewalls is not None: - pulumi.set(__self__, "firewalls", firewalls) + _setter("firewalls", firewalls) if front_door is not None: - pulumi.set(__self__, "front_door", front_door) + _setter("front_door", front_door) if functions is not None: - pulumi.set(__self__, "functions", functions) + _setter("functions", functions) if key_vault is not None: - pulumi.set(__self__, "key_vault", key_vault) + _setter("key_vault", key_vault) if linked_account_id is not None: - pulumi.set(__self__, "linked_account_id", linked_account_id) + _setter("linked_account_id", linked_account_id) if load_balancer is not None: - pulumi.set(__self__, "load_balancer", load_balancer) + _setter("load_balancer", load_balancer) if logic_apps is not None: - pulumi.set(__self__, "logic_apps", logic_apps) + _setter("logic_apps", logic_apps) if machine_learning is not None: - pulumi.set(__self__, "machine_learning", machine_learning) + _setter("machine_learning", machine_learning) if maria_db is not None: - pulumi.set(__self__, "maria_db", maria_db) + _setter("maria_db", maria_db) if monitor is not None: - pulumi.set(__self__, "monitor", monitor) + _setter("monitor", monitor) if mysql is not None: - pulumi.set(__self__, "mysql", mysql) + _setter("mysql", mysql) if mysql_flexible is not None: - pulumi.set(__self__, "mysql_flexible", mysql_flexible) + _setter("mysql_flexible", mysql_flexible) if postgresql is not None: - pulumi.set(__self__, "postgresql", postgresql) + _setter("postgresql", postgresql) if postgresql_flexible is not None: - pulumi.set(__self__, "postgresql_flexible", postgresql_flexible) + _setter("postgresql_flexible", postgresql_flexible) if power_bi_dedicated is not None: - pulumi.set(__self__, "power_bi_dedicated", power_bi_dedicated) + _setter("power_bi_dedicated", power_bi_dedicated) if redis_cache is not None: - pulumi.set(__self__, "redis_cache", redis_cache) + _setter("redis_cache", redis_cache) if service_bus is not None: - pulumi.set(__self__, "service_bus", service_bus) + _setter("service_bus", service_bus) if sql is not None: - pulumi.set(__self__, "sql", sql) + _setter("sql", sql) if sql_managed is not None: - pulumi.set(__self__, "sql_managed", sql_managed) + _setter("sql_managed", sql_managed) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if virtual_machine is not None: - pulumi.set(__self__, "virtual_machine", virtual_machine) + _setter("virtual_machine", virtual_machine) if virtual_networks is not None: - pulumi.set(__self__, "virtual_networks", virtual_networks) + _setter("virtual_networks", virtual_networks) if vms is not None: - pulumi.set(__self__, "vms", vms) + _setter("vms", vms) if vpn_gateway is not None: - pulumi.set(__self__, "vpn_gateway", vpn_gateway) + _setter("vpn_gateway", vpn_gateway) @property @pulumi.getter(name="accountId") @@ -1575,6 +1725,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AzureIntegrationsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1624,40 +1778,200 @@ def _internal_init(__self__, __props__ = AzureIntegrationsArgs.__new__(AzureIntegrationsArgs) __props__.__dict__["account_id"] = account_id + if api_management is not None and not isinstance(api_management, AzureIntegrationsApiManagementArgs): + api_management = api_management or {} + def _setter(key, value): + api_management[key] = value + AzureIntegrationsApiManagementArgs._configure(_setter, **api_management) __props__.__dict__["api_management"] = api_management + if app_gateway is not None and not isinstance(app_gateway, AzureIntegrationsAppGatewayArgs): + app_gateway = app_gateway or {} + def _setter(key, value): + app_gateway[key] = value + AzureIntegrationsAppGatewayArgs._configure(_setter, **app_gateway) __props__.__dict__["app_gateway"] = app_gateway + if app_service is not None and not isinstance(app_service, AzureIntegrationsAppServiceArgs): + app_service = app_service or {} + def _setter(key, value): + app_service[key] = value + AzureIntegrationsAppServiceArgs._configure(_setter, **app_service) __props__.__dict__["app_service"] = app_service + if containers is not None and not isinstance(containers, AzureIntegrationsContainersArgs): + containers = containers or {} + def _setter(key, value): + containers[key] = value + AzureIntegrationsContainersArgs._configure(_setter, **containers) __props__.__dict__["containers"] = containers + if cosmos_db is not None and not isinstance(cosmos_db, AzureIntegrationsCosmosDbArgs): + cosmos_db = cosmos_db or {} + def _setter(key, value): + cosmos_db[key] = value + AzureIntegrationsCosmosDbArgs._configure(_setter, **cosmos_db) __props__.__dict__["cosmos_db"] = cosmos_db + if cost_management is not None and not isinstance(cost_management, AzureIntegrationsCostManagementArgs): + cost_management = cost_management or {} + def _setter(key, value): + cost_management[key] = value + AzureIntegrationsCostManagementArgs._configure(_setter, **cost_management) __props__.__dict__["cost_management"] = cost_management + if data_factory is not None and not isinstance(data_factory, AzureIntegrationsDataFactoryArgs): + data_factory = data_factory or {} + def _setter(key, value): + data_factory[key] = value + AzureIntegrationsDataFactoryArgs._configure(_setter, **data_factory) __props__.__dict__["data_factory"] = data_factory + if event_hub is not None and not isinstance(event_hub, AzureIntegrationsEventHubArgs): + event_hub = event_hub or {} + def _setter(key, value): + event_hub[key] = value + AzureIntegrationsEventHubArgs._configure(_setter, **event_hub) __props__.__dict__["event_hub"] = event_hub + if express_route is not None and not isinstance(express_route, AzureIntegrationsExpressRouteArgs): + express_route = express_route or {} + def _setter(key, value): + express_route[key] = value + AzureIntegrationsExpressRouteArgs._configure(_setter, **express_route) __props__.__dict__["express_route"] = express_route + if firewalls is not None and not isinstance(firewalls, AzureIntegrationsFirewallsArgs): + firewalls = firewalls or {} + def _setter(key, value): + firewalls[key] = value + AzureIntegrationsFirewallsArgs._configure(_setter, **firewalls) __props__.__dict__["firewalls"] = firewalls + if front_door is not None and not isinstance(front_door, AzureIntegrationsFrontDoorArgs): + front_door = front_door or {} + def _setter(key, value): + front_door[key] = value + AzureIntegrationsFrontDoorArgs._configure(_setter, **front_door) __props__.__dict__["front_door"] = front_door + if functions is not None and not isinstance(functions, AzureIntegrationsFunctionsArgs): + functions = functions or {} + def _setter(key, value): + functions[key] = value + AzureIntegrationsFunctionsArgs._configure(_setter, **functions) __props__.__dict__["functions"] = functions + if key_vault is not None and not isinstance(key_vault, AzureIntegrationsKeyVaultArgs): + key_vault = key_vault or {} + def _setter(key, value): + key_vault[key] = value + AzureIntegrationsKeyVaultArgs._configure(_setter, **key_vault) __props__.__dict__["key_vault"] = key_vault if linked_account_id is None and not opts.urn: raise TypeError("Missing required property 'linked_account_id'") __props__.__dict__["linked_account_id"] = linked_account_id + if load_balancer is not None and not isinstance(load_balancer, AzureIntegrationsLoadBalancerArgs): + load_balancer = load_balancer or {} + def _setter(key, value): + load_balancer[key] = value + AzureIntegrationsLoadBalancerArgs._configure(_setter, **load_balancer) __props__.__dict__["load_balancer"] = load_balancer + if logic_apps is not None and not isinstance(logic_apps, AzureIntegrationsLogicAppsArgs): + logic_apps = logic_apps or {} + def _setter(key, value): + logic_apps[key] = value + AzureIntegrationsLogicAppsArgs._configure(_setter, **logic_apps) __props__.__dict__["logic_apps"] = logic_apps + if machine_learning is not None and not isinstance(machine_learning, AzureIntegrationsMachineLearningArgs): + machine_learning = machine_learning or {} + def _setter(key, value): + machine_learning[key] = value + AzureIntegrationsMachineLearningArgs._configure(_setter, **machine_learning) __props__.__dict__["machine_learning"] = machine_learning + if maria_db is not None and not isinstance(maria_db, AzureIntegrationsMariaDbArgs): + maria_db = maria_db or {} + def _setter(key, value): + maria_db[key] = value + AzureIntegrationsMariaDbArgs._configure(_setter, **maria_db) __props__.__dict__["maria_db"] = maria_db + if monitor is not None and not isinstance(monitor, AzureIntegrationsMonitorArgs): + monitor = monitor or {} + def _setter(key, value): + monitor[key] = value + AzureIntegrationsMonitorArgs._configure(_setter, **monitor) __props__.__dict__["monitor"] = monitor + if mysql is not None and not isinstance(mysql, AzureIntegrationsMysqlArgs): + mysql = mysql or {} + def _setter(key, value): + mysql[key] = value + AzureIntegrationsMysqlArgs._configure(_setter, **mysql) __props__.__dict__["mysql"] = mysql + if mysql_flexible is not None and not isinstance(mysql_flexible, AzureIntegrationsMysqlFlexibleArgs): + mysql_flexible = mysql_flexible or {} + def _setter(key, value): + mysql_flexible[key] = value + AzureIntegrationsMysqlFlexibleArgs._configure(_setter, **mysql_flexible) __props__.__dict__["mysql_flexible"] = mysql_flexible + if postgresql is not None and not isinstance(postgresql, AzureIntegrationsPostgresqlArgs): + postgresql = postgresql or {} + def _setter(key, value): + postgresql[key] = value + AzureIntegrationsPostgresqlArgs._configure(_setter, **postgresql) __props__.__dict__["postgresql"] = postgresql + if postgresql_flexible is not None and not isinstance(postgresql_flexible, AzureIntegrationsPostgresqlFlexibleArgs): + postgresql_flexible = postgresql_flexible or {} + def _setter(key, value): + postgresql_flexible[key] = value + AzureIntegrationsPostgresqlFlexibleArgs._configure(_setter, **postgresql_flexible) __props__.__dict__["postgresql_flexible"] = postgresql_flexible + if power_bi_dedicated is not None and not isinstance(power_bi_dedicated, AzureIntegrationsPowerBiDedicatedArgs): + power_bi_dedicated = power_bi_dedicated or {} + def _setter(key, value): + power_bi_dedicated[key] = value + AzureIntegrationsPowerBiDedicatedArgs._configure(_setter, **power_bi_dedicated) __props__.__dict__["power_bi_dedicated"] = power_bi_dedicated + if redis_cache is not None and not isinstance(redis_cache, AzureIntegrationsRedisCacheArgs): + redis_cache = redis_cache or {} + def _setter(key, value): + redis_cache[key] = value + AzureIntegrationsRedisCacheArgs._configure(_setter, **redis_cache) __props__.__dict__["redis_cache"] = redis_cache + if service_bus is not None and not isinstance(service_bus, AzureIntegrationsServiceBusArgs): + service_bus = service_bus or {} + def _setter(key, value): + service_bus[key] = value + AzureIntegrationsServiceBusArgs._configure(_setter, **service_bus) __props__.__dict__["service_bus"] = service_bus + if sql is not None and not isinstance(sql, AzureIntegrationsSqlArgs): + sql = sql or {} + def _setter(key, value): + sql[key] = value + AzureIntegrationsSqlArgs._configure(_setter, **sql) __props__.__dict__["sql"] = sql + if sql_managed is not None and not isinstance(sql_managed, AzureIntegrationsSqlManagedArgs): + sql_managed = sql_managed or {} + def _setter(key, value): + sql_managed[key] = value + AzureIntegrationsSqlManagedArgs._configure(_setter, **sql_managed) __props__.__dict__["sql_managed"] = sql_managed + if storage is not None and not isinstance(storage, AzureIntegrationsStorageArgs): + storage = storage or {} + def _setter(key, value): + storage[key] = value + AzureIntegrationsStorageArgs._configure(_setter, **storage) __props__.__dict__["storage"] = storage + if virtual_machine is not None and not isinstance(virtual_machine, AzureIntegrationsVirtualMachineArgs): + virtual_machine = virtual_machine or {} + def _setter(key, value): + virtual_machine[key] = value + AzureIntegrationsVirtualMachineArgs._configure(_setter, **virtual_machine) __props__.__dict__["virtual_machine"] = virtual_machine + if virtual_networks is not None and not isinstance(virtual_networks, AzureIntegrationsVirtualNetworksArgs): + virtual_networks = virtual_networks or {} + def _setter(key, value): + virtual_networks[key] = value + AzureIntegrationsVirtualNetworksArgs._configure(_setter, **virtual_networks) __props__.__dict__["virtual_networks"] = virtual_networks + if vms is not None and not isinstance(vms, AzureIntegrationsVmsArgs): + vms = vms or {} + def _setter(key, value): + vms[key] = value + AzureIntegrationsVmsArgs._configure(_setter, **vms) __props__.__dict__["vms"] = vms + if vpn_gateway is not None and not isinstance(vpn_gateway, AzureIntegrationsVpnGatewayArgs): + vpn_gateway = vpn_gateway or {} + def _setter(key, value): + vpn_gateway[key] = value + AzureIntegrationsVpnGatewayArgs._configure(_setter, **vpn_gateway) __props__.__dict__["vpn_gateway"] = vpn_gateway super(AzureIntegrations, __self__).__init__( 'newrelic:cloud/azureIntegrations:AzureIntegrations', diff --git a/sdk/python/pulumi_newrelic/cloud/azure_link_account.py b/sdk/python/pulumi_newrelic/cloud/azure_link_account.py index 2b107dcd..6af7f3db 100644 --- a/sdk/python/pulumi_newrelic/cloud/azure_link_account.py +++ b/sdk/python/pulumi_newrelic/cloud/azure_link_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AzureLinkAccountArgs', 'AzureLinkAccount'] @@ -27,16 +27,35 @@ def __init__(__self__, *, :param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account. :param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account. :param pulumi.Input[int] account_id: Account ID of the New Relic. - :param pulumi.Input[str] name: The name of the application in New Relic APM. - """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "tenant_id", tenant_id) + :param pulumi.Input[str] name: Name of the linked account + """ + AzureLinkAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + client_secret=client_secret, + subscription_id=subscription_id, + tenant_id=tenant_id, + account_id=account_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + subscription_id: pulumi.Input[str], + tenant_id: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_id", application_id) + _setter("client_secret", client_secret) + _setter("subscription_id", subscription_id) + _setter("tenant_id", tenant_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="applicationId") @@ -102,7 +121,7 @@ def account_id(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the application in New Relic APM. + Name of the linked account """ return pulumi.get(self, "name") @@ -125,22 +144,41 @@ def __init__(__self__, *, :param pulumi.Input[int] account_id: Account ID of the New Relic. :param pulumi.Input[str] application_id: Application ID of the App. :param pulumi.Input[str] client_secret: Secret Value of the client. - :param pulumi.Input[str] name: The name of the application in New Relic APM. + :param pulumi.Input[str] name: Name of the linked account :param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account. :param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account. """ + _AzureLinkAccountState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + application_id=application_id, + client_secret=client_secret, + name=name, + subscription_id=subscription_id, + tenant_id=tenant_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + application_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if application_id is not None: - pulumi.set(__self__, "application_id", application_id) + _setter("application_id", application_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) @property @pulumi.getter(name="accountId") @@ -182,7 +220,7 @@ def client_secret(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the application in New Relic APM. + Name of the linked account """ return pulumi.get(self, "name") @@ -267,7 +305,7 @@ def __init__(__self__, :param pulumi.Input[int] account_id: Account ID of the New Relic. :param pulumi.Input[str] application_id: Application ID of the App. :param pulumi.Input[str] client_secret: Secret Value of the client. - :param pulumi.Input[str] name: The name of the application in New Relic APM. + :param pulumi.Input[str] name: Name of the linked account :param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account. :param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account. """ @@ -322,6 +360,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AzureLinkAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -384,7 +426,7 @@ def get(resource_name: str, :param pulumi.Input[int] account_id: Account ID of the New Relic. :param pulumi.Input[str] application_id: Application ID of the App. :param pulumi.Input[str] client_secret: Secret Value of the client. - :param pulumi.Input[str] name: The name of the application in New Relic APM. + :param pulumi.Input[str] name: Name of the linked account :param pulumi.Input[str] subscription_id: Subscription ID of the Azure cloud account. :param pulumi.Input[str] tenant_id: Tenant ID of the Azure cloud account. """ @@ -428,7 +470,7 @@ def client_secret(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the application in New Relic APM. + Name of the linked account """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_newrelic/cloud/gcp_integrations.py b/sdk/python/pulumi_newrelic/cloud/gcp_integrations.py index f8eb786c..dce01818 100644 --- a/sdk/python/pulumi_newrelic/cloud/gcp_integrations.py +++ b/sdk/python/pulumi_newrelic/cloud/gcp_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -75,61 +75,124 @@ def __init__(__self__, *, :param pulumi.Input['GcpIntegrationsVirtualMachinesArgs'] virtual_machines: Virtual machines integration. See Integration blocks below for details. :param pulumi.Input['GcpIntegrationsVpcAccessArgs'] vpc_access: VPC Access integration. See Integration blocks below for details. """ - pulumi.set(__self__, "linked_account_id", linked_account_id) + GcpIntegrationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + linked_account_id=linked_account_id, + account_id=account_id, + alloy_db=alloy_db, + app_engine=app_engine, + big_query=big_query, + big_table=big_table, + composer=composer, + data_flow=data_flow, + data_proc=data_proc, + data_store=data_store, + fire_base_database=fire_base_database, + fire_base_hosting=fire_base_hosting, + fire_base_storage=fire_base_storage, + fire_store=fire_store, + functions=functions, + interconnect=interconnect, + kubernetes=kubernetes, + load_balancing=load_balancing, + mem_cache=mem_cache, + pub_sub=pub_sub, + redis=redis, + router=router, + run=run, + spanner=spanner, + sql=sql, + storage=storage, + virtual_machines=virtual_machines, + vpc_access=vpc_access, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + linked_account_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + alloy_db: Optional[pulumi.Input['GcpIntegrationsAlloyDbArgs']] = None, + app_engine: Optional[pulumi.Input['GcpIntegrationsAppEngineArgs']] = None, + big_query: Optional[pulumi.Input['GcpIntegrationsBigQueryArgs']] = None, + big_table: Optional[pulumi.Input['GcpIntegrationsBigTableArgs']] = None, + composer: Optional[pulumi.Input['GcpIntegrationsComposerArgs']] = None, + data_flow: Optional[pulumi.Input['GcpIntegrationsDataFlowArgs']] = None, + data_proc: Optional[pulumi.Input['GcpIntegrationsDataProcArgs']] = None, + data_store: Optional[pulumi.Input['GcpIntegrationsDataStoreArgs']] = None, + fire_base_database: Optional[pulumi.Input['GcpIntegrationsFireBaseDatabaseArgs']] = None, + fire_base_hosting: Optional[pulumi.Input['GcpIntegrationsFireBaseHostingArgs']] = None, + fire_base_storage: Optional[pulumi.Input['GcpIntegrationsFireBaseStorageArgs']] = None, + fire_store: Optional[pulumi.Input['GcpIntegrationsFireStoreArgs']] = None, + functions: Optional[pulumi.Input['GcpIntegrationsFunctionsArgs']] = None, + interconnect: Optional[pulumi.Input['GcpIntegrationsInterconnectArgs']] = None, + kubernetes: Optional[pulumi.Input['GcpIntegrationsKubernetesArgs']] = None, + load_balancing: Optional[pulumi.Input['GcpIntegrationsLoadBalancingArgs']] = None, + mem_cache: Optional[pulumi.Input['GcpIntegrationsMemCacheArgs']] = None, + pub_sub: Optional[pulumi.Input['GcpIntegrationsPubSubArgs']] = None, + redis: Optional[pulumi.Input['GcpIntegrationsRedisArgs']] = None, + router: Optional[pulumi.Input['GcpIntegrationsRouterArgs']] = None, + run: Optional[pulumi.Input['GcpIntegrationsRunArgs']] = None, + spanner: Optional[pulumi.Input['GcpIntegrationsSpannerArgs']] = None, + sql: Optional[pulumi.Input['GcpIntegrationsSqlArgs']] = None, + storage: Optional[pulumi.Input['GcpIntegrationsStorageArgs']] = None, + virtual_machines: Optional[pulumi.Input['GcpIntegrationsVirtualMachinesArgs']] = None, + vpc_access: Optional[pulumi.Input['GcpIntegrationsVpcAccessArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("linked_account_id", linked_account_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alloy_db is not None: - pulumi.set(__self__, "alloy_db", alloy_db) + _setter("alloy_db", alloy_db) if app_engine is not None: - pulumi.set(__self__, "app_engine", app_engine) + _setter("app_engine", app_engine) if big_query is not None: - pulumi.set(__self__, "big_query", big_query) + _setter("big_query", big_query) if big_table is not None: - pulumi.set(__self__, "big_table", big_table) + _setter("big_table", big_table) if composer is not None: - pulumi.set(__self__, "composer", composer) + _setter("composer", composer) if data_flow is not None: - pulumi.set(__self__, "data_flow", data_flow) + _setter("data_flow", data_flow) if data_proc is not None: - pulumi.set(__self__, "data_proc", data_proc) + _setter("data_proc", data_proc) if data_store is not None: - pulumi.set(__self__, "data_store", data_store) + _setter("data_store", data_store) if fire_base_database is not None: - pulumi.set(__self__, "fire_base_database", fire_base_database) + _setter("fire_base_database", fire_base_database) if fire_base_hosting is not None: - pulumi.set(__self__, "fire_base_hosting", fire_base_hosting) + _setter("fire_base_hosting", fire_base_hosting) if fire_base_storage is not None: - pulumi.set(__self__, "fire_base_storage", fire_base_storage) + _setter("fire_base_storage", fire_base_storage) if fire_store is not None: - pulumi.set(__self__, "fire_store", fire_store) + _setter("fire_store", fire_store) if functions is not None: - pulumi.set(__self__, "functions", functions) + _setter("functions", functions) if interconnect is not None: - pulumi.set(__self__, "interconnect", interconnect) + _setter("interconnect", interconnect) if kubernetes is not None: - pulumi.set(__self__, "kubernetes", kubernetes) + _setter("kubernetes", kubernetes) if load_balancing is not None: - pulumi.set(__self__, "load_balancing", load_balancing) + _setter("load_balancing", load_balancing) if mem_cache is not None: - pulumi.set(__self__, "mem_cache", mem_cache) + _setter("mem_cache", mem_cache) if pub_sub is not None: - pulumi.set(__self__, "pub_sub", pub_sub) + _setter("pub_sub", pub_sub) if redis is not None: - pulumi.set(__self__, "redis", redis) + _setter("redis", redis) if router is not None: - pulumi.set(__self__, "router", router) + _setter("router", router) if run is not None: - pulumi.set(__self__, "run", run) + _setter("run", run) if spanner is not None: - pulumi.set(__self__, "spanner", spanner) + _setter("spanner", spanner) if sql is not None: - pulumi.set(__self__, "sql", sql) + _setter("sql", sql) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if virtual_machines is not None: - pulumi.set(__self__, "virtual_machines", virtual_machines) + _setter("virtual_machines", virtual_machines) if vpc_access is not None: - pulumi.set(__self__, "vpc_access", vpc_access) + _setter("vpc_access", vpc_access) @property @pulumi.getter(name="linkedAccountId") @@ -530,62 +593,125 @@ def __init__(__self__, *, :param pulumi.Input['GcpIntegrationsVirtualMachinesArgs'] virtual_machines: Virtual machines integration. See Integration blocks below for details. :param pulumi.Input['GcpIntegrationsVpcAccessArgs'] vpc_access: VPC Access integration. See Integration blocks below for details. """ + _GcpIntegrationsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + alloy_db=alloy_db, + app_engine=app_engine, + big_query=big_query, + big_table=big_table, + composer=composer, + data_flow=data_flow, + data_proc=data_proc, + data_store=data_store, + fire_base_database=fire_base_database, + fire_base_hosting=fire_base_hosting, + fire_base_storage=fire_base_storage, + fire_store=fire_store, + functions=functions, + interconnect=interconnect, + kubernetes=kubernetes, + linked_account_id=linked_account_id, + load_balancing=load_balancing, + mem_cache=mem_cache, + pub_sub=pub_sub, + redis=redis, + router=router, + run=run, + spanner=spanner, + sql=sql, + storage=storage, + virtual_machines=virtual_machines, + vpc_access=vpc_access, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + alloy_db: Optional[pulumi.Input['GcpIntegrationsAlloyDbArgs']] = None, + app_engine: Optional[pulumi.Input['GcpIntegrationsAppEngineArgs']] = None, + big_query: Optional[pulumi.Input['GcpIntegrationsBigQueryArgs']] = None, + big_table: Optional[pulumi.Input['GcpIntegrationsBigTableArgs']] = None, + composer: Optional[pulumi.Input['GcpIntegrationsComposerArgs']] = None, + data_flow: Optional[pulumi.Input['GcpIntegrationsDataFlowArgs']] = None, + data_proc: Optional[pulumi.Input['GcpIntegrationsDataProcArgs']] = None, + data_store: Optional[pulumi.Input['GcpIntegrationsDataStoreArgs']] = None, + fire_base_database: Optional[pulumi.Input['GcpIntegrationsFireBaseDatabaseArgs']] = None, + fire_base_hosting: Optional[pulumi.Input['GcpIntegrationsFireBaseHostingArgs']] = None, + fire_base_storage: Optional[pulumi.Input['GcpIntegrationsFireBaseStorageArgs']] = None, + fire_store: Optional[pulumi.Input['GcpIntegrationsFireStoreArgs']] = None, + functions: Optional[pulumi.Input['GcpIntegrationsFunctionsArgs']] = None, + interconnect: Optional[pulumi.Input['GcpIntegrationsInterconnectArgs']] = None, + kubernetes: Optional[pulumi.Input['GcpIntegrationsKubernetesArgs']] = None, + linked_account_id: Optional[pulumi.Input[int]] = None, + load_balancing: Optional[pulumi.Input['GcpIntegrationsLoadBalancingArgs']] = None, + mem_cache: Optional[pulumi.Input['GcpIntegrationsMemCacheArgs']] = None, + pub_sub: Optional[pulumi.Input['GcpIntegrationsPubSubArgs']] = None, + redis: Optional[pulumi.Input['GcpIntegrationsRedisArgs']] = None, + router: Optional[pulumi.Input['GcpIntegrationsRouterArgs']] = None, + run: Optional[pulumi.Input['GcpIntegrationsRunArgs']] = None, + spanner: Optional[pulumi.Input['GcpIntegrationsSpannerArgs']] = None, + sql: Optional[pulumi.Input['GcpIntegrationsSqlArgs']] = None, + storage: Optional[pulumi.Input['GcpIntegrationsStorageArgs']] = None, + virtual_machines: Optional[pulumi.Input['GcpIntegrationsVirtualMachinesArgs']] = None, + vpc_access: Optional[pulumi.Input['GcpIntegrationsVpcAccessArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if alloy_db is not None: - pulumi.set(__self__, "alloy_db", alloy_db) + _setter("alloy_db", alloy_db) if app_engine is not None: - pulumi.set(__self__, "app_engine", app_engine) + _setter("app_engine", app_engine) if big_query is not None: - pulumi.set(__self__, "big_query", big_query) + _setter("big_query", big_query) if big_table is not None: - pulumi.set(__self__, "big_table", big_table) + _setter("big_table", big_table) if composer is not None: - pulumi.set(__self__, "composer", composer) + _setter("composer", composer) if data_flow is not None: - pulumi.set(__self__, "data_flow", data_flow) + _setter("data_flow", data_flow) if data_proc is not None: - pulumi.set(__self__, "data_proc", data_proc) + _setter("data_proc", data_proc) if data_store is not None: - pulumi.set(__self__, "data_store", data_store) + _setter("data_store", data_store) if fire_base_database is not None: - pulumi.set(__self__, "fire_base_database", fire_base_database) + _setter("fire_base_database", fire_base_database) if fire_base_hosting is not None: - pulumi.set(__self__, "fire_base_hosting", fire_base_hosting) + _setter("fire_base_hosting", fire_base_hosting) if fire_base_storage is not None: - pulumi.set(__self__, "fire_base_storage", fire_base_storage) + _setter("fire_base_storage", fire_base_storage) if fire_store is not None: - pulumi.set(__self__, "fire_store", fire_store) + _setter("fire_store", fire_store) if functions is not None: - pulumi.set(__self__, "functions", functions) + _setter("functions", functions) if interconnect is not None: - pulumi.set(__self__, "interconnect", interconnect) + _setter("interconnect", interconnect) if kubernetes is not None: - pulumi.set(__self__, "kubernetes", kubernetes) + _setter("kubernetes", kubernetes) if linked_account_id is not None: - pulumi.set(__self__, "linked_account_id", linked_account_id) + _setter("linked_account_id", linked_account_id) if load_balancing is not None: - pulumi.set(__self__, "load_balancing", load_balancing) + _setter("load_balancing", load_balancing) if mem_cache is not None: - pulumi.set(__self__, "mem_cache", mem_cache) + _setter("mem_cache", mem_cache) if pub_sub is not None: - pulumi.set(__self__, "pub_sub", pub_sub) + _setter("pub_sub", pub_sub) if redis is not None: - pulumi.set(__self__, "redis", redis) + _setter("redis", redis) if router is not None: - pulumi.set(__self__, "router", router) + _setter("router", router) if run is not None: - pulumi.set(__self__, "run", run) + _setter("run", run) if spanner is not None: - pulumi.set(__self__, "spanner", spanner) + _setter("spanner", spanner) if sql is not None: - pulumi.set(__self__, "sql", sql) + _setter("sql", sql) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if virtual_machines is not None: - pulumi.set(__self__, "virtual_machines", virtual_machines) + _setter("virtual_machines", virtual_machines) if vpc_access is not None: - pulumi.set(__self__, "vpc_access", vpc_access) + _setter("vpc_access", vpc_access) @property @pulumi.getter(name="accountId") @@ -1223,6 +1349,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GcpIntegrationsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1266,34 +1396,164 @@ def _internal_init(__self__, __props__ = GcpIntegrationsArgs.__new__(GcpIntegrationsArgs) __props__.__dict__["account_id"] = account_id + if alloy_db is not None and not isinstance(alloy_db, GcpIntegrationsAlloyDbArgs): + alloy_db = alloy_db or {} + def _setter(key, value): + alloy_db[key] = value + GcpIntegrationsAlloyDbArgs._configure(_setter, **alloy_db) __props__.__dict__["alloy_db"] = alloy_db + if app_engine is not None and not isinstance(app_engine, GcpIntegrationsAppEngineArgs): + app_engine = app_engine or {} + def _setter(key, value): + app_engine[key] = value + GcpIntegrationsAppEngineArgs._configure(_setter, **app_engine) __props__.__dict__["app_engine"] = app_engine + if big_query is not None and not isinstance(big_query, GcpIntegrationsBigQueryArgs): + big_query = big_query or {} + def _setter(key, value): + big_query[key] = value + GcpIntegrationsBigQueryArgs._configure(_setter, **big_query) __props__.__dict__["big_query"] = big_query + if big_table is not None and not isinstance(big_table, GcpIntegrationsBigTableArgs): + big_table = big_table or {} + def _setter(key, value): + big_table[key] = value + GcpIntegrationsBigTableArgs._configure(_setter, **big_table) __props__.__dict__["big_table"] = big_table + if composer is not None and not isinstance(composer, GcpIntegrationsComposerArgs): + composer = composer or {} + def _setter(key, value): + composer[key] = value + GcpIntegrationsComposerArgs._configure(_setter, **composer) __props__.__dict__["composer"] = composer + if data_flow is not None and not isinstance(data_flow, GcpIntegrationsDataFlowArgs): + data_flow = data_flow or {} + def _setter(key, value): + data_flow[key] = value + GcpIntegrationsDataFlowArgs._configure(_setter, **data_flow) __props__.__dict__["data_flow"] = data_flow + if data_proc is not None and not isinstance(data_proc, GcpIntegrationsDataProcArgs): + data_proc = data_proc or {} + def _setter(key, value): + data_proc[key] = value + GcpIntegrationsDataProcArgs._configure(_setter, **data_proc) __props__.__dict__["data_proc"] = data_proc + if data_store is not None and not isinstance(data_store, GcpIntegrationsDataStoreArgs): + data_store = data_store or {} + def _setter(key, value): + data_store[key] = value + GcpIntegrationsDataStoreArgs._configure(_setter, **data_store) __props__.__dict__["data_store"] = data_store + if fire_base_database is not None and not isinstance(fire_base_database, GcpIntegrationsFireBaseDatabaseArgs): + fire_base_database = fire_base_database or {} + def _setter(key, value): + fire_base_database[key] = value + GcpIntegrationsFireBaseDatabaseArgs._configure(_setter, **fire_base_database) __props__.__dict__["fire_base_database"] = fire_base_database + if fire_base_hosting is not None and not isinstance(fire_base_hosting, GcpIntegrationsFireBaseHostingArgs): + fire_base_hosting = fire_base_hosting or {} + def _setter(key, value): + fire_base_hosting[key] = value + GcpIntegrationsFireBaseHostingArgs._configure(_setter, **fire_base_hosting) __props__.__dict__["fire_base_hosting"] = fire_base_hosting + if fire_base_storage is not None and not isinstance(fire_base_storage, GcpIntegrationsFireBaseStorageArgs): + fire_base_storage = fire_base_storage or {} + def _setter(key, value): + fire_base_storage[key] = value + GcpIntegrationsFireBaseStorageArgs._configure(_setter, **fire_base_storage) __props__.__dict__["fire_base_storage"] = fire_base_storage + if fire_store is not None and not isinstance(fire_store, GcpIntegrationsFireStoreArgs): + fire_store = fire_store or {} + def _setter(key, value): + fire_store[key] = value + GcpIntegrationsFireStoreArgs._configure(_setter, **fire_store) __props__.__dict__["fire_store"] = fire_store + if functions is not None and not isinstance(functions, GcpIntegrationsFunctionsArgs): + functions = functions or {} + def _setter(key, value): + functions[key] = value + GcpIntegrationsFunctionsArgs._configure(_setter, **functions) __props__.__dict__["functions"] = functions + if interconnect is not None and not isinstance(interconnect, GcpIntegrationsInterconnectArgs): + interconnect = interconnect or {} + def _setter(key, value): + interconnect[key] = value + GcpIntegrationsInterconnectArgs._configure(_setter, **interconnect) __props__.__dict__["interconnect"] = interconnect + if kubernetes is not None and not isinstance(kubernetes, GcpIntegrationsKubernetesArgs): + kubernetes = kubernetes or {} + def _setter(key, value): + kubernetes[key] = value + GcpIntegrationsKubernetesArgs._configure(_setter, **kubernetes) __props__.__dict__["kubernetes"] = kubernetes if linked_account_id is None and not opts.urn: raise TypeError("Missing required property 'linked_account_id'") __props__.__dict__["linked_account_id"] = linked_account_id + if load_balancing is not None and not isinstance(load_balancing, GcpIntegrationsLoadBalancingArgs): + load_balancing = load_balancing or {} + def _setter(key, value): + load_balancing[key] = value + GcpIntegrationsLoadBalancingArgs._configure(_setter, **load_balancing) __props__.__dict__["load_balancing"] = load_balancing + if mem_cache is not None and not isinstance(mem_cache, GcpIntegrationsMemCacheArgs): + mem_cache = mem_cache or {} + def _setter(key, value): + mem_cache[key] = value + GcpIntegrationsMemCacheArgs._configure(_setter, **mem_cache) __props__.__dict__["mem_cache"] = mem_cache + if pub_sub is not None and not isinstance(pub_sub, GcpIntegrationsPubSubArgs): + pub_sub = pub_sub or {} + def _setter(key, value): + pub_sub[key] = value + GcpIntegrationsPubSubArgs._configure(_setter, **pub_sub) __props__.__dict__["pub_sub"] = pub_sub + if redis is not None and not isinstance(redis, GcpIntegrationsRedisArgs): + redis = redis or {} + def _setter(key, value): + redis[key] = value + GcpIntegrationsRedisArgs._configure(_setter, **redis) __props__.__dict__["redis"] = redis + if router is not None and not isinstance(router, GcpIntegrationsRouterArgs): + router = router or {} + def _setter(key, value): + router[key] = value + GcpIntegrationsRouterArgs._configure(_setter, **router) __props__.__dict__["router"] = router + if run is not None and not isinstance(run, GcpIntegrationsRunArgs): + run = run or {} + def _setter(key, value): + run[key] = value + GcpIntegrationsRunArgs._configure(_setter, **run) __props__.__dict__["run"] = run + if spanner is not None and not isinstance(spanner, GcpIntegrationsSpannerArgs): + spanner = spanner or {} + def _setter(key, value): + spanner[key] = value + GcpIntegrationsSpannerArgs._configure(_setter, **spanner) __props__.__dict__["spanner"] = spanner + if sql is not None and not isinstance(sql, GcpIntegrationsSqlArgs): + sql = sql or {} + def _setter(key, value): + sql[key] = value + GcpIntegrationsSqlArgs._configure(_setter, **sql) __props__.__dict__["sql"] = sql + if storage is not None and not isinstance(storage, GcpIntegrationsStorageArgs): + storage = storage or {} + def _setter(key, value): + storage[key] = value + GcpIntegrationsStorageArgs._configure(_setter, **storage) __props__.__dict__["storage"] = storage + if virtual_machines is not None and not isinstance(virtual_machines, GcpIntegrationsVirtualMachinesArgs): + virtual_machines = virtual_machines or {} + def _setter(key, value): + virtual_machines[key] = value + GcpIntegrationsVirtualMachinesArgs._configure(_setter, **virtual_machines) __props__.__dict__["virtual_machines"] = virtual_machines + if vpc_access is not None and not isinstance(vpc_access, GcpIntegrationsVpcAccessArgs): + vpc_access = vpc_access or {} + def _setter(key, value): + vpc_access[key] = value + GcpIntegrationsVpcAccessArgs._configure(_setter, **vpc_access) __props__.__dict__["vpc_access"] = vpc_access super(GcpIntegrations, __self__).__init__( 'newrelic:cloud/gcpIntegrations:GcpIntegrations', diff --git a/sdk/python/pulumi_newrelic/cloud/gcp_link_account.py b/sdk/python/pulumi_newrelic/cloud/gcp_link_account.py index 2e8c3bc1..0b618273 100644 --- a/sdk/python/pulumi_newrelic/cloud/gcp_link_account.py +++ b/sdk/python/pulumi_newrelic/cloud/gcp_link_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GcpLinkAccountArgs', 'GcpLinkAccount'] @@ -21,13 +21,26 @@ def __init__(__self__, *, The set of arguments for constructing a GcpLinkAccount resource. :param pulumi.Input[str] project_id: Project ID of the GCP account. :param pulumi.Input[int] account_id: Account ID of the New Relic account. - :param pulumi.Input[str] name: The name of the GCP account in New Relic. + :param pulumi.Input[str] name: name of the linked account """ - pulumi.set(__self__, "project_id", project_id) + GcpLinkAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + account_id=account_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("project_id", project_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="projectId") @@ -57,7 +70,7 @@ def account_id(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the GCP account in New Relic. + name of the linked account """ return pulumi.get(self, "name") @@ -75,15 +88,28 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering GcpLinkAccount resources. :param pulumi.Input[int] account_id: Account ID of the New Relic account. - :param pulumi.Input[str] name: The name of the GCP account in New Relic. + :param pulumi.Input[str] name: name of the linked account :param pulumi.Input[str] project_id: Project ID of the GCP account. """ + _GcpLinkAccountState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + name=name, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter(name="accountId") @@ -101,7 +127,7 @@ def account_id(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the GCP account in New Relic. + name of the linked account """ return pulumi.get(self, "name") @@ -170,7 +196,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[int] account_id: Account ID of the New Relic account. - :param pulumi.Input[str] name: The name of the GCP account in New Relic. + :param pulumi.Input[str] name: name of the linked account :param pulumi.Input[str] project_id: Project ID of the GCP account. """ ... @@ -225,6 +251,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GcpLinkAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -268,7 +298,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[int] account_id: Account ID of the New Relic account. - :param pulumi.Input[str] name: The name of the GCP account in New Relic. + :param pulumi.Input[str] name: name of the linked account :param pulumi.Input[str] project_id: Project ID of the GCP account. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -292,7 +322,7 @@ def account_id(self) -> pulumi.Output[int]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the GCP account in New Relic. + name of the linked account """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_newrelic/cloud/outputs.py b/sdk/python/pulumi_newrelic/cloud/outputs.py index 62ad8710..9d7385e7 100644 --- a/sdk/python/pulumi_newrelic/cloud/outputs.py +++ b/sdk/python/pulumi_newrelic/cloud/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -183,8 +183,6 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param Sequence[str] load_balancer_prefixes: Specify each name or prefix for the LBs that you want to monitor. Filter values are case-sensitive. @@ -193,32 +191,48 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsAlb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + load_balancer_prefixes=load_balancer_prefixes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + load_balancer_prefixes: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if load_balancer_prefixes is not None: - pulumi.set(__self__, "load_balancer_prefixes", load_balancer_prefixes) + _setter("load_balancer_prefixes", load_balancer_prefixes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -269,9 +283,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -311,36 +322,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param Sequence[str] stage_prefixes: Specify each name or prefix for the Stages that you want to monitor. Filter values are case-sensitive. :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsApiGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + stage_prefixes=stage_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + stage_prefixes: Optional[Sequence[str]] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if stage_prefixes is not None: - pulumi.set(__self__, "stage_prefixes", stage_prefixes) + _setter("stage_prefixes", stage_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -375,9 +396,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -408,24 +426,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAutoScaling._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -466,24 +491,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAwsDirectConnect._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -524,24 +556,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsAwsStates._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -582,24 +621,31 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsCloudtrail._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -652,8 +698,6 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -661,30 +705,44 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsDynamoDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -727,9 +785,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -769,36 +824,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEbs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -833,9 +898,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -875,36 +937,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_ip_addresses: Specify if IP addresses of ec2 instance should be collected :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEc2._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_ip_addresses=fetch_ip_addresses, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_ip_addresses: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_ip_addresses is not None: - pulumi.set(__self__, "fetch_ip_addresses", fetch_ip_addresses) + _setter("fetch_ip_addresses", fetch_ip_addresses) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -939,9 +1011,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -981,36 +1050,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_nodes: Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsElasticSearch._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nodes=fetch_nodes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_nodes: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nodes is not None: - pulumi.set(__self__, "fetch_nodes", fetch_nodes) + _setter("fetch_nodes", fetch_nodes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1045,9 +1124,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1084,30 +1160,41 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsElb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1173,36 +1260,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param str aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsEmr._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[str] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[str]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1237,9 +1334,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1277,16 +1371,26 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AwsGovcloudIntegrationsIam._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="metricsPollingInterval") @@ -1311,9 +1415,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1353,36 +1454,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsLambda._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1417,9 +1528,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1459,36 +1567,46 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsRds._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1523,9 +1641,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1562,33 +1677,41 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsRedShift._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1615,9 +1738,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1652,10 +1772,21 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsRoute53._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchExtendedInventory") @@ -1717,20 +1848,34 @@ def __init__(__self__, *, Some integration types support an additional set of arguments: :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsS3._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchExtendedInventory") @@ -1771,9 +1916,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -1807,27 +1949,36 @@ def __init__(__self__, *, metrics_polling_interval: Optional[int] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. Some integration types support an additional set of arguments: """ + AwsGovcloudIntegrationsSns._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1891,8 +2042,6 @@ def __init__(__self__, *, tag_value: Optional[str] = None): """ :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -1901,32 +2050,48 @@ def __init__(__self__, *, :param Sequence[str] queue_prefixes: Specify each name or prefix for the Queues that you want to monitor. Filter values are case-sensitive. :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ + AwsGovcloudIntegrationsSqs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + queue_prefixes=queue_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + queue_prefixes: Optional[Sequence[str]] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if queue_prefixes is not None: - pulumi.set(__self__, "queue_prefixes", queue_prefixes) + _setter("queue_prefixes", queue_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ Specify each AWS region that includes the resources that you want to monitor. - * `direct connect` - * `aws states` """ return pulumi.get(self, "aws_regions") @@ -1977,9 +2142,6 @@ def tag_key(self) -> Optional[str]: def tag_value(self) -> Optional[str]: """ Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. - * `api Gateway` - * `auto scaling` - * `elastic search` """ return pulumi.get(self, "tag_value") @@ -2024,7 +2186,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -2038,26 +2200,47 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsAlb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + load_balancer_prefixes=load_balancer_prefixes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + load_balancer_prefixes: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if load_balancer_prefixes is not None: - pulumi.set(__self__, "load_balancer_prefixes", load_balancer_prefixes) + _setter("load_balancer_prefixes", load_balancer_prefixes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -2150,7 +2333,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds. @@ -2160,22 +2343,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsApiGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + stage_prefixes=stage_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + stage_prefixes: Optional[Sequence[str]] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if stage_prefixes is not None: - pulumi.set(__self__, "stage_prefixes", stage_prefixes) + _setter("stage_prefixes", stage_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -2241,23 +2441,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAutoScaling._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2299,23 +2510,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsAppSync._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2357,23 +2579,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsAthena._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2415,23 +2648,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsCognito._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2473,23 +2717,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsConnect._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2531,23 +2786,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsDirectConnect._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2589,23 +2855,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsFsx._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2647,23 +2924,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsGlue._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2705,23 +2993,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsKinesisAnalytics._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2763,23 +3062,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMediaConvert._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2821,23 +3131,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMediaPackageVod._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2879,23 +3200,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMq._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2937,23 +3269,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsMsk._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -2995,23 +3338,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsNeptune._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3053,23 +3407,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsQldb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3111,23 +3476,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsRoute53resolver._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3169,23 +3545,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsStates._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3227,23 +3614,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsTransitGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3285,23 +3683,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsWaf._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3343,23 +3752,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsAwsWafv2._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3403,8 +3823,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsBilling._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -3461,16 +3890,33 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsCloudfront._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_lambdas_at_edge=fetch_lambdas_at_edge, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_lambdas_at_edge: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_lambdas_at_edge is not None: - pulumi.set(__self__, "fetch_lambdas_at_edge", fetch_lambdas_at_edge) + _setter("fetch_lambdas_at_edge", fetch_lambdas_at_edge) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchLambdasAtEdge") @@ -3541,23 +3987,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsCloudtrail._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3599,23 +4056,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsDocDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -3669,7 +4137,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -3682,24 +4150,43 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsDynamodb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3784,7 +4271,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -3796,22 +4283,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEbs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -3891,7 +4395,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool duplicate_ec2_tags: Specify if the old legacy metadata and tag names have to be kept, it will consume more ingest data size. :param bool fetch_ip_addresses: Specify if IP addresses of ec2 instance should be collected. @@ -3902,24 +4406,43 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEc2._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + duplicate_ec2_tags=duplicate_ec2_tags, + fetch_ip_addresses=fetch_ip_addresses, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + duplicate_ec2_tags: Optional[bool] = None, + fetch_ip_addresses: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if duplicate_ec2_tags is not None: - pulumi.set(__self__, "duplicate_ec2_tags", duplicate_ec2_tags) + _setter("duplicate_ec2_tags", duplicate_ec2_tags) if fetch_ip_addresses is not None: - pulumi.set(__self__, "fetch_ip_addresses", fetch_ip_addresses) + _setter("fetch_ip_addresses", fetch_ip_addresses) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4002,7 +4525,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -4012,22 +4535,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEcs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4102,7 +4642,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -4112,22 +4652,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEfs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4202,7 +4759,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -4212,22 +4769,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticache._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4305,7 +4879,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -4318,24 +4892,43 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticbeanstalk._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4420,7 +5013,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_nodes: Specify if metrics should be collected for nodes. Turning it on will increase the number of API calls made to CloudWatch. :param int metrics_polling_interval: The data polling interval in seconds. @@ -4430,22 +5023,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsElasticsearch._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nodes=fetch_nodes, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_nodes: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nodes is not None: - pulumi.set(__self__, "fetch_nodes", fetch_nodes) + _setter("fetch_nodes", fetch_nodes) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4517,7 +5127,7 @@ def __init__(__self__, *, fetch_tags: Optional[bool] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -4528,20 +5138,35 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsElb._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4610,7 +5235,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -4620,22 +5245,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsEmr._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4703,8 +5345,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsHealth._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -4753,12 +5404,25 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ - if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + AwsIntegrationsIam._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if metrics_polling_interval is not None: + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="metricsPollingInterval") @@ -4813,23 +5477,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsIot._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -4883,7 +5558,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_shards: Specify if Shards should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -4894,24 +5569,43 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsKinesis._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_shards=fetch_shards, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_shards: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_shards is not None: - pulumi.set(__self__, "fetch_shards", fetch_shards) + _setter("fetch_shards", fetch_shards) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -4985,23 +5679,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsKinesisFirehose._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5052,7 +5757,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -5062,22 +5767,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsLambda._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5152,7 +5874,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_tags: Specify if tags should be collected. May affect total data collection time and contribute to the Cloud provider API rate limit. :param int metrics_polling_interval: The data polling interval in seconds. @@ -5162,22 +5884,39 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsRds._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5249,7 +5988,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds. @@ -5258,20 +5997,35 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsRedshift._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5337,10 +6091,21 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsRoute53._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchExtendedInventory") @@ -5409,16 +6174,33 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsS3._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="fetchExtendedInventory") @@ -5491,23 +6273,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsSes._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5552,7 +6345,7 @@ def __init__(__self__, *, fetch_extended_inventory: Optional[bool] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5562,18 +6355,31 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsSns._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5640,7 +6446,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param bool fetch_extended_inventory: Determine if extra inventory data be collected or not. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5654,26 +6460,47 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsSqs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_extended_inventory=fetch_extended_inventory, + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + queue_prefixes=queue_prefixes, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_extended_inventory: Optional[bool] = None, + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + queue_prefixes: Optional[Sequence[str]] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_extended_inventory is not None: - pulumi.set(__self__, "fetch_extended_inventory", fetch_extended_inventory) + _setter("fetch_extended_inventory", fetch_extended_inventory) if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if queue_prefixes is not None: - pulumi.set(__self__, "queue_prefixes", queue_prefixes) + _setter("queue_prefixes", queue_prefixes) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5759,8 +6586,17 @@ def __init__(__self__, *,
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsTrustedAdvisor._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -5811,7 +6647,7 @@ def __init__(__self__, *, tag_key: Optional[str] = None, tag_value: Optional[str] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor.
:param bool fetch_nat_gateway: Specify if NAT gateway should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. :param bool fetch_vpn: Specify if VPN should be monitored. May affect total data collection time and contribute to the Cloud provider API rate limit. @@ -5822,24 +6658,43 @@ def __init__(__self__, *, :param str tag_key: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. :param str tag_value: Specify a Tag value associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AwsIntegrationsVpc._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + fetch_nat_gateway=fetch_nat_gateway, + fetch_vpn=fetch_vpn, + metrics_polling_interval=metrics_polling_interval, + tag_key=tag_key, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + fetch_nat_gateway: Optional[bool] = None, + fetch_vpn: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + tag_key: Optional[str] = None, + tag_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if fetch_nat_gateway is not None: - pulumi.set(__self__, "fetch_nat_gateway", fetch_nat_gateway) + _setter("fetch_nat_gateway", fetch_nat_gateway) if fetch_vpn is not None: - pulumi.set(__self__, "fetch_vpn", fetch_vpn) + _setter("fetch_vpn", fetch_vpn) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_key is not None: - pulumi.set(__self__, "tag_key", tag_key) + _setter("tag_key", tag_key) if tag_value is not None: - pulumi.set(__self__, "tag_value", tag_value) + _setter("tag_value", tag_value) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor. """ return pulumi.get(self, "aws_regions") @@ -5913,23 +6768,34 @@ def __init__(__self__, *, aws_regions: Optional[Sequence[str]] = None, metrics_polling_interval: Optional[int] = None): """ - :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. + :param Sequence[str] aws_regions: Specify each AWS region that includes the resources that you want to monitor. :param int metrics_polling_interval: The data polling interval in seconds.
Some integration types support an additional set of arguments. Expand this section to take a look at these supported arguments. """ + AwsIntegrationsXRay._configure( + lambda key, value: pulumi.set(__self__, key, value), + aws_regions=aws_regions, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aws_regions: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aws_regions is not None: - pulumi.set(__self__, "aws_regions", aws_regions) + _setter("aws_regions", aws_regions) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="awsRegions") def aws_regions(self) -> Optional[Sequence[str]]: """ - Specify each AWS region that includes the resources that you want to monitor. + Specify each AWS region that includes the resources that you want to monitor.
""" return pulumi.get(self, "aws_regions") @@ -5976,10 +6842,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsApiManagement._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6030,10 +6907,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsAppGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6084,10 +6972,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsAppService._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6138,10 +7037,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsContainers._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6192,10 +7102,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsCosmosDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6244,10 +7165,21 @@ def __init__(__self__, *, :param int metrics_polling_interval: The data polling interval in seconds. :param Sequence[str] tag_keys: Specify a Tag key associated with the resources that you want to monitor. Filter values are case-sensitive. """ + AzureIntegrationsCostManagement._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + tag_keys=tag_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + tag_keys: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if tag_keys is not None: - pulumi.set(__self__, "tag_keys", tag_keys) + _setter("tag_keys", tag_keys) @property @pulumi.getter(name="metricsPollingInterval") @@ -6296,10 +7228,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsDataFactory._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6350,10 +7293,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsEventHub._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6404,10 +7358,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsExpressRoute._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6458,10 +7423,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsFirewalls._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6512,10 +7488,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsFrontDoor._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6566,10 +7553,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsFunctions._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6620,10 +7618,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsKeyVault._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6674,10 +7683,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsLoadBalancer._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6728,10 +7748,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsLogicApps._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6782,10 +7813,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsMachineLearning._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6836,10 +7878,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsMariaDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -6904,18 +7957,37 @@ def __init__(__self__, *, Other integration type support an additional argument: :param Sequence[str] resource_types: A list of Azure resource types that need to be monitored. """ + AzureIntegrationsMonitor._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + exclude_tags=exclude_tags, + include_tags=include_tags, + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + resource_types=resource_types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: Optional[bool] = None, + exclude_tags: Optional[Sequence[str]] = None, + include_tags: Optional[Sequence[str]] = None, + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + resource_types: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if exclude_tags is not None: - pulumi.set(__self__, "exclude_tags", exclude_tags) + _setter("exclude_tags", exclude_tags) if include_tags is not None: - pulumi.set(__self__, "include_tags", include_tags) + _setter("include_tags", include_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) if resource_types is not None: - pulumi.set(__self__, "resource_types", resource_types) + _setter("resource_types", resource_types) @property @pulumi.getter @@ -6998,10 +8070,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsMysql._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7052,10 +8135,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsMysqlFlexible._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7106,10 +8200,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsPostgresql._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7160,10 +8265,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsPostgresqlFlexible._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7214,10 +8330,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsPowerBiDedicated._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7268,10 +8395,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsRedisCache._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7322,10 +8460,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsServiceBus._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7376,10 +8525,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsSql._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7430,10 +8590,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsSqlManaged._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7484,10 +8655,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsStorage._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7538,10 +8720,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsVirtualMachine._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7592,10 +8785,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsVirtualNetworks._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7646,10 +8850,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsVms._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7700,10 +8915,21 @@ def __init__(__self__, *, Other integration type support an additional argument: """ + AzureIntegrationsVpnGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + resource_groups=resource_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + resource_groups: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) if resource_groups is not None: - pulumi.set(__self__, "resource_groups", resource_groups) + _setter("resource_groups", resource_groups) @property @pulumi.getter(name="metricsPollingInterval") @@ -7750,8 +8976,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsAlloyDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7790,8 +9025,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsAppEngine._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7834,10 +9078,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsBigQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -7884,8 +9139,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsBigTable._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7924,8 +9188,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsComposer._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -7964,8 +9237,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataFlow._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8004,8 +9286,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataProc._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8044,8 +9335,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsDataStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8084,8 +9384,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8124,8 +9433,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseHosting._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8164,8 +9482,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireBaseStorage._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8204,8 +9531,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFireStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8244,8 +9580,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsFunctions._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8284,8 +9629,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsInterconnect._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8324,8 +9678,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsKubernetes._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8364,8 +9727,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsLoadBalancing._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8404,8 +9776,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsMemCache._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8448,10 +9829,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsPubSub._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -8498,8 +9890,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRedis._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8538,8 +9939,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRouter._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8578,8 +9988,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsRun._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8622,10 +10041,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsSpanner._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -8672,8 +10102,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsSql._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8716,10 +10155,21 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsStorage._configure( + lambda key, value: pulumi.set(__self__, key, value), + fetch_tags=fetch_tags, + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fetch_tags: Optional[bool] = None, + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fetch_tags is not None: - pulumi.set(__self__, "fetch_tags", fetch_tags) + _setter("fetch_tags", fetch_tags) if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="fetchTags") @@ -8766,8 +10216,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsVirtualMachines._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") @@ -8806,8 +10265,17 @@ def __init__(__self__, *, Other integration supports an additional argument: """ + GcpIntegrationsVpcAccess._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics_polling_interval=metrics_polling_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics_polling_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metrics_polling_interval is not None: - pulumi.set(__self__, "metrics_polling_interval", metrics_polling_interval) + _setter("metrics_polling_interval", metrics_polling_interval) @property @pulumi.getter(name="metricsPollingInterval") diff --git a/sdk/python/pulumi_newrelic/config/__init__.pyi b/sdk/python/pulumi_newrelic/config/__init__.pyi index e1da1d3d..00aa6590 100644 --- a/sdk/python/pulumi_newrelic/config/__init__.pyi +++ b/sdk/python/pulumi_newrelic/config/__init__.pyi @@ -6,7 +6,7 @@ import copy import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities accountId: Optional[int] diff --git a/sdk/python/pulumi_newrelic/config/vars.py b/sdk/python/pulumi_newrelic/config/vars.py index d2d28432..36c40e0d 100644 --- a/sdk/python/pulumi_newrelic/config/vars.py +++ b/sdk/python/pulumi_newrelic/config/vars.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumi_newrelic/data_partition_rule.py b/sdk/python/pulumi_newrelic/data_partition_rule.py index 929c8ca8..6e328e0b 100644 --- a/sdk/python/pulumi_newrelic/data_partition_rule.py +++ b/sdk/python/pulumi_newrelic/data_partition_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DataPartitionRuleArgs', 'DataPartitionRule'] @@ -29,14 +29,33 @@ def __init__(__self__, *, :param pulumi.Input[int] account_id: The account id associated with the data partition rule. :param pulumi.Input[str] description: The description of the data partition rule. """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "nrql", nrql) - pulumi.set(__self__, "retention_policy", retention_policy) - pulumi.set(__self__, "target_data_partition", target_data_partition) + DataPartitionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + nrql=nrql, + retention_policy=retention_policy, + target_data_partition=target_data_partition, + account_id=account_id, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + nrql: pulumi.Input[str], + retention_policy: pulumi.Input[str], + target_data_partition: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) + _setter("nrql", nrql) + _setter("retention_policy", retention_policy) + _setter("target_data_partition", target_data_partition) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -131,20 +150,41 @@ def __init__(__self__, *, :param pulumi.Input[str] retention_policy: The retention policy of the data partition data. Valid values are `SECONDARY` and `STANDARD`. :param pulumi.Input[str] target_data_partition: The name of the data partition where logs will be allocated once the rule is enabled. """ + _DataPartitionRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + deleted=deleted, + description=description, + enabled=enabled, + nrql=nrql, + retention_policy=retention_policy, + target_data_partition=target_data_partition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + deleted: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + nrql: Optional[pulumi.Input[str]] = None, + retention_policy: Optional[pulumi.Input[str]] = None, + target_data_partition: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if deleted is not None: - pulumi.set(__self__, "deleted", deleted) + _setter("deleted", deleted) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if nrql is not None: - pulumi.set(__self__, "nrql", nrql) + _setter("nrql", nrql) if retention_policy is not None: - pulumi.set(__self__, "retention_policy", retention_policy) + _setter("retention_policy", retention_policy) if target_data_partition is not None: - pulumi.set(__self__, "target_data_partition", target_data_partition) + _setter("target_data_partition", target_data_partition) @property @pulumi.getter(name="accountId") @@ -324,6 +364,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataPartitionRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/entity_tags.py b/sdk/python/pulumi_newrelic/entity_tags.py index 4bf8cbec..d5544810 100644 --- a/sdk/python/pulumi_newrelic/entity_tags.py +++ b/sdk/python/pulumi_newrelic/entity_tags.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -23,8 +23,19 @@ def __init__(__self__, *, :param pulumi.Input[str] guid: The guid of the entity to tag. :param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details. """ - pulumi.set(__self__, "guid", guid) - pulumi.set(__self__, "tags", tags) + EntityTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: pulumi.Input[str], + tags: pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("guid", guid) + _setter("tags", tags) @property @pulumi.getter @@ -61,10 +72,21 @@ def __init__(__self__, *, :param pulumi.Input[str] guid: The guid of the entity to tag. :param pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]] tags: A nested block that describes an entity tag. See Nested tag blocks below for details. """ + _EntityTagsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['EntityTagsTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -142,6 +164,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EntityTagsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/events_to_metrics_rule.py b/sdk/python/pulumi_newrelic/events_to_metrics_rule.py index cdf056a1..85103230 100644 --- a/sdk/python/pulumi_newrelic/events_to_metrics_rule.py +++ b/sdk/python/pulumi_newrelic/events_to_metrics_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['EventsToMetricsRuleArgs', 'EventsToMetricsRule'] @@ -27,15 +27,32 @@ def __init__(__self__, *, :param pulumi.Input[bool] enabled: True means this rule is enabled. False means the rule is currently not creating metrics. :param pulumi.Input[str] name: The name of the rule. This must be unique within an account. """ - pulumi.set(__self__, "nrql", nrql) + EventsToMetricsRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + nrql=nrql, + account_id=account_id, + description=description, + enabled=enabled, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nrql: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nrql", nrql) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -116,18 +133,37 @@ def __init__(__self__, *, :param pulumi.Input[str] nrql: Explains how to create metrics from events. :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule. """ + _EventsToMetricsRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + enabled=enabled, + name=name, + nrql=nrql, + rule_id=rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nrql: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nrql is not None: - pulumi.set(__self__, "nrql", nrql) + _setter("nrql", nrql) if rule_id is not None: - pulumi.set(__self__, "rule_id", rule_id) + _setter("rule_id", rule_id) @property @pulumi.getter(name="accountId") @@ -287,6 +323,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EventsToMetricsRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/get_account.py b/sdk/python/pulumi_newrelic/get_account.py index 1da75703..ce32e79a 100644 --- a/sdk/python/pulumi_newrelic/get_account.py +++ b/sdk/python/pulumi_newrelic/get_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_alert_channel.py b/sdk/python/pulumi_newrelic/get_alert_channel.py index 281280d0..a4a81178 100644 --- a/sdk/python/pulumi_newrelic/get_alert_channel.py +++ b/sdk/python/pulumi_newrelic/get_alert_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_newrelic/get_alert_policy.py b/sdk/python/pulumi_newrelic/get_alert_policy.py index bcb270e4..19c478d1 100644 --- a/sdk/python/pulumi_newrelic/get_alert_policy.py +++ b/sdk/python/pulumi_newrelic/get_alert_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_application.py b/sdk/python/pulumi_newrelic/get_application.py index 68d6f2c4..55b27fd8 100644 --- a/sdk/python/pulumi_newrelic/get_application.py +++ b/sdk/python/pulumi_newrelic/get_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_cloud_account.py b/sdk/python/pulumi_newrelic/get_cloud_account.py index 742584bb..308b33b3 100644 --- a/sdk/python/pulumi_newrelic/get_cloud_account.py +++ b/sdk/python/pulumi_newrelic/get_cloud_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_entity.py b/sdk/python/pulumi_newrelic/get_entity.py index b0083d7f..eed12dbf 100644 --- a/sdk/python/pulumi_newrelic/get_entity.py +++ b/sdk/python/pulumi_newrelic/get_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_newrelic/get_key_transaction.py b/sdk/python/pulumi_newrelic/get_key_transaction.py index ba8484db..aca42055 100644 --- a/sdk/python/pulumi_newrelic/get_key_transaction.py +++ b/sdk/python/pulumi_newrelic/get_key_transaction.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_notification_destination.py b/sdk/python/pulumi_newrelic/get_notification_destination.py index 2c246e6f..1c4cd34d 100644 --- a/sdk/python/pulumi_newrelic/get_notification_destination.py +++ b/sdk/python/pulumi_newrelic/get_notification_destination.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_newrelic/get_obfuscation_expression.py b/sdk/python/pulumi_newrelic/get_obfuscation_expression.py index c5f5c6dc..fe1447ef 100644 --- a/sdk/python/pulumi_newrelic/get_obfuscation_expression.py +++ b/sdk/python/pulumi_newrelic/get_obfuscation_expression.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_service_level_alert_helper.py b/sdk/python/pulumi_newrelic/get_service_level_alert_helper.py index 6883cd68..90dccfc8 100644 --- a/sdk/python/pulumi_newrelic/get_service_level_alert_helper.py +++ b/sdk/python/pulumi_newrelic/get_service_level_alert_helper.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/get_test_grok_pattern.py b/sdk/python/pulumi_newrelic/get_test_grok_pattern.py index 6637d415..c40d120a 100644 --- a/sdk/python/pulumi_newrelic/get_test_grok_pattern.py +++ b/sdk/python/pulumi_newrelic/get_test_grok_pattern.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_newrelic/infra_alert_condition.py b/sdk/python/pulumi_newrelic/infra_alert_condition.py index 1db92e65..a83a7fad 100644 --- a/sdk/python/pulumi_newrelic/infra_alert_condition.py +++ b/sdk/python/pulumi_newrelic/infra_alert_condition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -53,34 +53,71 @@ def __init__(__self__, *, :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details. :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`. """ - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "type", type) + InfraAlertConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_id=policy_id, + type=type, + comparison=comparison, + critical=critical, + description=description, + enabled=enabled, + event=event, + integration_provider=integration_provider, + name=name, + process_where=process_where, + runbook_url=runbook_url, + select=select, + violation_close_timer=violation_close_timer, + warning=warning, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_id: pulumi.Input[int], + type: pulumi.Input[str], + comparison: Optional[pulumi.Input[str]] = None, + critical: Optional[pulumi.Input['InfraAlertConditionCriticalArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + event: Optional[pulumi.Input[str]] = None, + integration_provider: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + process_where: Optional[pulumi.Input[str]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + select: Optional[pulumi.Input[str]] = None, + violation_close_timer: Optional[pulumi.Input[int]] = None, + warning: Optional[pulumi.Input['InfraAlertConditionWarningArgs']] = None, + where: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_id", policy_id) + _setter("type", type) if comparison is not None: - pulumi.set(__self__, "comparison", comparison) + _setter("comparison", comparison) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if event is not None: - pulumi.set(__self__, "event", event) + _setter("event", event) if integration_provider is not None: - pulumi.set(__self__, "integration_provider", integration_provider) + _setter("integration_provider", integration_provider) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if process_where is not None: - pulumi.set(__self__, "process_where", process_where) + _setter("process_where", process_where) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if violation_close_timer is not None: - pulumi.set(__self__, "violation_close_timer", violation_close_timer) + _setter("violation_close_timer", violation_close_timer) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="policyId") @@ -313,42 +350,85 @@ def __init__(__self__, *, :param pulumi.Input['InfraAlertConditionWarningArgs'] warning: Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details. :param pulumi.Input[str] where: If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`. """ + _InfraAlertConditionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + comparison=comparison, + created_at=created_at, + critical=critical, + description=description, + enabled=enabled, + entity_guid=entity_guid, + event=event, + integration_provider=integration_provider, + name=name, + policy_id=policy_id, + process_where=process_where, + runbook_url=runbook_url, + select=select, + type=type, + updated_at=updated_at, + violation_close_timer=violation_close_timer, + warning=warning, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comparison: Optional[pulumi.Input[str]] = None, + created_at: Optional[pulumi.Input[int]] = None, + critical: Optional[pulumi.Input['InfraAlertConditionCriticalArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_guid: Optional[pulumi.Input[str]] = None, + event: Optional[pulumi.Input[str]] = None, + integration_provider: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + process_where: Optional[pulumi.Input[str]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + select: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[int]] = None, + violation_close_timer: Optional[pulumi.Input[int]] = None, + warning: Optional[pulumi.Input['InfraAlertConditionWarningArgs']] = None, + where: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if comparison is not None: - pulumi.set(__self__, "comparison", comparison) + _setter("comparison", comparison) if created_at is not None: - pulumi.set(__self__, "created_at", created_at) + _setter("created_at", created_at) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if entity_guid is not None: - pulumi.set(__self__, "entity_guid", entity_guid) + _setter("entity_guid", entity_guid) if event is not None: - pulumi.set(__self__, "event", event) + _setter("event", event) if integration_provider is not None: - pulumi.set(__self__, "integration_provider", integration_provider) + _setter("integration_provider", integration_provider) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if process_where is not None: - pulumi.set(__self__, "process_where", process_where) + _setter("process_where", process_where) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) + _setter("updated_at", updated_at) if violation_close_timer is not None: - pulumi.set(__self__, "violation_close_timer", violation_close_timer) + _setter("violation_close_timer", violation_close_timer) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter @@ -878,6 +958,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InfraAlertConditionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -908,6 +992,11 @@ def _internal_init(__self__, __props__ = InfraAlertConditionArgs.__new__(InfraAlertConditionArgs) __props__.__dict__["comparison"] = comparison + if critical is not None and not isinstance(critical, InfraAlertConditionCriticalArgs): + critical = critical or {} + def _setter(key, value): + critical[key] = value + InfraAlertConditionCriticalArgs._configure(_setter, **critical) __props__.__dict__["critical"] = critical __props__.__dict__["description"] = description __props__.__dict__["enabled"] = enabled @@ -924,6 +1013,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type __props__.__dict__["violation_close_timer"] = violation_close_timer + if warning is not None and not isinstance(warning, InfraAlertConditionWarningArgs): + warning = warning or {} + def _setter(key, value): + warning[key] = value + InfraAlertConditionWarningArgs._configure(_setter, **warning) __props__.__dict__["warning"] = warning __props__.__dict__["where"] = where __props__.__dict__["created_at"] = None diff --git a/sdk/python/pulumi_newrelic/insights/_inputs.py b/sdk/python/pulumi_newrelic/insights/_inputs.py index 649b9fa5..a0515a24 100644 --- a/sdk/python/pulumi_newrelic/insights/_inputs.py +++ b/sdk/python/pulumi_newrelic/insights/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, attributes: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]], type: pulumi.Input[str], timestamp: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "type", type) + EventEventArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + type=type, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: pulumi.Input[Sequence[pulumi.Input['EventEventAttributeArgs']]], + type: pulumi.Input[str], + timestamp: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("type", type) if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -59,10 +72,23 @@ def __init__(__self__, *, key: pulumi.Input[str], value: pulumi.Input[str], type: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + EventEventAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/insights/event.py b/sdk/python/pulumi_newrelic/insights/event.py index 9e054614..985c5f4d 100644 --- a/sdk/python/pulumi_newrelic/insights/event.py +++ b/sdk/python/pulumi_newrelic/insights/event.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -21,7 +21,16 @@ def __init__(__self__, *, The set of arguments for constructing a Event resource. :param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details. """ - pulumi.set(__self__, "events", events) + EventArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) @property @pulumi.getter @@ -44,8 +53,17 @@ def __init__(__self__, *, Input properties used for looking up and filtering Event resources. :param pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]] events: An event to insert into Insights. Multiple event blocks can be defined. See Events below for details. """ + _EventState._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Optional[pulumi.Input[Sequence[pulumi.Input['EventEventArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) @property @pulumi.getter @@ -179,6 +197,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EventArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/insights/outputs.py b/sdk/python/pulumi_newrelic/insights/outputs.py index 7aa62807..bac0f1e6 100644 --- a/sdk/python/pulumi_newrelic/insights/outputs.py +++ b/sdk/python/pulumi_newrelic/insights/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -21,10 +21,23 @@ def __init__(__self__, *, attributes: Sequence['outputs.EventEventAttribute'], type: str, timestamp: Optional[int] = None): - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "type", type) + EventEvent._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + type=type, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: Sequence['outputs.EventEventAttribute'], + type: str, + timestamp: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("type", type) if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -48,10 +61,23 @@ def __init__(__self__, *, key: str, value: str, type: Optional[str] = None): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + EventEventAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/log_parsing_rule.py b/sdk/python/pulumi_newrelic/log_parsing_rule.py index 7fc4b739..9361551b 100644 --- a/sdk/python/pulumi_newrelic/log_parsing_rule.py +++ b/sdk/python/pulumi_newrelic/log_parsing_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['LogParsingRuleArgs', 'LogParsingRule'] @@ -33,18 +33,41 @@ def __init__(__self__, *, :param pulumi.Input[bool] matched: Whether the Grok pattern matched. :param pulumi.Input[str] name: Name of rule. """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "grok", grok) - pulumi.set(__self__, "lucene", lucene) - pulumi.set(__self__, "nrql", nrql) + LogParsingRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + grok=grok, + lucene=lucene, + nrql=nrql, + account_id=account_id, + attribute=attribute, + matched=matched, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + grok: pulumi.Input[str], + lucene: pulumi.Input[str], + nrql: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + attribute: Optional[pulumi.Input[str]] = None, + matched: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) + _setter("grok", grok) + _setter("lucene", lucene) + _setter("nrql", nrql) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if matched is not None: - pulumi.set(__self__, "matched", matched) + _setter("matched", matched) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -167,24 +190,49 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of rule. :param pulumi.Input[str] nrql: The NRQL to match events to the parsing rule. """ + _LogParsingRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + attribute=attribute, + deleted=deleted, + enabled=enabled, + grok=grok, + lucene=lucene, + matched=matched, + name=name, + nrql=nrql, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + attribute: Optional[pulumi.Input[str]] = None, + deleted: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + grok: Optional[pulumi.Input[str]] = None, + lucene: Optional[pulumi.Input[str]] = None, + matched: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nrql: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if deleted is not None: - pulumi.set(__self__, "deleted", deleted) + _setter("deleted", deleted) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if grok is not None: - pulumi.set(__self__, "grok", grok) + _setter("grok", grok) if lucene is not None: - pulumi.set(__self__, "lucene", lucene) + _setter("lucene", lucene) if matched is not None: - pulumi.set(__self__, "matched", matched) + _setter("matched", matched) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nrql is not None: - pulumi.set(__self__, "nrql", nrql) + _setter("nrql", nrql) @property @pulumi.getter(name="accountId") @@ -424,6 +472,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogParsingRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/notification_channel.py b/sdk/python/pulumi_newrelic/notification_channel.py index 17355c55..d1e52dcf 100644 --- a/sdk/python/pulumi_newrelic/notification_channel.py +++ b/sdk/python/pulumi_newrelic/notification_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -33,16 +33,37 @@ def __init__(__self__, *, :param pulumi.Input[bool] active: Indicates whether the channel is active. :param pulumi.Input[str] name: The name of the channel. """ - pulumi.set(__self__, "destination_id", destination_id) - pulumi.set(__self__, "product", product) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "type", type) + NotificationChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_id=destination_id, + product=product, + properties=properties, + type=type, + account_id=account_id, + active=active, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_id: pulumi.Input[str], + product: pulumi.Input[str], + properties: pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]], + type: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + active: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_id", destination_id) + _setter("product", product) + _setter("properties", properties) + _setter("type", type) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="destinationId") @@ -151,22 +172,45 @@ def __init__(__self__, *, :param pulumi.Input[str] status: The status of the channel. :param pulumi.Input[str] type: The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `JIRA_CLASSIC`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `SLACK` and `SLACK_COLLABORATION`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`. """ + _NotificationChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + active=active, + destination_id=destination_id, + name=name, + product=product, + properties=properties, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + active: Optional[pulumi.Input[bool]] = None, + destination_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + product: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationChannelPropertyArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if destination_id is not None: - pulumi.set(__self__, "destination_id", destination_id) + _setter("destination_id", destination_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if product is not None: - pulumi.set(__self__, "product", product) + _setter("product", product) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="accountId") @@ -878,6 +922,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NotificationChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/notification_destination.py b/sdk/python/pulumi_newrelic/notification_destination.py index b306342a..128d900e 100644 --- a/sdk/python/pulumi_newrelic/notification_destination.py +++ b/sdk/python/pulumi_newrelic/notification_destination.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -34,18 +34,39 @@ def __init__(__self__, *, :param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details. :param pulumi.Input[str] name: The name of the destination. """ - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "type", type) + NotificationDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties=properties, + type=type, + account_id=account_id, + active=active, + auth_basic=auth_basic, + auth_token=auth_token, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties: pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]], + type: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + active: Optional[pulumi.Input[bool]] = None, + auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None, + auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("properties", properties) + _setter("type", type) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if auth_basic is not None: - pulumi.set(__self__, "auth_basic", auth_basic) + _setter("auth_basic", auth_basic) if auth_token is not None: - pulumi.set(__self__, "auth_token", auth_token) + _setter("auth_token", auth_token) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -158,24 +179,49 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE). """ + _NotificationDestinationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + active=active, + auth_basic=auth_basic, + auth_token=auth_token, + last_sent=last_sent, + name=name, + properties=properties, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + active: Optional[pulumi.Input[bool]] = None, + auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None, + auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None, + last_sent: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if auth_basic is not None: - pulumi.set(__self__, "auth_basic", auth_basic) + _setter("auth_basic", auth_basic) if auth_token is not None: - pulumi.set(__self__, "auth_token", auth_token) + _setter("auth_token", auth_token) if last_sent is not None: - pulumi.set(__self__, "last_sent", last_sent) + _setter("last_sent", last_sent) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="accountId") @@ -331,6 +377,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NotificationDestinationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -354,7 +404,17 @@ def _internal_init(__self__, __props__.__dict__["account_id"] = account_id __props__.__dict__["active"] = active + if auth_basic is not None and not isinstance(auth_basic, NotificationDestinationAuthBasicArgs): + auth_basic = auth_basic or {} + def _setter(key, value): + auth_basic[key] = value + NotificationDestinationAuthBasicArgs._configure(_setter, **auth_basic) __props__.__dict__["auth_basic"] = auth_basic + if auth_token is not None and not isinstance(auth_token, NotificationDestinationAuthTokenArgs): + auth_token = auth_token or {} + def _setter(key, value): + auth_token[key] = value + NotificationDestinationAuthTokenArgs._configure(_setter, **auth_token) __props__.__dict__["auth_token"] = auth_token __props__.__dict__["name"] = name if properties is None and not opts.urn: diff --git a/sdk/python/pulumi_newrelic/nrql_alert_condition.py b/sdk/python/pulumi_newrelic/nrql_alert_condition.py index e31d5427..84ea0e07 100644 --- a/sdk/python/pulumi_newrelic/nrql_alert_condition.py +++ b/sdk/python/pulumi_newrelic/nrql_alert_condition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -49,7 +49,7 @@ def __init__(__self__, *, :param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`. - :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. :param pulumi.Input[str] baseline_direction: The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lower_only`, `upper_and_lower`, `upper_only` (case insensitive). :param pulumi.Input[bool] close_violations_on_expiration: Whether to close all open incidents when the signal expires. :param pulumi.Input['NrqlAlertConditionCriticalArgs'] critical: A list containing the `critical` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. @@ -71,60 +71,117 @@ def __init__(__self__, *, \\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both. :param pulumi.Input['NrqlAlertConditionWarningArgs'] warning: A list containing the `warning` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. """ - pulumi.set(__self__, "nrql", nrql) - pulumi.set(__self__, "policy_id", policy_id) + NrqlAlertConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + nrql=nrql, + policy_id=policy_id, + account_id=account_id, + aggregation_delay=aggregation_delay, + aggregation_method=aggregation_method, + aggregation_timer=aggregation_timer, + aggregation_window=aggregation_window, + baseline_direction=baseline_direction, + close_violations_on_expiration=close_violations_on_expiration, + critical=critical, + description=description, + enabled=enabled, + evaluation_delay=evaluation_delay, + expiration_duration=expiration_duration, + fill_option=fill_option, + fill_value=fill_value, + name=name, + open_violation_on_expiration=open_violation_on_expiration, + runbook_url=runbook_url, + slide_by=slide_by, + terms=terms, + type=type, + violation_time_limit=violation_time_limit, + violation_time_limit_seconds=violation_time_limit_seconds, + warning=warning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nrql: pulumi.Input['NrqlAlertConditionNrqlArgs'], + policy_id: pulumi.Input[int], + account_id: Optional[pulumi.Input[int]] = None, + aggregation_delay: Optional[pulumi.Input[str]] = None, + aggregation_method: Optional[pulumi.Input[str]] = None, + aggregation_timer: Optional[pulumi.Input[str]] = None, + aggregation_window: Optional[pulumi.Input[int]] = None, + baseline_direction: Optional[pulumi.Input[str]] = None, + close_violations_on_expiration: Optional[pulumi.Input[bool]] = None, + critical: Optional[pulumi.Input['NrqlAlertConditionCriticalArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + evaluation_delay: Optional[pulumi.Input[int]] = None, + expiration_duration: Optional[pulumi.Input[int]] = None, + fill_option: Optional[pulumi.Input[str]] = None, + fill_value: Optional[pulumi.Input[float]] = None, + name: Optional[pulumi.Input[str]] = None, + open_violation_on_expiration: Optional[pulumi.Input[bool]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + slide_by: Optional[pulumi.Input[int]] = None, + terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + violation_time_limit: Optional[pulumi.Input[str]] = None, + violation_time_limit_seconds: Optional[pulumi.Input[int]] = None, + warning: Optional[pulumi.Input['NrqlAlertConditionWarningArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nrql", nrql) + _setter("policy_id", policy_id) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if aggregation_delay is not None: - pulumi.set(__self__, "aggregation_delay", aggregation_delay) + _setter("aggregation_delay", aggregation_delay) if aggregation_method is not None: - pulumi.set(__self__, "aggregation_method", aggregation_method) + _setter("aggregation_method", aggregation_method) if aggregation_timer is not None: - pulumi.set(__self__, "aggregation_timer", aggregation_timer) + _setter("aggregation_timer", aggregation_timer) if aggregation_window is not None: - pulumi.set(__self__, "aggregation_window", aggregation_window) + _setter("aggregation_window", aggregation_window) if baseline_direction is not None: - pulumi.set(__self__, "baseline_direction", baseline_direction) + _setter("baseline_direction", baseline_direction) if close_violations_on_expiration is not None: - pulumi.set(__self__, "close_violations_on_expiration", close_violations_on_expiration) + _setter("close_violations_on_expiration", close_violations_on_expiration) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if evaluation_delay is not None: - pulumi.set(__self__, "evaluation_delay", evaluation_delay) + _setter("evaluation_delay", evaluation_delay) if expiration_duration is not None: - pulumi.set(__self__, "expiration_duration", expiration_duration) + _setter("expiration_duration", expiration_duration) if fill_option is not None: - pulumi.set(__self__, "fill_option", fill_option) + _setter("fill_option", fill_option) if fill_value is not None: - pulumi.set(__self__, "fill_value", fill_value) + _setter("fill_value", fill_value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if open_violation_on_expiration is not None: - pulumi.set(__self__, "open_violation_on_expiration", open_violation_on_expiration) + _setter("open_violation_on_expiration", open_violation_on_expiration) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if slide_by is not None: - pulumi.set(__self__, "slide_by", slide_by) + _setter("slide_by", slide_by) if terms is not None: warnings.warn("""use `critical` and `warning` attributes instead""", DeprecationWarning) pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""") if terms is not None: - pulumi.set(__self__, "terms", terms) + _setter("terms", terms) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if violation_time_limit is not None: warnings.warn("""use `violation_time_limit_seconds` attribute instead""", DeprecationWarning) pulumi.log.warn("""violation_time_limit is deprecated: use `violation_time_limit_seconds` attribute instead""") if violation_time_limit is not None: - pulumi.set(__self__, "violation_time_limit", violation_time_limit) + _setter("violation_time_limit", violation_time_limit) if violation_time_limit_seconds is not None: - pulumi.set(__self__, "violation_time_limit_seconds", violation_time_limit_seconds) + _setter("violation_time_limit_seconds", violation_time_limit_seconds) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) @property @pulumi.getter @@ -202,7 +259,7 @@ def aggregation_timer(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="aggregationWindow") def aggregation_window(self) -> Optional[pulumi.Input[int]]: """ - The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. """ return pulumi.get(self, "aggregation_window") @@ -470,7 +527,7 @@ def __init__(__self__, *, :param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`. - :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. :param pulumi.Input[str] baseline_direction: The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lower_only`, `upper_and_lower`, `upper_only` (case insensitive). :param pulumi.Input[bool] close_violations_on_expiration: Whether to close all open incidents when the signal expires. :param pulumi.Input['NrqlAlertConditionCriticalArgs'] critical: A list containing the `critical` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. @@ -495,64 +552,123 @@ def __init__(__self__, *, \\***Note**: One of `violation_time_limit` _or_ `violation_time_limit_seconds` must be set, but not both. :param pulumi.Input['NrqlAlertConditionWarningArgs'] warning: A list containing the `warning` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. """ + _NrqlAlertConditionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + aggregation_delay=aggregation_delay, + aggregation_method=aggregation_method, + aggregation_timer=aggregation_timer, + aggregation_window=aggregation_window, + baseline_direction=baseline_direction, + close_violations_on_expiration=close_violations_on_expiration, + critical=critical, + description=description, + enabled=enabled, + entity_guid=entity_guid, + evaluation_delay=evaluation_delay, + expiration_duration=expiration_duration, + fill_option=fill_option, + fill_value=fill_value, + name=name, + nrql=nrql, + open_violation_on_expiration=open_violation_on_expiration, + policy_id=policy_id, + runbook_url=runbook_url, + slide_by=slide_by, + terms=terms, + type=type, + violation_time_limit=violation_time_limit, + violation_time_limit_seconds=violation_time_limit_seconds, + warning=warning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + aggregation_delay: Optional[pulumi.Input[str]] = None, + aggregation_method: Optional[pulumi.Input[str]] = None, + aggregation_timer: Optional[pulumi.Input[str]] = None, + aggregation_window: Optional[pulumi.Input[int]] = None, + baseline_direction: Optional[pulumi.Input[str]] = None, + close_violations_on_expiration: Optional[pulumi.Input[bool]] = None, + critical: Optional[pulumi.Input['NrqlAlertConditionCriticalArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entity_guid: Optional[pulumi.Input[str]] = None, + evaluation_delay: Optional[pulumi.Input[int]] = None, + expiration_duration: Optional[pulumi.Input[int]] = None, + fill_option: Optional[pulumi.Input[str]] = None, + fill_value: Optional[pulumi.Input[float]] = None, + name: Optional[pulumi.Input[str]] = None, + nrql: Optional[pulumi.Input['NrqlAlertConditionNrqlArgs']] = None, + open_violation_on_expiration: Optional[pulumi.Input[bool]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + slide_by: Optional[pulumi.Input[int]] = None, + terms: Optional[pulumi.Input[Sequence[pulumi.Input['NrqlAlertConditionTermArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + violation_time_limit: Optional[pulumi.Input[str]] = None, + violation_time_limit_seconds: Optional[pulumi.Input[int]] = None, + warning: Optional[pulumi.Input['NrqlAlertConditionWarningArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if aggregation_delay is not None: - pulumi.set(__self__, "aggregation_delay", aggregation_delay) + _setter("aggregation_delay", aggregation_delay) if aggregation_method is not None: - pulumi.set(__self__, "aggregation_method", aggregation_method) + _setter("aggregation_method", aggregation_method) if aggregation_timer is not None: - pulumi.set(__self__, "aggregation_timer", aggregation_timer) + _setter("aggregation_timer", aggregation_timer) if aggregation_window is not None: - pulumi.set(__self__, "aggregation_window", aggregation_window) + _setter("aggregation_window", aggregation_window) if baseline_direction is not None: - pulumi.set(__self__, "baseline_direction", baseline_direction) + _setter("baseline_direction", baseline_direction) if close_violations_on_expiration is not None: - pulumi.set(__self__, "close_violations_on_expiration", close_violations_on_expiration) + _setter("close_violations_on_expiration", close_violations_on_expiration) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if entity_guid is not None: - pulumi.set(__self__, "entity_guid", entity_guid) + _setter("entity_guid", entity_guid) if evaluation_delay is not None: - pulumi.set(__self__, "evaluation_delay", evaluation_delay) + _setter("evaluation_delay", evaluation_delay) if expiration_duration is not None: - pulumi.set(__self__, "expiration_duration", expiration_duration) + _setter("expiration_duration", expiration_duration) if fill_option is not None: - pulumi.set(__self__, "fill_option", fill_option) + _setter("fill_option", fill_option) if fill_value is not None: - pulumi.set(__self__, "fill_value", fill_value) + _setter("fill_value", fill_value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nrql is not None: - pulumi.set(__self__, "nrql", nrql) + _setter("nrql", nrql) if open_violation_on_expiration is not None: - pulumi.set(__self__, "open_violation_on_expiration", open_violation_on_expiration) + _setter("open_violation_on_expiration", open_violation_on_expiration) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if slide_by is not None: - pulumi.set(__self__, "slide_by", slide_by) + _setter("slide_by", slide_by) if terms is not None: warnings.warn("""use `critical` and `warning` attributes instead""", DeprecationWarning) pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""") if terms is not None: - pulumi.set(__self__, "terms", terms) + _setter("terms", terms) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if violation_time_limit is not None: warnings.warn("""use `violation_time_limit_seconds` attribute instead""", DeprecationWarning) pulumi.log.warn("""violation_time_limit is deprecated: use `violation_time_limit_seconds` attribute instead""") if violation_time_limit is not None: - pulumi.set(__self__, "violation_time_limit", violation_time_limit) + _setter("violation_time_limit", violation_time_limit) if violation_time_limit_seconds is not None: - pulumi.set(__self__, "violation_time_limit_seconds", violation_time_limit_seconds) + _setter("violation_time_limit_seconds", violation_time_limit_seconds) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) @property @pulumi.getter(name="accountId") @@ -606,7 +722,7 @@ def aggregation_timer(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="aggregationWindow") def aggregation_window(self) -> Optional[pulumi.Input[int]]: """ - The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. """ return pulumi.get(self, "aggregation_window") @@ -938,6 +1054,10 @@ def __init__(__self__, - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. + > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified. + + > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `time_function` or `threshold_occurrences` (one of the two) is mandatory. Both of these should not be specified. + ## Additional Examples ##### Type: `baseline` @@ -1058,7 +1178,7 @@ def __init__(__self__, :param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`. - :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. :param pulumi.Input[str] baseline_direction: The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lower_only`, `upper_and_lower`, `upper_only` (case insensitive). :param pulumi.Input[bool] close_violations_on_expiration: Whether to close all open incidents when the signal expires. :param pulumi.Input[pulumi.InputType['NrqlAlertConditionCriticalArgs']] critical: A list containing the `critical` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. @@ -1120,6 +1240,10 @@ def __init__(__self__, - `duration` - (Optional) **DEPRECATED:** Use `threshold_duration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create an incident. Must be within 1-120 (inclusive). - `time_function` - (Optional) **DEPRECATED:** Use `threshold_occurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. + > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `duration` or `threshold_duration` (one of the two) is mandatory. Both of these should not be specified. + + > **NOTE:** When a `critical` or `warning` block is added to this resource, using either `time_function` or `threshold_occurrences` (one of the two) is mandatory. Both of these should not be specified. + ## Additional Examples ##### Type: `baseline` @@ -1244,6 +1368,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NrqlAlertConditionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1290,6 +1418,11 @@ def _internal_init(__self__, __props__.__dict__["aggregation_window"] = aggregation_window __props__.__dict__["baseline_direction"] = baseline_direction __props__.__dict__["close_violations_on_expiration"] = close_violations_on_expiration + if critical is not None and not isinstance(critical, NrqlAlertConditionCriticalArgs): + critical = critical or {} + def _setter(key, value): + critical[key] = value + NrqlAlertConditionCriticalArgs._configure(_setter, **critical) __props__.__dict__["critical"] = critical __props__.__dict__["description"] = description __props__.__dict__["enabled"] = enabled @@ -1298,6 +1431,11 @@ def _internal_init(__self__, __props__.__dict__["fill_option"] = fill_option __props__.__dict__["fill_value"] = fill_value __props__.__dict__["name"] = name + if nrql is not None and not isinstance(nrql, NrqlAlertConditionNrqlArgs): + nrql = nrql or {} + def _setter(key, value): + nrql[key] = value + NrqlAlertConditionNrqlArgs._configure(_setter, **nrql) if nrql is None and not opts.urn: raise TypeError("Missing required property 'nrql'") __props__.__dict__["nrql"] = nrql @@ -1307,16 +1445,15 @@ def _internal_init(__self__, __props__.__dict__["policy_id"] = policy_id __props__.__dict__["runbook_url"] = runbook_url __props__.__dict__["slide_by"] = slide_by - if terms is not None and not opts.urn: - warnings.warn("""use `critical` and `warning` attributes instead""", DeprecationWarning) - pulumi.log.warn("""terms is deprecated: use `critical` and `warning` attributes instead""") __props__.__dict__["terms"] = terms __props__.__dict__["type"] = type - if violation_time_limit is not None and not opts.urn: - warnings.warn("""use `violation_time_limit_seconds` attribute instead""", DeprecationWarning) - pulumi.log.warn("""violation_time_limit is deprecated: use `violation_time_limit_seconds` attribute instead""") __props__.__dict__["violation_time_limit"] = violation_time_limit __props__.__dict__["violation_time_limit_seconds"] = violation_time_limit_seconds + if warning is not None and not isinstance(warning, NrqlAlertConditionWarningArgs): + warning = warning or {} + def _setter(key, value): + warning[key] = value + NrqlAlertConditionWarningArgs._configure(_setter, **warning) __props__.__dict__["warning"] = warning __props__.__dict__["entity_guid"] = None super(NrqlAlertCondition, __self__).__init__( @@ -1366,7 +1503,7 @@ def get(resource_name: str, :param pulumi.Input[str] aggregation_delay: How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregation_delay` with the `event_flow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `event_flow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregation_delay` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_method: Determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Possible values are `cadence`, `event_flow` or `event_timer`. Default is `event_flow`. `aggregation_method` cannot be set with `nrql.evaluation_offset`. :param pulumi.Input[str] aggregation_timer: How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregation_timer` with the `event_timer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregation_timer` cannot be set with `nrql.evaluation_offset`. - :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + :param pulumi.Input[int] aggregation_window: The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. :param pulumi.Input[str] baseline_direction: The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lower_only`, `upper_and_lower`, `upper_only` (case insensitive). :param pulumi.Input[bool] close_violations_on_expiration: Whether to close all open incidents when the signal expires. :param pulumi.Input[pulumi.InputType['NrqlAlertConditionCriticalArgs']] critical: A list containing the `critical` threshold values. At least one `critical` or `warning` threshold must be defined. See Terms below for details. @@ -1459,7 +1596,7 @@ def aggregation_timer(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="aggregationWindow") def aggregation_window(self) -> pulumi.Output[int]: """ - The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 900 seconds (15 minutes). Default is 60 seconds. + The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 7200 seconds (2 hours). Default is 60 seconds. """ return pulumi.get(self, "aggregation_window") diff --git a/sdk/python/pulumi_newrelic/nrql_drop_rule.py b/sdk/python/pulumi_newrelic/nrql_drop_rule.py index 25f0a725..bcf0913a 100644 --- a/sdk/python/pulumi_newrelic/nrql_drop_rule.py +++ b/sdk/python/pulumi_newrelic/nrql_drop_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['NrqlDropRuleArgs', 'NrqlDropRule'] @@ -25,12 +25,27 @@ def __init__(__self__, *, :param pulumi.Input[int] account_id: Account where the drop rule will be put. Defaults to the account associated with the API key used. :param pulumi.Input[str] description: The description of the drop rule. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "nrql", nrql) + NrqlDropRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + nrql=nrql, + account_id=account_id, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + nrql: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("nrql", nrql) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -97,16 +112,33 @@ def __init__(__self__, *, :param pulumi.Input[str] nrql: A NRQL string that specifies what data types to drop. :param pulumi.Input[str] rule_id: The id, uniquely identifying the rule. """ + _NrqlDropRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + action=action, + description=description, + nrql=nrql, + rule_id=rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + action: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + nrql: Optional[pulumi.Input[str]] = None, + rule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if nrql is not None: - pulumi.set(__self__, "nrql", nrql) + _setter("nrql", nrql) if rule_id is not None: - pulumi.set(__self__, "rule_id", rule_id) + _setter("rule_id", rule_id) @property @pulumi.getter(name="accountId") @@ -270,6 +302,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NrqlDropRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/obfuscation_expression.py b/sdk/python/pulumi_newrelic/obfuscation_expression.py index 09ab5651..a336bc99 100644 --- a/sdk/python/pulumi_newrelic/obfuscation_expression.py +++ b/sdk/python/pulumi_newrelic/obfuscation_expression.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ObfuscationExpressionArgs', 'ObfuscationExpression'] @@ -25,13 +25,28 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description of expression. :param pulumi.Input[str] name: Name of expression. """ - pulumi.set(__self__, "regex", regex) + ObfuscationExpressionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + regex=regex, + account_id=account_id, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + regex: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("regex", regex) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -96,14 +111,29 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of expression. :param pulumi.Input[str] regex: Regex of expression. Must be wrapped in parentheses, e.g. (regex.*). """ + _ObfuscationExpressionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + name=name, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + regex: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter(name="accountId") @@ -233,6 +263,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ObfuscationExpressionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/obfuscation_rule.py b/sdk/python/pulumi_newrelic/obfuscation_rule.py index 9afa0363..97405130 100644 --- a/sdk/python/pulumi_newrelic/obfuscation_rule.py +++ b/sdk/python/pulumi_newrelic/obfuscation_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -31,15 +31,34 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description of rule. :param pulumi.Input[str] name: Name of rule. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "filter", filter) + ObfuscationRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + enabled=enabled, + filter=filter, + account_id=account_id, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input[Sequence[pulumi.Input['ObfuscationRuleActionArgs']]], + enabled: pulumi.Input[bool], + filter: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("enabled", enabled) + _setter("filter", filter) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -132,18 +151,37 @@ def __init__(__self__, *, :param pulumi.Input[str] filter: NRQL for determining whether a given log record should have obfuscation actions applied. :param pulumi.Input[str] name: Name of rule. """ + _ObfuscationRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + actions=actions, + description=description, + enabled=enabled, + filter=filter, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + actions: Optional[pulumi.Input[Sequence[pulumi.Input['ObfuscationRuleActionArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + filter: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="accountId") @@ -317,6 +355,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ObfuscationRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/one_dashboard.py b/sdk/python/pulumi_newrelic/one_dashboard.py index 0c6e612d..0cb459ff 100644 --- a/sdk/python/pulumi_newrelic/one_dashboard.py +++ b/sdk/python/pulumi_newrelic/one_dashboard.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -31,17 +31,36 @@ def __init__(__self__, *, :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details. """ - pulumi.set(__self__, "pages", pages) + OneDashboardArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + pages=pages, + account_id=account_id, + description=description, + name=name, + permissions=permissions, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pages: pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + permissions: Optional[pulumi.Input[str]] = None, + variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pages", pages) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if permissions is not None: - pulumi.set(__self__, "permissions", permissions) + _setter("permissions", permissions) if variables is not None: - pulumi.set(__self__, "variables", variables) + _setter("variables", variables) @property @pulumi.getter @@ -138,22 +157,45 @@ def __init__(__self__, *, :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`. :param pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]] variables: A nested block that describes a dashboard-local variable. See Nested variable blocks below for details. """ + _OneDashboardState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + guid=guid, + name=name, + pages=pages, + permalink=permalink, + permissions=permissions, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + pages: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageArgs']]]] = None, + permalink: Optional[pulumi.Input[str]] = None, + permissions: Optional[pulumi.Input[str]] = None, + variables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if pages is not None: - pulumi.set(__self__, "pages", pages) + _setter("pages", pages) if permalink is not None: - pulumi.set(__self__, "permalink", permalink) + _setter("permalink", permalink) if permissions is not None: - pulumi.set(__self__, "permissions", permissions) + _setter("permissions", permissions) if variables is not None: - pulumi.set(__self__, "variables", variables) + _setter("variables", variables) @property @pulumi.getter(name="accountId") @@ -307,6 +349,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OneDashboardArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/one_dashboard_json.py b/sdk/python/pulumi_newrelic/one_dashboard_json.py index cd012cd0..636f14f0 100644 --- a/sdk/python/pulumi_newrelic/one_dashboard_json.py +++ b/sdk/python/pulumi_newrelic/one_dashboard_json.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson'] @@ -21,9 +21,20 @@ def __init__(__self__, *, :param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards) :param pulumi.Input[int] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "json", json) + OneDashboardJsonArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + json=json, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + json: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("json", json) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -66,16 +77,33 @@ def __init__(__self__, *, :param pulumi.Input[str] permalink: The URL for viewing the dashboard. :param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated. """ + _OneDashboardJsonState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + guid=guid, + json=json, + permalink=permalink, + updated_at=updated_at, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + guid: Optional[pulumi.Input[str]] = None, + json: Optional[pulumi.Input[str]] = None, + permalink: Optional[pulumi.Input[str]] = None, + updated_at: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if json is not None: - pulumi.set(__self__, "json", json) + _setter("json", json) if permalink is not None: - pulumi.set(__self__, "permalink", permalink) + _setter("permalink", permalink) if updated_at is not None: - pulumi.set(__self__, "updated_at", updated_at) + _setter("updated_at", updated_at) @property @pulumi.getter(name="accountId") @@ -185,6 +213,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OneDashboardJsonArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/one_dashboard_raw.py b/sdk/python/pulumi_newrelic/one_dashboard_raw.py index 5a3797bb..a0f5c72c 100644 --- a/sdk/python/pulumi_newrelic/one_dashboard_raw.py +++ b/sdk/python/pulumi_newrelic/one_dashboard_raw.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -29,15 +29,32 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The title of the dashboard. :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`. """ - pulumi.set(__self__, "pages", pages) + OneDashboardRawArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + pages=pages, + account_id=account_id, + description=description, + name=name, + permissions=permissions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pages: pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + permissions: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pages", pages) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if permissions is not None: - pulumi.set(__self__, "permissions", permissions) + _setter("permissions", permissions) @property @pulumi.getter @@ -120,20 +137,41 @@ def __init__(__self__, *, :param pulumi.Input[str] permalink: The URL for viewing the dashboard. :param pulumi.Input[str] permissions: Determines who can see the dashboard in an account. Valid values are `private`, `public_read_only`, or `public_read_write`. Defaults to `public_read_only`. """ + _OneDashboardRawState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + guid=guid, + name=name, + pages=pages, + permalink=permalink, + permissions=permissions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + pages: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardRawPageArgs']]]] = None, + permalink: Optional[pulumi.Input[str]] = None, + permissions: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if pages is not None: - pulumi.set(__self__, "pages", pages) + _setter("pages", pages) if permalink is not None: - pulumi.set(__self__, "permalink", permalink) + _setter("permalink", permalink) if permissions is not None: - pulumi.set(__self__, "permissions", permissions) + _setter("permissions", permissions) @property @pulumi.getter(name="accountId") @@ -411,6 +449,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OneDashboardRawArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/outputs.py b/sdk/python/pulumi_newrelic/outputs.py index ed4c0613..f221cec4 100644 --- a/sdk/python/pulumi_newrelic/outputs.py +++ b/sdk/python/pulumi_newrelic/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs @@ -245,56 +245,105 @@ def __init__(__self__, *, :param Mapping[str, str] payload: A map of key/value pairs that represents the webhook payload. Must provide `payload_type` if setting this argument. :param str payload_string: Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`. :param str payload_type: Can either be `application/json` or `application/x-www-form-urlencoded`. The `payload_type` argument is _required_ if `payload` is set. - :param str recipients: Comma delimited list of email addresses. + :param str recipients: A set of recipients for targeting notifications. Multiple values are comma separated. :param str region: The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. :param str route_key: The route key for integrating with VictorOps. :param str service_key: Specifies the service key for integrating with Pagerduty. :param str tags: A set of tags for targeting notifications. Multiple values are comma separated. :param str teams: A set of teams for targeting notifications. Multiple values are comma separated. - :param str url: [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). - """ + :param str url: [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). + """ + AlertChannelConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_key=api_key, + auth_password=auth_password, + auth_type=auth_type, + auth_username=auth_username, + base_url=base_url, + channel=channel, + headers=headers, + headers_string=headers_string, + include_json_attachment=include_json_attachment, + key=key, + payload=payload, + payload_string=payload_string, + payload_type=payload_type, + recipients=recipients, + region=region, + route_key=route_key, + service_key=service_key, + tags=tags, + teams=teams, + url=url, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_key: Optional[str] = None, + auth_password: Optional[str] = None, + auth_type: Optional[str] = None, + auth_username: Optional[str] = None, + base_url: Optional[str] = None, + channel: Optional[str] = None, + headers: Optional[Mapping[str, str]] = None, + headers_string: Optional[str] = None, + include_json_attachment: Optional[str] = None, + key: Optional[str] = None, + payload: Optional[Mapping[str, str]] = None, + payload_string: Optional[str] = None, + payload_type: Optional[str] = None, + recipients: Optional[str] = None, + region: Optional[str] = None, + route_key: Optional[str] = None, + service_key: Optional[str] = None, + tags: Optional[str] = None, + teams: Optional[str] = None, + url: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_key is not None: - pulumi.set(__self__, "api_key", api_key) + _setter("api_key", api_key) if auth_password is not None: - pulumi.set(__self__, "auth_password", auth_password) + _setter("auth_password", auth_password) if auth_type is not None: - pulumi.set(__self__, "auth_type", auth_type) + _setter("auth_type", auth_type) if auth_username is not None: - pulumi.set(__self__, "auth_username", auth_username) + _setter("auth_username", auth_username) if base_url is not None: - pulumi.set(__self__, "base_url", base_url) + _setter("base_url", base_url) if channel is not None: - pulumi.set(__self__, "channel", channel) + _setter("channel", channel) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if headers_string is not None: - pulumi.set(__self__, "headers_string", headers_string) + _setter("headers_string", headers_string) if include_json_attachment is not None: - pulumi.set(__self__, "include_json_attachment", include_json_attachment) + _setter("include_json_attachment", include_json_attachment) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if payload is not None: - pulumi.set(__self__, "payload", payload) + _setter("payload", payload) if payload_string is not None: - pulumi.set(__self__, "payload_string", payload_string) + _setter("payload_string", payload_string) if payload_type is not None: - pulumi.set(__self__, "payload_type", payload_type) + _setter("payload_type", payload_type) if recipients is not None: - pulumi.set(__self__, "recipients", recipients) + _setter("recipients", recipients) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if route_key is not None: - pulumi.set(__self__, "route_key", route_key) + _setter("route_key", route_key) if service_key is not None: - pulumi.set(__self__, "service_key", service_key) + _setter("service_key", service_key) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if teams is not None: - pulumi.set(__self__, "teams", teams) + _setter("teams", teams) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="apiKey") @@ -404,7 +453,7 @@ def payload_type(self) -> Optional[str]: @pulumi.getter def recipients(self) -> Optional[str]: """ - Comma delimited list of email addresses. + A set of recipients for targeting notifications. Multiple values are comma separated. """ return pulumi.get(self, "recipients") @@ -452,7 +501,7 @@ def teams(self) -> Optional[str]: @pulumi.getter def url(self) -> Optional[str]: """ - [Slack Webhook URL](https://api.slack.com/messaging/webhooks#create_a_webhook). + [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). """ return pulumi.get(self, "url") @@ -487,13 +536,30 @@ def __init__(__self__, *, time_function: str, operator: Optional[str] = None, priority: Optional[str] = None): - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "threshold", threshold) - pulumi.set(__self__, "time_function", time_function) + AlertConditionTerm._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + threshold=threshold, + time_function=time_function, + operator=operator, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: int, + threshold: float, + time_function: str, + operator: Optional[str] = None, + priority: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) + _setter("threshold", threshold) + _setter("time_function", time_function) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -530,8 +596,19 @@ def __init__(__self__, *, :param Sequence['AlertMutingRuleConditionConditionArgs'] conditions: The individual MutingRuleConditions within the group. See Nested conditions blocks below for details. :param str operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`. """ - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "operator", operator) + AlertMutingRuleCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + conditions=conditions, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + conditions: Sequence['outputs.AlertMutingRuleConditionCondition'], + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("conditions", conditions) + _setter("operator", operator) @property @pulumi.getter @@ -561,9 +638,22 @@ def __init__(__self__, *, :param str operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`. :param Sequence[str] values: The value(s) to compare against the attribute's value. """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "values", values) + AlertMutingRuleConditionCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + operator=operator, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + operator: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute", attribute) + _setter("operator", operator) + _setter("values", values) @property @pulumi.getter @@ -635,19 +725,40 @@ def __init__(__self__, *, :param str start_time: The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00' :param Sequence[str] weekly_repeat_days: The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY'] """ - pulumi.set(__self__, "time_zone", time_zone) + AlertMutingRuleSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_zone=time_zone, + end_repeat=end_repeat, + end_time=end_time, + repeat=repeat, + repeat_count=repeat_count, + start_time=start_time, + weekly_repeat_days=weekly_repeat_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_zone: str, + end_repeat: Optional[str] = None, + end_time: Optional[str] = None, + repeat: Optional[str] = None, + repeat_count: Optional[int] = None, + start_time: Optional[str] = None, + weekly_repeat_days: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_zone", time_zone) if end_repeat is not None: - pulumi.set(__self__, "end_repeat", end_repeat) + _setter("end_repeat", end_repeat) if end_time is not None: - pulumi.set(__self__, "end_time", end_time) + _setter("end_time", end_time) if repeat is not None: - pulumi.set(__self__, "repeat", repeat) + _setter("repeat", repeat) if repeat_count is not None: - pulumi.set(__self__, "repeat_count", repeat_count) + _setter("repeat_count", repeat_count) if start_time is not None: - pulumi.set(__self__, "start_time", start_time) + _setter("start_time", start_time) if weekly_repeat_days is not None: - pulumi.set(__self__, "weekly_repeat_days", weekly_repeat_days) + _setter("weekly_repeat_days", weekly_repeat_days) @property @pulumi.getter(name="timeZone") @@ -712,8 +823,19 @@ def __init__(__self__, *, :param str key: The tag key. :param Sequence[str] values: The tag values. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + EntityTagsTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -755,11 +877,24 @@ def __init__(__self__, *, duration: int, time_function: Optional[str] = None, value: Optional[float] = None): - pulumi.set(__self__, "duration", duration) + InfraAlertConditionCritical._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + time_function=time_function, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: int, + time_function: Optional[str] = None, + value: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -800,11 +935,24 @@ def __init__(__self__, *, duration: int, time_function: Optional[str] = None, value: Optional[float] = None): - pulumi.set(__self__, "duration", duration) + InfraAlertConditionWarning._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration=duration, + time_function=time_function, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration: int, + time_function: Optional[str] = None, + value: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration", duration) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -854,12 +1002,27 @@ def __init__(__self__, *, Each notification channel type supports a specific set of arguments for the `property` block: :param str label: The notification property label. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + NotificationChannelProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + display_value=display_value, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + display_value: Optional[str] = None, + label: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if display_value is not None: - pulumi.set(__self__, "display_value", display_value) + _setter("display_value", display_value) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter @@ -905,8 +1068,19 @@ def __init__(__self__, *, :param str password: Specifies an authentication password for use with a destination. :param str user: The username of the basic auth. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user", user) + NotificationDestinationAuthBasic._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user", user) @property @pulumi.getter @@ -933,9 +1107,20 @@ def __init__(__self__, *, """ :param str prefix: The prefix of the token auth. """ - pulumi.set(__self__, "token", token) + NotificationDestinationAuthToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + token=token, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token: str, + prefix: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token", token) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -983,12 +1168,27 @@ def __init__(__self__, *, Each notification destination type supports a specific set of arguments for the `property` block. See Additional Examples below for details: :param str label: The notification property label. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + NotificationDestinationProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + display_value=display_value, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + display_value: Optional[str] = None, + label: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if display_value is not None: - pulumi.set(__self__, "display_value", display_value) + _setter("display_value", display_value) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter @@ -1055,17 +1255,36 @@ def __init__(__self__, *, threshold_duration: Optional[int] = None, threshold_occurrences: Optional[str] = None, time_function: Optional[str] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionCritical._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: float, + duration: Optional[int] = None, + operator: Optional[str] = None, + threshold_duration: Optional[int] = None, + threshold_occurrences: Optional[str] = None, + time_function: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1129,11 +1348,24 @@ def __init__(__self__, *, query: str, evaluation_offset: Optional[int] = None, since_value: Optional[str] = None): - pulumi.set(__self__, "query", query) + NrqlAlertConditionNrql._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + evaluation_offset=evaluation_offset, + since_value=since_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + evaluation_offset: Optional[int] = None, + since_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if evaluation_offset is not None: - pulumi.set(__self__, "evaluation_offset", evaluation_offset) + _setter("evaluation_offset", evaluation_offset) if since_value is not None: - pulumi.set(__self__, "since_value", since_value) + _setter("since_value", since_value) @property @pulumi.getter @@ -1188,19 +1420,40 @@ def __init__(__self__, *, threshold_duration: Optional[int] = None, threshold_occurrences: Optional[str] = None, time_function: Optional[str] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionTerm._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + priority=priority, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: float, + duration: Optional[int] = None, + operator: Optional[str] = None, + priority: Optional[str] = None, + threshold_duration: Optional[int] = None, + threshold_occurrences: Optional[str] = None, + time_function: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1274,17 +1527,36 @@ def __init__(__self__, *, threshold_duration: Optional[int] = None, threshold_occurrences: Optional[str] = None, time_function: Optional[str] = None): - pulumi.set(__self__, "threshold", threshold) + NrqlAlertConditionWarning._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + duration=duration, + operator=operator, + threshold_duration=threshold_duration, + threshold_occurrences=threshold_occurrences, + time_function=time_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: float, + duration: Optional[int] = None, + operator: Optional[str] = None, + threshold_duration: Optional[int] = None, + threshold_occurrences: Optional[str] = None, + time_function: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if threshold_duration is not None: - pulumi.set(__self__, "threshold_duration", threshold_duration) + _setter("threshold_duration", threshold_duration) if threshold_occurrences is not None: - pulumi.set(__self__, "threshold_occurrences", threshold_occurrences) + _setter("threshold_occurrences", threshold_occurrences) if time_function is not None: - pulumi.set(__self__, "time_function", time_function) + _setter("time_function", time_function) @property @pulumi.getter @@ -1351,9 +1623,22 @@ def __init__(__self__, *, :param str expression_id: Expression Id for action. :param str method: Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`. """ - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "expression_id", expression_id) - pulumi.set(__self__, "method", method) + ObfuscationRuleAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + expression_id=expression_id, + method=method, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: Sequence[str], + expression_id: str, + method: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("expression_id", expression_id) + _setter("method", method) @property @pulumi.getter @@ -1448,39 +1733,80 @@ def __init__(__self__, *, :param str description: Brief text describing the dashboard. :param str guid: The unique entity identifier of the dashboard page in New Relic. """ - pulumi.set(__self__, "name", name) + OneDashboardPage._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + guid=guid, + widget_areas=widget_areas, + widget_bars=widget_bars, + widget_billboards=widget_billboards, + widget_bullets=widget_bullets, + widget_funnels=widget_funnels, + widget_heatmaps=widget_heatmaps, + widget_histograms=widget_histograms, + widget_jsons=widget_jsons, + widget_lines=widget_lines, + widget_log_tables=widget_log_tables, + widget_markdowns=widget_markdowns, + widget_pies=widget_pies, + widget_stacked_bars=widget_stacked_bars, + widget_tables=widget_tables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + description: Optional[str] = None, + guid: Optional[str] = None, + widget_areas: Optional[Sequence['outputs.OneDashboardPageWidgetArea']] = None, + widget_bars: Optional[Sequence['outputs.OneDashboardPageWidgetBar']] = None, + widget_billboards: Optional[Sequence['outputs.OneDashboardPageWidgetBillboard']] = None, + widget_bullets: Optional[Sequence['outputs.OneDashboardPageWidgetBullet']] = None, + widget_funnels: Optional[Sequence['outputs.OneDashboardPageWidgetFunnel']] = None, + widget_heatmaps: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmap']] = None, + widget_histograms: Optional[Sequence['outputs.OneDashboardPageWidgetHistogram']] = None, + widget_jsons: Optional[Sequence['outputs.OneDashboardPageWidgetJson']] = None, + widget_lines: Optional[Sequence['outputs.OneDashboardPageWidgetLine']] = None, + widget_log_tables: Optional[Sequence['outputs.OneDashboardPageWidgetLogTable']] = None, + widget_markdowns: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdown']] = None, + widget_pies: Optional[Sequence['outputs.OneDashboardPageWidgetPy']] = None, + widget_stacked_bars: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBar']] = None, + widget_tables: Optional[Sequence['outputs.OneDashboardPageWidgetTable']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if widget_areas is not None: - pulumi.set(__self__, "widget_areas", widget_areas) + _setter("widget_areas", widget_areas) if widget_bars is not None: - pulumi.set(__self__, "widget_bars", widget_bars) + _setter("widget_bars", widget_bars) if widget_billboards is not None: - pulumi.set(__self__, "widget_billboards", widget_billboards) + _setter("widget_billboards", widget_billboards) if widget_bullets is not None: - pulumi.set(__self__, "widget_bullets", widget_bullets) + _setter("widget_bullets", widget_bullets) if widget_funnels is not None: - pulumi.set(__self__, "widget_funnels", widget_funnels) + _setter("widget_funnels", widget_funnels) if widget_heatmaps is not None: - pulumi.set(__self__, "widget_heatmaps", widget_heatmaps) + _setter("widget_heatmaps", widget_heatmaps) if widget_histograms is not None: - pulumi.set(__self__, "widget_histograms", widget_histograms) + _setter("widget_histograms", widget_histograms) if widget_jsons is not None: - pulumi.set(__self__, "widget_jsons", widget_jsons) + _setter("widget_jsons", widget_jsons) if widget_lines is not None: - pulumi.set(__self__, "widget_lines", widget_lines) + _setter("widget_lines", widget_lines) if widget_log_tables is not None: - pulumi.set(__self__, "widget_log_tables", widget_log_tables) + _setter("widget_log_tables", widget_log_tables) if widget_markdowns is not None: - pulumi.set(__self__, "widget_markdowns", widget_markdowns) + _setter("widget_markdowns", widget_markdowns) if widget_pies is not None: - pulumi.set(__self__, "widget_pies", widget_pies) + _setter("widget_pies", widget_pies) if widget_stacked_bars is not None: - pulumi.set(__self__, "widget_stacked_bars", widget_stacked_bars) + _setter("widget_stacked_bars", widget_stacked_bars) if widget_tables is not None: - pulumi.set(__self__, "widget_tables", widget_tables) + _setter("widget_tables", widget_tables) @property @pulumi.getter @@ -1639,32 +1965,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetArea._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetAreaNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetAreaColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetAreaNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetAreaUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -1807,10 +2170,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetAreaColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetAreaColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetAreaColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -1854,10 +2228,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetAreaColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -1899,9 +2284,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetAreaNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -1948,10 +2344,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetAreaNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetAreaNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetAreaNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -1997,10 +2404,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetAreaNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -2042,10 +2460,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetAreaUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetAreaUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetAreaUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -2089,10 +2518,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetAreaUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -2178,36 +2618,77 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBar._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetBarNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetBarColor']] = None, + facet_show_other_series: Optional[bool] = None, + filter_current_dashboard: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + linked_entity_guids: Optional[Sequence[str]] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetBarNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetBarUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -2366,10 +2847,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetBarColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBarColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBarColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -2413,10 +2905,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBarColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -2458,9 +2961,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBarNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -2507,10 +3021,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetBarNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBarNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBarNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -2556,10 +3081,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBarNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -2601,10 +3137,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetBarUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBarUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBarUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -2648,10 +3195,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBarUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -2733,36 +3291,77 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBillboard._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + critical=critical, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + warning=warning, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetBillboardNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardColor']] = None, + critical: Optional[str] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardUnit']] = None, + warning: Optional[str] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -2921,10 +3520,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetBillboardColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBillboardColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -2968,10 +3578,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBillboardColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -3013,9 +3634,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBillboardNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -3062,10 +3694,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetBillboardNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBillboardNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -3111,10 +3754,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBillboardNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -3156,10 +3810,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetBillboardUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBillboardUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBillboardUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -3203,10 +3868,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBillboardUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -3286,33 +3962,72 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetBullet._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + limit=limit, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + limit: float, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetBulletNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetBulletColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetBulletNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetBulletUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("limit", limit) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -3463,10 +4178,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetBulletColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBulletColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBulletColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -3510,10 +4236,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetBulletColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -3555,9 +4292,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetBulletNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -3604,10 +4352,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetBulletNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetBulletNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBulletNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -3653,10 +4412,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetBulletNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -3698,10 +4468,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetBulletUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBulletUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetBulletUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -3745,10 +4526,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetBulletUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -3826,32 +4618,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetFunnel._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetFunnelNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -3994,10 +4823,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetFunnelColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetFunnelColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -4041,10 +4881,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetFunnelColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -4086,9 +4937,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetFunnelNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -4135,10 +4997,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetFunnelNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetFunnelNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -4184,10 +5057,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetFunnelNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -4229,10 +5113,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetFunnelUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetFunnelUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetFunnelUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -4276,10 +5171,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetFunnelUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -4365,36 +5271,77 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetHeatmap._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetHeatmapNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapColor']] = None, + facet_show_other_series: Optional[bool] = None, + filter_current_dashboard: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + linked_entity_guids: Optional[Sequence[str]] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -4553,10 +5500,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetHeatmapColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHeatmapColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -4600,10 +5558,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetHeatmapColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -4645,9 +5614,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetHeatmapNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -4694,10 +5674,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetHeatmapNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHeatmapNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -4743,10 +5734,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetHeatmapNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -4788,10 +5790,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetHeatmapUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHeatmapUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHeatmapUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -4835,10 +5848,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHeatmapUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -4916,32 +5940,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetHistogram._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetHistogramNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -5084,10 +6145,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetHistogramColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHistogramColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -5131,10 +6203,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetHistogramColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -5176,9 +6259,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetHistogramNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -5225,10 +6319,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetHistogramNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetHistogramNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -5274,10 +6379,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetHistogramNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -5319,10 +6435,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetHistogramUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHistogramUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetHistogramUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -5366,10 +6493,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetHistogramUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -5447,32 +6585,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetJson._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetJsonNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetJsonColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetJsonNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetJsonUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -5615,10 +6790,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetJsonColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetJsonColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetJsonColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -5662,10 +6848,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetJsonColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -5707,9 +6904,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetJsonNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -5756,10 +6964,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetJsonNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetJsonNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetJsonNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -5805,10 +7024,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetJsonNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -5850,10 +7080,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetJsonUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetJsonUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetJsonUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -5897,10 +7138,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetJsonUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -5982,34 +7234,73 @@ def __init__(__self__, *, :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. :param bool y_axis_left_zero: (Optional) An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from `y_axis_left_min` (or 0 if it is not defined) to `y_axis_left_max`. Use `y_axis_left_zero = true` with a combination of `y_axis_left_min` and `y_axis_left_max` to render values from 0 or the specified minimum to the maximum, and `y_axis_left_zero = false` to fit the graph to scale. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetLine._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + y_axis_left_zero=y_axis_left_zero, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetLineNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetLineColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetLineNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetLineUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + y_axis_left_zero: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) if y_axis_left_zero is not None: - pulumi.set(__self__, "y_axis_left_zero", y_axis_left_zero) + _setter("y_axis_left_zero", y_axis_left_zero) @property @pulumi.getter @@ -6160,10 +7451,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetLineColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLineColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLineColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -6207,10 +7509,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetLineColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -6252,9 +7565,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetLineNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -6301,10 +7625,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetLineNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLineNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLineNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -6350,10 +7685,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetLineNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -6395,10 +7741,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetLineUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLineUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLineUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -6442,10 +7799,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLineUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -6523,32 +7891,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetLogTable._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetLogTableNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -6691,10 +8096,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetLogTableColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLogTableColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -6738,10 +8154,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetLogTableColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -6783,9 +8210,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetLogTableNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -6832,10 +8270,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetLogTableNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetLogTableNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -6881,10 +8330,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetLogTableNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -6926,10 +8386,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetLogTableUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLogTableUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetLogTableUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -6973,10 +8444,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetLogTableUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -7052,32 +8534,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetMarkdown._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + row=row, + text=text, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + row: int, + text: str, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("row", row) + _setter("text", text) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -7220,10 +8739,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetMarkdownColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetMarkdownColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -7267,10 +8797,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetMarkdownColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -7314,10 +8855,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetMarkdownNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetMarkdownNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -7363,10 +8915,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetMarkdownNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -7408,10 +8971,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetMarkdownUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetMarkdownUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetMarkdownUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -7455,10 +9029,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetMarkdownUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -7544,36 +9129,77 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetPy._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetPyNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetPyColor']] = None, + facet_show_other_series: Optional[bool] = None, + filter_current_dashboard: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + linked_entity_guids: Optional[Sequence[str]] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetPyNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetPyUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -7732,10 +9358,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetPyColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetPyColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetPyColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -7779,10 +9416,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetPyColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -7824,9 +9472,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetPyNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -7873,10 +9532,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetPyNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetPyNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetPyNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -7922,10 +9592,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetPyNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -7967,10 +9648,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetPyUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetPyUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetPyUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -8014,10 +9706,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetPyUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -8095,32 +9798,69 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetStackedBar._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetStackedBarNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarColor']] = None, + facet_show_other_series: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -8263,10 +10003,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetStackedBarColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetStackedBarColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -8310,10 +10061,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetStackedBarColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -8355,9 +10117,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetStackedBarNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -8404,10 +10177,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetStackedBarNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetStackedBarNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -8453,10 +10237,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetStackedBarNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -8498,10 +10293,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetStackedBarUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetStackedBarUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBarUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -8545,10 +10351,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetStackedBarUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -8634,36 +10451,77 @@ def __init__(__self__, *, :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. :param float y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "nrql_queries", nrql_queries) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) + OneDashboardPageWidgetTable._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + nrql_queries=nrql_queries, + row=row, + title=title, + colors=colors, + facet_show_other_series=facet_show_other_series, + filter_current_dashboard=filter_current_dashboard, + height=height, + id=id, + ignore_time_range=ignore_time_range, + legend_enabled=legend_enabled, + linked_entity_guids=linked_entity_guids, + null_values=null_values, + units=units, + width=width, + y_axis_left_max=y_axis_left_max, + y_axis_left_min=y_axis_left_min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + nrql_queries: Sequence['outputs.OneDashboardPageWidgetTableNrqlQuery'], + row: int, + title: str, + colors: Optional[Sequence['outputs.OneDashboardPageWidgetTableColor']] = None, + facet_show_other_series: Optional[bool] = None, + filter_current_dashboard: Optional[bool] = None, + height: Optional[int] = None, + id: Optional[str] = None, + ignore_time_range: Optional[bool] = None, + legend_enabled: Optional[bool] = None, + linked_entity_guids: Optional[Sequence[str]] = None, + null_values: Optional[Sequence['outputs.OneDashboardPageWidgetTableNullValue']] = None, + units: Optional[Sequence['outputs.OneDashboardPageWidgetTableUnit']] = None, + width: Optional[int] = None, + y_axis_left_max: Optional[float] = None, + y_axis_left_min: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("nrql_queries", nrql_queries) + _setter("row", row) + _setter("title", title) if colors is not None: - pulumi.set(__self__, "colors", colors) + _setter("colors", colors) if facet_show_other_series is not None: - pulumi.set(__self__, "facet_show_other_series", facet_show_other_series) + _setter("facet_show_other_series", facet_show_other_series) if filter_current_dashboard is not None: - pulumi.set(__self__, "filter_current_dashboard", filter_current_dashboard) + _setter("filter_current_dashboard", filter_current_dashboard) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ignore_time_range is not None: - pulumi.set(__self__, "ignore_time_range", ignore_time_range) + _setter("ignore_time_range", ignore_time_range) if legend_enabled is not None: - pulumi.set(__self__, "legend_enabled", legend_enabled) + _setter("legend_enabled", legend_enabled) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if null_values is not None: - pulumi.set(__self__, "null_values", null_values) + _setter("null_values", null_values) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) if y_axis_left_max is not None: - pulumi.set(__self__, "y_axis_left_max", y_axis_left_max) + _setter("y_axis_left_max", y_axis_left_max) if y_axis_left_min is not None: - pulumi.set(__self__, "y_axis_left_min", y_axis_left_min) + _setter("y_axis_left_min", y_axis_left_min) @property @pulumi.getter @@ -8822,10 +10680,21 @@ def __init__(__self__, *, :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. :param Sequence['OneDashboardPageWidgetTableColorSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetTableColor._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetTableColorSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter @@ -8869,10 +10738,21 @@ def __init__(__self__, *, """ :param str color: (Optional) Choose a color to customize the color of your charts per series in area, bar, line, pie, and stacked bar charts. Accepted values are RGB, HEX, or HSL code. """ + OneDashboardPageWidgetTableColorSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + color=color, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + color: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if color is not None: - pulumi.set(__self__, "color", color) + _setter("color", color) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter @@ -8914,9 +10794,20 @@ def __init__(__self__, *, :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. :param int account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. """ - pulumi.set(__self__, "query", query) + OneDashboardPageWidgetTableNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_id=account_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_id: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) @property @pulumi.getter @@ -8963,10 +10854,21 @@ def __init__(__self__, *, :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. :param Sequence['OneDashboardPageWidgetTableNullValueSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. """ + OneDashboardPageWidgetTableNullValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_overrides=series_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetTableNullValueSeriesOverride']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) @property @pulumi.getter(name="nullValue") @@ -9012,10 +10914,21 @@ def __init__(__self__, *, """ :param str null_value: Choose an option in displaying null values. Accepted values are `default`, `remove`, `preserve`, or `zero`. """ + OneDashboardPageWidgetTableNullValueSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + null_value=null_value, + series_name=series_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + null_value: Optional[str] = None, + series_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if null_value is not None: - pulumi.set(__self__, "null_value", null_value) + _setter("null_value", null_value) if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) @property @pulumi.getter(name="nullValue") @@ -9057,10 +10970,21 @@ def __init__(__self__, *, :param Sequence['OneDashboardPageWidgetTableUnitSeriesOverrideArgs'] series_overrides: (Optional) A Nested block which will take two string attributes `color` and `series_name`. This nested block is used to customize colors of individual. :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetTableUnit._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_overrides=series_overrides, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_overrides: Optional[Sequence['outputs.OneDashboardPageWidgetTableUnitSeriesOverride']] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_overrides is not None: - pulumi.set(__self__, "series_overrides", series_overrides) + _setter("series_overrides", series_overrides) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesOverrides") @@ -9104,10 +11028,21 @@ def __init__(__self__, *, """ :param str unit: (Optional) Choose a unit to customize the unit on your Y axis and in each of your series. """ + OneDashboardPageWidgetTableUnitSeriesOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + series_name=series_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + series_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if series_name is not None: - pulumi.set(__self__, "series_name", series_name) + _setter("series_name", series_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="seriesName") @@ -9136,13 +11071,28 @@ def __init__(__self__, *, :param str guid: The unique entity identifier of the dashboard page in New Relic. :param Sequence['OneDashboardRawPageWidgetArgs'] widgets: (Optional) A nested block that describes a widget. See Nested widget blocks below for details. """ - pulumi.set(__self__, "name", name) + OneDashboardRawPage._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + guid=guid, + widgets=widgets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + description: Optional[str] = None, + guid: Optional[str] = None, + widgets: Optional[Sequence['outputs.OneDashboardRawPageWidget']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if widgets is not None: - pulumi.set(__self__, "widgets", widgets) + _setter("widgets", widgets) @property @pulumi.getter @@ -9218,19 +11168,44 @@ def __init__(__self__, *, :param Sequence[str] linked_entity_guids: (Optional) Related entity GUIDs. :param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. """ - pulumi.set(__self__, "column", column) - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "row", row) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "visualization_id", visualization_id) + OneDashboardRawPageWidget._configure( + lambda key, value: pulumi.set(__self__, key, value), + column=column, + configuration=configuration, + row=row, + title=title, + visualization_id=visualization_id, + height=height, + id=id, + linked_entity_guids=linked_entity_guids, + width=width, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column: int, + configuration: str, + row: int, + title: str, + visualization_id: str, + height: Optional[int] = None, + id: Optional[str] = None, + linked_entity_guids: Optional[Sequence[str]] = None, + width: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column", column) + _setter("configuration", configuration) + _setter("row", row) + _setter("title", title) + _setter("visualization_id", visualization_id) if height is not None: - pulumi.set(__self__, "height", height) + _setter("height", height) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if linked_entity_guids is not None: - pulumi.set(__self__, "linked_entity_guids", linked_entity_guids) + _setter("linked_entity_guids", linked_entity_guids) if width is not None: - pulumi.set(__self__, "width", width) + _setter("width", width) @property @pulumi.getter @@ -9346,18 +11321,41 @@ def __init__(__self__, *, :param Sequence['OneDashboardVariableItemArgs'] items: (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details. :param 'OneDashboardVariableNrqlQueryArgs' nrql_query: (Optional) Configuration for variables of type `nrql`. See Nested nrql\\_query blocks for details. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "replacement_strategy", replacement_strategy) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "type", type) + OneDashboardVariable._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + replacement_strategy=replacement_strategy, + title=title, + type=type, + default_values=default_values, + is_multi_selection=is_multi_selection, + items=items, + nrql_query=nrql_query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + replacement_strategy: str, + title: str, + type: str, + default_values: Optional[Sequence[str]] = None, + is_multi_selection: Optional[bool] = None, + items: Optional[Sequence['outputs.OneDashboardVariableItem']] = None, + nrql_query: Optional['outputs.OneDashboardVariableNrqlQuery'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("replacement_strategy", replacement_strategy) + _setter("title", title) + _setter("type", type) if default_values is not None: - pulumi.set(__self__, "default_values", default_values) + _setter("default_values", default_values) if is_multi_selection is not None: - pulumi.set(__self__, "is_multi_selection", is_multi_selection) + _setter("is_multi_selection", is_multi_selection) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if nrql_query is not None: - pulumi.set(__self__, "nrql_query", nrql_query) + _setter("nrql_query", nrql_query) @property @pulumi.getter @@ -9433,9 +11431,20 @@ def __init__(__self__, *, :param str value: (Required) A possible variable value :param str title: (Optional) A human-friendly display string for this value. """ - pulumi.set(__self__, "value", value) + OneDashboardVariableItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + title: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) @property @pulumi.getter @@ -9479,9 +11488,20 @@ def __init__(__self__, *, """ :param str query: (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. """ - pulumi.set(__self__, "query", query) + OneDashboardVariableNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + account_ids=account_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + account_ids: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) + _setter("account_ids", account_ids) @property @pulumi.getter @@ -9534,12 +11554,27 @@ def __init__(__self__, *, :param 'ServiceLevelEventsBadEventsArgs' bad_events: The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty. :param 'ServiceLevelEventsGoodEventsArgs' good_events: The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty. """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "valid_events", valid_events) + ServiceLevelEvents._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + valid_events=valid_events, + bad_events=bad_events, + good_events=good_events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: int, + valid_events: 'outputs.ServiceLevelEventsValidEvents', + bad_events: Optional['outputs.ServiceLevelEventsBadEvents'] = None, + good_events: Optional['outputs.ServiceLevelEventsGoodEvents'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_id", account_id) + _setter("valid_events", valid_events) if bad_events is not None: - pulumi.set(__self__, "bad_events", bad_events) + _setter("bad_events", bad_events) if good_events is not None: - pulumi.set(__self__, "good_events", good_events) + _setter("good_events", good_events) @property @pulumi.getter(name="accountId") @@ -9601,15 +11636,27 @@ def __init__(__self__, *, """ :param str from_: The event type where NRDB data will be fetched from. :param 'ServiceLevelEventsBadEventsSelectArgs' select: The NRQL SELECT clause to aggregate events. - :param str where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param str where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsBadEvents._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + select: Optional['outputs.ServiceLevelEventsBadEventsSelect'] = None, + where: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9631,8 +11678,7 @@ def select(self) -> Optional['outputs.ServiceLevelEventsBadEventsSelect']: @pulumi.getter def where(self) -> Optional[str]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9649,11 +11695,24 @@ def __init__(__self__, *, :param str attribute: The event attribute to use in the SELECT clause. :param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsBadEventsSelect._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: str, + attribute: Optional[str] = None, + threshold: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9706,15 +11765,27 @@ def __init__(__self__, *, """ :param str from_: The event type where NRDB data will be fetched from. :param 'ServiceLevelEventsGoodEventsSelectArgs' select: The NRQL SELECT clause to aggregate events. - :param str where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param str where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsGoodEvents._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + select: Optional['outputs.ServiceLevelEventsGoodEventsSelect'] = None, + where: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9736,8 +11807,7 @@ def select(self) -> Optional['outputs.ServiceLevelEventsGoodEventsSelect']: @pulumi.getter def where(self) -> Optional[str]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9754,11 +11824,24 @@ def __init__(__self__, *, :param str attribute: The event attribute to use in the SELECT clause. :param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsGoodEventsSelect._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: str, + attribute: Optional[str] = None, + threshold: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9811,15 +11894,27 @@ def __init__(__self__, *, """ :param str from_: The event type where NRDB data will be fetched from. :param 'ServiceLevelEventsValidEventsSelectArgs' select: The NRQL SELECT clause to aggregate events. - :param str where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + :param str where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ - pulumi.set(__self__, "from_", from_) + ServiceLevelEventsValidEvents._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + select=select, + where=where, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + select: Optional['outputs.ServiceLevelEventsValidEventsSelect'] = None, + where: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) if select is not None: - pulumi.set(__self__, "select", select) + _setter("select", select) if where is not None: - pulumi.set(__self__, "where", where) + _setter("where", where) @property @pulumi.getter(name="from") @@ -9841,8 +11936,7 @@ def select(self) -> Optional['outputs.ServiceLevelEventsValidEventsSelect']: @pulumi.getter def where(self) -> Optional[str]: """ - A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). - a particular entity and were successful). + A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to a particular entity and returned an error). """ return pulumi.get(self, "where") @@ -9859,11 +11953,24 @@ def __init__(__self__, *, :param str attribute: The event attribute to use in the SELECT clause. :param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function. """ - pulumi.set(__self__, "function", function) + ServiceLevelEventsValidEventsSelect._configure( + lambda key, value: pulumi.set(__self__, key, value), + function=function, + attribute=attribute, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function: str, + attribute: Optional[str] = None, + threshold: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function", function) if attribute is not None: - pulumi.set(__self__, "attribute", attribute) + _setter("attribute", attribute) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -9920,12 +12027,27 @@ def __init__(__self__, *, :param str description: The description of the SLI. :param str name: A short name for the SLI that will help anyone understand what it is about. """ - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "time_window", time_window) + ServiceLevelObjective._configure( + lambda key, value: pulumi.set(__self__, key, value), + target=target, + time_window=time_window, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target: float, + time_window: 'outputs.ServiceLevelObjectiveTimeWindow', + description: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target", target) + _setter("time_window", time_window) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -9967,7 +12089,16 @@ def __init__(__self__, *, """ :param 'ServiceLevelObjectiveTimeWindowRollingArgs' rolling: Rolling window. """ - pulumi.set(__self__, "rolling", rolling) + ServiceLevelObjectiveTimeWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + rolling=rolling, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rolling: 'outputs.ServiceLevelObjectiveTimeWindowRolling', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rolling", rolling) @property @pulumi.getter @@ -9987,8 +12118,19 @@ def __init__(__self__, *, :param int count: Valid values are `1`, `7` and `28`. :param str unit: The only supported value is `DAY`. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "unit", unit) + ServiceLevelObjectiveTimeWindowRolling._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("unit", unit) @property @pulumi.getter @@ -10040,13 +12182,28 @@ def __init__(__self__, *, :param Sequence[str] notification_triggers: Issue events to notify on. The value is a list of possible issue events. See Notification Triggers below for details. :param str type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. """ - pulumi.set(__self__, "channel_id", channel_id) + WorkflowDestination._configure( + lambda key, value: pulumi.set(__self__, key, value), + channel_id=channel_id, + name=name, + notification_triggers=notification_triggers, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channel_id: str, + name: Optional[str] = None, + notification_triggers: Optional[Sequence[str]] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("channel_id", channel_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notification_triggers is not None: - pulumi.set(__self__, "notification_triggers", notification_triggers) + _setter("notification_triggers", notification_triggers) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="channelId") @@ -10089,7 +12246,16 @@ def __init__(__self__, *, """ :param Sequence['WorkflowEnrichmentsNrqlArgs'] nrqls: a wrapper block """ - pulumi.set(__self__, "nrqls", nrqls) + WorkflowEnrichments._configure( + lambda key, value: pulumi.set(__self__, key, value), + nrqls=nrqls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nrqls: Sequence['outputs.WorkflowEnrichmentsNrql'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nrqls", nrqls) @property @pulumi.getter @@ -10133,14 +12299,31 @@ def __init__(__self__, *, :param int account_id: Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section. :param str type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. """ - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) + WorkflowEnrichmentsNrql._configure( + lambda key, value: pulumi.set(__self__, key, value), + configurations=configurations, + name=name, + account_id=account_id, + enrichment_id=enrichment_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configurations: Sequence['outputs.WorkflowEnrichmentsNrqlConfiguration'], + name: str, + account_id: Optional[int] = None, + enrichment_id: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configurations", configurations) + _setter("name", name) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if enrichment_id is not None: - pulumi.set(__self__, "enrichment_id", enrichment_id) + _setter("enrichment_id", enrichment_id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -10187,7 +12370,16 @@ def __init__(__self__, *, """ :param str query: An NRQL query to run """ - pulumi.set(__self__, "query", query) + WorkflowEnrichmentsNrqlConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -10223,23 +12415,34 @@ def __init__(__self__, *, filter_id: Optional[str] = None, predicates: Optional[Sequence['outputs.WorkflowIssuesFilterPredicate']] = None): """ - :param str name: The name of the workflow. :param str type: Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future. :param Sequence['WorkflowIssuesFilterPredicateArgs'] predicates: A condition an issue event should satisfy to be processed by the workflow """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + WorkflowIssuesFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + filter_id=filter_id, + predicates=predicates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + type: str, + filter_id: Optional[str] = None, + predicates: Optional[Sequence['outputs.WorkflowIssuesFilterPredicate']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if filter_id is not None: - pulumi.set(__self__, "filter_id", filter_id) + _setter("filter_id", filter_id) if predicates is not None: - pulumi.set(__self__, "predicates", predicates) + _setter("predicates", predicates) @property @pulumi.getter def name(self) -> str: - """ - The name of the workflow. - """ return pulumi.get(self, "name") @property @@ -10275,9 +12478,22 @@ def __init__(__self__, *, :param str operator: An operator to use to compare the attribute with the provided `values`, see supported operators below :param Sequence[str] values: The `attribute` must match **any** of the values in this list """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "values", values) + WorkflowIssuesFilterPredicate._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + operator=operator, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + operator: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute", attribute) + _setter("operator", operator) + _setter("values", values) @property @pulumi.getter @@ -10327,46 +12543,93 @@ def __init__(__self__, *, teams: Optional[str] = None, url: Optional[str] = None, user_id: Optional[str] = None): + GetAlertChannelConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_key=api_key, + auth_password=auth_password, + auth_type=auth_type, + auth_username=auth_username, + base_url=base_url, + channel=channel, + headers=headers, + include_json_attachment=include_json_attachment, + key=key, + payload=payload, + payload_string=payload_string, + payload_type=payload_type, + recipients=recipients, + region=region, + route_key=route_key, + service_key=service_key, + tags=tags, + teams=teams, + url=url, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_key: Optional[str] = None, + auth_password: Optional[str] = None, + auth_type: Optional[str] = None, + auth_username: Optional[str] = None, + base_url: Optional[str] = None, + channel: Optional[str] = None, + headers: Optional[Mapping[str, str]] = None, + include_json_attachment: Optional[str] = None, + key: Optional[str] = None, + payload: Optional[Mapping[str, str]] = None, + payload_string: Optional[str] = None, + payload_type: Optional[str] = None, + recipients: Optional[str] = None, + region: Optional[str] = None, + route_key: Optional[str] = None, + service_key: Optional[str] = None, + tags: Optional[str] = None, + teams: Optional[str] = None, + url: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_key is not None: - pulumi.set(__self__, "api_key", api_key) + _setter("api_key", api_key) if auth_password is not None: - pulumi.set(__self__, "auth_password", auth_password) + _setter("auth_password", auth_password) if auth_type is not None: - pulumi.set(__self__, "auth_type", auth_type) + _setter("auth_type", auth_type) if auth_username is not None: - pulumi.set(__self__, "auth_username", auth_username) + _setter("auth_username", auth_username) if base_url is not None: - pulumi.set(__self__, "base_url", base_url) + _setter("base_url", base_url) if channel is not None: - pulumi.set(__self__, "channel", channel) + _setter("channel", channel) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if include_json_attachment is not None: - pulumi.set(__self__, "include_json_attachment", include_json_attachment) + _setter("include_json_attachment", include_json_attachment) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if payload is not None: - pulumi.set(__self__, "payload", payload) + _setter("payload", payload) if payload_string is not None: - pulumi.set(__self__, "payload_string", payload_string) + _setter("payload_string", payload_string) if payload_type is not None: - pulumi.set(__self__, "payload_type", payload_type) + _setter("payload_type", payload_type) if recipients is not None: - pulumi.set(__self__, "recipients", recipients) + _setter("recipients", recipients) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if route_key is not None: - pulumi.set(__self__, "route_key", route_key) + _setter("route_key", route_key) if service_key is not None: - pulumi.set(__self__, "service_key", service_key) + _setter("service_key", service_key) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if teams is not None: - pulumi.set(__self__, "teams", teams) + _setter("teams", teams) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="apiKey") @@ -10478,8 +12741,19 @@ def __init__(__self__, *, :param str key: The tag key. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetEntityTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -10505,12 +12779,27 @@ def __init__(__self__, *, value: str, display_value: Optional[str] = None, label: Optional[str] = None): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetNotificationDestinationPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + display_value=display_value, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + display_value: Optional[str] = None, + label: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if display_value is not None: - pulumi.set(__self__, "display_value", display_value) + _setter("display_value", display_value) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter @@ -10544,9 +12833,22 @@ def __init__(__self__, *, :param str log_line: The log line that was tested against. :param bool matched: Whether the Grok pattern matched. """ - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "log_line", log_line) - pulumi.set(__self__, "matched", matched) + GetTestGrokPatternTestGrokResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + log_line=log_line, + matched=matched, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: Sequence['outputs.GetTestGrokPatternTestGrokAttributeResult'], + log_line: str, + matched: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("log_line", log_line) + _setter("matched", matched) @property @pulumi.getter @@ -10582,8 +12884,19 @@ def __init__(__self__, *, :param str name: The attribute name. :param str value: A string representation of the extracted value (which might not be a String). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetTestGrokPatternTestGrokAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/plugins/_inputs.py b/sdk/python/pulumi_newrelic/plugins/_inputs.py index a0d7feea..3fffb391 100644 --- a/sdk/python/pulumi_newrelic/plugins/_inputs.py +++ b/sdk/python/pulumi_newrelic/plugins/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,7 +27,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] query: The query. """ - pulumi.set(__self__, "query", query) + WorkloadEntitySearchQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -49,21 +58,34 @@ def __init__(__self__, *, remaining_entities_rule: Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]] = None): """ - :param pulumi.Input[bool] enabled: Whether the automatic status configuration is enabled or not. + :param pulumi.Input[bool] enabled: Whether the static status configuration is enabled or not. :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs'] remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details. :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]] rules: The input object used to represent a rollup strategy. See Nested rule blocks below for details. """ - pulumi.set(__self__, "enabled", enabled) + WorkloadStatusConfigAutomaticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + remaining_entities_rule=remaining_entities_rule, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + remaining_entities_rule: Optional[pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs']] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) if remaining_entities_rule is not None: - pulumi.set(__self__, "remaining_entities_rule", remaining_entities_rule) + _setter("remaining_entities_rule", remaining_entities_rule) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter def enabled(self) -> pulumi.Input[bool]: """ - Whether the automatic status configuration is enabled or not. + Whether the static status configuration is enabled or not. """ return pulumi.get(self, "enabled") @@ -103,7 +125,16 @@ def __init__(__self__, *, """ :param pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'] remaining_entities_rule_rollup: The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details. """ - pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup) + WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + remaining_entities_rule_rollup=remaining_entities_rule_rollup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + remaining_entities_rule_rollup: pulumi.Input['WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("remaining_entities_rule_rollup", remaining_entities_rule_rollup) @property @pulumi.getter(name="remainingEntitiesRuleRollup") @@ -131,12 +162,27 @@ def __init__(__self__, *, :param pulumi.Input[str] threshold_type: Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational. :param pulumi.Input[int] threshold_value: Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored. """ - pulumi.set(__self__, "group_by", group_by) - pulumi.set(__self__, "strategy", strategy) + WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_by=group_by, + strategy=strategy, + threshold_type=threshold_type, + threshold_value=threshold_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_by: pulumi.Input[str], + strategy: pulumi.Input[str], + threshold_type: Optional[pulumi.Input[str]] = None, + threshold_value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_by", group_by) + _setter("strategy", strategy) if threshold_type is not None: - pulumi.set(__self__, "threshold_type", threshold_type) + _setter("threshold_type", threshold_type) if threshold_value is not None: - pulumi.set(__self__, "threshold_value", threshold_value) + _setter("threshold_value", threshold_value) @property @pulumi.getter(name="groupBy") @@ -198,11 +244,24 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined. :param pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined. """ - pulumi.set(__self__, "rollup", rollup) + WorkloadStatusConfigAutomaticRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rollup=rollup, + entity_guids=entity_guids, + nrql_queries=nrql_queries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rollup: pulumi.Input['WorkloadStatusConfigAutomaticRuleRollupArgs'], + entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + nrql_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rollup", rollup) if entity_guids is not None: - pulumi.set(__self__, "entity_guids", entity_guids) + _setter("entity_guids", entity_guids) if nrql_queries is not None: - pulumi.set(__self__, "nrql_queries", nrql_queries) + _setter("nrql_queries", nrql_queries) @property @pulumi.getter @@ -248,7 +307,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] query: The entity search query that is used to perform the search of a group of entities. """ - pulumi.set(__self__, "query", query) + WorkloadStatusConfigAutomaticRuleNrqlQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -274,11 +342,24 @@ def __init__(__self__, *, :param pulumi.Input[str] threshold_type: Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational. :param pulumi.Input[int] threshold_value: Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored. """ - pulumi.set(__self__, "strategy", strategy) + WorkloadStatusConfigAutomaticRuleRollupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy=strategy, + threshold_type=threshold_type, + threshold_value=threshold_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy: pulumi.Input[str], + threshold_type: Optional[pulumi.Input[str]] = None, + threshold_value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy", strategy) if threshold_type is not None: - pulumi.set(__self__, "threshold_type", threshold_type) + _setter("threshold_type", threshold_type) if threshold_value is not None: - pulumi.set(__self__, "threshold_value", threshold_value) + _setter("threshold_value", threshold_value) @property @pulumi.getter @@ -325,23 +406,38 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, summary: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[bool] enabled: Whether the automatic status configuration is enabled or not. + :param pulumi.Input[bool] enabled: Whether the static status configuration is enabled or not. :param pulumi.Input[str] status: The status of the workload. :param pulumi.Input[str] description: Relevant information about the workload. :param pulumi.Input[str] summary: A short description of the status of the workload. """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "status", status) + WorkloadStatusConfigStaticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + status=status, + description=description, + summary=summary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + status: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + summary: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) + _setter("status", status) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if summary is not None: - pulumi.set(__self__, "summary", summary) + _setter("summary", summary) @property @pulumi.getter def enabled(self) -> pulumi.Input[bool]: """ - Whether the automatic status configuration is enabled or not. + Whether the static status configuration is enabled or not. """ return pulumi.get(self, "enabled") diff --git a/sdk/python/pulumi_newrelic/plugins/application_settings.py b/sdk/python/pulumi_newrelic/plugins/application_settings.py index 2413b6a0..5475e24b 100644 --- a/sdk/python/pulumi_newrelic/plugins/application_settings.py +++ b/sdk/python/pulumi_newrelic/plugins/application_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ApplicationSettingsArgs', 'ApplicationSettings'] @@ -29,11 +29,26 @@ def __init__(__self__, *, :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application. :param pulumi.Input[str] name: The name of the application in New Relic APM. """ - pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold) - pulumi.set(__self__, "enable_real_user_monitoring", enable_real_user_monitoring) - pulumi.set(__self__, "end_user_apdex_threshold", end_user_apdex_threshold) + ApplicationSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_apdex_threshold=app_apdex_threshold, + enable_real_user_monitoring=enable_real_user_monitoring, + end_user_apdex_threshold=end_user_apdex_threshold, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_apdex_threshold: pulumi.Input[float], + enable_real_user_monitoring: pulumi.Input[bool], + end_user_apdex_threshold: pulumi.Input[float], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_apdex_threshold", app_apdex_threshold) + _setter("enable_real_user_monitoring", enable_real_user_monitoring) + _setter("end_user_apdex_threshold", end_user_apdex_threshold) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="appApdexThreshold") @@ -106,14 +121,29 @@ def __init__(__self__, *, :param pulumi.Input[float] end_user_apdex_threshold: The user's apdex threshold for the New Relic application. :param pulumi.Input[str] name: The name of the application in New Relic APM. """ + _ApplicationSettingsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_apdex_threshold=app_apdex_threshold, + enable_real_user_monitoring=enable_real_user_monitoring, + end_user_apdex_threshold=end_user_apdex_threshold, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_apdex_threshold: Optional[pulumi.Input[float]] = None, + enable_real_user_monitoring: Optional[pulumi.Input[bool]] = None, + end_user_apdex_threshold: Optional[pulumi.Input[float]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_apdex_threshold is not None: - pulumi.set(__self__, "app_apdex_threshold", app_apdex_threshold) + _setter("app_apdex_threshold", app_apdex_threshold) if enable_real_user_monitoring is not None: - pulumi.set(__self__, "enable_real_user_monitoring", enable_real_user_monitoring) + _setter("enable_real_user_monitoring", enable_real_user_monitoring) if end_user_apdex_threshold is not None: - pulumi.set(__self__, "end_user_apdex_threshold", end_user_apdex_threshold) + _setter("end_user_apdex_threshold", end_user_apdex_threshold) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="appApdexThreshold") @@ -267,6 +297,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationSettingsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/plugins/outputs.py b/sdk/python/pulumi_newrelic/plugins/outputs.py index e8d2a9e3..9f2827f9 100644 --- a/sdk/python/pulumi_newrelic/plugins/outputs.py +++ b/sdk/python/pulumi_newrelic/plugins/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -28,7 +28,16 @@ def __init__(__self__, *, """ :param str query: The query. """ - pulumi.set(__self__, "query", query) + WorkloadEntitySearchQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -63,21 +72,34 @@ def __init__(__self__, *, remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None, rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None): """ - :param bool enabled: Whether the automatic status configuration is enabled or not. + :param bool enabled: Whether the static status configuration is enabled or not. :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleArgs' remaining_entities_rule: An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remaining_entities_rule blocks below for details. :param Sequence['WorkloadStatusConfigAutomaticRuleArgs'] rules: The input object used to represent a rollup strategy. See Nested rule blocks below for details. """ - pulumi.set(__self__, "enabled", enabled) + WorkloadStatusConfigAutomatic._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + remaining_entities_rule=remaining_entities_rule, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + remaining_entities_rule: Optional['outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRule'] = None, + rules: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) if remaining_entities_rule is not None: - pulumi.set(__self__, "remaining_entities_rule", remaining_entities_rule) + _setter("remaining_entities_rule", remaining_entities_rule) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter def enabled(self) -> bool: """ - Whether the automatic status configuration is enabled or not. + Whether the static status configuration is enabled or not. """ return pulumi.get(self, "enabled") @@ -122,7 +144,16 @@ def __init__(__self__, *, """ :param 'WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollupArgs' remaining_entities_rule_rollup: The input object used to represent a rollup strategy. See Nested remaining_entities_rule_rollup blocks below for details. """ - pulumi.set(__self__, "remaining_entities_rule_rollup", remaining_entities_rule_rollup) + WorkloadStatusConfigAutomaticRemainingEntitiesRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + remaining_entities_rule_rollup=remaining_entities_rule_rollup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + remaining_entities_rule_rollup: 'outputs.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("remaining_entities_rule_rollup", remaining_entities_rule_rollup) @property @pulumi.getter(name="remainingEntitiesRuleRollup") @@ -167,12 +198,27 @@ def __init__(__self__, *, :param str threshold_type: Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational. :param int threshold_value: Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored. """ - pulumi.set(__self__, "group_by", group_by) - pulumi.set(__self__, "strategy", strategy) + WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_by=group_by, + strategy=strategy, + threshold_type=threshold_type, + threshold_value=threshold_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_by: str, + strategy: str, + threshold_type: Optional[str] = None, + threshold_value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_by", group_by) + _setter("strategy", strategy) if threshold_type is not None: - pulumi.set(__self__, "threshold_type", threshold_type) + _setter("threshold_type", threshold_type) if threshold_value is not None: - pulumi.set(__self__, "threshold_value", threshold_value) + _setter("threshold_value", threshold_value) @property @pulumi.getter(name="groupBy") @@ -237,11 +283,24 @@ def __init__(__self__, *, :param Sequence[str] entity_guids: A list of entity GUIDs composing the rule. At least one of `entity_guids` or `nrql_query` must be defined. :param Sequence['WorkloadStatusConfigAutomaticRuleNrqlQueryArgs'] nrql_queries: A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrql_query blocks below for details. At least one of `entity_guids` or `nrql_query` must be defined. """ - pulumi.set(__self__, "rollup", rollup) + WorkloadStatusConfigAutomaticRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + rollup=rollup, + entity_guids=entity_guids, + nrql_queries=nrql_queries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rollup: 'outputs.WorkloadStatusConfigAutomaticRuleRollup', + entity_guids: Optional[Sequence[str]] = None, + nrql_queries: Optional[Sequence['outputs.WorkloadStatusConfigAutomaticRuleNrqlQuery']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rollup", rollup) if entity_guids is not None: - pulumi.set(__self__, "entity_guids", entity_guids) + _setter("entity_guids", entity_guids) if nrql_queries is not None: - pulumi.set(__self__, "nrql_queries", nrql_queries) + _setter("nrql_queries", nrql_queries) @property @pulumi.getter @@ -275,7 +334,16 @@ def __init__(__self__, *, """ :param str query: The entity search query that is used to perform the search of a group of entities. """ - pulumi.set(__self__, "query", query) + WorkloadStatusConfigAutomaticRuleNrqlQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query", query) @property @pulumi.getter @@ -316,11 +384,24 @@ def __init__(__self__, *, :param str threshold_type: Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational. :param int threshold_value: Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored. """ - pulumi.set(__self__, "strategy", strategy) + WorkloadStatusConfigAutomaticRuleRollup._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy=strategy, + threshold_type=threshold_type, + threshold_value=threshold_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy: str, + threshold_type: Optional[str] = None, + threshold_value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy", strategy) if threshold_type is not None: - pulumi.set(__self__, "threshold_type", threshold_type) + _setter("threshold_type", threshold_type) if threshold_value is not None: - pulumi.set(__self__, "threshold_value", threshold_value) + _setter("threshold_value", threshold_value) @property @pulumi.getter @@ -355,23 +436,38 @@ def __init__(__self__, *, description: Optional[str] = None, summary: Optional[str] = None): """ - :param bool enabled: Whether the automatic status configuration is enabled or not. + :param bool enabled: Whether the static status configuration is enabled or not. :param str status: The status of the workload. :param str description: Relevant information about the workload. :param str summary: A short description of the status of the workload. """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "status", status) + WorkloadStatusConfigStatic._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + status=status, + description=description, + summary=summary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + status: str, + description: Optional[str] = None, + summary: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) + _setter("status", status) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if summary is not None: - pulumi.set(__self__, "summary", summary) + _setter("summary", summary) @property @pulumi.getter def enabled(self) -> bool: """ - Whether the automatic status configuration is enabled or not. + Whether the static status configuration is enabled or not. """ return pulumi.get(self, "enabled") diff --git a/sdk/python/pulumi_newrelic/plugins/workload.py b/sdk/python/pulumi_newrelic/plugins/workload.py index 51343223..7d1a5d5e 100644 --- a/sdk/python/pulumi_newrelic/plugins/workload.py +++ b/sdk/python/pulumi_newrelic/plugins/workload.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,22 +35,45 @@ def __init__(__self__, *, :param pulumi.Input['WorkloadStatusConfigAutomaticArgs'] status_config_automatic: An input object used to represent an automatic status configuration.See Nested status_config_automatic blocks below for details. :param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details. """ + WorkloadArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + entity_guids=entity_guids, + entity_search_queries=entity_search_queries, + name=name, + scope_account_ids=scope_account_ids, + status_config_automatic=status_config_automatic, + status_config_static=status_config_static, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + status_config_automatic: Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']] = None, + status_config_static: Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entity_guids is not None: - pulumi.set(__self__, "entity_guids", entity_guids) + _setter("entity_guids", entity_guids) if entity_search_queries is not None: - pulumi.set(__self__, "entity_search_queries", entity_search_queries) + _setter("entity_search_queries", entity_search_queries) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scope_account_ids is not None: - pulumi.set(__self__, "scope_account_ids", scope_account_ids) + _setter("scope_account_ids", scope_account_ids) if status_config_automatic is not None: - pulumi.set(__self__, "status_config_automatic", status_config_automatic) + _setter("status_config_automatic", status_config_automatic) if status_config_static is not None: - pulumi.set(__self__, "status_config_static", status_config_static) + _setter("status_config_static", status_config_static) @property @pulumi.getter(name="accountId") @@ -179,30 +202,61 @@ def __init__(__self__, *, :param pulumi.Input['WorkloadStatusConfigStaticArgs'] status_config_static: A list of static status configurations. You can only configure one static status for a workload.See Nested status_config_static blocks below for details. :param pulumi.Input[int] workload_id: The unique entity identifier of the workload. """ + _WorkloadState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + composite_entity_search_query=composite_entity_search_query, + description=description, + entity_guids=entity_guids, + entity_search_queries=entity_search_queries, + guid=guid, + name=name, + permalink=permalink, + scope_account_ids=scope_account_ids, + status_config_automatic=status_config_automatic, + status_config_static=status_config_static, + workload_id=workload_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + composite_entity_search_query: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + entity_search_queries: Optional[pulumi.Input[Sequence[pulumi.Input['WorkloadEntitySearchQueryArgs']]]] = None, + guid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + permalink: Optional[pulumi.Input[str]] = None, + scope_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + status_config_automatic: Optional[pulumi.Input['WorkloadStatusConfigAutomaticArgs']] = None, + status_config_static: Optional[pulumi.Input['WorkloadStatusConfigStaticArgs']] = None, + workload_id: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if composite_entity_search_query is not None: - pulumi.set(__self__, "composite_entity_search_query", composite_entity_search_query) + _setter("composite_entity_search_query", composite_entity_search_query) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entity_guids is not None: - pulumi.set(__self__, "entity_guids", entity_guids) + _setter("entity_guids", entity_guids) if entity_search_queries is not None: - pulumi.set(__self__, "entity_search_queries", entity_search_queries) + _setter("entity_search_queries", entity_search_queries) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if permalink is not None: - pulumi.set(__self__, "permalink", permalink) + _setter("permalink", permalink) if scope_account_ids is not None: - pulumi.set(__self__, "scope_account_ids", scope_account_ids) + _setter("scope_account_ids", scope_account_ids) if status_config_automatic is not None: - pulumi.set(__self__, "status_config_automatic", status_config_automatic) + _setter("status_config_automatic", status_config_automatic) if status_config_static is not None: - pulumi.set(__self__, "status_config_static", status_config_static) + _setter("status_config_static", status_config_static) if workload_id is not None: - pulumi.set(__self__, "workload_id", workload_id) + _setter("workload_id", workload_id) @property @pulumi.getter(name="accountId") @@ -424,6 +478,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkloadArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -452,7 +510,17 @@ def _internal_init(__self__, __props__.__dict__["entity_search_queries"] = entity_search_queries __props__.__dict__["name"] = name __props__.__dict__["scope_account_ids"] = scope_account_ids + if status_config_automatic is not None and not isinstance(status_config_automatic, WorkloadStatusConfigAutomaticArgs): + status_config_automatic = status_config_automatic or {} + def _setter(key, value): + status_config_automatic[key] = value + WorkloadStatusConfigAutomaticArgs._configure(_setter, **status_config_automatic) __props__.__dict__["status_config_automatic"] = status_config_automatic + if status_config_static is not None and not isinstance(status_config_static, WorkloadStatusConfigStaticArgs): + status_config_static = status_config_static or {} + def _setter(key, value): + status_config_static[key] = value + WorkloadStatusConfigStaticArgs._configure(_setter, **status_config_static) __props__.__dict__["status_config_static"] = status_config_static __props__.__dict__["composite_entity_search_query"] = None __props__.__dict__["guid"] = None diff --git a/sdk/python/pulumi_newrelic/provider.py b/sdk/python/pulumi_newrelic/provider.py index b7b21be0..1868a0a7 100644 --- a/sdk/python/pulumi_newrelic/provider.py +++ b/sdk/python/pulumi_newrelic/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -31,47 +31,80 @@ def __init__(__self__, *, The set of arguments for constructing a Provider resource. :param pulumi.Input[str] region: The data center for which your New Relic account is configured. Only one region per provider block is permitted. """ - pulumi.set(__self__, "api_key", api_key) + ProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_key=api_key, + account_id=account_id, + admin_api_key=admin_api_key, + api_url=api_url, + cacert_file=cacert_file, + infrastructure_api_url=infrastructure_api_url, + insecure_skip_verify=insecure_skip_verify, + insights_insert_key=insights_insert_key, + insights_insert_url=insights_insert_url, + insights_query_url=insights_query_url, + nerdgraph_api_url=nerdgraph_api_url, + region=region, + synthetics_api_url=synthetics_api_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_key: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + admin_api_key: Optional[pulumi.Input[str]] = None, + api_url: Optional[pulumi.Input[str]] = None, + cacert_file: Optional[pulumi.Input[str]] = None, + infrastructure_api_url: Optional[pulumi.Input[str]] = None, + insecure_skip_verify: Optional[pulumi.Input[bool]] = None, + insights_insert_key: Optional[pulumi.Input[str]] = None, + insights_insert_url: Optional[pulumi.Input[str]] = None, + insights_query_url: Optional[pulumi.Input[str]] = None, + nerdgraph_api_url: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + synthetics_api_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_key", api_key) if account_id is None: account_id = _utilities.get_env_int('NEW_RELIC_ACCOUNT_ID') if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if admin_api_key is not None: - pulumi.set(__self__, "admin_api_key", admin_api_key) + _setter("admin_api_key", admin_api_key) if api_url is not None: warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) pulumi.log.warn("""api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") if api_url is not None: - pulumi.set(__self__, "api_url", api_url) + _setter("api_url", api_url) if cacert_file is not None: - pulumi.set(__self__, "cacert_file", cacert_file) + _setter("cacert_file", cacert_file) if infrastructure_api_url is not None: warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) pulumi.log.warn("""infrastructure_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") if infrastructure_api_url is not None: - pulumi.set(__self__, "infrastructure_api_url", infrastructure_api_url) + _setter("infrastructure_api_url", infrastructure_api_url) if insecure_skip_verify is not None: - pulumi.set(__self__, "insecure_skip_verify", insecure_skip_verify) + _setter("insecure_skip_verify", insecure_skip_verify) if insights_insert_key is not None: - pulumi.set(__self__, "insights_insert_key", insights_insert_key) + _setter("insights_insert_key", insights_insert_key) if insights_insert_url is not None: - pulumi.set(__self__, "insights_insert_url", insights_insert_url) + _setter("insights_insert_url", insights_insert_url) if insights_query_url is not None: - pulumi.set(__self__, "insights_query_url", insights_query_url) + _setter("insights_query_url", insights_query_url) if nerdgraph_api_url is not None: warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) pulumi.log.warn("""nerdgraph_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") if nerdgraph_api_url is not None: - pulumi.set(__self__, "nerdgraph_api_url", nerdgraph_api_url) + _setter("nerdgraph_api_url", nerdgraph_api_url) if region is None: region = (_utilities.get_env('NEW_RELIC_REGION') or 'US') if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if synthetics_api_url is not None: warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) pulumi.log.warn("""synthetics_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") if synthetics_api_url is not None: - pulumi.set(__self__, "synthetics_api_url", synthetics_api_url) + _setter("synthetics_api_url", synthetics_api_url) @property @pulumi.getter(name="apiKey") @@ -257,6 +290,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -291,29 +328,17 @@ def _internal_init(__self__, if api_key is None and not opts.urn: raise TypeError("Missing required property 'api_key'") __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key) - if api_url is not None and not opts.urn: - warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) - pulumi.log.warn("""api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") __props__.__dict__["api_url"] = api_url __props__.__dict__["cacert_file"] = cacert_file - if infrastructure_api_url is not None and not opts.urn: - warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) - pulumi.log.warn("""infrastructure_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") __props__.__dict__["infrastructure_api_url"] = infrastructure_api_url __props__.__dict__["insecure_skip_verify"] = pulumi.Output.from_input(insecure_skip_verify).apply(pulumi.runtime.to_json) if insecure_skip_verify is not None else None __props__.__dict__["insights_insert_key"] = None if insights_insert_key is None else pulumi.Output.secret(insights_insert_key) __props__.__dict__["insights_insert_url"] = insights_insert_url __props__.__dict__["insights_query_url"] = insights_query_url - if nerdgraph_api_url is not None and not opts.urn: - warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) - pulumi.log.warn("""nerdgraph_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") __props__.__dict__["nerdgraph_api_url"] = nerdgraph_api_url if region is None: region = (_utilities.get_env('NEW_RELIC_REGION') or 'US') __props__.__dict__["region"] = region - if synthetics_api_url is not None and not opts.urn: - warnings.warn("""New Relic internal use only. API URLs are now configured based on the configured region.""", DeprecationWarning) - pulumi.log.warn("""synthetics_api_url is deprecated: New Relic internal use only. API URLs are now configured based on the configured region.""") __props__.__dict__["synthetics_api_url"] = synthetics_api_url secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["adminApiKey", "apiKey", "insightsInsertKey"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) diff --git a/sdk/python/pulumi_newrelic/service_level.py b/sdk/python/pulumi_newrelic/service_level.py index 04c2a4fc..34247cc7 100644 --- a/sdk/python/pulumi_newrelic/service_level.py +++ b/sdk/python/pulumi_newrelic/service_level.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -31,13 +31,30 @@ def __init__(__self__, *, :param pulumi.Input[str] description: The description of the SLI. :param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about. """ - pulumi.set(__self__, "events", events) - pulumi.set(__self__, "guid", guid) - pulumi.set(__self__, "objective", objective) + ServiceLevelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + guid=guid, + objective=objective, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: pulumi.Input['ServiceLevelEventsArgs'], + guid: pulumi.Input[str], + objective: pulumi.Input['ServiceLevelObjectiveArgs'], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) + _setter("guid", guid) + _setter("objective", objective) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -124,20 +141,41 @@ def __init__(__self__, *, :param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic. :param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator. """ + _ServiceLevelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + events=events, + guid=guid, + name=name, + objective=objective, + sli_guid=sli_guid, + sli_id=sli_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input['ServiceLevelEventsArgs']] = None, + guid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input['ServiceLevelObjectiveArgs']] = None, + sli_guid: Optional[pulumi.Input[str]] = None, + sli_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if sli_guid is not None: - pulumi.set(__self__, "sli_guid", sli_guid) + _setter("sli_guid", sli_guid) if sli_id is not None: - pulumi.set(__self__, "sli_id", sli_id) + _setter("sli_id", sli_id) @property @pulumi.getter @@ -545,6 +583,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ServiceLevelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -565,6 +607,11 @@ def _internal_init(__self__, __props__ = ServiceLevelArgs.__new__(ServiceLevelArgs) __props__.__dict__["description"] = description + if events is not None and not isinstance(events, ServiceLevelEventsArgs): + events = events or {} + def _setter(key, value): + events[key] = value + ServiceLevelEventsArgs._configure(_setter, **events) if events is None and not opts.urn: raise TypeError("Missing required property 'events'") __props__.__dict__["events"] = events @@ -572,6 +619,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'guid'") __props__.__dict__["guid"] = guid __props__.__dict__["name"] = name + if objective is not None and not isinstance(objective, ServiceLevelObjectiveArgs): + objective = objective or {} + def _setter(key, value): + objective[key] = value + ServiceLevelObjectiveArgs._configure(_setter, **objective) if objective is None and not opts.urn: raise TypeError("Missing required property 'objective'") __props__.__dict__["objective"] = objective diff --git a/sdk/python/pulumi_newrelic/synthetics/_inputs.py b/sdk/python/pulumi_newrelic/synthetics/_inputs.py index f444ea43..4651ba42 100644 --- a/sdk/python/pulumi_newrelic/synthetics/_inputs.py +++ b/sdk/python/pulumi_newrelic/synthetics/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,8 +32,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Name of the tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + BrokenLinksMonitorTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -69,8 +80,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Name of the tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + CertCheckMonitorTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -106,10 +128,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Header name. :param pulumi.Input[str] value: Header Value. """ + MonitorCustomHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -145,8 +178,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Name of the tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + MonitorTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -177,7 +221,16 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): class MultiLocationAlertConditionCriticalArgs: def __init__(__self__, *, threshold: pulumi.Input[int]): - pulumi.set(__self__, "threshold", threshold) + MultiLocationAlertConditionCriticalArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) @property @pulumi.getter @@ -193,7 +246,16 @@ def threshold(self, value: pulumi.Input[int]): class MultiLocationAlertConditionWarningArgs: def __init__(__self__, *, threshold: pulumi.Input[int]): - pulumi.set(__self__, "threshold", threshold) + MultiLocationAlertConditionWarningArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) @property @pulumi.getter @@ -214,9 +276,20 @@ def __init__(__self__, *, :param pulumi.Input[str] guid: The unique identifier for the Synthetics private location in New Relic. :param pulumi.Input[str] vse_password: The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location. """ - pulumi.set(__self__, "guid", guid) + ScriptMonitorLocationPrivateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + vse_password=vse_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: pulumi.Input[str], + vse_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("guid", guid) if vse_password is not None: - pulumi.set(__self__, "vse_password", vse_password) + _setter("vse_password", vse_password) @property @pulumi.getter @@ -252,8 +325,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Name of the tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + ScriptMonitorTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -289,9 +373,20 @@ def __init__(__self__, *, :param pulumi.Input[str] guid: The unique identifier for the Synthetics private location in New Relic. :param pulumi.Input[str] vse_password: The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location. """ - pulumi.set(__self__, "guid", guid) + StepMonitorLocationPrivateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + vse_password=vse_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: pulumi.Input[str], + vse_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("guid", guid) if vse_password is not None: - pulumi.set(__self__, "vse_password", vse_password) + _setter("vse_password", vse_password) @property @pulumi.getter @@ -329,10 +424,23 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: The metadata values related to the step. """ - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "type", type) + StepMonitorStepArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ordinal=ordinal, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ordinal: pulumi.Input[int], + type: pulumi.Input[str], + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ordinal", ordinal) + _setter("type", type) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -380,8 +488,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Name of the tag key. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + StepMonitorTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/synthetics/alert_condition.py b/sdk/python/pulumi_newrelic/synthetics/alert_condition.py index 65d0d77e..bc15ab94 100644 --- a/sdk/python/pulumi_newrelic/synthetics/alert_condition.py +++ b/sdk/python/pulumi_newrelic/synthetics/alert_condition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AlertConditionArgs', 'AlertCondition'] @@ -31,14 +31,31 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The title of this condition. :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications. """ - pulumi.set(__self__, "monitor_id", monitor_id) - pulumi.set(__self__, "policy_id", policy_id) + AlertConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + monitor_id=monitor_id, + policy_id=policy_id, + enabled=enabled, + name=name, + runbook_url=runbook_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + monitor_id: pulumi.Input[str], + policy_id: pulumi.Input[int], + enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("monitor_id", monitor_id) + _setter("policy_id", policy_id) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) @property @pulumi.getter(name="monitorId") @@ -127,18 +144,37 @@ def __init__(__self__, *, :param pulumi.Input[int] policy_id: The ID of the policy where this condition should be used. :param pulumi.Input[str] runbook_url: Runbook URL to display in notifications. """ + _AlertConditionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + entity_guid=entity_guid, + monitor_id=monitor_id, + name=name, + policy_id=policy_id, + runbook_url=runbook_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: Optional[pulumi.Input[bool]] = None, + entity_guid: Optional[pulumi.Input[str]] = None, + monitor_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if entity_guid is not None: - pulumi.set(__self__, "entity_guid", entity_guid) + _setter("entity_guid", entity_guid) if monitor_id is not None: - pulumi.set(__self__, "monitor_id", monitor_id) + _setter("monitor_id", monitor_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) @property @pulumi.getter @@ -400,6 +436,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertConditionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/synthetics/broken_links_monitor.py b/sdk/python/pulumi_newrelic/synthetics/broken_links_monitor.py index a1047ec5..a98aea66 100644 --- a/sdk/python/pulumi_newrelic/synthetics/broken_links_monitor.py +++ b/sdk/python/pulumi_newrelic/synthetics/broken_links_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,7 +27,9 @@ def __init__(__self__, *, """ The set of arguments for constructing a BrokenLinksMonitor resource. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[str] uri: The URI the monitor runs against. :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created. :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required. @@ -35,19 +37,42 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details """ - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "uri", uri) + BrokenLinksMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + period=period, + status=status, + uri=uri, + account_id=account_id, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period: pulumi.Input[str], + status: pulumi.Input[str], + uri: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period", period) + _setter("status", status) + _setter("uri", uri) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -65,7 +90,9 @@ def period(self, value: pulumi.Input[str]): @pulumi.getter def status(self) -> pulumi.Input[str]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -168,30 +195,59 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details :param pulumi.Input[str] uri: The URI the monitor runs against. """ + _BrokenLinksMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + guid=guid, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + period=period, + period_in_minutes=period_in_minutes, + status=status, + tags=tags, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + guid: Optional[pulumi.Input[str]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + period_in_minutes: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['BrokenLinksMonitorTagArgs']]]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if period_in_minutes is not None: - pulumi.set(__self__, "period_in_minutes", period_in_minutes) + _setter("period_in_minutes", period_in_minutes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter(name="accountId") @@ -281,7 +337,9 @@ def period_in_minutes(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -389,7 +447,9 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required. :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details :param pulumi.Input[str] uri: The URI the monitor runs against. """ @@ -463,6 +523,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BrokenLinksMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -535,7 +599,9 @@ def get(resource_name: str, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BrokenLinksMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details :param pulumi.Input[str] uri: The URI the monitor runs against. """ @@ -615,7 +681,9 @@ def period_in_minutes(self) -> pulumi.Output[int]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") diff --git a/sdk/python/pulumi_newrelic/synthetics/cert_check_monitor.py b/sdk/python/pulumi_newrelic/synthetics/cert_check_monitor.py index 8c15cc8d..e6343fab 100644 --- a/sdk/python/pulumi_newrelic/synthetics/cert_check_monitor.py +++ b/sdk/python/pulumi_newrelic/synthetics/cert_check_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -30,27 +30,54 @@ def __init__(__self__, *, :param pulumi.Input[int] certificate_expiration: The desired number of remaining days until the certificate expires to trigger a monitor failure. :param pulumi.Input[str] domain: The domain of the host that will have its certificate checked. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created. :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_privates: The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locations_public` or `locations_private` is required. :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required. :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details """ - pulumi.set(__self__, "certificate_expiration", certificate_expiration) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "status", status) + CertCheckMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_expiration=certificate_expiration, + domain=domain, + period=period, + status=status, + account_id=account_id, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_expiration: pulumi.Input[int], + domain: pulumi.Input[str], + period: pulumi.Input[str], + status: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_expiration", certificate_expiration) + _setter("domain", domain) + _setter("period", period) + _setter("status", status) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="certificateExpiration") @@ -92,7 +119,9 @@ def period(self, value: pulumi.Input[str]): @pulumi.getter def status(self) -> pulumi.Input[str]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -184,29 +213,58 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details """ + _CertCheckMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + certificate_expiration=certificate_expiration, + domain=domain, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + period=period, + period_in_minutes=period_in_minutes, + status=status, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + certificate_expiration: Optional[pulumi.Input[int]] = None, + domain: Optional[pulumi.Input[str]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + period_in_minutes: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['CertCheckMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if certificate_expiration is not None: - pulumi.set(__self__, "certificate_expiration", certificate_expiration) + _setter("certificate_expiration", certificate_expiration) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if period_in_minutes is not None: - pulumi.set(__self__, "period_in_minutes", period_in_minutes) + _setter("period_in_minutes", period_in_minutes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="accountId") @@ -308,7 +366,9 @@ def period_in_minutes(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -408,7 +468,9 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[str]]] locations_publics: The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locations_public` or `location_private` is required. :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details """ ... @@ -482,6 +544,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertCheckMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -558,7 +624,9 @@ def get(resource_name: str, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. - :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CertCheckMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -645,7 +713,9 @@ def period_in_minutes(self) -> pulumi.Output[int]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") diff --git a/sdk/python/pulumi_newrelic/synthetics/get_private_location.py b/sdk/python/pulumi_newrelic/synthetics/get_private_location.py index cff0a5f2..2b7ba464 100644 --- a/sdk/python/pulumi_newrelic/synthetics/get_private_location.py +++ b/sdk/python/pulumi_newrelic/synthetics/get_private_location.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -89,7 +89,7 @@ def get_private_location(account_id: Optional[int] = None, example = newrelic.synthetics.get_private_location(account_id=123456, name="My private location") - foo = newrelic.synthetics.Monitor("foo", locations_privates=[data["newrelic_synthetics_monitor_location"]["example"]["id"]]) + foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id]) ``` ```python @@ -138,7 +138,7 @@ def get_private_location_output(account_id: Optional[pulumi.Input[Optional[int]] example = newrelic.synthetics.get_private_location(account_id=123456, name="My private location") - foo = newrelic.synthetics.Monitor("foo", locations_privates=[data["newrelic_synthetics_monitor_location"]["example"]["id"]]) + foo = newrelic.synthetics.Monitor("foo", locations_privates=[example.id]) ``` ```python diff --git a/sdk/python/pulumi_newrelic/synthetics/get_secure_credential.py b/sdk/python/pulumi_newrelic/synthetics/get_secure_credential.py index b9200413..7f4aa996 100644 --- a/sdk/python/pulumi_newrelic/synthetics/get_secure_credential.py +++ b/sdk/python/pulumi_newrelic/synthetics/get_secure_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_newrelic/synthetics/monitor.py b/sdk/python/pulumi_newrelic/synthetics/monitor.py index 7ec49a68..0453dd6a 100644 --- a/sdk/python/pulumi_newrelic/synthetics/monitor.py +++ b/sdk/python/pulumi_newrelic/synthetics/monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -38,7 +38,9 @@ def __init__(__self__, *, verify_ssl: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a Monitor resource. - :param pulumi.Input[str] status: The run state of the monitor. + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[str] type: The monitor type. Valid values are `SIMPLE` and `BROWSER`. :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created. :param pulumi.Input[bool] bypass_head_request: Monitor should skip default HEAD request and instead use GET verb in check. @@ -63,50 +65,99 @@ def __init__(__self__, *, :param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI. :param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain. """ - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + MonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + status=status, + type=type, + account_id=account_id, + bypass_head_request=bypass_head_request, + custom_headers=custom_headers, + device_orientation=device_orientation, + device_type=device_type, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + period=period, + runtime_type=runtime_type, + runtime_type_version=runtime_type_version, + script_language=script_language, + tags=tags, + treat_redirect_as_failure=treat_redirect_as_failure, + uri=uri, + validation_string=validation_string, + verify_ssl=verify_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + status: pulumi.Input[str], + type: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + bypass_head_request: Optional[pulumi.Input[bool]] = None, + custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None, + device_orientation: Optional[pulumi.Input[str]] = None, + device_type: Optional[pulumi.Input[str]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + runtime_type: Optional[pulumi.Input[str]] = None, + runtime_type_version: Optional[pulumi.Input[str]] = None, + script_language: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]]] = None, + treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None, + uri: Optional[pulumi.Input[str]] = None, + validation_string: Optional[pulumi.Input[str]] = None, + verify_ssl: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("status", status) + _setter("type", type) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if bypass_head_request is not None: - pulumi.set(__self__, "bypass_head_request", bypass_head_request) + _setter("bypass_head_request", bypass_head_request) if custom_headers is not None: - pulumi.set(__self__, "custom_headers", custom_headers) + _setter("custom_headers", custom_headers) if device_orientation is not None: - pulumi.set(__self__, "device_orientation", device_orientation) + _setter("device_orientation", device_orientation) if device_type is not None: - pulumi.set(__self__, "device_type", device_type) + _setter("device_type", device_type) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if runtime_type is not None: - pulumi.set(__self__, "runtime_type", runtime_type) + _setter("runtime_type", runtime_type) if runtime_type_version is not None: - pulumi.set(__self__, "runtime_type_version", runtime_type_version) + _setter("runtime_type_version", runtime_type_version) if script_language is not None: - pulumi.set(__self__, "script_language", script_language) + _setter("script_language", script_language) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if treat_redirect_as_failure is not None: - pulumi.set(__self__, "treat_redirect_as_failure", treat_redirect_as_failure) + _setter("treat_redirect_as_failure", treat_redirect_as_failure) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) if validation_string is not None: - pulumi.set(__self__, "validation_string", validation_string) + _setter("validation_string", validation_string) if verify_ssl is not None: - pulumi.set(__self__, "verify_ssl", verify_ssl) + _setter("verify_ssl", verify_ssl) @property @pulumi.getter def status(self) -> pulumi.Input[str]: """ - The run state of the monitor. + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -389,7 +440,9 @@ def __init__(__self__, *, :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run. :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor. + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SIMPLE` monitor type supports the following additional arguments: @@ -399,48 +452,97 @@ def __init__(__self__, *, :param pulumi.Input[str] validation_string: Validation text for monitor to search for at given URI. :param pulumi.Input[bool] verify_ssl: Monitor should validate SSL certificate chain. """ + _MonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + bypass_head_request=bypass_head_request, + custom_headers=custom_headers, + device_orientation=device_orientation, + device_type=device_type, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + locations_privates=locations_privates, + locations_publics=locations_publics, + name=name, + period=period, + period_in_minutes=period_in_minutes, + runtime_type=runtime_type, + runtime_type_version=runtime_type_version, + script_language=script_language, + status=status, + tags=tags, + treat_redirect_as_failure=treat_redirect_as_failure, + type=type, + uri=uri, + validation_string=validation_string, + verify_ssl=verify_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + bypass_head_request: Optional[pulumi.Input[bool]] = None, + custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorCustomHeaderArgs']]]] = None, + device_orientation: Optional[pulumi.Input[str]] = None, + device_type: Optional[pulumi.Input[str]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + locations_privates: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + period_in_minutes: Optional[pulumi.Input[int]] = None, + runtime_type: Optional[pulumi.Input[str]] = None, + runtime_type_version: Optional[pulumi.Input[str]] = None, + script_language: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorTagArgs']]]] = None, + treat_redirect_as_failure: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None, + validation_string: Optional[pulumi.Input[str]] = None, + verify_ssl: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if bypass_head_request is not None: - pulumi.set(__self__, "bypass_head_request", bypass_head_request) + _setter("bypass_head_request", bypass_head_request) if custom_headers is not None: - pulumi.set(__self__, "custom_headers", custom_headers) + _setter("custom_headers", custom_headers) if device_orientation is not None: - pulumi.set(__self__, "device_orientation", device_orientation) + _setter("device_orientation", device_orientation) if device_type is not None: - pulumi.set(__self__, "device_type", device_type) + _setter("device_type", device_type) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if locations_privates is not None: - pulumi.set(__self__, "locations_privates", locations_privates) + _setter("locations_privates", locations_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if period_in_minutes is not None: - pulumi.set(__self__, "period_in_minutes", period_in_minutes) + _setter("period_in_minutes", period_in_minutes) if runtime_type is not None: - pulumi.set(__self__, "runtime_type", runtime_type) + _setter("runtime_type", runtime_type) if runtime_type_version is not None: - pulumi.set(__self__, "runtime_type_version", runtime_type_version) + _setter("runtime_type_version", runtime_type_version) if script_language is not None: - pulumi.set(__self__, "script_language", script_language) + _setter("script_language", script_language) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if treat_redirect_as_failure is not None: - pulumi.set(__self__, "treat_redirect_as_failure", treat_redirect_as_failure) + _setter("treat_redirect_as_failure", treat_redirect_as_failure) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) if validation_string is not None: - pulumi.set(__self__, "validation_string", validation_string) + _setter("validation_string", validation_string) if verify_ssl is not None: - pulumi.set(__self__, "verify_ssl", verify_ssl) + _setter("verify_ssl", verify_ssl) @property @pulumi.getter(name="accountId") @@ -616,7 +718,9 @@ def script_language(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ - The run state of the monitor. + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -870,7 +974,9 @@ def __init__(__self__, :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run. :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor. + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SIMPLE` monitor type supports the following additional arguments: @@ -1024,6 +1130,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1137,7 +1247,9 @@ def get(resource_name: str, :param pulumi.Input[str] runtime_type: The runtime type that the monitor will run. :param pulumi.Input[str] runtime_type_version: The runtime type that the monitor will run. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor. + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SIMPLE` monitor type supports the following additional arguments: @@ -1292,7 +1404,9 @@ def script_language(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The run state of the monitor. + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") diff --git a/sdk/python/pulumi_newrelic/synthetics/multi_location_alert_condition.py b/sdk/python/pulumi_newrelic/synthetics/multi_location_alert_condition.py index 068af19f..e52c5592 100644 --- a/sdk/python/pulumi_newrelic/synthetics/multi_location_alert_condition.py +++ b/sdk/python/pulumi_newrelic/synthetics/multi_location_alert_condition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,41 @@ def __init__(__self__, *, import pulumi ``` """ - pulumi.set(__self__, "critical", critical) - pulumi.set(__self__, "entities", entities) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "violation_time_limit_seconds", violation_time_limit_seconds) + MultiLocationAlertConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + critical=critical, + entities=entities, + policy_id=policy_id, + violation_time_limit_seconds=violation_time_limit_seconds, + enabled=enabled, + name=name, + runbook_url=runbook_url, + warning=warning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + critical: pulumi.Input['MultiLocationAlertConditionCriticalArgs'], + entities: pulumi.Input[Sequence[pulumi.Input[str]]], + policy_id: pulumi.Input[int], + violation_time_limit_seconds: pulumi.Input[int], + enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("critical", critical) + _setter("entities", entities) + _setter("policy_id", policy_id) + _setter("violation_time_limit_seconds", violation_time_limit_seconds) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) @property @pulumi.getter @@ -181,24 +204,49 @@ def __init__(__self__, *, import pulumi ``` """ + _MultiLocationAlertConditionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + critical=critical, + enabled=enabled, + entities=entities, + entity_guid=entity_guid, + name=name, + policy_id=policy_id, + runbook_url=runbook_url, + violation_time_limit_seconds=violation_time_limit_seconds, + warning=warning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + critical: Optional[pulumi.Input['MultiLocationAlertConditionCriticalArgs']] = None, + enabled: Optional[pulumi.Input[bool]] = None, + entities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + entity_guid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[int]] = None, + runbook_url: Optional[pulumi.Input[str]] = None, + violation_time_limit_seconds: Optional[pulumi.Input[int]] = None, + warning: Optional[pulumi.Input['MultiLocationAlertConditionWarningArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if critical is not None: - pulumi.set(__self__, "critical", critical) + _setter("critical", critical) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if entities is not None: - pulumi.set(__self__, "entities", entities) + _setter("entities", entities) if entity_guid is not None: - pulumi.set(__self__, "entity_guid", entity_guid) + _setter("entity_guid", entity_guid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if runbook_url is not None: - pulumi.set(__self__, "runbook_url", runbook_url) + _setter("runbook_url", runbook_url) if violation_time_limit_seconds is not None: - pulumi.set(__self__, "violation_time_limit_seconds", violation_time_limit_seconds) + _setter("violation_time_limit_seconds", violation_time_limit_seconds) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) @property @pulumi.getter @@ -552,6 +600,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MultiLocationAlertConditionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -574,6 +626,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__ = MultiLocationAlertConditionArgs.__new__(MultiLocationAlertConditionArgs) + if critical is not None and not isinstance(critical, MultiLocationAlertConditionCriticalArgs): + critical = critical or {} + def _setter(key, value): + critical[key] = value + MultiLocationAlertConditionCriticalArgs._configure(_setter, **critical) if critical is None and not opts.urn: raise TypeError("Missing required property 'critical'") __props__.__dict__["critical"] = critical @@ -589,6 +646,11 @@ def _internal_init(__self__, if violation_time_limit_seconds is None and not opts.urn: raise TypeError("Missing required property 'violation_time_limit_seconds'") __props__.__dict__["violation_time_limit_seconds"] = violation_time_limit_seconds + if warning is not None and not isinstance(warning, MultiLocationAlertConditionWarningArgs): + warning = warning or {} + def _setter(key, value): + warning[key] = value + MultiLocationAlertConditionWarningArgs._configure(_setter, **warning) __props__.__dict__["warning"] = warning __props__.__dict__["entity_guid"] = None super(MultiLocationAlertCondition, __self__).__init__( diff --git a/sdk/python/pulumi_newrelic/synthetics/outputs.py b/sdk/python/pulumi_newrelic/synthetics/outputs.py index cb9f0baf..d60f1a17 100644 --- a/sdk/python/pulumi_newrelic/synthetics/outputs.py +++ b/sdk/python/pulumi_newrelic/synthetics/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,8 +32,19 @@ def __init__(__self__, *, :param str key: Name of the tag key. :param Sequence[str] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + BrokenLinksMonitorTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -61,8 +72,19 @@ def __init__(__self__, *, :param str key: Name of the tag key. :param Sequence[str] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + CertCheckMonitorTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -90,10 +112,21 @@ def __init__(__self__, *, :param str name: Header name. :param str value: Header Value. """ + MonitorCustomHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -121,8 +154,19 @@ def __init__(__self__, *, :param str key: Name of the tag key. :param Sequence[str] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + MonitorTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -145,7 +189,16 @@ def values(self) -> Sequence[str]: class MultiLocationAlertConditionCritical(dict): def __init__(__self__, *, threshold: int): - pulumi.set(__self__, "threshold", threshold) + MultiLocationAlertConditionCritical._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) @property @pulumi.getter @@ -157,7 +210,16 @@ def threshold(self) -> int: class MultiLocationAlertConditionWarning(dict): def __init__(__self__, *, threshold: int): - pulumi.set(__self__, "threshold", threshold) + MultiLocationAlertConditionWarning._configure( + lambda key, value: pulumi.set(__self__, key, value), + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("threshold", threshold) @property @pulumi.getter @@ -191,9 +253,20 @@ def __init__(__self__, *, :param str guid: The unique identifier for the Synthetics private location in New Relic. :param str vse_password: The location's Verified Script Execution password, Only necessary if Verified Script Execution is enabled for the location. """ - pulumi.set(__self__, "guid", guid) + ScriptMonitorLocationPrivate._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + vse_password=vse_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: str, + vse_password: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("guid", guid) if vse_password is not None: - pulumi.set(__self__, "vse_password", vse_password) + _setter("vse_password", vse_password) @property @pulumi.getter @@ -221,8 +294,19 @@ def __init__(__self__, *, :param str key: Name of the tag key. :param Sequence[str] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + ScriptMonitorTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -267,9 +351,20 @@ def __init__(__self__, *, :param str guid: The unique identifier for the Synthetics private location in New Relic. :param str vse_password: The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location. """ - pulumi.set(__self__, "guid", guid) + StepMonitorLocationPrivate._configure( + lambda key, value: pulumi.set(__self__, key, value), + guid=guid, + vse_password=vse_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + guid: str, + vse_password: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("guid", guid) if vse_password is not None: - pulumi.set(__self__, "vse_password", vse_password) + _setter("vse_password", vse_password) @property @pulumi.getter @@ -299,10 +394,23 @@ def __init__(__self__, *, :param str type: Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY. :param Sequence[str] values: The metadata values related to the step. """ - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "type", type) + StepMonitorStep._configure( + lambda key, value: pulumi.set(__self__, key, value), + ordinal=ordinal, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ordinal: int, + type: str, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ordinal", ordinal) + _setter("type", type) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -338,8 +446,19 @@ def __init__(__self__, *, :param str key: Name of the tag key. :param Sequence[str] values: Values associated with the tag key. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + StepMonitorTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter diff --git a/sdk/python/pulumi_newrelic/synthetics/private_location.py b/sdk/python/pulumi_newrelic/synthetics/private_location.py index c45fafc5..a175d377 100644 --- a/sdk/python/pulumi_newrelic/synthetics/private_location.py +++ b/sdk/python/pulumi_newrelic/synthetics/private_location.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PrivateLocationArgs', 'PrivateLocation'] @@ -25,13 +25,28 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the private location. :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false` """ - pulumi.set(__self__, "description", description) + PrivateLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + account_id=account_id, + name=name, + verified_script_execution=verified_script_execution, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + verified_script_execution: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if verified_script_execution is not None: - pulumi.set(__self__, "verified_script_execution", verified_script_execution) + _setter("verified_script_execution", verified_script_execution) @property @pulumi.getter @@ -104,22 +119,45 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the private location. :param pulumi.Input[bool] verified_script_execution: The private location requires a password to edit if value is true. Defaults to `false` """ + _PrivateLocationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + domain_id=domain_id, + guid=guid, + key=key, + location_id=location_id, + name=name, + verified_script_execution=verified_script_execution, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_id: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + location_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + verified_script_execution: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if location_id is not None: - pulumi.set(__self__, "location_id", location_id) + _setter("location_id", location_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if verified_script_execution is not None: - pulumi.set(__self__, "verified_script_execution", verified_script_execution) + _setter("verified_script_execution", verified_script_execution) @property @pulumi.getter(name="accountId") @@ -291,6 +329,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateLocationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/synthetics/script_monitor.py b/sdk/python/pulumi_newrelic/synthetics/script_monitor.py index 80b673df..98b2a989 100644 --- a/sdk/python/pulumi_newrelic/synthetics/script_monitor.py +++ b/sdk/python/pulumi_newrelic/synthetics/script_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -34,7 +34,9 @@ def __init__(__self__, *, """ The set of arguments for constructing a ScriptMonitor resource. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. - :param pulumi.Input[str] status: The run state of the monitor: `ENABLED` or `DISABLED` + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created. :param pulumi.Input[str] device_orientation: Device emulation orientation field. Valid values are `LANDSCAPE` and `PORTRAIT`. @@ -51,33 +53,70 @@ def __init__(__self__, *, The `SCRIPTED_BROWSER` monitor type supports the following additional argument: """ - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + ScriptMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + period=period, + status=status, + type=type, + account_id=account_id, + device_orientation=device_orientation, + device_type=device_type, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + location_privates=location_privates, + locations_publics=locations_publics, + name=name, + runtime_type=runtime_type, + runtime_type_version=runtime_type_version, + script=script, + script_language=script_language, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period: pulumi.Input[str], + status: pulumi.Input[str], + type: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + device_orientation: Optional[pulumi.Input[str]] = None, + device_type: Optional[pulumi.Input[str]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + runtime_type: Optional[pulumi.Input[str]] = None, + runtime_type_version: Optional[pulumi.Input[str]] = None, + script: Optional[pulumi.Input[str]] = None, + script_language: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period", period) + _setter("status", status) + _setter("type", type) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if device_orientation is not None: - pulumi.set(__self__, "device_orientation", device_orientation) + _setter("device_orientation", device_orientation) if device_type is not None: - pulumi.set(__self__, "device_type", device_type) + _setter("device_type", device_type) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if location_privates is not None: - pulumi.set(__self__, "location_privates", location_privates) + _setter("location_privates", location_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if runtime_type is not None: - pulumi.set(__self__, "runtime_type", runtime_type) + _setter("runtime_type", runtime_type) if runtime_type_version is not None: - pulumi.set(__self__, "runtime_type_version", runtime_type_version) + _setter("runtime_type_version", runtime_type_version) if script is not None: - pulumi.set(__self__, "script", script) + _setter("script", script) if script_language is not None: - pulumi.set(__self__, "script_language", script_language) + _setter("script_language", script_language) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -95,7 +134,9 @@ def period(self, value: pulumi.Input[str]): @pulumi.getter def status(self) -> pulumi.Input[str]: """ - The run state of the monitor: `ENABLED` or `DISABLED` + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -298,46 +339,89 @@ def __init__(__self__, *, :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected. :param pulumi.Input[str] script: The script that the monitor runs. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor: `ENABLED` or `DISABLED` + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['ScriptMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SCRIPTED_BROWSER` monitor type supports the following additional argument: :param pulumi.Input[str] type: The plaintext representing the monitor script. Valid values are SCRIPT_BROWSER or SCRIPT_API """ + _ScriptMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + device_orientation=device_orientation, + device_type=device_type, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + guid=guid, + location_privates=location_privates, + locations_publics=locations_publics, + name=name, + period=period, + period_in_minutes=period_in_minutes, + runtime_type=runtime_type, + runtime_type_version=runtime_type_version, + script=script, + script_language=script_language, + status=status, + tags=tags, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + device_orientation: Optional[pulumi.Input[str]] = None, + device_type: Optional[pulumi.Input[str]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + guid: Optional[pulumi.Input[str]] = None, + location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorLocationPrivateArgs']]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + period_in_minutes: Optional[pulumi.Input[int]] = None, + runtime_type: Optional[pulumi.Input[str]] = None, + runtime_type_version: Optional[pulumi.Input[str]] = None, + script: Optional[pulumi.Input[str]] = None, + script_language: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorTagArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if device_orientation is not None: - pulumi.set(__self__, "device_orientation", device_orientation) + _setter("device_orientation", device_orientation) if device_type is not None: - pulumi.set(__self__, "device_type", device_type) + _setter("device_type", device_type) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if location_privates is not None: - pulumi.set(__self__, "location_privates", location_privates) + _setter("location_privates", location_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if period_in_minutes is not None: - pulumi.set(__self__, "period_in_minutes", period_in_minutes) + _setter("period_in_minutes", period_in_minutes) if runtime_type is not None: - pulumi.set(__self__, "runtime_type", runtime_type) + _setter("runtime_type", runtime_type) if runtime_type_version is not None: - pulumi.set(__self__, "runtime_type_version", runtime_type_version) + _setter("runtime_type_version", runtime_type_version) if script is not None: - pulumi.set(__self__, "script", script) + _setter("script", script) if script_language is not None: - pulumi.set(__self__, "script_language", script_language) + _setter("script_language", script_language) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="accountId") @@ -511,7 +595,9 @@ def script_language(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: """ - The run state of the monitor: `ENABLED` or `DISABLED` + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -704,7 +790,9 @@ def __init__(__self__, :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected. :param pulumi.Input[str] script: The script that the monitor runs. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor: `ENABLED` or `DISABLED` + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SCRIPTED_BROWSER` monitor type supports the following additional argument: @@ -849,6 +937,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ScriptMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -949,7 +1041,9 @@ def get(resource_name: str, :param pulumi.Input[str] runtime_type_version: The specific version of the runtime type selected. :param pulumi.Input[str] script: The script that the monitor runs. :param pulumi.Input[str] script_language: The programing language that should execute the script. - :param pulumi.Input[str] status: The run state of the monitor: `ENABLED` or `DISABLED` + :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScriptMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. The `SCRIPTED_BROWSER` monitor type supports the following additional argument: @@ -1094,7 +1188,9 @@ def script_language(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def status(self) -> pulumi.Output[str]: """ - The run state of the monitor: `ENABLED` or `DISABLED` + The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") diff --git a/sdk/python/pulumi_newrelic/synthetics/secure_credential.py b/sdk/python/pulumi_newrelic/synthetics/secure_credential.py index 27319962..5829da14 100644 --- a/sdk/python/pulumi_newrelic/synthetics/secure_credential.py +++ b/sdk/python/pulumi_newrelic/synthetics/secure_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SecureCredentialArgs', 'SecureCredential'] @@ -27,14 +27,31 @@ def __init__(__self__, *, :param pulumi.Input[str] description: The secure credential's description. :param pulumi.Input[str] last_updated: The time the secure credential was last updated. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + SecureCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + account_id=account_id, + description=description, + last_updated=last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + last_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if last_updated is not None: - pulumi.set(__self__, "last_updated", last_updated) + _setter("last_updated", last_updated) @property @pulumi.getter @@ -113,16 +130,33 @@ def __init__(__self__, *, :param pulumi.Input[str] last_updated: The time the secure credential was last updated. :param pulumi.Input[str] value: The secure credential's value. """ + _SecureCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + description=description, + key=key, + last_updated=last_updated, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + last_updated: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if last_updated is not None: - pulumi.set(__self__, "last_updated", last_updated) + _setter("last_updated", last_updated) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="accountId") @@ -266,6 +300,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecureCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_newrelic/synthetics/step_monitor.py b/sdk/python/pulumi_newrelic/synthetics/step_monitor.py index 159331ec..95681107 100644 --- a/sdk/python/pulumi_newrelic/synthetics/step_monitor.py +++ b/sdk/python/pulumi_newrelic/synthetics/step_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,6 +29,8 @@ def __init__(__self__, *, The set of arguments for constructing a StepMonitor resource. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details. :param pulumi.Input[int] account_id: The account in which the Synthetics monitor will be created. :param pulumi.Input[bool] enable_screenshot_on_failure_and_script: Capture a screenshot during job execution. @@ -37,21 +39,46 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. """ - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "steps", steps) + StepMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + period=period, + status=status, + steps=steps, + account_id=account_id, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + location_privates=location_privates, + locations_publics=locations_publics, + name=name, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period: pulumi.Input[str], + status: pulumi.Input[str], + steps: pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]], + account_id: Optional[pulumi.Input[int]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period", period) + _setter("status", status) + _setter("steps", steps) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if location_privates is not None: - pulumi.set(__self__, "location_privates", location_privates) + _setter("location_privates", location_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -70,6 +97,8 @@ def period(self, value: pulumi.Input[str]): def status(self) -> pulumi.Input[str]: """ The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -187,31 +216,62 @@ def __init__(__self__, *, :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details. :param pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. """ + _StepMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + enable_screenshot_on_failure_and_script=enable_screenshot_on_failure_and_script, + guid=guid, + location_privates=location_privates, + locations_publics=locations_publics, + name=name, + period=period, + period_in_minutes=period_in_minutes, + status=status, + steps=steps, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + enable_screenshot_on_failure_and_script: Optional[pulumi.Input[bool]] = None, + guid: Optional[pulumi.Input[str]] = None, + location_privates: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorLocationPrivateArgs']]]] = None, + locations_publics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + period: Optional[pulumi.Input[str]] = None, + period_in_minutes: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + steps: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorStepArgs']]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['StepMonitorTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if enable_screenshot_on_failure_and_script is not None: - pulumi.set(__self__, "enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) + _setter("enable_screenshot_on_failure_and_script", enable_screenshot_on_failure_and_script) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if location_privates is not None: - pulumi.set(__self__, "location_privates", location_privates) + _setter("location_privates", location_privates) if locations_publics is not None: - pulumi.set(__self__, "locations_publics", locations_publics) + _setter("locations_publics", locations_publics) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if period is not None: - pulumi.set(__self__, "period", period) + _setter("period", period) if period_in_minutes is not None: - pulumi.set(__self__, "period_in_minutes", period_in_minutes) + _setter("period_in_minutes", period_in_minutes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if steps is not None: - pulumi.set(__self__, "steps", steps) + _setter("steps", steps) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="accountId") @@ -314,6 +374,8 @@ def period_in_minutes(self, value: Optional[pulumi.Input[int]]): def status(self) -> Optional[pulumi.Input[str]]: """ The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") @@ -408,6 +470,8 @@ def __init__(__self__, :param pulumi.Input[str] name: The name for the monitor. :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. """ @@ -465,6 +529,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StepMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -542,6 +610,8 @@ def get(resource_name: str, :param pulumi.Input[str] period: The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY. :param pulumi.Input[int] period_in_minutes: The interval in minutes at which Synthetic monitor should run. :param pulumi.Input[str] status: The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorStepArgs']]]] steps: The steps that make up the script the monitor will run. See Nested steps blocks below for details. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StepMonitorTagArgs']]]] tags: The tags that will be associated with the monitor. See Nested tag blocks below for details. """ @@ -631,6 +701,8 @@ def period_in_minutes(self) -> pulumi.Output[int]: def status(self) -> pulumi.Output[str]: """ The run state of the monitor. (i.e. `ENABLED`, `DISABLED`, `MUTED`). + + > **NOTE:** The `MUTED` status will be deprecated in a future release, and it is recommended to refrain from using it. """ return pulumi.get(self, "status") diff --git a/sdk/python/pulumi_newrelic/workflow.py b/sdk/python/pulumi_newrelic/workflow.py index c5deef90..85d60c5e 100644 --- a/sdk/python/pulumi_newrelic/workflow.py +++ b/sdk/python/pulumi_newrelic/workflow.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -38,24 +38,49 @@ def __init__(__self__, *, :param pulumi.Input[bool] enrichments_enabled: Whether enrichments are enabled. Defaults to true. :param pulumi.Input[str] name: The name of the workflow. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "issues_filter", issues_filter) - pulumi.set(__self__, "muting_rules_handling", muting_rules_handling) + WorkflowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + issues_filter=issues_filter, + muting_rules_handling=muting_rules_handling, + account_id=account_id, + destinations_enabled=destinations_enabled, + enabled=enabled, + enrichments=enrichments, + enrichments_enabled=enrichments_enabled, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]], + issues_filter: pulumi.Input['WorkflowIssuesFilterArgs'], + muting_rules_handling: pulumi.Input[str], + account_id: Optional[pulumi.Input[int]] = None, + destinations_enabled: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + enrichments: Optional[pulumi.Input['WorkflowEnrichmentsArgs']] = None, + enrichments_enabled: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("issues_filter", issues_filter) + _setter("muting_rules_handling", muting_rules_handling) if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if destinations_enabled is not None: warnings.warn("""Please use 'enabled' instead""", DeprecationWarning) pulumi.log.warn("""destinations_enabled is deprecated: Please use 'enabled' instead""") if destinations_enabled is not None: - pulumi.set(__self__, "destinations_enabled", destinations_enabled) + _setter("destinations_enabled", destinations_enabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if enrichments is not None: - pulumi.set(__self__, "enrichments", enrichments) + _setter("enrichments", enrichments) if enrichments_enabled is not None: - pulumi.set(__self__, "enrichments_enabled", enrichments_enabled) + _setter("enrichments_enabled", enrichments_enabled) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -201,33 +226,64 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the workflow. :param pulumi.Input[str] workflow_id: The id of the workflow. """ + _WorkflowState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_id=account_id, + destinations=destinations, + destinations_enabled=destinations_enabled, + enabled=enabled, + enrichments=enrichments, + enrichments_enabled=enrichments_enabled, + guid=guid, + issues_filter=issues_filter, + last_run=last_run, + muting_rules_handling=muting_rules_handling, + name=name, + workflow_id=workflow_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_id: Optional[pulumi.Input[int]] = None, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowDestinationArgs']]]] = None, + destinations_enabled: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + enrichments: Optional[pulumi.Input['WorkflowEnrichmentsArgs']] = None, + enrichments_enabled: Optional[pulumi.Input[bool]] = None, + guid: Optional[pulumi.Input[str]] = None, + issues_filter: Optional[pulumi.Input['WorkflowIssuesFilterArgs']] = None, + last_run: Optional[pulumi.Input[str]] = None, + muting_rules_handling: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + workflow_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_id is not None: - pulumi.set(__self__, "account_id", account_id) + _setter("account_id", account_id) if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if destinations_enabled is not None: warnings.warn("""Please use 'enabled' instead""", DeprecationWarning) pulumi.log.warn("""destinations_enabled is deprecated: Please use 'enabled' instead""") if destinations_enabled is not None: - pulumi.set(__self__, "destinations_enabled", destinations_enabled) + _setter("destinations_enabled", destinations_enabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if enrichments is not None: - pulumi.set(__self__, "enrichments", enrichments) + _setter("enrichments", enrichments) if enrichments_enabled is not None: - pulumi.set(__self__, "enrichments_enabled", enrichments_enabled) + _setter("enrichments_enabled", enrichments_enabled) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if issues_filter is not None: - pulumi.set(__self__, "issues_filter", issues_filter) + _setter("issues_filter", issues_filter) if last_run is not None: - pulumi.set(__self__, "last_run", last_run) + _setter("last_run", last_run) if muting_rules_handling is not None: - pulumi.set(__self__, "muting_rules_handling", muting_rules_handling) + _setter("muting_rules_handling", muting_rules_handling) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if workflow_id is not None: - pulumi.set(__self__, "workflow_id", workflow_id) + _setter("workflow_id", workflow_id) @property @pulumi.getter(name="accountId") @@ -720,6 +776,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkflowArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -747,13 +807,20 @@ def _internal_init(__self__, if destinations is None and not opts.urn: raise TypeError("Missing required property 'destinations'") __props__.__dict__["destinations"] = destinations - if destinations_enabled is not None and not opts.urn: - warnings.warn("""Please use 'enabled' instead""", DeprecationWarning) - pulumi.log.warn("""destinations_enabled is deprecated: Please use 'enabled' instead""") __props__.__dict__["destinations_enabled"] = destinations_enabled __props__.__dict__["enabled"] = enabled + if enrichments is not None and not isinstance(enrichments, WorkflowEnrichmentsArgs): + enrichments = enrichments or {} + def _setter(key, value): + enrichments[key] = value + WorkflowEnrichmentsArgs._configure(_setter, **enrichments) __props__.__dict__["enrichments"] = enrichments __props__.__dict__["enrichments_enabled"] = enrichments_enabled + if issues_filter is not None and not isinstance(issues_filter, WorkflowIssuesFilterArgs): + issues_filter = issues_filter or {} + def _setter(key, value): + issues_filter[key] = value + WorkflowIssuesFilterArgs._configure(_setter, **issues_filter) if issues_filter is None and not opts.urn: raise TypeError("Missing required property 'issues_filter'") __props__.__dict__["issues_filter"] = issues_filter diff --git a/upstream b/upstream index 95cba5c2..660a2b00 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 95cba5c2f360dfec53392542708668a9e1684758 +Subproject commit 660a2b00ebd18c454715d11736ebec6500f9db64