From 1378a69448e8b4b44c611c223be676f08159febf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 08:35:53 +0000 Subject: [PATCH 1/2] provider(deps): bump github.com/dynatrace-oss/terraform-provider-dynatrace Bumps the modules group in /provider with 1 update: [github.com/dynatrace-oss/terraform-provider-dynatrace](https://github.com/dynatrace-oss/terraform-provider-dynatrace). Updates `github.com/dynatrace-oss/terraform-provider-dynatrace` from 1.71.0 to 1.72.0 - [Release notes](https://github.com/dynatrace-oss/terraform-provider-dynatrace/releases) - [Changelog](https://github.com/dynatrace-oss/terraform-provider-dynatrace/blob/main/.goreleaser.yml) - [Commits](https://github.com/dynatrace-oss/terraform-provider-dynatrace/compare/v1.71.0...v1.72.0) --- updated-dependencies: - dependency-name: github.com/dynatrace-oss/terraform-provider-dynatrace dependency-type: direct:production update-type: version-update:semver-minor dependency-group: modules ... Signed-off-by: dependabot[bot] --- provider/go.mod | 44 ++++++++++----------- provider/go.sum | 101 +++++++++++++++++++++++++++--------------------- 2 files changed, 78 insertions(+), 67 deletions(-) diff --git a/provider/go.mod b/provider/go.mod index bfaece8e..753fb3ec 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -7,14 +7,14 @@ toolchain go1.23.2 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 require ( - github.com/dynatrace-oss/terraform-provider-dynatrace v1.71.0 + github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.98.0 github.com/pulumi/pulumi/sdk/v3 v3.143.0 ) require ( cloud.google.com/go v0.112.1 // indirect - cloud.google.com/go/compute/metadata v0.5.0 // indirect + cloud.google.com/go/compute/metadata v0.5.2 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/storage v1.39.1 // indirect dario.cat/mergo v1.0.0 // indirect @@ -24,7 +24,7 @@ require ( github.com/Masterminds/semver/v3 v3.2.0 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect + github.com/ProtonMail/go-crypto v1.1.3 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect @@ -40,17 +40,17 @@ require ( github.com/charmbracelet/bubbletea v0.25.0 // indirect github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect - github.com/cloudflare/circl v1.3.7 // indirect + github.com/cloudflare/circl v1.5.0 // indirect github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/deckarep/golang-set/v2 v2.5.0 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dlclark/regexp2 v1.11.0 // indirect + github.com/dlclark/regexp2 v1.11.4 // indirect github.com/dynatrace/dynatrace-configuration-as-code-core v0.7.1-0.20241203095532-6211d1be0eb7 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/fatih/color v1.16.0 // indirect + github.com/fatih/color v1.18.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect @@ -76,15 +76,15 @@ require ( github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect - github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/go-version v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.22.0 // indirect + github.com/hashicorp/hcl/v2 v2.23.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.24.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-sdk v1.17.2 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/huandu/xstrings v1.4.0 // indirect github.com/iancoleman/strcase v0.2.0 // indirect @@ -158,32 +158,32 @@ require ( github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/yuin/goldmark v1.7.4 // indirect - github.com/zclconf/go-cty v1.14.2 // indirect + github.com/zclconf/go-cty v1.15.1 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect - go.opentelemetry.io/otel v1.24.0 // indirect - go.opentelemetry.io/otel/metric v1.24.0 // indirect - go.opentelemetry.io/otel/trace v1.24.0 // indirect + go.opentelemetry.io/otel v1.31.0 // indirect + go.opentelemetry.io/otel/metric v1.31.0 // indirect + go.opentelemetry.io/otel/trace v1.31.0 // indirect go.uber.org/atomic v1.9.0 // indirect golang.org/x/crypto v0.31.0 // indirect - golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect - golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.28.0 // indirect + golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect + golang.org/x/mod v0.22.0 // indirect + golang.org/x/net v0.33.0 // indirect golang.org/x/oauth2 v0.24.0 // indirect golang.org/x/sync v0.10.0 // indirect golang.org/x/sys v0.28.0 // indirect golang.org/x/term v0.27.0 // indirect golang.org/x/text v0.21.0 // indirect golang.org/x/time v0.8.0 // indirect - golang.org/x/tools v0.22.0 // indirect + golang.org/x/tools v0.28.0 // indirect google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect - google.golang.org/grpc v1.67.1 // indirect - google.golang.org/protobuf v1.35.1 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484 // indirect + google.golang.org/grpc v1.69.2 // indirect + google.golang.org/protobuf v1.36.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect diff --git a/provider/go.sum b/provider/go.sum index 50c8f949..dbca45d4 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -308,8 +308,8 @@ cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZ cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY= -cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY= +cloud.google.com/go/compute/metadata v0.5.2 h1:UxK4uu/Tn+I3p2dYWTfiX4wva7aYlKixAHn3fyqngqo= +cloud.google.com/go/compute/metadata v0.5.2/go.mod h1:C66sj2AluDcIqakBq/M8lw8/ybHgOZqin2obFxa/E5k= cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= @@ -1189,8 +1189,9 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-crypto v1.1.0-alpha.0 h1:nHGfwXmFvJrSR9xu8qL7BkO4DqTHXE9N5vPhgY2I+j0= github.com/ProtonMail/go-crypto v1.1.0-alpha.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk= +github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= @@ -1298,8 +1299,9 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= +github.com/cloudflare/circl v1.5.0 h1:hxIWksrX6XN5a1L2TI/h53AGPhNHoUBo+TD1ms9+pys= +github.com/cloudflare/circl v1.5.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= @@ -1329,13 +1331,13 @@ github.com/deckarep/golang-set/v2 v2.5.0 h1:hn6cEZtQ0h3J8kFrHR/NrzyOoTnjgW1+FmNJ github.com/deckarep/golang-set/v2 v2.5.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= -github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= -github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= +github.com/dlclark/regexp2 v1.11.4 h1:rPYF9/LECdNymJufQKmri9gV604RvvABwgOA8un7yAo= +github.com/dlclark/regexp2 v1.11.4/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dynatrace-oss/terraform-provider-dynatrace v1.71.0 h1:YS9sXslPVH60267HeIYJ75WE/4DVt6p389i5mRUx1C0= -github.com/dynatrace-oss/terraform-provider-dynatrace v1.71.0/go.mod h1:8QG155qPPQQ/9yLNFCaABdIt16SUb59MFB1WZpbPknw= +github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.0 h1:xlc6THJGl0Fz7cNWv/ujq1ok9rkM9YHcKiqjAkVVTRE= +github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.0/go.mod h1:QCafDZ6KR6X6fS2bjPX3vK43M7SU/WLy5RD0Z7nHbmk= github.com/dynatrace/dynatrace-configuration-as-code-core v0.7.1-0.20241203095532-6211d1be0eb7 h1:OYTSC/vJETxZHWZEaZsmxH26xIThpDQ9es8rHA6cI9o= github.com/dynatrace/dynatrace-configuration-as-code-core v0.7.1-0.20241203095532-6211d1be0eb7/go.mod h1:uexblPw82NA/x+hnBOMhHdc3xlM9tuUPW4+sVcd80Ow= github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= @@ -1371,8 +1373,9 @@ github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= +github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= +github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= @@ -1609,8 +1612,8 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9 github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= github.com/hashicorp/go-plugin v1.3.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= -github.com/hashicorp/go-plugin v1.6.1 h1:P7MR2UP6gNKGPp+y7EZw2kOiq4IR9WiqLvp0XOsVdwI= -github.com/hashicorp/go-plugin v1.6.1/go.mod h1:XPHFku2tFo3o3QKFgSYo+cghcUhw1NA1hZyMK0PWAw0= +github.com/hashicorp/go-plugin v1.6.2 h1:zdGAEd0V1lCaU0u+MxWQhtSDQmahpkwOun8U8EiRVog= +github.com/hashicorp/go-plugin v1.6.2/go.mod h1:CkgLQ5CZqNmdL9U9JzM532t8ZiYQ35+pj3b1FD37R0Q= github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= @@ -1630,21 +1633,23 @@ github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= +github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= -github.com/hashicorp/hc-install v0.6.3 h1:yE/r1yJvWbtrJ0STwScgEnCanb0U9v7zp0Gbkmcoxqs= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= +github.com/hashicorp/hc-install v0.9.0 h1:2dIk8LcvANwtv3QZLckxcjyF5w8KVtiMxu6G6eLhghE= +github.com/hashicorp/hc-install v0.9.0/go.mod h1:+6vOP+mf3tuGgMApVYtmsnDoKWMDcFXeTxCACYZ8SFg= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= github.com/hashicorp/hcl/v2 v2.8.2/go.mod h1:bQTN5mpo+jewjJgh8jr0JUguIi7qPHUF6yIfAEN3jqY= github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= -github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M= -github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= +github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos= +github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1652,16 +1657,18 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= github.com/hashicorp/terraform-exec v0.13.3/go.mod h1:SSg6lbUsVB3DmFyCPjBPklqf6EYGX0TlQ6QTxOlikDU= -github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8JyYF3vpnuEo= github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw= +github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVWkd/RG0D2XQ= +github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= github.com/hashicorp/terraform-json v0.10.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE= github.com/hashicorp/terraform-json v0.19.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= -github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= +github.com/hashicorp/terraform-json v0.24.0 h1:rUiyF+x1kYawXeRth6fKFm/MdfBS6+lW4NbeATsYz8Q= +github.com/hashicorp/terraform-json v0.24.0/go.mod h1:Nfj5ubo9xbu9uiAoZVBsNOjvNKB66Oyrvtit74kC7ow= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= -github.com/hashicorp/terraform-plugin-go v0.24.0 h1:2WpHhginCdVhFIrWHxDEg6RBn3YaWzR2o6qUeIEat2U= -github.com/hashicorp/terraform-plugin-go v0.24.0/go.mod h1:tUQ53lAsOyYSckFGEefGC5C8BAaO0ENqzFd3bQeuYQg= +github.com/hashicorp/terraform-plugin-go v0.25.0 h1:oi13cx7xXA6QciMcpcFi/rwA974rdTxjqEhXJjbAyks= +github.com/hashicorp/terraform-plugin-go v0.25.0/go.mod h1:+SYagMYadJP86Kvn+TGeV+ofr/R3g4/If0O5sO96MVw= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= @@ -1679,8 +1686,9 @@ github.com/hashicorp/vault/api v1.12.0 h1:meCpJSesvzQyao8FCOgk2fGdoADAnbDu2WPJN1 github.com/hashicorp/vault/api v1.12.0/go.mod h1:si+lJCYO7oGkIoNPAN8j3azBLTn9SjMGS+jFaHd1Cck= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8= +github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6FT1wIns= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= github.com/hexops/autogold/v2 v2.2.1 h1:JPUXuZQGkcQMv7eeDXuNMovjfoRYaa0yVcm+F3voaGY= @@ -2074,8 +2082,9 @@ github.com/zclconf/go-cty v1.8.2/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUA github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.15.1 h1:RgQYm4j2EvoBRXOPxhUvxPzRrGDo1eCOhHXuGfrj5S0= +github.com/zclconf/go-cty v1.15.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= @@ -2097,14 +2106,16 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.4 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= -go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= -go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= -go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= -go.opentelemetry.io/otel/sdk v1.22.0 h1:6coWHw9xw7EfClIC/+O31R8IY3/+EiRFHevmHafB2Gw= -go.opentelemetry.io/otel/sdk v1.22.0/go.mod h1:iu7luyVGYovrRpe2fmj3CVKouQNdTOkxtLzPvPz1DOc= -go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= -go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= +go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= +go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= +go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= +go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= +go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= +go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= +go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= +go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= +go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys= +go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= @@ -2166,8 +2177,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -2217,8 +2228,8 @@ golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= -golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= +golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2297,8 +2308,8 @@ golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2598,8 +2609,8 @@ golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/tools v0.10.0/go.mod h1:UJwyiVBsOA2uwvK/e5OY3GTpDUJriEd+/YlqAwLPmyM= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= -golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= +golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -2867,8 +2878,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405/go.mod h1:oT32Z4o8Zv2xPQTg0pbVaPr0MPOH6f14RgXt7zfIpwg= google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= -google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 h1:wKguEg1hsxI2/L3hUYrpo1RVi48K+uTyzKqprwLXsb8= -google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142/go.mod h1:d6be+8HhtEtucleCbxpPW9PA9XwISACu8nvpPqF0BVo= +google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 h1:fVoAXEKA4+yufmbdVYv+SE73+cPZbbbe8paLsHfkK+U= +google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53/go.mod h1:riSXTwQ4+nqmPGtobMFyW5FqVAmIs0St6VPp4Ug7CE4= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c= google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= @@ -2889,8 +2900,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:e7S5W7MGGLaSu8j3YjdezkZ+m1/Nm0uRVRMEMGk26Xs= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484 h1:Z7FRVJPSMaHQxD0uXU8WdgFh8PseLM8Q8NzhnpMrBhQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484/go.mod h1:lcTa1sDdWEIHMWlITnIczmw5w60CF9ffkb8Z+DVmmjA= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -2943,8 +2954,8 @@ google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSs google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= -google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= -google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= +google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU= +google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2966,8 +2977,8 @@ google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= -google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ= +google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From a1e024b631b65ae006928c302d1715e7d0e68d5b Mon Sep 17 00:00:00 2001 From: Piers Karsenbarg Date: Mon, 23 Dec 2024 08:53:14 +0000 Subject: [PATCH 2/2] Updated upstream tf modules --- .../cmd/pulumi-resource-dynatrace/schema.json | 158 +++++++ sdk/dotnet/GithubConnection.cs | 154 +++++++ sdk/dotnet/Ms365EmailConnection.cs | 208 ++++++++++ sdk/go/dynatrace/githubConnection.go | 255 ++++++++++++ sdk/go/dynatrace/init.go | 14 + sdk/go/dynatrace/ms365EmailConnection.go | 309 ++++++++++++++ sdk/nodejs/githubConnection.ts | 114 +++++ sdk/nodejs/index.ts | 16 + sdk/nodejs/ms365EmailConnection.ts | 165 ++++++++ sdk/nodejs/tsconfig.json | 2 + sdk/python/pulumiverse_dynatrace/__init__.py | 18 + .../github_connection.py | 245 +++++++++++ .../ms365_email_connection.py | 389 ++++++++++++++++++ 13 files changed, 2047 insertions(+) create mode 100644 sdk/dotnet/GithubConnection.cs create mode 100644 sdk/dotnet/Ms365EmailConnection.cs create mode 100644 sdk/go/dynatrace/githubConnection.go create mode 100644 sdk/go/dynatrace/ms365EmailConnection.go create mode 100644 sdk/nodejs/githubConnection.ts create mode 100644 sdk/nodejs/ms365EmailConnection.ts create mode 100644 sdk/python/pulumiverse_dynatrace/github_connection.py create mode 100644 sdk/python/pulumiverse_dynatrace/ms365_email_connection.py diff --git a/provider/cmd/pulumi-resource-dynatrace/schema.json b/provider/cmd/pulumi-resource-dynatrace/schema.json index 0c0e8a5b..c665ee8e 100644 --- a/provider/cmd/pulumi-resource-dynatrace/schema.json +++ b/provider/cmd/pulumi-resource-dynatrace/schema.json @@ -54630,6 +54630,64 @@ "type": "object" } }, + "dynatrace:index/githubConnection:GithubConnection": { + "properties": { + "name": { + "type": "string", + "description": "The name of the GitHub connection\n" + }, + "token": { + "type": "string", + "description": "Token for the selected authentication type\n", + "secret": true + }, + "type": { + "type": "string", + "description": "Possible Values: `pat`\n" + } + }, + "required": [ + "name", + "type" + ], + "inputProperties": { + "name": { + "type": "string", + "description": "The name of the GitHub connection\n" + }, + "token": { + "type": "string", + "description": "Token for the selected authentication type\n", + "secret": true + }, + "type": { + "type": "string", + "description": "Possible Values: `pat`\n" + } + }, + "requiredInputs": [ + "type" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering GithubConnection resources.\n", + "properties": { + "name": { + "type": "string", + "description": "The name of the GitHub connection\n" + }, + "token": { + "type": "string", + "description": "Token for the selected authentication type\n", + "secret": true + }, + "type": { + "type": "string", + "description": "Possible Values: `pat`\n" + } + }, + "type": "object" + } + }, "dynatrace:index/gitlabConnection:GitlabConnection": { "properties": { "name": { @@ -64923,6 +64981,106 @@ "type": "object" } }, + "dynatrace:index/ms365EmailConnection:Ms365EmailConnection": { + "properties": { + "clientId": { + "type": "string", + "description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n" + }, + "clientSecret": { + "type": "string", + "description": "Client secret of your app registered in Microsoft Azure App registrations\n", + "secret": true + }, + "fromAddress": { + "type": "string", + "description": "The email address from which the messages will be sent\n" + }, + "name": { + "type": "string", + "description": "A unique name for the Microsoft 365 email connection\n" + }, + "tenantId": { + "type": "string", + "description": "Directory (tenant) ID of your Azure Active Directory\n" + }, + "type": { + "type": "string", + "description": "Possible Values: `client_secret`\n" + } + }, + "required": [ + "clientId", + "fromAddress", + "name", + "tenantId", + "type" + ], + "inputProperties": { + "clientId": { + "type": "string", + "description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n" + }, + "clientSecret": { + "type": "string", + "description": "Client secret of your app registered in Microsoft Azure App registrations\n", + "secret": true + }, + "fromAddress": { + "type": "string", + "description": "The email address from which the messages will be sent\n" + }, + "name": { + "type": "string", + "description": "A unique name for the Microsoft 365 email connection\n" + }, + "tenantId": { + "type": "string", + "description": "Directory (tenant) ID of your Azure Active Directory\n" + }, + "type": { + "type": "string", + "description": "Possible Values: `client_secret`\n" + } + }, + "requiredInputs": [ + "clientId", + "fromAddress", + "tenantId", + "type" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Ms365EmailConnection resources.\n", + "properties": { + "clientId": { + "type": "string", + "description": "Application (client) ID of your app registered in Microsoft Azure App registrations\n" + }, + "clientSecret": { + "type": "string", + "description": "Client secret of your app registered in Microsoft Azure App registrations\n", + "secret": true + }, + "fromAddress": { + "type": "string", + "description": "The email address from which the messages will be sent\n" + }, + "name": { + "type": "string", + "description": "A unique name for the Microsoft 365 email connection\n" + }, + "tenantId": { + "type": "string", + "description": "Directory (tenant) ID of your Azure Active Directory\n" + }, + "type": { + "type": "string", + "description": "Possible Values: `client_secret`\n" + } + }, + "type": "object" + } + }, "dynatrace:index/msentraidConnection:MsentraidConnection": { "properties": { "applicationId": { diff --git a/sdk/dotnet/GithubConnection.cs b/sdk/dotnet/GithubConnection.cs new file mode 100644 index 00000000..e9d7463f --- /dev/null +++ b/sdk/dotnet/GithubConnection.cs @@ -0,0 +1,154 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace +{ + [DynatraceResourceType("dynatrace:index/githubConnection:GithubConnection")] + public partial class GithubConnection : global::Pulumi.CustomResource + { + /// + /// The name of the GitHub connection + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Token for the selected authentication type + /// + [Output("token")] + public Output Token { get; private set; } = null!; + + /// + /// Possible Values: `pat` + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GithubConnection resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public GithubConnection(string name, GithubConnectionArgs args, CustomResourceOptions? options = null) + : base("dynatrace:index/githubConnection:GithubConnection", name, args ?? new GithubConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private GithubConnection(string name, Input id, GithubConnectionState? state = null, CustomResourceOptions? options = null) + : base("dynatrace:index/githubConnection:GithubConnection", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "token", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing GithubConnection resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static GithubConnection Get(string name, Input id, GithubConnectionState? state = null, CustomResourceOptions? options = null) + { + return new GithubConnection(name, id, state, options); + } + } + + public sealed class GithubConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the GitHub connection + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("token")] + private Input? _token; + + /// + /// Token for the selected authentication type + /// + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Possible Values: `pat` + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public GithubConnectionArgs() + { + } + public static new GithubConnectionArgs Empty => new GithubConnectionArgs(); + } + + public sealed class GithubConnectionState : global::Pulumi.ResourceArgs + { + /// + /// The name of the GitHub connection + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("token")] + private Input? _token; + + /// + /// Token for the selected authentication type + /// + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Possible Values: `pat` + /// + [Input("type")] + public Input? Type { get; set; } + + public GithubConnectionState() + { + } + public static new GithubConnectionState Empty => new GithubConnectionState(); + } +} diff --git a/sdk/dotnet/Ms365EmailConnection.cs b/sdk/dotnet/Ms365EmailConnection.cs new file mode 100644 index 00000000..f1b10c09 --- /dev/null +++ b/sdk/dotnet/Ms365EmailConnection.cs @@ -0,0 +1,208 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace +{ + [DynatraceResourceType("dynatrace:index/ms365EmailConnection:Ms365EmailConnection")] + public partial class Ms365EmailConnection : global::Pulumi.CustomResource + { + /// + /// Application (client) ID of your app registered in Microsoft Azure App registrations + /// + [Output("clientId")] + public Output ClientId { get; private set; } = null!; + + /// + /// Client secret of your app registered in Microsoft Azure App registrations + /// + [Output("clientSecret")] + public Output ClientSecret { get; private set; } = null!; + + /// + /// The email address from which the messages will be sent + /// + [Output("fromAddress")] + public Output FromAddress { get; private set; } = null!; + + /// + /// A unique name for the Microsoft 365 email connection + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Directory (tenant) ID of your Azure Active Directory + /// + [Output("tenantId")] + public Output TenantId { get; private set; } = null!; + + /// + /// Possible Values: `client_secret` + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a Ms365EmailConnection resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Ms365EmailConnection(string name, Ms365EmailConnectionArgs args, CustomResourceOptions? options = null) + : base("dynatrace:index/ms365EmailConnection:Ms365EmailConnection", name, args ?? new Ms365EmailConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private Ms365EmailConnection(string name, Input id, Ms365EmailConnectionState? state = null, CustomResourceOptions? options = null) + : base("dynatrace:index/ms365EmailConnection:Ms365EmailConnection", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Ms365EmailConnection resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Ms365EmailConnection Get(string name, Input id, Ms365EmailConnectionState? state = null, CustomResourceOptions? options = null) + { + return new Ms365EmailConnection(name, id, state, options); + } + } + + public sealed class Ms365EmailConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Application (client) ID of your app registered in Microsoft Azure App registrations + /// + [Input("clientId", required: true)] + public Input ClientId { get; set; } = null!; + + [Input("clientSecret")] + private Input? _clientSecret; + + /// + /// Client secret of your app registered in Microsoft Azure App registrations + /// + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The email address from which the messages will be sent + /// + [Input("fromAddress", required: true)] + public Input FromAddress { get; set; } = null!; + + /// + /// A unique name for the Microsoft 365 email connection + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Directory (tenant) ID of your Azure Active Directory + /// + [Input("tenantId", required: true)] + public Input TenantId { get; set; } = null!; + + /// + /// Possible Values: `client_secret` + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public Ms365EmailConnectionArgs() + { + } + public static new Ms365EmailConnectionArgs Empty => new Ms365EmailConnectionArgs(); + } + + public sealed class Ms365EmailConnectionState : global::Pulumi.ResourceArgs + { + /// + /// Application (client) ID of your app registered in Microsoft Azure App registrations + /// + [Input("clientId")] + public Input? ClientId { get; set; } + + [Input("clientSecret")] + private Input? _clientSecret; + + /// + /// Client secret of your app registered in Microsoft Azure App registrations + /// + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The email address from which the messages will be sent + /// + [Input("fromAddress")] + public Input? FromAddress { get; set; } + + /// + /// A unique name for the Microsoft 365 email connection + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Directory (tenant) ID of your Azure Active Directory + /// + [Input("tenantId")] + public Input? TenantId { get; set; } + + /// + /// Possible Values: `client_secret` + /// + [Input("type")] + public Input? Type { get; set; } + + public Ms365EmailConnectionState() + { + } + public static new Ms365EmailConnectionState Empty => new Ms365EmailConnectionState(); + } +} diff --git a/sdk/go/dynatrace/githubConnection.go b/sdk/go/dynatrace/githubConnection.go new file mode 100644 index 00000000..b6775ee6 --- /dev/null +++ b/sdk/go/dynatrace/githubConnection.go @@ -0,0 +1,255 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package dynatrace + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace/internal" +) + +type GithubConnection struct { + pulumi.CustomResourceState + + // The name of the GitHub connection + Name pulumi.StringOutput `pulumi:"name"` + // Token for the selected authentication type + Token pulumi.StringPtrOutput `pulumi:"token"` + // Possible Values: `pat` + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewGithubConnection registers a new resource with the given unique name, arguments, and options. +func NewGithubConnection(ctx *pulumi.Context, + name string, args *GithubConnectionArgs, opts ...pulumi.ResourceOption) (*GithubConnection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + if args.Token != nil { + args.Token = pulumi.ToSecret(args.Token).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "token", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource GithubConnection + err := ctx.RegisterResource("dynatrace:index/githubConnection:GithubConnection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetGithubConnection gets an existing GithubConnection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetGithubConnection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *GithubConnectionState, opts ...pulumi.ResourceOption) (*GithubConnection, error) { + var resource GithubConnection + err := ctx.ReadResource("dynatrace:index/githubConnection:GithubConnection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering GithubConnection resources. +type githubConnectionState struct { + // The name of the GitHub connection + Name *string `pulumi:"name"` + // Token for the selected authentication type + Token *string `pulumi:"token"` + // Possible Values: `pat` + Type *string `pulumi:"type"` +} + +type GithubConnectionState struct { + // The name of the GitHub connection + Name pulumi.StringPtrInput + // Token for the selected authentication type + Token pulumi.StringPtrInput + // Possible Values: `pat` + Type pulumi.StringPtrInput +} + +func (GithubConnectionState) ElementType() reflect.Type { + return reflect.TypeOf((*githubConnectionState)(nil)).Elem() +} + +type githubConnectionArgs struct { + // The name of the GitHub connection + Name *string `pulumi:"name"` + // Token for the selected authentication type + Token *string `pulumi:"token"` + // Possible Values: `pat` + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a GithubConnection resource. +type GithubConnectionArgs struct { + // The name of the GitHub connection + Name pulumi.StringPtrInput + // Token for the selected authentication type + Token pulumi.StringPtrInput + // Possible Values: `pat` + Type pulumi.StringInput +} + +func (GithubConnectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*githubConnectionArgs)(nil)).Elem() +} + +type GithubConnectionInput interface { + pulumi.Input + + ToGithubConnectionOutput() GithubConnectionOutput + ToGithubConnectionOutputWithContext(ctx context.Context) GithubConnectionOutput +} + +func (*GithubConnection) ElementType() reflect.Type { + return reflect.TypeOf((**GithubConnection)(nil)).Elem() +} + +func (i *GithubConnection) ToGithubConnectionOutput() GithubConnectionOutput { + return i.ToGithubConnectionOutputWithContext(context.Background()) +} + +func (i *GithubConnection) ToGithubConnectionOutputWithContext(ctx context.Context) GithubConnectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GithubConnectionOutput) +} + +// GithubConnectionArrayInput is an input type that accepts GithubConnectionArray and GithubConnectionArrayOutput values. +// You can construct a concrete instance of `GithubConnectionArrayInput` via: +// +// GithubConnectionArray{ GithubConnectionArgs{...} } +type GithubConnectionArrayInput interface { + pulumi.Input + + ToGithubConnectionArrayOutput() GithubConnectionArrayOutput + ToGithubConnectionArrayOutputWithContext(context.Context) GithubConnectionArrayOutput +} + +type GithubConnectionArray []GithubConnectionInput + +func (GithubConnectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GithubConnection)(nil)).Elem() +} + +func (i GithubConnectionArray) ToGithubConnectionArrayOutput() GithubConnectionArrayOutput { + return i.ToGithubConnectionArrayOutputWithContext(context.Background()) +} + +func (i GithubConnectionArray) ToGithubConnectionArrayOutputWithContext(ctx context.Context) GithubConnectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GithubConnectionArrayOutput) +} + +// GithubConnectionMapInput is an input type that accepts GithubConnectionMap and GithubConnectionMapOutput values. +// You can construct a concrete instance of `GithubConnectionMapInput` via: +// +// GithubConnectionMap{ "key": GithubConnectionArgs{...} } +type GithubConnectionMapInput interface { + pulumi.Input + + ToGithubConnectionMapOutput() GithubConnectionMapOutput + ToGithubConnectionMapOutputWithContext(context.Context) GithubConnectionMapOutput +} + +type GithubConnectionMap map[string]GithubConnectionInput + +func (GithubConnectionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GithubConnection)(nil)).Elem() +} + +func (i GithubConnectionMap) ToGithubConnectionMapOutput() GithubConnectionMapOutput { + return i.ToGithubConnectionMapOutputWithContext(context.Background()) +} + +func (i GithubConnectionMap) ToGithubConnectionMapOutputWithContext(ctx context.Context) GithubConnectionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(GithubConnectionMapOutput) +} + +type GithubConnectionOutput struct{ *pulumi.OutputState } + +func (GithubConnectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GithubConnection)(nil)).Elem() +} + +func (o GithubConnectionOutput) ToGithubConnectionOutput() GithubConnectionOutput { + return o +} + +func (o GithubConnectionOutput) ToGithubConnectionOutputWithContext(ctx context.Context) GithubConnectionOutput { + return o +} + +// The name of the GitHub connection +func (o GithubConnectionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GithubConnection) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Token for the selected authentication type +func (o GithubConnectionOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GithubConnection) pulumi.StringPtrOutput { return v.Token }).(pulumi.StringPtrOutput) +} + +// Possible Values: `pat` +func (o GithubConnectionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *GithubConnection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +type GithubConnectionArrayOutput struct{ *pulumi.OutputState } + +func (GithubConnectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*GithubConnection)(nil)).Elem() +} + +func (o GithubConnectionArrayOutput) ToGithubConnectionArrayOutput() GithubConnectionArrayOutput { + return o +} + +func (o GithubConnectionArrayOutput) ToGithubConnectionArrayOutputWithContext(ctx context.Context) GithubConnectionArrayOutput { + return o +} + +func (o GithubConnectionArrayOutput) Index(i pulumi.IntInput) GithubConnectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GithubConnection { + return vs[0].([]*GithubConnection)[vs[1].(int)] + }).(GithubConnectionOutput) +} + +type GithubConnectionMapOutput struct{ *pulumi.OutputState } + +func (GithubConnectionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*GithubConnection)(nil)).Elem() +} + +func (o GithubConnectionMapOutput) ToGithubConnectionMapOutput() GithubConnectionMapOutput { + return o +} + +func (o GithubConnectionMapOutput) ToGithubConnectionMapOutputWithContext(ctx context.Context) GithubConnectionMapOutput { + return o +} + +func (o GithubConnectionMapOutput) MapIndex(k pulumi.StringInput) GithubConnectionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GithubConnection { + return vs[0].(map[string]*GithubConnection)[vs[1].(string)] + }).(GithubConnectionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GithubConnectionInput)(nil)).Elem(), &GithubConnection{}) + pulumi.RegisterInputType(reflect.TypeOf((*GithubConnectionArrayInput)(nil)).Elem(), GithubConnectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GithubConnectionMapInput)(nil)).Elem(), GithubConnectionMap{}) + pulumi.RegisterOutputType(GithubConnectionOutput{}) + pulumi.RegisterOutputType(GithubConnectionArrayOutput{}) + pulumi.RegisterOutputType(GithubConnectionMapOutput{}) +} diff --git a/sdk/go/dynatrace/init.go b/sdk/go/dynatrace/init.go index fa40de63..c0bccf4e 100644 --- a/sdk/go/dynatrace/init.go +++ b/sdk/go/dynatrace/init.go @@ -253,6 +253,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GenericTypes{} case "dynatrace:index/geolocation:Geolocation": r = &Geolocation{} + case "dynatrace:index/githubConnection:GithubConnection": + r = &GithubConnection{} case "dynatrace:index/gitlabConnection:GitlabConnection": r = &GitlabConnection{} case "dynatrace:index/goldenState:GoldenState": @@ -453,6 +455,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &MonitoredTechnologiesVarnish{} case "dynatrace:index/monitoredTechnologiesWsmb:MonitoredTechnologiesWsmb": r = &MonitoredTechnologiesWsmb{} + case "dynatrace:index/ms365EmailConnection:Ms365EmailConnection": + r = &Ms365EmailConnection{} case "dynatrace:index/msentraidConnection:MsentraidConnection": r = &MsentraidConnection{} case "dynatrace:index/msteamsConnection:MsteamsConnection": @@ -1310,6 +1314,11 @@ func init() { "index/geolocation", &module{version}, ) + pulumi.RegisterResourceModule( + "dynatrace", + "index/githubConnection", + &module{version}, + ) pulumi.RegisterResourceModule( "dynatrace", "index/gitlabConnection", @@ -1810,6 +1819,11 @@ func init() { "index/monitoredTechnologiesWsmb", &module{version}, ) + pulumi.RegisterResourceModule( + "dynatrace", + "index/ms365EmailConnection", + &module{version}, + ) pulumi.RegisterResourceModule( "dynatrace", "index/msentraidConnection", diff --git a/sdk/go/dynatrace/ms365EmailConnection.go b/sdk/go/dynatrace/ms365EmailConnection.go new file mode 100644 index 00000000..3b1bca32 --- /dev/null +++ b/sdk/go/dynatrace/ms365EmailConnection.go @@ -0,0 +1,309 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package dynatrace + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace/internal" +) + +type Ms365EmailConnection struct { + pulumi.CustomResourceState + + // Application (client) ID of your app registered in Microsoft Azure App registrations + ClientId pulumi.StringOutput `pulumi:"clientId"` + // Client secret of your app registered in Microsoft Azure App registrations + ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"` + // The email address from which the messages will be sent + FromAddress pulumi.StringOutput `pulumi:"fromAddress"` + // A unique name for the Microsoft 365 email connection + Name pulumi.StringOutput `pulumi:"name"` + // Directory (tenant) ID of your Azure Active Directory + TenantId pulumi.StringOutput `pulumi:"tenantId"` + // Possible Values: `clientSecret` + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewMs365EmailConnection registers a new resource with the given unique name, arguments, and options. +func NewMs365EmailConnection(ctx *pulumi.Context, + name string, args *Ms365EmailConnectionArgs, opts ...pulumi.ResourceOption) (*Ms365EmailConnection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClientId == nil { + return nil, errors.New("invalid value for required argument 'ClientId'") + } + if args.FromAddress == nil { + return nil, errors.New("invalid value for required argument 'FromAddress'") + } + if args.TenantId == nil { + return nil, errors.New("invalid value for required argument 'TenantId'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + var resource Ms365EmailConnection + err := ctx.RegisterResource("dynatrace:index/ms365EmailConnection:Ms365EmailConnection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMs365EmailConnection gets an existing Ms365EmailConnection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMs365EmailConnection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *Ms365EmailConnectionState, opts ...pulumi.ResourceOption) (*Ms365EmailConnection, error) { + var resource Ms365EmailConnection + err := ctx.ReadResource("dynatrace:index/ms365EmailConnection:Ms365EmailConnection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Ms365EmailConnection resources. +type ms365EmailConnectionState struct { + // Application (client) ID of your app registered in Microsoft Azure App registrations + ClientId *string `pulumi:"clientId"` + // Client secret of your app registered in Microsoft Azure App registrations + ClientSecret *string `pulumi:"clientSecret"` + // The email address from which the messages will be sent + FromAddress *string `pulumi:"fromAddress"` + // A unique name for the Microsoft 365 email connection + Name *string `pulumi:"name"` + // Directory (tenant) ID of your Azure Active Directory + TenantId *string `pulumi:"tenantId"` + // Possible Values: `clientSecret` + Type *string `pulumi:"type"` +} + +type Ms365EmailConnectionState struct { + // Application (client) ID of your app registered in Microsoft Azure App registrations + ClientId pulumi.StringPtrInput + // Client secret of your app registered in Microsoft Azure App registrations + ClientSecret pulumi.StringPtrInput + // The email address from which the messages will be sent + FromAddress pulumi.StringPtrInput + // A unique name for the Microsoft 365 email connection + Name pulumi.StringPtrInput + // Directory (tenant) ID of your Azure Active Directory + TenantId pulumi.StringPtrInput + // Possible Values: `clientSecret` + Type pulumi.StringPtrInput +} + +func (Ms365EmailConnectionState) ElementType() reflect.Type { + return reflect.TypeOf((*ms365EmailConnectionState)(nil)).Elem() +} + +type ms365EmailConnectionArgs struct { + // Application (client) ID of your app registered in Microsoft Azure App registrations + ClientId string `pulumi:"clientId"` + // Client secret of your app registered in Microsoft Azure App registrations + ClientSecret *string `pulumi:"clientSecret"` + // The email address from which the messages will be sent + FromAddress string `pulumi:"fromAddress"` + // A unique name for the Microsoft 365 email connection + Name *string `pulumi:"name"` + // Directory (tenant) ID of your Azure Active Directory + TenantId string `pulumi:"tenantId"` + // Possible Values: `clientSecret` + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a Ms365EmailConnection resource. +type Ms365EmailConnectionArgs struct { + // Application (client) ID of your app registered in Microsoft Azure App registrations + ClientId pulumi.StringInput + // Client secret of your app registered in Microsoft Azure App registrations + ClientSecret pulumi.StringPtrInput + // The email address from which the messages will be sent + FromAddress pulumi.StringInput + // A unique name for the Microsoft 365 email connection + Name pulumi.StringPtrInput + // Directory (tenant) ID of your Azure Active Directory + TenantId pulumi.StringInput + // Possible Values: `clientSecret` + Type pulumi.StringInput +} + +func (Ms365EmailConnectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ms365EmailConnectionArgs)(nil)).Elem() +} + +type Ms365EmailConnectionInput interface { + pulumi.Input + + ToMs365EmailConnectionOutput() Ms365EmailConnectionOutput + ToMs365EmailConnectionOutputWithContext(ctx context.Context) Ms365EmailConnectionOutput +} + +func (*Ms365EmailConnection) ElementType() reflect.Type { + return reflect.TypeOf((**Ms365EmailConnection)(nil)).Elem() +} + +func (i *Ms365EmailConnection) ToMs365EmailConnectionOutput() Ms365EmailConnectionOutput { + return i.ToMs365EmailConnectionOutputWithContext(context.Background()) +} + +func (i *Ms365EmailConnection) ToMs365EmailConnectionOutputWithContext(ctx context.Context) Ms365EmailConnectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(Ms365EmailConnectionOutput) +} + +// Ms365EmailConnectionArrayInput is an input type that accepts Ms365EmailConnectionArray and Ms365EmailConnectionArrayOutput values. +// You can construct a concrete instance of `Ms365EmailConnectionArrayInput` via: +// +// Ms365EmailConnectionArray{ Ms365EmailConnectionArgs{...} } +type Ms365EmailConnectionArrayInput interface { + pulumi.Input + + ToMs365EmailConnectionArrayOutput() Ms365EmailConnectionArrayOutput + ToMs365EmailConnectionArrayOutputWithContext(context.Context) Ms365EmailConnectionArrayOutput +} + +type Ms365EmailConnectionArray []Ms365EmailConnectionInput + +func (Ms365EmailConnectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Ms365EmailConnection)(nil)).Elem() +} + +func (i Ms365EmailConnectionArray) ToMs365EmailConnectionArrayOutput() Ms365EmailConnectionArrayOutput { + return i.ToMs365EmailConnectionArrayOutputWithContext(context.Background()) +} + +func (i Ms365EmailConnectionArray) ToMs365EmailConnectionArrayOutputWithContext(ctx context.Context) Ms365EmailConnectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(Ms365EmailConnectionArrayOutput) +} + +// Ms365EmailConnectionMapInput is an input type that accepts Ms365EmailConnectionMap and Ms365EmailConnectionMapOutput values. +// You can construct a concrete instance of `Ms365EmailConnectionMapInput` via: +// +// Ms365EmailConnectionMap{ "key": Ms365EmailConnectionArgs{...} } +type Ms365EmailConnectionMapInput interface { + pulumi.Input + + ToMs365EmailConnectionMapOutput() Ms365EmailConnectionMapOutput + ToMs365EmailConnectionMapOutputWithContext(context.Context) Ms365EmailConnectionMapOutput +} + +type Ms365EmailConnectionMap map[string]Ms365EmailConnectionInput + +func (Ms365EmailConnectionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Ms365EmailConnection)(nil)).Elem() +} + +func (i Ms365EmailConnectionMap) ToMs365EmailConnectionMapOutput() Ms365EmailConnectionMapOutput { + return i.ToMs365EmailConnectionMapOutputWithContext(context.Background()) +} + +func (i Ms365EmailConnectionMap) ToMs365EmailConnectionMapOutputWithContext(ctx context.Context) Ms365EmailConnectionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(Ms365EmailConnectionMapOutput) +} + +type Ms365EmailConnectionOutput struct{ *pulumi.OutputState } + +func (Ms365EmailConnectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Ms365EmailConnection)(nil)).Elem() +} + +func (o Ms365EmailConnectionOutput) ToMs365EmailConnectionOutput() Ms365EmailConnectionOutput { + return o +} + +func (o Ms365EmailConnectionOutput) ToMs365EmailConnectionOutputWithContext(ctx context.Context) Ms365EmailConnectionOutput { + return o +} + +// Application (client) ID of your app registered in Microsoft Azure App registrations +func (o Ms365EmailConnectionOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) +} + +// Client secret of your app registered in Microsoft Azure App registrations +func (o Ms365EmailConnectionOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringPtrOutput { return v.ClientSecret }).(pulumi.StringPtrOutput) +} + +// The email address from which the messages will be sent +func (o Ms365EmailConnectionOutput) FromAddress() pulumi.StringOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringOutput { return v.FromAddress }).(pulumi.StringOutput) +} + +// A unique name for the Microsoft 365 email connection +func (o Ms365EmailConnectionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Directory (tenant) ID of your Azure Active Directory +func (o Ms365EmailConnectionOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringOutput { return v.TenantId }).(pulumi.StringOutput) +} + +// Possible Values: `clientSecret` +func (o Ms365EmailConnectionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *Ms365EmailConnection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +type Ms365EmailConnectionArrayOutput struct{ *pulumi.OutputState } + +func (Ms365EmailConnectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Ms365EmailConnection)(nil)).Elem() +} + +func (o Ms365EmailConnectionArrayOutput) ToMs365EmailConnectionArrayOutput() Ms365EmailConnectionArrayOutput { + return o +} + +func (o Ms365EmailConnectionArrayOutput) ToMs365EmailConnectionArrayOutputWithContext(ctx context.Context) Ms365EmailConnectionArrayOutput { + return o +} + +func (o Ms365EmailConnectionArrayOutput) Index(i pulumi.IntInput) Ms365EmailConnectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Ms365EmailConnection { + return vs[0].([]*Ms365EmailConnection)[vs[1].(int)] + }).(Ms365EmailConnectionOutput) +} + +type Ms365EmailConnectionMapOutput struct{ *pulumi.OutputState } + +func (Ms365EmailConnectionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Ms365EmailConnection)(nil)).Elem() +} + +func (o Ms365EmailConnectionMapOutput) ToMs365EmailConnectionMapOutput() Ms365EmailConnectionMapOutput { + return o +} + +func (o Ms365EmailConnectionMapOutput) ToMs365EmailConnectionMapOutputWithContext(ctx context.Context) Ms365EmailConnectionMapOutput { + return o +} + +func (o Ms365EmailConnectionMapOutput) MapIndex(k pulumi.StringInput) Ms365EmailConnectionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Ms365EmailConnection { + return vs[0].(map[string]*Ms365EmailConnection)[vs[1].(string)] + }).(Ms365EmailConnectionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*Ms365EmailConnectionInput)(nil)).Elem(), &Ms365EmailConnection{}) + pulumi.RegisterInputType(reflect.TypeOf((*Ms365EmailConnectionArrayInput)(nil)).Elem(), Ms365EmailConnectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*Ms365EmailConnectionMapInput)(nil)).Elem(), Ms365EmailConnectionMap{}) + pulumi.RegisterOutputType(Ms365EmailConnectionOutput{}) + pulumi.RegisterOutputType(Ms365EmailConnectionArrayOutput{}) + pulumi.RegisterOutputType(Ms365EmailConnectionMapOutput{}) +} diff --git a/sdk/nodejs/githubConnection.ts b/sdk/nodejs/githubConnection.ts new file mode 100644 index 00000000..2ec68533 --- /dev/null +++ b/sdk/nodejs/githubConnection.ts @@ -0,0 +1,114 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export class GithubConnection extends pulumi.CustomResource { + /** + * Get an existing GithubConnection resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: GithubConnectionState, opts?: pulumi.CustomResourceOptions): GithubConnection { + return new GithubConnection(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'dynatrace:index/githubConnection:GithubConnection'; + + /** + * Returns true if the given object is an instance of GithubConnection. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is GithubConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GithubConnection.__pulumiType; + } + + /** + * The name of the GitHub connection + */ + public readonly name!: pulumi.Output; + /** + * Token for the selected authentication type + */ + public readonly token!: pulumi.Output; + /** + * Possible Values: `pat` + */ + public readonly type!: pulumi.Output; + + /** + * Create a GithubConnection resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: GithubConnectionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: GithubConnectionArgs | GithubConnectionState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as GithubConnectionState | undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["token"] = state ? state.token : undefined; + resourceInputs["type"] = state ? state.type : undefined; + } else { + const args = argsOrState as GithubConnectionArgs | undefined; + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined; + resourceInputs["type"] = args ? args.type : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(GithubConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering GithubConnection resources. + */ +export interface GithubConnectionState { + /** + * The name of the GitHub connection + */ + name?: pulumi.Input; + /** + * Token for the selected authentication type + */ + token?: pulumi.Input; + /** + * Possible Values: `pat` + */ + type?: pulumi.Input; +} + +/** + * The set of arguments for constructing a GithubConnection resource. + */ +export interface GithubConnectionArgs { + /** + * The name of the GitHub connection + */ + name?: pulumi.Input; + /** + * Token for the selected authentication type + */ + token?: pulumi.Input; + /** + * Possible Values: `pat` + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 63ef2085..98bca7cf 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -830,6 +830,11 @@ export const getVulnerabilityAlerting: typeof import("./getVulnerabilityAlerting export const getVulnerabilityAlertingOutput: typeof import("./getVulnerabilityAlerting").getVulnerabilityAlertingOutput = null as any; utilities.lazyLoad(exports, ["getVulnerabilityAlerting","getVulnerabilityAlertingOutput"], () => require("./getVulnerabilityAlerting")); +export { GithubConnectionArgs, GithubConnectionState } from "./githubConnection"; +export type GithubConnection = import("./githubConnection").GithubConnection; +export const GithubConnection: typeof import("./githubConnection").GithubConnection = null as any; +utilities.lazyLoad(exports, ["GithubConnection"], () => require("./githubConnection")); + export { GitlabConnectionArgs, GitlabConnectionState } from "./gitlabConnection"; export type GitlabConnection = import("./gitlabConnection").GitlabConnection; export const GitlabConnection: typeof import("./gitlabConnection").GitlabConnection = null as any; @@ -1330,6 +1335,11 @@ export type MonitoredTechnologiesWsmb = import("./monitoredTechnologiesWsmb").Mo export const MonitoredTechnologiesWsmb: typeof import("./monitoredTechnologiesWsmb").MonitoredTechnologiesWsmb = null as any; utilities.lazyLoad(exports, ["MonitoredTechnologiesWsmb"], () => require("./monitoredTechnologiesWsmb")); +export { Ms365EmailConnectionArgs, Ms365EmailConnectionState } from "./ms365EmailConnection"; +export type Ms365EmailConnection = import("./ms365EmailConnection").Ms365EmailConnection; +export const Ms365EmailConnection: typeof import("./ms365EmailConnection").Ms365EmailConnection = null as any; +utilities.lazyLoad(exports, ["Ms365EmailConnection"], () => require("./ms365EmailConnection")); + export { MsentraidConnectionArgs, MsentraidConnectionState } from "./msentraidConnection"; export type MsentraidConnection = import("./msentraidConnection").MsentraidConnection; export const MsentraidConnection: typeof import("./msentraidConnection").MsentraidConnection = null as any; @@ -2196,6 +2206,8 @@ const _module = { return new GenericTypes(name, undefined, { urn }) case "dynatrace:index/geolocation:Geolocation": return new Geolocation(name, undefined, { urn }) + case "dynatrace:index/githubConnection:GithubConnection": + return new GithubConnection(name, undefined, { urn }) case "dynatrace:index/gitlabConnection:GitlabConnection": return new GitlabConnection(name, undefined, { urn }) case "dynatrace:index/goldenState:GoldenState": @@ -2396,6 +2408,8 @@ const _module = { return new MonitoredTechnologiesVarnish(name, undefined, { urn }) case "dynatrace:index/monitoredTechnologiesWsmb:MonitoredTechnologiesWsmb": return new MonitoredTechnologiesWsmb(name, undefined, { urn }) + case "dynatrace:index/ms365EmailConnection:Ms365EmailConnection": + return new Ms365EmailConnection(name, undefined, { urn }) case "dynatrace:index/msentraidConnection:MsentraidConnection": return new MsentraidConnection(name, undefined, { urn }) case "dynatrace:index/msteamsConnection:MsteamsConnection": @@ -2763,6 +2777,7 @@ pulumi.runtime.registerResourceModule("dynatrace", "index/genericRelationships", pulumi.runtime.registerResourceModule("dynatrace", "index/genericSetting", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/genericTypes", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/geolocation", _module) +pulumi.runtime.registerResourceModule("dynatrace", "index/githubConnection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/gitlabConnection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/goldenState", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/grailMetricsAllowall", _module) @@ -2863,6 +2878,7 @@ pulumi.runtime.registerResourceModule("dynatrace", "index/monitoredTechnologiesO pulumi.runtime.registerResourceModule("dynatrace", "index/monitoredTechnologiesPhp", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/monitoredTechnologiesVarnish", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/monitoredTechnologiesWsmb", _module) +pulumi.runtime.registerResourceModule("dynatrace", "index/ms365EmailConnection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/msentraidConnection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/msteamsConnection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/mutedRequests", _module) diff --git a/sdk/nodejs/ms365EmailConnection.ts b/sdk/nodejs/ms365EmailConnection.ts new file mode 100644 index 00000000..92ca615c --- /dev/null +++ b/sdk/nodejs/ms365EmailConnection.ts @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export class Ms365EmailConnection extends pulumi.CustomResource { + /** + * Get an existing Ms365EmailConnection resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: Ms365EmailConnectionState, opts?: pulumi.CustomResourceOptions): Ms365EmailConnection { + return new Ms365EmailConnection(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'dynatrace:index/ms365EmailConnection:Ms365EmailConnection'; + + /** + * Returns true if the given object is an instance of Ms365EmailConnection. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Ms365EmailConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Ms365EmailConnection.__pulumiType; + } + + /** + * Application (client) ID of your app registered in Microsoft Azure App registrations + */ + public readonly clientId!: pulumi.Output; + /** + * Client secret of your app registered in Microsoft Azure App registrations + */ + public readonly clientSecret!: pulumi.Output; + /** + * The email address from which the messages will be sent + */ + public readonly fromAddress!: pulumi.Output; + /** + * A unique name for the Microsoft 365 email connection + */ + public readonly name!: pulumi.Output; + /** + * Directory (tenant) ID of your Azure Active Directory + */ + public readonly tenantId!: pulumi.Output; + /** + * Possible Values: `clientSecret` + */ + public readonly type!: pulumi.Output; + + /** + * Create a Ms365EmailConnection resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: Ms365EmailConnectionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: Ms365EmailConnectionArgs | Ms365EmailConnectionState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as Ms365EmailConnectionState | undefined; + resourceInputs["clientId"] = state ? state.clientId : undefined; + resourceInputs["clientSecret"] = state ? state.clientSecret : undefined; + resourceInputs["fromAddress"] = state ? state.fromAddress : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["tenantId"] = state ? state.tenantId : undefined; + resourceInputs["type"] = state ? state.type : undefined; + } else { + const args = argsOrState as Ms365EmailConnectionArgs | undefined; + if ((!args || args.clientId === undefined) && !opts.urn) { + throw new Error("Missing required property 'clientId'"); + } + if ((!args || args.fromAddress === undefined) && !opts.urn) { + throw new Error("Missing required property 'fromAddress'"); + } + if ((!args || args.tenantId === undefined) && !opts.urn) { + throw new Error("Missing required property 'tenantId'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["clientId"] = args ? args.clientId : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; + resourceInputs["fromAddress"] = args ? args.fromAddress : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["tenantId"] = args ? args.tenantId : undefined; + resourceInputs["type"] = args ? args.type : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(Ms365EmailConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Ms365EmailConnection resources. + */ +export interface Ms365EmailConnectionState { + /** + * Application (client) ID of your app registered in Microsoft Azure App registrations + */ + clientId?: pulumi.Input; + /** + * Client secret of your app registered in Microsoft Azure App registrations + */ + clientSecret?: pulumi.Input; + /** + * The email address from which the messages will be sent + */ + fromAddress?: pulumi.Input; + /** + * A unique name for the Microsoft 365 email connection + */ + name?: pulumi.Input; + /** + * Directory (tenant) ID of your Azure Active Directory + */ + tenantId?: pulumi.Input; + /** + * Possible Values: `clientSecret` + */ + type?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Ms365EmailConnection resource. + */ +export interface Ms365EmailConnectionArgs { + /** + * Application (client) ID of your app registered in Microsoft Azure App registrations + */ + clientId: pulumi.Input; + /** + * Client secret of your app registered in Microsoft Azure App registrations + */ + clientSecret?: pulumi.Input; + /** + * The email address from which the messages will be sent + */ + fromAddress: pulumi.Input; + /** + * A unique name for the Microsoft 365 email connection + */ + name?: pulumi.Input; + /** + * Directory (tenant) ID of your Azure Active Directory + */ + tenantId: pulumi.Input; + /** + * Possible Values: `clientSecret` + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 0d06d551..3d80bda8 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -180,6 +180,7 @@ "getTenant.ts", "getUpdateWindows.ts", "getVulnerabilityAlerting.ts", + "githubConnection.ts", "gitlabConnection.ts", "goldenState.ts", "grailMetricsAllowall.ts", @@ -281,6 +282,7 @@ "monitoredTechnologiesPhp.ts", "monitoredTechnologiesVarnish.ts", "monitoredTechnologiesWsmb.ts", + "ms365EmailConnection.ts", "msentraidConnection.ts", "msteamsConnection.ts", "mutedRequests.ts", diff --git a/sdk/python/pulumiverse_dynatrace/__init__.py b/sdk/python/pulumiverse_dynatrace/__init__.py index 86c6b5a0..ed83b083 100644 --- a/sdk/python/pulumiverse_dynatrace/__init__.py +++ b/sdk/python/pulumiverse_dynatrace/__init__.py @@ -170,6 +170,7 @@ from .get_tenant import * from .get_update_windows import * from .get_vulnerability_alerting import * +from .github_connection import * from .gitlab_connection import * from .golden_state import * from .grail_metrics_allowall import * @@ -270,6 +271,7 @@ from .monitored_technologies_php import * from .monitored_technologies_varnish import * from .monitored_technologies_wsmb import * +from .ms365_email_connection import * from .msentraid_connection import * from .msteams_connection import * from .muted_requests import * @@ -1335,6 +1337,14 @@ "dynatrace:index/geolocation:Geolocation": "Geolocation" } }, + { + "pkg": "dynatrace", + "mod": "index/githubConnection", + "fqn": "pulumiverse_dynatrace", + "classes": { + "dynatrace:index/githubConnection:GithubConnection": "GithubConnection" + } + }, { "pkg": "dynatrace", "mod": "index/gitlabConnection", @@ -2135,6 +2145,14 @@ "dynatrace:index/monitoredTechnologiesWsmb:MonitoredTechnologiesWsmb": "MonitoredTechnologiesWsmb" } }, + { + "pkg": "dynatrace", + "mod": "index/ms365EmailConnection", + "fqn": "pulumiverse_dynatrace", + "classes": { + "dynatrace:index/ms365EmailConnection:Ms365EmailConnection": "Ms365EmailConnection" + } + }, { "pkg": "dynatrace", "mod": "index/msentraidConnection", diff --git a/sdk/python/pulumiverse_dynatrace/github_connection.py b/sdk/python/pulumiverse_dynatrace/github_connection.py new file mode 100644 index 00000000..22b42a5f --- /dev/null +++ b/sdk/python/pulumiverse_dynatrace/github_connection.py @@ -0,0 +1,245 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['GithubConnectionArgs', 'GithubConnection'] + +@pulumi.input_type +class GithubConnectionArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a GithubConnection resource. + :param pulumi.Input[str] type: Possible Values: `pat` + :param pulumi.Input[str] name: The name of the GitHub connection + :param pulumi.Input[str] token: Token for the selected authentication type + """ + pulumi.set(__self__, "type", type) + if name is not None: + pulumi.set(__self__, "name", name) + if token is not None: + pulumi.set(__self__, "token", token) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Possible Values: `pat` + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the GitHub connection + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def token(self) -> Optional[pulumi.Input[str]]: + """ + Token for the selected authentication type + """ + return pulumi.get(self, "token") + + @token.setter + def token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token", value) + + +@pulumi.input_type +class _GithubConnectionState: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering GithubConnection resources. + :param pulumi.Input[str] name: The name of the GitHub connection + :param pulumi.Input[str] token: Token for the selected authentication type + :param pulumi.Input[str] type: Possible Values: `pat` + """ + if name is not None: + pulumi.set(__self__, "name", name) + if token is not None: + pulumi.set(__self__, "token", token) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the GitHub connection + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def token(self) -> Optional[pulumi.Input[str]]: + """ + Token for the selected authentication type + """ + return pulumi.get(self, "token") + + @token.setter + def token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "token", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `pat` + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +class GithubConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a GithubConnection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] name: The name of the GitHub connection + :param pulumi.Input[str] token: Token for the selected authentication type + :param pulumi.Input[str] type: Possible Values: `pat` + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GithubConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a GithubConnection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param GithubConnectionArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(GithubConnectionArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GithubConnectionArgs.__new__(GithubConnectionArgs) + + __props__.__dict__["name"] = name + __props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token) + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(GithubConnection, __self__).__init__( + 'dynatrace:index/githubConnection:GithubConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + name: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None) -> 'GithubConnection': + """ + Get an existing GithubConnection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :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[str] name: The name of the GitHub connection + :param pulumi.Input[str] token: Token for the selected authentication type + :param pulumi.Input[str] type: Possible Values: `pat` + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _GithubConnectionState.__new__(_GithubConnectionState) + + __props__.__dict__["name"] = name + __props__.__dict__["token"] = token + __props__.__dict__["type"] = type + return GithubConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the GitHub connection + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def token(self) -> pulumi.Output[Optional[str]]: + """ + Token for the selected authentication type + """ + return pulumi.get(self, "token") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Possible Values: `pat` + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumiverse_dynatrace/ms365_email_connection.py b/sdk/python/pulumiverse_dynatrace/ms365_email_connection.py new file mode 100644 index 00000000..8950605d --- /dev/null +++ b/sdk/python/pulumiverse_dynatrace/ms365_email_connection.py @@ -0,0 +1,389 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['Ms365EmailConnectionArgs', 'Ms365EmailConnection'] + +@pulumi.input_type +class Ms365EmailConnectionArgs: + def __init__(__self__, *, + client_id: pulumi.Input[str], + from_address: pulumi.Input[str], + tenant_id: pulumi.Input[str], + type: pulumi.Input[str], + client_secret: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Ms365EmailConnection resource. + :param pulumi.Input[str] client_id: Application (client) ID of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] from_address: The email address from which the messages will be sent + :param pulumi.Input[str] tenant_id: Directory (tenant) ID of your Azure Active Directory + :param pulumi.Input[str] type: Possible Values: `client_secret` + :param pulumi.Input[str] client_secret: Client secret of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] name: A unique name for the Microsoft 365 email connection + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "from_address", from_address) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if client_secret is not None: + pulumi.set(__self__, "client_secret", client_secret) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Input[str]: + """ + Application (client) ID of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_id") + + @client_id.setter + def client_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_id", value) + + @property + @pulumi.getter(name="fromAddress") + def from_address(self) -> pulumi.Input[str]: + """ + The email address from which the messages will be sent + """ + return pulumi.get(self, "from_address") + + @from_address.setter + def from_address(self, value: pulumi.Input[str]): + pulumi.set(self, "from_address", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + """ + Directory (tenant) ID of your Azure Active Directory + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Possible Values: `client_secret` + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="clientSecret") + def client_secret(self) -> Optional[pulumi.Input[str]]: + """ + Client secret of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_secret") + + @client_secret.setter + def client_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_secret", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + A unique name for the Microsoft 365 email connection + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _Ms365EmailConnectionState: + def __init__(__self__, *, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + from_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering Ms365EmailConnection resources. + :param pulumi.Input[str] client_id: Application (client) ID of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] client_secret: Client secret of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] from_address: The email address from which the messages will be sent + :param pulumi.Input[str] name: A unique name for the Microsoft 365 email connection + :param pulumi.Input[str] tenant_id: Directory (tenant) ID of your Azure Active Directory + :param pulumi.Input[str] type: Possible Values: `client_secret` + """ + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if client_secret is not None: + pulumi.set(__self__, "client_secret", client_secret) + if from_address is not None: + pulumi.set(__self__, "from_address", from_address) + if name is not None: + pulumi.set(__self__, "name", name) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> Optional[pulumi.Input[str]]: + """ + Application (client) ID of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_id") + + @client_id.setter + def client_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_id", value) + + @property + @pulumi.getter(name="clientSecret") + def client_secret(self) -> Optional[pulumi.Input[str]]: + """ + Client secret of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_secret") + + @client_secret.setter + def client_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_secret", value) + + @property + @pulumi.getter(name="fromAddress") + def from_address(self) -> Optional[pulumi.Input[str]]: + """ + The email address from which the messages will be sent + """ + return pulumi.get(self, "from_address") + + @from_address.setter + def from_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "from_address", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + A unique name for the Microsoft 365 email connection + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + """ + Directory (tenant) ID of your Azure Active Directory + """ + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `client_secret` + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +class Ms365EmailConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + from_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a Ms365EmailConnection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] client_id: Application (client) ID of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] client_secret: Client secret of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] from_address: The email address from which the messages will be sent + :param pulumi.Input[str] name: A unique name for the Microsoft 365 email connection + :param pulumi.Input[str] tenant_id: Directory (tenant) ID of your Azure Active Directory + :param pulumi.Input[str] type: Possible Values: `client_secret` + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Ms365EmailConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Ms365EmailConnection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param Ms365EmailConnectionArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(Ms365EmailConnectionArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + from_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = Ms365EmailConnectionArgs.__new__(Ms365EmailConnectionArgs) + + if client_id is None and not opts.urn: + raise TypeError("Missing required property 'client_id'") + __props__.__dict__["client_id"] = client_id + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) + if from_address is None and not opts.urn: + raise TypeError("Missing required property 'from_address'") + __props__.__dict__["from_address"] = from_address + __props__.__dict__["name"] = name + if tenant_id is None and not opts.urn: + raise TypeError("Missing required property 'tenant_id'") + __props__.__dict__["tenant_id"] = tenant_id + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) + super(Ms365EmailConnection, __self__).__init__( + 'dynatrace:index/ms365EmailConnection:Ms365EmailConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + from_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None) -> 'Ms365EmailConnection': + """ + Get an existing Ms365EmailConnection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :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[str] client_id: Application (client) ID of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] client_secret: Client secret of your app registered in Microsoft Azure App registrations + :param pulumi.Input[str] from_address: The email address from which the messages will be sent + :param pulumi.Input[str] name: A unique name for the Microsoft 365 email connection + :param pulumi.Input[str] tenant_id: Directory (tenant) ID of your Azure Active Directory + :param pulumi.Input[str] type: Possible Values: `client_secret` + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _Ms365EmailConnectionState.__new__(_Ms365EmailConnectionState) + + __props__.__dict__["client_id"] = client_id + __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["from_address"] = from_address + __props__.__dict__["name"] = name + __props__.__dict__["tenant_id"] = tenant_id + __props__.__dict__["type"] = type + return Ms365EmailConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Output[str]: + """ + Application (client) ID of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="clientSecret") + def client_secret(self) -> pulumi.Output[Optional[str]]: + """ + Client secret of your app registered in Microsoft Azure App registrations + """ + return pulumi.get(self, "client_secret") + + @property + @pulumi.getter(name="fromAddress") + def from_address(self) -> pulumi.Output[str]: + """ + The email address from which the messages will be sent + """ + return pulumi.get(self, "from_address") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + A unique name for the Microsoft 365 email connection + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Output[str]: + """ + Directory (tenant) ID of your Azure Active Directory + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Possible Values: `client_secret` + """ + return pulumi.get(self, "type") +