From 267c2c8296368e0060c7374b61bb34e9ddcf3d94 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Wed, 8 Feb 2023 09:58:22 -0800 Subject: [PATCH] Upgrade terraform provider opsgenie to v0.6.20 (#90) * make tfgen * make build_sdks --- .../cmd/pulumi-resource-opsgenie/schema.json | 11 +++++ provider/go.mod | 24 +++++----- provider/go.sum | 45 ++++++++++--------- .../NotificationRuleTimeRestrictionArgs.cs | 8 ++++ .../NotificationRuleTimeRestrictionGetArgs.cs | 8 ++++ .../NotificationRuleTimeRestriction.cs | 4 ++ sdk/go/opsgenie/pulumiTypes.go | 8 ++++ .../NotificationRuleTimeRestrictionArgs.java | 21 +++++++++ .../NotificationRuleTimeRestriction.java | 15 +++++++ sdk/nodejs/types/input.ts | 1 + sdk/nodejs/types/output.ts | 1 + sdk/python/pulumi_opsgenie/_inputs.py | 12 +++++ sdk/python/pulumi_opsgenie/outputs.py | 8 ++++ 13 files changed, 134 insertions(+), 32 deletions(-) diff --git a/provider/cmd/pulumi-resource-opsgenie/schema.json b/provider/cmd/pulumi-resource-opsgenie/schema.json index 54665838..6087e1af 100644 --- a/provider/cmd/pulumi-resource-opsgenie/schema.json +++ b/provider/cmd/pulumi-resource-opsgenie/schema.json @@ -2279,6 +2279,17 @@ }, "opsgenie:index/NotificationRuleTimeRestriction:NotificationRuleTimeRestriction": { "properties": { + "restriction": { + "type": "array", + "items": { + "$ref": "#/types/opsgenie:index/NotificationRuleTimeRestrictionRestriction:NotificationRuleTimeRestrictionRestriction" + }, + "language": { + "python": { + "mapCase": false + } + } + }, "restrictions": { "type": "array", "items": { diff --git a/provider/go.mod b/provider/go.mod index d06e3dda..eaf0412f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -8,9 +8,9 @@ replace ( ) require ( - github.com/opsgenie/terraform-provider-opsgenie v0.6.18 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.0 - github.com/pulumi/pulumi/sdk/v3 v3.51.0 + github.com/opsgenie/terraform-provider-opsgenie v0.6.20 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.39.3 + github.com/pulumi/pulumi/sdk/v3 v3.53.1 ) require ( @@ -37,7 +37,7 @@ require ( github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect - github.com/Masterminds/goutils v1.1.0 // indirect + github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/sprig v2.22.0+incompatible // indirect github.com/Microsoft/go-winio v0.5.2 // indirect @@ -50,14 +50,14 @@ require ( github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/aws/aws-sdk-go v1.44.68 // indirect - github.com/aws/aws-sdk-go-v2 v1.17.1 // indirect + github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect @@ -68,7 +68,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect - github.com/aws/smithy-go v1.13.4 // indirect + github.com/aws/smithy-go v1.13.5 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect @@ -94,7 +94,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.8 // indirect + github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.3.0 // indirect @@ -125,8 +125,8 @@ require ( github.com/hashicorp/hcl/v2 v2.15.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.12.0 // indirect - github.com/hashicorp/terraform-plugin-log v0.6.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.14.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect github.com/hashicorp/terraform-plugin-sdk v1.15.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 // indirect github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect @@ -175,7 +175,7 @@ require ( github.com/posener/complete v1.2.3 // indirect github.com/pulumi/pulumi-java/pkg v0.7.1 // indirect github.com/pulumi/pulumi-yaml v1.0.4 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.51.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.53.1 // indirect github.com/pulumi/schema-tools v0.1.0 // indirect github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect github.com/rivo/uniseg v0.2.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 70c606ff..1beb3a18 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -156,8 +156,9 @@ github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3 github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= +github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= @@ -266,8 +267,8 @@ github.com/aws/aws-sdk-go v1.44.68 h1:7zNr5+HLG0TMq+ZcZ8KhT4eT2KyL7v+u7/jANKEIin github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= -github.com/aws/aws-sdk-go-v2 v1.17.1 h1:02c72fDJr87N8RAC2s3Qu0YuvMRZKNZJ9F+lAehCazk= -github.com/aws/aws-sdk-go-v2 v1.17.1/go.mod h1:JLnGeGONAyi2lWXI1p0PCIOIy333JMVK1U7Hf0aRFLw= +github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= +github.com/aws/aws-sdk-go-v2 v1.17.3/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= @@ -279,15 +280,16 @@ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloD github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25 h1:nBO/RFxeq/IS5G9Of+ZrgucRciie2qpLy++3UGZ+q2E= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.25/go.mod h1:Zb29PYkf42vVYQY6pvSyJCJcFHlPIiY+YKdPtwnvMkY= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 h1:I3cakv2Uy1vNmmhRQmFptYDxOvBnwCdNwyw63N0RaRU= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27/go.mod h1:a1/UpzeyBBerajpnP5nGZa9mGzsBn5cOKxm6NWQsvoI= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19 h1:oRHDrwCTVT8ZXi4sr9Ld+EXk7N/KGssOr2ygNeojEhw= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19/go.mod h1:6Q0546uHDp421okhmmGfbxzq2hBqbXFNpi4k+Q1JnQA= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 h1:5NbbMrIzmUn/TXFqAle6mgrH5m9cOvMLRGL7pnG8tRE= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21/go.mod h1:+Gxn8jYn5k9ebfHEqlhrMirFjSW0v0C9fI+KN5vk2kE= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= @@ -309,8 +311,8 @@ github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9 github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/aws/smithy-go v1.13.4 h1:/RN2z1txIJWeXeOkzX+Hk/4Uuvv7dWtCjbmVJcrskyk= -github.com/aws/smithy-go v1.13.4/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= +github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -818,8 +820,9 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= @@ -1033,10 +1036,12 @@ github.com/hashicorp/terraform-json v0.5.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8j github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= github.com/hashicorp/terraform-json v0.14.0 h1:sh9iZ1Y8IFJLx+xQiKHGud6/TSUCM0N8e17dKDpqV7s= github.com/hashicorp/terraform-json v0.14.0/go.mod h1:5A9HIWPkk4e5aeeXIBbkcOvaZbIYnAIkEyqP2pNSckM= -github.com/hashicorp/terraform-plugin-go v0.12.0 h1:6wW9mT1dSs0Xq4LR6HXj1heQ5ovr5GxXNJwkErZzpJw= github.com/hashicorp/terraform-plugin-go v0.12.0/go.mod h1:kwhmaWHNDvT1B3QiSJdAtrB/D4RaKSY/v3r2BuoWK4M= -github.com/hashicorp/terraform-plugin-log v0.6.0 h1:/Vq78uSIdUSZ3iqDc9PESKtwt8YqNKN6u+khD+lLjuw= +github.com/hashicorp/terraform-plugin-go v0.14.0 h1:ttnSlS8bz3ZPYbMb84DpcPhY4F5DsQtcAS7cHo8uvP4= +github.com/hashicorp/terraform-plugin-go v0.14.0/go.mod h1:2nNCBeRLaenyQEi78xrGrs9hMbulveqG/zDMQSvVJTE= github.com/hashicorp/terraform-plugin-log v0.6.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= +github.com/hashicorp/terraform-plugin-log v0.7.0 h1:SDxJUyT8TwN4l5b5/VkiTIaQgY6R+Y2BQ0sRZftGKQs= +github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-sdk v1.15.0 h1:bmYnTT7MqNXlUHDc7pT8E6uKT2g/upjlRLypJFK1OQU= github.com/hashicorp/terraform-plugin-sdk v1.15.0/go.mod h1:PuFTln8urDmRM6mV0II6apOTsyG/iHkxp+5W11eJE58= @@ -1421,8 +1426,8 @@ github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.14 h1:ni+M5q9QIZQq5xQiYzbttDZpPQogPWx8MdHpvZtWcTE= github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.14/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s= -github.com/opsgenie/terraform-provider-opsgenie v0.6.18 h1:Vsqjq7yKxCydFSFKr2y1CpkGa8mu+v0TnMFA4Wvrrtc= -github.com/opsgenie/terraform-provider-opsgenie v0.6.18/go.mod h1:1ZJtyrJVobDTuN6055x0SfopYIKX0YyFkWXLSphjD3k= +github.com/opsgenie/terraform-provider-opsgenie v0.6.20 h1:0BDeg/gOdMs2pJOVkFoKl4vJSkI0Dl1rqfVMA+eFNdQ= +github.com/opsgenie/terraform-provider-opsgenie v0.6.20/go.mod h1:1ZJtyrJVobDTuN6055x0SfopYIKX0YyFkWXLSphjD3k= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= @@ -1518,14 +1523,14 @@ github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGO github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/pulumi/pulumi-java/pkg v0.7.1 h1:3tl36+I5BRYVXbq10mqDeh3X5kdJBaNDYiATOfEfgSY= github.com/pulumi/pulumi-java/pkg v0.7.1/go.mod h1:XdN2jYNlcQewr0MFecZfBnY3gnGcvV+WoPTzQqH48k4= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.0 h1:Bho2n0wbfq6UwE7YXYahHURXKTwpZVz2bBtz9WVpzN4= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.0/go.mod h1:RC9XOYwRU6c+1TtZKwwzpojz6POHz8Mbtx9qZcU+lPA= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.39.3 h1:RWr0sNrurBOQhPmkeUS4E5+tEeAvFPhqjTBp07SSBJc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.39.3/go.mod h1:McH/PLanWyrObVQIPwwZAffK26hxNXQScjp6NyGibpo= github.com/pulumi/pulumi-yaml v1.0.4 h1:p+989rW3AqkkxbzxtxccHKAN4xCJi3K2cRpvA2K84tw= github.com/pulumi/pulumi-yaml v1.0.4/go.mod h1:Szj8ud4Vqyq3oO1n3kzIUfaP3AiCjYZM4FYjOVWwJn8= -github.com/pulumi/pulumi/pkg/v3 v3.51.0 h1:FAgWGex4SIMvu3wCIoANjhI4uEUXk4IgHM/HMVZnZ0M= -github.com/pulumi/pulumi/pkg/v3 v3.51.0/go.mod h1:bFQ7L/kRgR7NIcVM4ET0Jm7n0k2oCeiEIUQtcEibKLs= -github.com/pulumi/pulumi/sdk/v3 v3.51.0 h1:i9xhvte67aNNk9q9M8/KV7An3zWp6Na8huKRznZx1lw= -github.com/pulumi/pulumi/sdk/v3 v3.51.0/go.mod h1:tqQ4z9ocyM/UI2VQ7ZReWR3w6dF5ffEozoHipOMcDh4= +github.com/pulumi/pulumi/pkg/v3 v3.53.1 h1:NSgzjci0ykEoKC2BHmp/brP7/V8ARafl8ovr76B9Jak= +github.com/pulumi/pulumi/pkg/v3 v3.53.1/go.mod h1:XqciW5mPO8RxBEbN2/My9XjO829UQ2cHuhVLfoKM/yE= +github.com/pulumi/pulumi/sdk/v3 v3.53.1 h1:fTYqe0fQiGshlOuHwpjOqQOb2SW3CSqXteeGcAuO+Bk= +github.com/pulumi/pulumi/sdk/v3 v3.53.1/go.mod h1:IYcBrkAwKEGRVq7R1ne3XJKB5bcux5eL3M/zqco7d6Y= github.com/pulumi/schema-tools v0.1.0 h1:o1nVQaJEnmcA+3trxe+0sIDlrILxEIOvgUQ2Ze4OFsk= github.com/pulumi/schema-tools v0.1.0/go.mod h1:feL1siLWdcCNUm+irXoHyNHbGaqoX7pfYojpGZe2ziY= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= diff --git a/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionArgs.cs b/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionArgs.cs index 7d3decc7..3e9c3379 100644 --- a/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionArgs.cs +++ b/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionArgs.cs @@ -12,6 +12,14 @@ namespace Pulumi.Opsgenie.Inputs public sealed class NotificationRuleTimeRestrictionArgs : global::Pulumi.ResourceArgs { + [Input("restriction")] + private InputList? _restriction; + public InputList Restriction + { + get => _restriction ?? (_restriction = new InputList()); + set => _restriction = value; + } + [Input("restrictions")] private InputList? _restrictions; public InputList Restrictions diff --git a/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionGetArgs.cs b/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionGetArgs.cs index fffda16d..60c5dbc2 100644 --- a/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionGetArgs.cs +++ b/sdk/dotnet/Inputs/NotificationRuleTimeRestrictionGetArgs.cs @@ -12,6 +12,14 @@ namespace Pulumi.Opsgenie.Inputs public sealed class NotificationRuleTimeRestrictionGetArgs : global::Pulumi.ResourceArgs { + [Input("restriction")] + private InputList? _restriction; + public InputList Restriction + { + get => _restriction ?? (_restriction = new InputList()); + set => _restriction = value; + } + [Input("restrictions")] private InputList? _restrictions; public InputList Restrictions diff --git a/sdk/dotnet/Outputs/NotificationRuleTimeRestriction.cs b/sdk/dotnet/Outputs/NotificationRuleTimeRestriction.cs index 5ad405b4..03098e3f 100644 --- a/sdk/dotnet/Outputs/NotificationRuleTimeRestriction.cs +++ b/sdk/dotnet/Outputs/NotificationRuleTimeRestriction.cs @@ -13,6 +13,7 @@ namespace Pulumi.Opsgenie.Outputs [OutputType] public sealed class NotificationRuleTimeRestriction { + public readonly ImmutableArray Restriction; public readonly ImmutableArray Restrictions; /// /// Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` @@ -21,10 +22,13 @@ public sealed class NotificationRuleTimeRestriction [OutputConstructor] private NotificationRuleTimeRestriction( + ImmutableArray restriction, + ImmutableArray restrictions, string type) { + Restriction = restriction; Restrictions = restrictions; Type = type; } diff --git a/sdk/go/opsgenie/pulumiTypes.go b/sdk/go/opsgenie/pulumiTypes.go index d88bbdf3..9078a68c 100644 --- a/sdk/go/opsgenie/pulumiTypes.go +++ b/sdk/go/opsgenie/pulumiTypes.go @@ -6102,6 +6102,7 @@ func (o NotificationRuleStepContactArrayOutput) Index(i pulumi.IntInput) Notific } type NotificationRuleTimeRestriction struct { + Restriction []NotificationRuleTimeRestrictionRestriction `pulumi:"restriction"` Restrictions []NotificationRuleTimeRestrictionRestriction `pulumi:"restrictions"` // Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` Type string `pulumi:"type"` @@ -6119,6 +6120,7 @@ type NotificationRuleTimeRestrictionInput interface { } type NotificationRuleTimeRestrictionArgs struct { + Restriction NotificationRuleTimeRestrictionRestrictionArrayInput `pulumi:"restriction"` Restrictions NotificationRuleTimeRestrictionRestrictionArrayInput `pulumi:"restrictions"` // Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` Type pulumi.StringInput `pulumi:"type"` @@ -6175,6 +6177,12 @@ func (o NotificationRuleTimeRestrictionOutput) ToNotificationRuleTimeRestriction return o } +func (o NotificationRuleTimeRestrictionOutput) Restriction() NotificationRuleTimeRestrictionRestrictionArrayOutput { + return o.ApplyT(func(v NotificationRuleTimeRestriction) []NotificationRuleTimeRestrictionRestriction { + return v.Restriction + }).(NotificationRuleTimeRestrictionRestrictionArrayOutput) +} + func (o NotificationRuleTimeRestrictionOutput) Restrictions() NotificationRuleTimeRestrictionRestrictionArrayOutput { return o.ApplyT(func(v NotificationRuleTimeRestriction) []NotificationRuleTimeRestrictionRestriction { return v.Restrictions diff --git a/sdk/java/src/main/java/com/pulumi/opsgenie/inputs/NotificationRuleTimeRestrictionArgs.java b/sdk/java/src/main/java/com/pulumi/opsgenie/inputs/NotificationRuleTimeRestrictionArgs.java index ac008471..e70356cc 100644 --- a/sdk/java/src/main/java/com/pulumi/opsgenie/inputs/NotificationRuleTimeRestrictionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/opsgenie/inputs/NotificationRuleTimeRestrictionArgs.java @@ -17,6 +17,13 @@ public final class NotificationRuleTimeRestrictionArgs extends com.pulumi.resour public static final NotificationRuleTimeRestrictionArgs Empty = new NotificationRuleTimeRestrictionArgs(); + @Import(name="restriction") + private @Nullable Output> restriction; + + public Optional>> restriction() { + return Optional.ofNullable(this.restriction); + } + @Import(name="restrictions") private @Nullable Output> restrictions; @@ -42,6 +49,7 @@ public Output type() { private NotificationRuleTimeRestrictionArgs() {} private NotificationRuleTimeRestrictionArgs(NotificationRuleTimeRestrictionArgs $) { + this.restriction = $.restriction; this.restrictions = $.restrictions; this.type = $.type; } @@ -64,6 +72,19 @@ public Builder(NotificationRuleTimeRestrictionArgs defaults) { $ = new NotificationRuleTimeRestrictionArgs(Objects.requireNonNull(defaults)); } + public Builder restriction(@Nullable Output> restriction) { + $.restriction = restriction; + return this; + } + + public Builder restriction(List restriction) { + return restriction(Output.of(restriction)); + } + + public Builder restriction(NotificationRuleTimeRestrictionRestrictionArgs... restriction) { + return restriction(List.of(restriction)); + } + public Builder restrictions(@Nullable Output> restrictions) { $.restrictions = restrictions; return this; diff --git a/sdk/java/src/main/java/com/pulumi/opsgenie/outputs/NotificationRuleTimeRestriction.java b/sdk/java/src/main/java/com/pulumi/opsgenie/outputs/NotificationRuleTimeRestriction.java index 2fdb6249..62627c0d 100644 --- a/sdk/java/src/main/java/com/pulumi/opsgenie/outputs/NotificationRuleTimeRestriction.java +++ b/sdk/java/src/main/java/com/pulumi/opsgenie/outputs/NotificationRuleTimeRestriction.java @@ -12,6 +12,7 @@ @CustomType public final class NotificationRuleTimeRestriction { + private @Nullable List restriction; private @Nullable List restrictions; /** * @return Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` @@ -20,6 +21,9 @@ public final class NotificationRuleTimeRestriction { private String type; private NotificationRuleTimeRestriction() {} + public List restriction() { + return this.restriction == null ? List.of() : this.restriction; + } public List restrictions() { return this.restrictions == null ? List.of() : this.restrictions; } @@ -40,15 +44,25 @@ public static Builder builder(NotificationRuleTimeRestriction defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable List restriction; private @Nullable List restrictions; private String type; public Builder() {} public Builder(NotificationRuleTimeRestriction defaults) { Objects.requireNonNull(defaults); + this.restriction = defaults.restriction; this.restrictions = defaults.restrictions; this.type = defaults.type; } + @CustomType.Setter + public Builder restriction(@Nullable List restriction) { + this.restriction = restriction; + return this; + } + public Builder restriction(NotificationRuleTimeRestrictionRestriction... restriction) { + return restriction(List.of(restriction)); + } @CustomType.Setter public Builder restrictions(@Nullable List restrictions) { this.restrictions = restrictions; @@ -64,6 +78,7 @@ public Builder type(String type) { } public NotificationRuleTimeRestriction build() { final var o = new NotificationRuleTimeRestriction(); + o.restriction = restriction; o.restrictions = restrictions; o.type = type; return o; diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 191bbdaf..9d904ceb 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -888,6 +888,7 @@ export interface NotificationRuleStepContact { } export interface NotificationRuleTimeRestriction { + restriction?: pulumi.Input[]>; restrictions?: pulumi.Input[]>; /** * Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index b429ef26..ee25501a 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -858,6 +858,7 @@ export interface NotificationRuleStepContact { } export interface NotificationRuleTimeRestriction { + restriction?: outputs.NotificationRuleTimeRestrictionRestriction[]; restrictions?: outputs.NotificationRuleTimeRestrictionRestriction[]; /** * Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` diff --git a/sdk/python/pulumi_opsgenie/_inputs.py b/sdk/python/pulumi_opsgenie/_inputs.py index 555998c2..e838047a 100644 --- a/sdk/python/pulumi_opsgenie/_inputs.py +++ b/sdk/python/pulumi_opsgenie/_inputs.py @@ -3346,11 +3346,14 @@ def to(self, value: pulumi.Input[str]): class NotificationRuleTimeRestrictionArgs: def __init__(__self__, *, type: pulumi.Input[str], + restriction: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationRuleTimeRestrictionRestrictionArgs']]]] = None, restrictions: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationRuleTimeRestrictionRestrictionArgs']]]] = None): """ :param pulumi.Input[str] type: Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` """ pulumi.set(__self__, "type", type) + if restriction is not None: + pulumi.set(__self__, "restriction", restriction) if restrictions is not None: pulumi.set(__self__, "restrictions", restrictions) @@ -3366,6 +3369,15 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) + @property + @pulumi.getter + def restriction(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationRuleTimeRestrictionRestrictionArgs']]]]: + return pulumi.get(self, "restriction") + + @restriction.setter + def restriction(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationRuleTimeRestrictionRestrictionArgs']]]]): + pulumi.set(self, "restriction", value) + @property @pulumi.getter def restrictions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NotificationRuleTimeRestrictionRestrictionArgs']]]]: diff --git a/sdk/python/pulumi_opsgenie/outputs.py b/sdk/python/pulumi_opsgenie/outputs.py index 1b6b137f..c89e0596 100644 --- a/sdk/python/pulumi_opsgenie/outputs.py +++ b/sdk/python/pulumi_opsgenie/outputs.py @@ -3108,11 +3108,14 @@ def to(self) -> str: class NotificationRuleTimeRestriction(dict): def __init__(__self__, *, type: str, + restriction: Optional[Sequence['outputs.NotificationRuleTimeRestrictionRestriction']] = None, restrictions: Optional[Sequence['outputs.NotificationRuleTimeRestrictionRestriction']] = None): """ :param str type: Kind of matching filter. Possible values: `match-all`, `match-any-condition`, `match-all-conditions` """ pulumi.set(__self__, "type", type) + if restriction is not None: + pulumi.set(__self__, "restriction", restriction) if restrictions is not None: pulumi.set(__self__, "restrictions", restrictions) @@ -3124,6 +3127,11 @@ def type(self) -> str: """ return pulumi.get(self, "type") + @property + @pulumi.getter + def restriction(self) -> Optional[Sequence['outputs.NotificationRuleTimeRestrictionRestriction']]: + return pulumi.get(self, "restriction") + @property @pulumi.getter def restrictions(self) -> Optional[Sequence['outputs.NotificationRuleTimeRestrictionRestriction']]: