From 1d28c365fc28fd73c86b89d8d85a29416b11d37d Mon Sep 17 00:00:00 2001 From: Tom Tankilevitch <59158507+Tankilevitch@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:18:39 +0200 Subject: [PATCH] Upgrade terraform-provider-port-labs to v1.9.1 (#194) --- provider/cmd/pulumi-resource-port/schema.json | 3 ++ provider/go.mod | 16 ++++---- provider/go.sum | 40 +++++++++++-------- sdk/go/port/pulumiTypes.go | 19 ++++++++- sdk/nodejs/types/input.ts | 1 + sdk/nodejs/types/output.ts | 1 + sdk/python/port_pulumi/_inputs.py | 14 ++++++- sdk/python/port_pulumi/outputs.py | 10 ++++- 8 files changed, 76 insertions(+), 28 deletions(-) diff --git a/provider/cmd/pulumi-resource-port/schema.json b/provider/cmd/pulumi-resource-port/schema.json index ac4d6ed..12052ae 100644 --- a/provider/cmd/pulumi-resource-port/schema.json +++ b/provider/cmd/pulumi-resource-port/schema.json @@ -80,6 +80,9 @@ }, "port:index/ActionApprovalWebhookNotification:ActionApprovalWebhookNotification": { "properties": { + "format": { + "type": "string" + }, "url": { "type": "string" } diff --git a/provider/go.mod b/provider/go.mod index bd482bf..52dbf39 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,9 +5,9 @@ go 1.20 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( - github.com/port-labs/terraform-provider-port-labs v1.9.0 - github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0 + github.com/port-labs/terraform-provider-port-labs v1.9.1 + github.com/pulumi/pulumi-terraform-bridge/pf v0.24.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.71.0 github.com/pulumi/pulumi/sdk/v3 v3.101.1 ) @@ -121,7 +121,7 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.18.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect - github.com/hashicorp/terraform-plugin-framework v1.4.2 // indirect + github.com/hashicorp/terraform-plugin-framework v1.5.0 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect github.com/hashicorp/terraform-plugin-go v0.20.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect @@ -173,10 +173,10 @@ require ( github.com/posener/complete v1.2.3 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect - github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 // indirect - github.com/pulumi/pulumi-yaml v1.4.4 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.99.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.9 // indirect + github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.7 // indirect + github.com/pulumi/pulumi-yaml v1.4.5 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.101.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 861fa40..a85e435 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -226,10 +226,15 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9mo github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0 h1:rTnT/Jrcm+figWlYz4Ixzt0SJVR2cMC8lvZcimipiEY= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.2.0 h1:leh5DwKv6Ihwi+h60uHtn6UWAxBbZ0q8DwQVMzf61zw= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 h1:m/sWOGCREuSBqg2htVQTBY8nOZpyajYztF0vUvSZTuM= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 h1:FbH3BbSb4bvGluTesZZ+ttN/MDsnMmQP36OSnDuSXqw= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -275,6 +280,7 @@ github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZ github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= @@ -886,6 +892,7 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -1162,8 +1169,8 @@ github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/J github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-exec v0.18.1 h1:LAbfDvNQU1l0NOQlTuudjczVhHj061fNX5H8XZxHlH4= github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= -github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI= -github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY= +github.com/hashicorp/terraform-plugin-framework v1.5.0 h1:8kcvqJs/x6QyOFSdeAyEgsenVOUeC/IyKpi2ul4fjTg= +github.com/hashicorp/terraform-plugin-framework v1.5.0/go.mod h1:6waavirukIlFpVpthbGd2PUNYaFedB0RwW3MDzJ/rtc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.20.0 h1:oqvoUlL+2EUbKNsJbIt3zqqZ7wi6lzn4ufkn/UA51xQ= @@ -1570,6 +1577,7 @@ github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1583,8 +1591,8 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/port-labs/terraform-provider-port-labs v1.9.0 h1:Kckc/WCMz9PVUM3elmfv9aqrG+V0gigCbEkC/aF9yOk= -github.com/port-labs/terraform-provider-port-labs v1.9.0/go.mod h1:pLn48/X30XZIrW3gvUM1rkVjAZkO7ZFjegc0x4hFdtc= +github.com/port-labs/terraform-provider-port-labs v1.9.1 h1:GD4d3vFRfvH6fmiQ6SbH9vorxM40FAtXsKYvhE68JAA= +github.com/port-labs/terraform-provider-port-labs v1.9.1/go.mod h1:pLn48/X30XZIrW3gvUM1rkVjAZkO7ZFjegc0x4hFdtc= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= @@ -1649,19 +1657,19 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= -github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= -github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0 h1:j0rOtgpeGn2ZfyEVJtg5QhCEQEiMgz0rmFO6qWUFLzA= -github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0/go.mod h1:V9uoQlm7O+B9m9y2f7BE5tvG+BGVjWzLN1tlrRLHUEE= +github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= +github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= +github.com/pulumi/pulumi-terraform-bridge/pf v0.24.0 h1:/FGQvWVfl00WJ5SILVsTrKFX0R8a3UfP5SDfA7T/uc8= +github.com/pulumi/pulumi-terraform-bridge/pf v0.24.0/go.mod h1:E0/2XXQSwxvzWn22ZencPlwM8nfe9nDSvrkRsgBS0Ew= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0 h1:+o0c2gUjZURORGNftW4dEOm/E4rzh2JnK+z9PAwLjbE= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0/go.mod h1:jcdXdda230ZJJjzeRwWuFPRzq1EI8APwYVQIH32MoRk= -github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 h1:uy8P3aaAbrOrGvytvCb2KsYqZMA9TJiY8IKeVQgNAJo= -github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6/go.mod h1:uw1IN0Mlvi5SL0cmWzmKqZ+ZDNueRIXkr9aE+XQkrug= -github.com/pulumi/pulumi-yaml v1.4.4 h1:BODM3hnmy/kjmbjxySNI5dmGURn2fczVql2MSGjdeQw= -github.com/pulumi/pulumi-yaml v1.4.4/go.mod h1:1hwsXFnT7hm2ZeftY5fzjkngjs2eT/rv9MsPE48Leb4= -github.com/pulumi/pulumi/pkg/v3 v3.99.0 h1:Mal/ncVw16RBw+0M7jwX4mDlma/X324PXotuHJHDa7s= -github.com/pulumi/pulumi/pkg/v3 v3.99.0/go.mod h1:Gk/N8qblqKI6+fTORH7oJi2SSWaOVTDhNwTrazoQPao= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.71.0 h1:NXBrgVt/5KzEosqB5Tu2grLCUpyL6gYE4EdecqGjsz4= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.71.0/go.mod h1:tQ8A0LWPlu21YrCLZoQq4CQD3zvPSZcqkA/3yKYniN4= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.7 h1:Z9vmfVTW0QtJrWh+DRR3UKiRZX23f45lFtdhQiUHEqE= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.7/go.mod h1:T9zHpTHyVz2EyobzByFFpjfqgGtXO4C4bNqC0j29D2I= +github.com/pulumi/pulumi-yaml v1.4.5 h1:uSSCKYgbSxhJs3RJYEty5JsZOJFEIE0x8w38VyeSkNs= +github.com/pulumi/pulumi-yaml v1.4.5/go.mod h1:wEZjuwid6ZF8aWwLPQSG3h+1NpWGat87oHOKSHSN+eM= +github.com/pulumi/pulumi/pkg/v3 v3.101.1 h1:6+fm+wIE4A7sF93nl9t8MwoaBXjjHgFwk/8LCAJXI/s= +github.com/pulumi/pulumi/pkg/v3 v3.101.1/go.mod h1:zh7NVOEB/ncG51l1+EwlR0pQVLB7RSkzMamFMGcadH0= github.com/pulumi/pulumi/sdk/v3 v3.101.1 h1:jBUGbLZjfeQkpheacnqXbuw/zSJEq11Gmond2EENkwQ= github.com/pulumi/pulumi/sdk/v3 v3.101.1/go.mod h1:SB8P0BEGBRaONBxwoTjUFhGPLU5P3+MHF6/tGitlHOM= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= diff --git a/sdk/go/port/pulumiTypes.go b/sdk/go/port/pulumiTypes.go index 09dd716..43c48e7 100644 --- a/sdk/go/port/pulumiTypes.go +++ b/sdk/go/port/pulumiTypes.go @@ -132,7 +132,8 @@ func (o ActionApprovalEmailNotificationPtrOutput) Elem() ActionApprovalEmailNoti } type ActionApprovalWebhookNotification struct { - Url string `pulumi:"url"` + Format *string `pulumi:"format"` + Url string `pulumi:"url"` } // ActionApprovalWebhookNotificationInput is an input type that accepts ActionApprovalWebhookNotificationArgs and ActionApprovalWebhookNotificationOutput values. @@ -147,7 +148,8 @@ type ActionApprovalWebhookNotificationInput interface { } type ActionApprovalWebhookNotificationArgs struct { - Url pulumi.StringInput `pulumi:"url"` + Format pulumi.StringPtrInput `pulumi:"format"` + Url pulumi.StringInput `pulumi:"url"` } func (ActionApprovalWebhookNotificationArgs) ElementType() reflect.Type { @@ -227,6 +229,10 @@ func (o ActionApprovalWebhookNotificationOutput) ToActionApprovalWebhookNotifica }).(ActionApprovalWebhookNotificationPtrOutput) } +func (o ActionApprovalWebhookNotificationOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v ActionApprovalWebhookNotification) *string { return v.Format }).(pulumi.StringPtrOutput) +} + func (o ActionApprovalWebhookNotificationOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v ActionApprovalWebhookNotification) string { return v.Url }).(pulumi.StringOutput) } @@ -255,6 +261,15 @@ func (o ActionApprovalWebhookNotificationPtrOutput) Elem() ActionApprovalWebhook }).(ActionApprovalWebhookNotificationOutput) } +func (o ActionApprovalWebhookNotificationPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ActionApprovalWebhookNotification) *string { + if v == nil { + return nil + } + return v.Format + }).(pulumi.StringPtrOutput) +} + func (o ActionApprovalWebhookNotificationPtrOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v *ActionApprovalWebhookNotification) *string { if v == nil { diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 67d51e0..1655385 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -9,6 +9,7 @@ export interface ActionApprovalEmailNotification { } export interface ActionApprovalWebhookNotification { + format?: pulumi.Input; url: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 5a41eb8..286b5eb 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -9,6 +9,7 @@ export interface ActionApprovalEmailNotification { } export interface ActionApprovalWebhookNotification { + format?: string; url: string; } diff --git a/sdk/python/port_pulumi/_inputs.py b/sdk/python/port_pulumi/_inputs.py index 70f9b12..1229418 100644 --- a/sdk/python/port_pulumi/_inputs.py +++ b/sdk/python/port_pulumi/_inputs.py @@ -87,8 +87,11 @@ def __init__(__self__): @pulumi.input_type class ActionApprovalWebhookNotificationArgs: def __init__(__self__, *, - url: pulumi.Input[str]): + url: pulumi.Input[str], + format: Optional[pulumi.Input[str]] = None): pulumi.set(__self__, "url", url) + if format is not None: + pulumi.set(__self__, "format", format) @property @pulumi.getter @@ -99,6 +102,15 @@ def url(self) -> pulumi.Input[str]: def url(self, value: pulumi.Input[str]): pulumi.set(self, "url", value) + @property + @pulumi.getter + def format(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "format") + + @format.setter + def format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "format", value) + @pulumi.input_type class ActionAzureMethodArgs: diff --git a/sdk/python/port_pulumi/outputs.py b/sdk/python/port_pulumi/outputs.py index c56acca..117a3ae 100644 --- a/sdk/python/port_pulumi/outputs.py +++ b/sdk/python/port_pulumi/outputs.py @@ -88,14 +88,22 @@ def __init__(__self__): @pulumi.output_type class ActionApprovalWebhookNotification(dict): def __init__(__self__, *, - url: str): + url: str, + format: Optional[str] = None): pulumi.set(__self__, "url", url) + if format is not None: + pulumi.set(__self__, "format", format) @property @pulumi.getter def url(self) -> str: return pulumi.get(self, "url") + @property + @pulumi.getter + def format(self) -> Optional[str]: + return pulumi.get(self, "format") + @pulumi.output_type class ActionAzureMethod(dict):