diff --git a/examples/go.sum b/examples/go.sum index 6dcf2f1c..5502339e 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -932,8 +932,6 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.4.5 h1:oTE/oQR4eghggRg8VY7PAz3dr++VwDNBGCcOfIvHpBo= -github.com/hashicorp/go-plugin v1.4.5/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-plugin v1.4.6 h1:MDV3UrKQBM3du3G7MApDGvOsMYy3JQJ4exhSoKBAeVA= github.com/hashicorp/go-plugin v1.4.6/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= @@ -1016,8 +1014,6 @@ github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= @@ -1432,12 +1428,8 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.62.0 h1:eEb2y6S0xcYa0MNOfa51AFvHbOmHwiraa1Uu+NVzyuI= -github.com/pulumi/pulumi/pkg/v3 v3.62.0/go.mod h1:7Imggo8uoYBewCdZC9LoEkPxnC7Wmn6TrAU0ouHV+kY= github.com/pulumi/pulumi/pkg/v3 v3.64.0 h1:QHnxdp4Xf0jm2giOZGx5oyCEp2MNfABE1Sm1CmYilv0= github.com/pulumi/pulumi/pkg/v3 v3.64.0/go.mod h1:FR1XZl2uEBDqYGg53AIfACXZYKS5COgoWMleb0YfD7k= -github.com/pulumi/pulumi/sdk/v3 v3.62.0 h1:j0n83nwCvnBakw0QHYRTNPnYr0hKs21tJervE+LrjCY= -github.com/pulumi/pulumi/sdk/v3 v3.62.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= github.com/pulumi/pulumi/sdk/v3 v3.64.0 h1:38y/6FLYZihLf2dnjw2L9g46h/6p+jOKKlmEYjL81+c= github.com/pulumi/pulumi/sdk/v3 v3.64.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= @@ -1516,8 +1508,6 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= @@ -1801,7 +1791,6 @@ golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= @@ -1887,8 +1876,6 @@ golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -2081,8 +2068,6 @@ golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -2093,8 +2078,6 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2107,8 +2090,6 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2423,8 +2404,6 @@ google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= diff --git a/go.work.sum b/go.work.sum index 01e7a423..99671f08 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,14 +1,12 @@ +cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= cloud.google.com/go v0.100.2 h1:t9Iw5QH5v4XtlEQaCtUY7x6sCABps8sW0acw7e2WQ6Y= -cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= -cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= -cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= @@ -33,23 +31,17 @@ cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1h cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= -cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= -cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= -cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= -cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= -cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= -cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= @@ -58,8 +50,6 @@ cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2A cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= -cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= -cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= @@ -70,29 +60,24 @@ cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0 cloud.google.com/go/kms v1.1.0 h1:1yc4rLqCkVDS9Zvc7m+3mJ47kw0Uo5Q5+sMjcmUVUeM= cloud.google.com/go/kms v1.1.0/go.mod h1:WdbppnCDMDpOvoYBMn1+gNmOeEoZYqAv+HeuKARGCXI= cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= -cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= +cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= -cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= -cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= -cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= -cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= -cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= @@ -134,6 +119,7 @@ github.com/Azure/go-autorest/autorest v0.11.20 h1:s8H1PbCZSqg/DH7JMlOz6YMig6htWL github.com/Azure/go-autorest/autorest/adal v0.9.15 h1:X+p2GF0GWyOiSmqohIaEeuNFNDY4I4EOlVuUQvFdWMk= github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 h1:TzPg6B6fTZ0G1zBf3T54aI7p3cAT6u//TOXGPmFMOXg= github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 h1:DOhB+nXkF7LN0JfBGB5YtCF6QLK8mLe4psaHF7ZQEKM= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= @@ -141,6 +127,7 @@ github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZC github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.44.67 h1:+nxfXbMe8QUB6svLsuLYsp+WhZBKM26w62Zidir739A= @@ -172,17 +159,17 @@ github.com/docker/docker v20.10.18+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05 github.com/docker/docker v20.10.21+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v20.10.22+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/googleapis/gax-go/v2 v2.2.0 h1:s7jOdKSaksJVOxE0Y/S32otcfiP+UQ0cL8/GTKaONwE= github.com/googleapis/gax-go/v2 v2.3.0 h1:nRJtk3y8Fm770D42QV6T90ZnvFZyk7agSo3Q+Z9p3WI= -github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= -github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/go-type-adapters v1.0.0 h1:9XdMn+d/G57qq1s8dNc5IesGCXHf6V2HZ2JwRxfA2tA= github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-kms-wrapping/entropy/v2 v2.0.0/go.mod h1:xvb32K2keAc+R8DSFG2IwDcydK9DBQE+fGA5fsw6hSk= github.com/hashicorp/go-multierror v0.0.0-20180717150148-3d5d8f294aa0/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= -github.com/hashicorp/go-plugin v1.4.6/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= +github.com/hashicorp/go-plugin v1.4.5/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.2/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/hcl/v2 v2.12.0/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= @@ -204,6 +191,8 @@ github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSb github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/kevinburke/ssh_config v1.1.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/mitchellh/cli v1.1.2/go.mod h1:6iaV0fGdElS6dPBx0EApTxHrcWvmJphyh2n8YBLPPZ4= @@ -213,6 +202,7 @@ github.com/moby/moby v23.0.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHs github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVfxJvZHoEvBj71SKe+H0MYU= github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/posener/complete v1.2.1 h1:LrvDIY//XNo65Lq84G/akBuMGlawHvGBABv8f/ZN6DI= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/pulumi/pulumi-java/pkg v0.4.2-0.20220706212453-8046ed6407d4/go.mod h1:kvPN1g2gzkGPsXp16/3C4a/OKo+NmPtBolK2DXd0I5Q= @@ -221,6 +211,8 @@ github.com/pulumi/pulumi-java/pkg v0.5.3/go.mod h1:leMQvQ5IR3APhejwcWSfwZnkHosKH github.com/pulumi/pulumi-java/pkg v0.5.4 h1:hQH7BrEMWvwq/uzsi0XsULoQ8WPpBpqK/rosnggsdDI= github.com/pulumi/pulumi-java/pkg v0.5.4/go.mod h1:leMQvQ5IR3APhejwcWSfwZnkHosKHygKRaWkIyhsvtw= github.com/pulumi/pulumi-java/pkg v0.8.0/go.mod h1:x7/J1GCJ+hHFBEgnMr4QpsTfjXUNHccAHJ9gvFfmAFU= +github.com/pulumi/pulumi-java/pkg v0.9.2/go.mod h1:+5V4jggi3063hksi28zYvLm42UWVg3VqpR6qGZraIdM= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.0 h1:wuVZmq4il07sIDp61NHKD0mJHH3QHp/VnSuFrFtKe1g= github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.0/go.mod h1:YBWXX+aGQrjgx8i8eFnnTgk7SJ4SdA0qZMUXBMatWzQ= github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.1 h1:eA9UqT9fywdd47eB1rLfEOwx+FE24+DFlFxsm2dIL9k= @@ -236,6 +228,7 @@ github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.1-0.20221104131001-330791e758 github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.1-0.20221206123933-cdc390c674b1 h1:zzYNG7f2TDRlqDC5ppwSaLLHBviylfreHYV20++knx0= github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.1-0.20221206123933-cdc390c674b1/go.mod h1:KzJrUQo9GsWoQ6WDVCbzjnYoHUvhkjo4DjYv5NWfdc0= github.com/pulumi/pulumi-terraform-bridge/v3 v3.34.1-0.20221214173921-8e65b1f9fdd5/go.mod h1:ba1dLETCVZnmdavrrVfg9goz5CjhsqgRfF/NPkLTr28= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.43.0/go.mod h1:tyvu1G9JH1kMNzYYpODtTv/7fgK+ko174AEHn+uSJ0o= github.com/pulumi/pulumi-yaml v0.5.3/go.mod h1:DVllQAk4eYy9rtDqykGyV/6WiFjzpg/j/k87GZRwV7g= github.com/pulumi/pulumi-yaml v0.5.4 h1:O4H0PD0hiJjpci0GJFSkihS+yC8rWACKxuLyjYVt5wo= github.com/pulumi/pulumi-yaml v0.5.4/go.mod h1:e8BcP30yunk/u3mLXDykhtEQf8tTItYgQzPHDmRvJcg= @@ -246,6 +239,7 @@ github.com/pulumi/pulumi-yaml v0.5.8/go.mod h1:rJCp0HXvJGG+hs40wII9yYxuCeBBr2+e8 github.com/pulumi/pulumi-yaml v1.0.3 h1:JDRQfGcQYxwJETIepa7T3B7wTV7Bk2P7uApmWvQZeL4= github.com/pulumi/pulumi-yaml v1.0.3/go.mod h1:KLFTyADnoNoPU9djMyRvXymrTH2SCBg9wnXaapuggEA= github.com/pulumi/pulumi-yaml v1.0.4/go.mod h1:Szj8ud4Vqyq3oO1n3kzIUfaP3AiCjYZM4FYjOVWwJn8= +github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE= github.com/pulumi/pulumi/pkg/v3 v3.36.0/go.mod h1:tKeUmcAqWDJhgc4dAbWx7eiJ5oF5DHvy2fujT/aipvw= github.com/pulumi/pulumi/pkg/v3 v3.36.1-0.20220725155140-d69eea638451/go.mod h1:W6+hMuAfpcsQONfi3e/El4yavNNeER7NDpGS29dQHVQ= github.com/pulumi/pulumi/pkg/v3 v3.37.3-0.20220809202049-8441ea2eeefd/go.mod h1:fqioE6+15BcfbrwtMbatflfCSZtKtjJe2t+z6itTkt0= @@ -319,6 +313,7 @@ github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/xanzy/ssh-agent v0.3.1 h1:AmzO1SSWxw73zxFZPRwaMN1MohDw8UyHnmuxyceTEGo= github.com/xanzy/ssh-agent v0.3.1/go.mod h1:QIE4lCeL7nkC25x+yA3LBIYfwCc1TFziCtG7cBAac6w= +github.com/xanzy/ssh-agent v0.3.2/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/zclconf/go-cty v1.11.0/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= @@ -326,19 +321,19 @@ github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeW github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= gocloud.dev v0.24.0 h1:cNtHD07zQQiv02OiwwDyVMuHmR7iQt2RLkzoAgz7wBs= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c= +golang.org/x/crypto v0.0.0-20220824171710-5757bc0c5503/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38= golang.org/x/net v0.0.0-20190502183928-7f726cade0ab/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220412020605-290c469a71a5 h1:bRb386wvrE+oBNdF1d/Xh9mQrfQ4ecYhW5qJ5GvTGT4= -golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0 h1:hZ/3BUoy5aId7sCpA/Tc5lt8DkFgdVS2onTpJsZ/fl0= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a h1:qfl7ob3DIEs3Ml9oLuPwY2N04gymzAW04WsUQHIClgM= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= -golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210218084038-e8e29180ff58/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ= @@ -349,24 +344,29 @@ golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= google.golang.org/api v0.74.0 h1:ExR2D+5TYIrMphWgs5JCgwRhEDlPDXXrLwHHMgPHTXE= -google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= +google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 h1:XGQ6tc+EnM35IAazg4y6AHmUg4oK8NXsXaILte1vRlk= google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335 h1:2D0OT6tPVdrQTOnVe1VQjfJPTED6EZ7fdJ/f6Db6OsY= -google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= google.golang.org/grpc v1.48.0 h1:rQOsyJ/8+ufEDJd/Gdsz7HG220Mh9HAhFHRGnIjda0w= google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY= -google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/protobuf v1.29.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= diff --git a/provider/cmd/pulumi-resource-scaleway/schema.json b/provider/cmd/pulumi-resource-scaleway/schema.json index 834b0b01..99304fdf 100644 --- a/provider/cmd/pulumi-resource-scaleway/schema.json +++ b/provider/cmd/pulumi-resource-scaleway/schema.json @@ -1415,9 +1415,16 @@ }, "scaleway:index/LoadbalancerFrontendAclAction:LoadbalancerFrontendAclAction": { "properties": { + "redirects": { + "type": "array", + "items": { + "$ref": "#/types/scaleway:index/LoadbalancerFrontendAclActionRedirect:LoadbalancerFrontendAclActionRedirect" + }, + "description": "Redirect parameters when using an ACL with `redirect` action.\n" + }, "type": { "type": "string", - "description": "The action type. Possible values are: `allow` or `deny`.\n" + "description": "The redirect type. Possible values are: `location` or `scheme`.\n" } }, "type": "object", @@ -1425,6 +1432,23 @@ "type" ] }, + "scaleway:index/LoadbalancerFrontendAclActionRedirect:LoadbalancerFrontendAclActionRedirect": { + "properties": { + "code": { + "type": "integer", + "description": "The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`.\n" + }, + "target": { + "type": "string", + "description": "An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme.\n" + }, + "type": { + "type": "string", + "description": "The redirect type. Possible values are: `location` or `scheme`.\n" + } + }, + "type": "object" + }, "scaleway:index/LoadbalancerFrontendAclMatch:LoadbalancerFrontendAclMatch": { "properties": { "httpFilter": { @@ -3036,13 +3060,48 @@ }, "scaleway:index/getLbAclsAclAction:getLbAclsAclAction": { "properties": { + "redirects": { + "type": "array", + "items": { + "$ref": "#/types/scaleway:index/getLbAclsAclActionRedirect:getLbAclsAclActionRedirect" + }, + "description": "Redirect parameters when using an ACL with `redirect` action.\n" + }, "type": { "type": "string", - "description": "The action type.\n" + "description": "The redirect type.\n" } }, "type": "object", "required": [ + "redirects", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "scaleway:index/getLbAclsAclActionRedirect:getLbAclsAclActionRedirect": { + "properties": { + "code": { + "type": "integer", + "description": "The HTTP redirect code used.\n" + }, + "target": { + "type": "string", + "description": "The URL used in case of a location redirect or the scheme name that replaces the request's original scheme.\n" + }, + "type": { + "type": "string", + "description": "The redirect type.\n" + } + }, + "type": "object", + "required": [ + "code", + "target", "type" ], "language": { @@ -3355,12 +3414,43 @@ }, "scaleway:index/getLbFrontendAclAction:getLbFrontendAclAction": { "properties": { + "redirects": { + "type": "array", + "items": { + "$ref": "#/types/scaleway:index/getLbFrontendAclActionRedirect:getLbFrontendAclActionRedirect" + } + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "redirects", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "scaleway:index/getLbFrontendAclActionRedirect:getLbFrontendAclActionRedirect": { + "properties": { + "code": { + "type": "integer" + }, + "target": { + "type": "string" + }, "type": { "type": "string" } }, "type": "object", "required": [ + "code", + "target", "type" ], "language": { @@ -12007,7 +12097,7 @@ } }, "scaleway:index/loadbalancerFrontend:LoadbalancerFrontend": { - "description": "Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://developers.scaleway.com/en/products/lb/zoned_api).\n\n## Examples Usage\n\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@lbrlabs/pulumi-scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Lbrlabs.PulumiPackage.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder() \n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n```\n\n## With ACLs\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder() \n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .acls( \n LoadbalancerFrontendAclArgs.builder()\n .name(\"blacklist wellknwon IPs\")\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"deny\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"51.51.51.51\")\n .httpFilter(\"regex\")\n .httpFilterValues(\"^foo*bar$\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues(\"hi\")\n .invert(\"true\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"http_header_match\")\n .httpFilterValues(\"foo\")\n .httpValueOption(\"bar\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24\n acls:\n - name: blacklist wellknwon IPs\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n - action:\n type: deny\n match:\n ipSubnets:\n - 51.51.51.51\n httpFilter: regex\n httpFilterValues:\n - ^foo*bar$\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - hi\n invert: 'true'\n - action:\n type: allow\n match:\n httpFilter: http_header_match\n httpFilterValues: foo\n httpValueOption: bar\n```\n\n\n## Import\n\nLoad-Balancer frontend can be imported using the `{zone}/{id}`, e.g. bash\n\n```sh\n $ pulumi import scaleway:index/loadbalancerFrontend:LoadbalancerFrontend frontend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n ", + "description": "Creates and manages Scaleway Load-Balancer Frontends. For more information, see [the documentation](https://developers.scaleway.com/en/products/lb/zoned_api).\n\n## Examples Usage\n\n### Basic\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as scaleway from \"@lbrlabs/pulumi-scaleway\";\n\nconst frontend01 = new scaleway.LoadbalancerFrontend(\"frontend01\", {\n lbId: scaleway_lb.lb01.id,\n backendId: scaleway_lb_backend.backend01.id,\n inboundPort: 80,\n});\n```\n```python\nimport pulumi\nimport lbrlabs_pulumi_scaleway as scaleway\n\nfrontend01 = scaleway.LoadbalancerFrontend(\"frontend01\",\n lb_id=scaleway_lb[\"lb01\"][\"id\"],\n backend_id=scaleway_lb_backend[\"backend01\"][\"id\"],\n inbound_port=80)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Scaleway = Lbrlabs.PulumiPackage.Scaleway;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var frontend01 = new Scaleway.LoadbalancerFrontend(\"frontend01\", new()\n {\n LbId = scaleway_lb.Lb01.Id,\n BackendId = scaleway_lb_backend.Backend01.Id,\n InboundPort = 80,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := scaleway.NewLoadbalancerFrontend(ctx, \"frontend01\", \u0026scaleway.LoadbalancerFrontendArgs{\n\t\t\tLbId: pulumi.Any(scaleway_lb.Lb01.Id),\n\t\t\tBackendId: pulumi.Any(scaleway_lb_backend.Backend01.Id),\n\t\t\tInboundPort: pulumi.Int(80),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder() \n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n```\n\n## With ACLs\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.scaleway.LoadbalancerFrontend;\nimport com.pulumi.scaleway.LoadbalancerFrontendArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclActionArgs;\nimport com.pulumi.scaleway.inputs.LoadbalancerFrontendAclMatchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var frontend01 = new LoadbalancerFrontend(\"frontend01\", LoadbalancerFrontendArgs.builder() \n .lbId(scaleway_lb.lb01().id())\n .backendId(scaleway_lb_backend.backend01().id())\n .inboundPort(\"80\")\n .acls( \n LoadbalancerFrontendAclArgs.builder()\n .name(\"blacklist wellknwon IPs\")\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets( \n \"192.168.0.1\",\n \"192.168.0.2\",\n \"192.168.10.0/24\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"deny\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"51.51.51.51\")\n .httpFilter(\"regex\")\n .httpFilterValues(\"^foo*bar$\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"path_begin\")\n .httpFilterValues(\"hi\")\n .invert(\"true\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"allow\")\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .httpFilter(\"http_header_match\")\n .httpFilterValues(\"foo\")\n .httpValueOption(\"bar\")\n .build())\n .build(),\n LoadbalancerFrontendAclArgs.builder()\n .action(LoadbalancerFrontendAclActionArgs.builder()\n .type(\"redirect\")\n .redirects(LoadbalancerFrontendAclActionRedirectArgs.builder()\n .type(\"location\")\n .target(\"https://example.com\")\n .code(307)\n .build())\n .build())\n .match(LoadbalancerFrontendAclMatchArgs.builder()\n .ipSubnets(\"10.0.0.10\")\n .httpFilter(\"path_begin\")\n .httpFilterValues( \n \"foo\",\n \"bar\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n frontend01:\n type: scaleway:LoadbalancerFrontend\n properties:\n lbId: ${scaleway_lb.lb01.id}\n backendId: ${scaleway_lb_backend.backend01.id}\n inboundPort: '80'\n # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24\n acls:\n - name: blacklist wellknwon IPs\n action:\n type: allow\n match:\n ipSubnets:\n - 192.168.0.1\n - 192.168.0.2\n - 192.168.10.0/24\n - action:\n type: deny\n match:\n ipSubnets:\n - 51.51.51.51\n httpFilter: regex\n httpFilterValues:\n - ^foo*bar$\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n - action:\n type: allow\n match:\n httpFilter: path_begin\n httpFilterValues:\n - hi\n invert: 'true'\n - action:\n type: allow\n match:\n httpFilter: http_header_match\n httpFilterValues: foo\n httpValueOption: bar\n - action:\n type: redirect\n redirects:\n - type: location\n target: https://example.com\n code: 307\n match:\n ipSubnets:\n - 10.0.0.10\n httpFilter: path_begin\n httpFilterValues:\n - foo\n - bar\n```\n\n\n## Import\n\nLoad-Balancer frontend can be imported using the `{zone}/{id}`, e.g. bash\n\n```sh\n $ pulumi import scaleway:index/loadbalancerFrontend:LoadbalancerFrontend frontend01 fr-par-1/11111111-1111-1111-1111-111111111111\n```\n\n ", "properties": { "acls": { "type": "array", @@ -13907,6 +13997,30 @@ "type": "string", "description": "The date and time of the revocation of the domain (RFC 3339 format).\n" }, + "smtpHost": { + "type": "string", + "description": "SMTP host to use to send emails\n" + }, + "smtpPort": { + "type": "integer", + "description": "SMTP port to use to send emails over TLS. (Port 587)\n" + }, + "smtpPortAlternative": { + "type": "integer", + "description": "SMTP port to use to send emails over TLS. (Port 2587)\n" + }, + "smtpPortUnsecure": { + "type": "integer", + "description": "SMTP port to use to send emails. (Port 25)\n" + }, + "smtpsPort": { + "type": "integer", + "description": "SMTPS port to use to send emails over TLS Wrapper. (Port 465)\n" + }, + "smtpsPortAlternative": { + "type": "integer", + "description": "SMTPS port to use to send emails over TLS Wrapper. (Port 2465)\n" + }, "spfConfig": { "type": "string", "description": "The snippet of the SPF record that should be registered in the DNS zone.\n" @@ -13927,6 +14041,12 @@ "projectId", "region", "revokedAt", + "smtpHost", + "smtpPort", + "smtpPortAlternative", + "smtpPortUnsecure", + "smtpsPort", + "smtpsPortAlternative", "spfConfig", "status" ], @@ -14002,6 +14122,30 @@ "type": "string", "description": "The date and time of the revocation of the domain (RFC 3339 format).\n" }, + "smtpHost": { + "type": "string", + "description": "SMTP host to use to send emails\n" + }, + "smtpPort": { + "type": "integer", + "description": "SMTP port to use to send emails over TLS. (Port 587)\n" + }, + "smtpPortAlternative": { + "type": "integer", + "description": "SMTP port to use to send emails over TLS. (Port 2587)\n" + }, + "smtpPortUnsecure": { + "type": "integer", + "description": "SMTP port to use to send emails. (Port 25)\n" + }, + "smtpsPort": { + "type": "integer", + "description": "SMTPS port to use to send emails over TLS Wrapper. (Port 465)\n" + }, + "smtpsPortAlternative": { + "type": "integer", + "description": "SMTPS port to use to send emails over TLS Wrapper. (Port 2465)\n" + }, "spfConfig": { "type": "string", "description": "The snippet of the SPF record that should be registered in the DNS zone.\n" @@ -19910,6 +20054,30 @@ "type": "string", "description": "The date and time of the revocation of the domain (RFC 3339 format).\n" }, + "smtpHost": { + "type": "string", + "description": "The SMTP host to use to send emails.\n" + }, + "smtpPort": { + "type": "integer", + "description": "The SMTP port to use to send emails over TLS.\n" + }, + "smtpPortAlternative": { + "type": "integer", + "description": "The SMTP port to use to send emails over TLS.\n" + }, + "smtpPortUnsecure": { + "type": "integer", + "description": "The SMTP port to use to send emails.\n" + }, + "smtpsPort": { + "type": "integer", + "description": "The SMTPS port to use to send emails over TLS Wrapper.\n" + }, + "smtpsPortAlternative": { + "type": "integer", + "description": "The SMTPS port to use to send emails over TLS Wrapper.\n" + }, "spfConfig": { "type": "string", "description": "The snippet of the SPF record that should be registered in the DNS zone.\n" @@ -19929,6 +20097,12 @@ "nextCheckAt", "projectId", "revokedAt", + "smtpHost", + "smtpPort", + "smtpPortAlternative", + "smtpPortUnsecure", + "smtpsPort", + "smtpsPortAlternative", "spfConfig", "status", "id" diff --git a/provider/go.mod b/provider/go.mod index 836ea280..b66178ce 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -2,12 +2,10 @@ module github.com/lbrlabs/pulumi-scaleway/provider go 1.19 -replace github.com/scaleway/scaleway-sdk-go => github.com/scaleway/scaleway-sdk-go v1.0.0-beta.16 - require ( github.com/pulumi/pulumi-terraform-bridge/v3 v3.44.3 - github.com/pulumi/pulumi/sdk/v3 v3.62.0 - github.com/scaleway/terraform-provider-scaleway/v2 v2.16.3 + github.com/pulumi/pulumi/sdk/v3 v3.64.0 + github.com/scaleway/terraform-provider-scaleway/v2 v2.17.0 ) require ( @@ -143,7 +141,7 @@ require ( github.com/iancoleman/strcase v0.2.0 // indirect github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -151,8 +149,8 @@ require ( github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.11 // indirect github.com/kylelemons/godebug v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/cli v1.1.5 // indirect @@ -179,10 +177,10 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.2 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.3 // indirect - github.com/pulumi/pulumi-yaml v1.1.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.62.0 // indirect + github.com/pulumi/pulumi-yaml v1.1.1 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.64.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect github.com/rivo/uniseg v0.2.0 // indirect @@ -192,7 +190,7 @@ require ( github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.15.0.20230330162401-14ed2c90a334 // indirect + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.16 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect github.com/sergi/go-diff v1.2.0 // indirect @@ -200,7 +198,7 @@ require ( github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.4.1 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.8.2 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect @@ -234,7 +232,7 @@ require ( google.golang.org/api v0.103.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect - google.golang.org/grpc v1.53.0 // indirect + google.golang.org/grpc v1.54.0 // indirect google.golang.org/protobuf v1.29.1 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect @@ -245,7 +243,6 @@ require ( ) replace ( - github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.9.0 - github.com/hashicorp/go-getter/v2 => github.com/hashicorp/go-getter v2.2.1 github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 + github.com/scaleway/scaleway-sdk-go => github.com/scaleway/scaleway-sdk-go v1.0.0-beta.16 ) diff --git a/provider/go.sum b/provider/go.sum index 34c9b633..a868d217 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -384,6 +384,7 @@ github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:W github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= +github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= @@ -678,7 +679,7 @@ github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6 github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v20.10.14+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v23.0.2+incompatible h1:q81C2qQ/EhPm8COZMUGOQYh4qLv4Xu6CXELJ3WK/mlU= +github.com/docker/docker v23.0.3+incompatible h1:9GhVsShNWz1hO//9BNg/dpMnZW25KydO4wtVxWAIbho= github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= @@ -1090,6 +1091,7 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= +github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= @@ -1149,6 +1151,7 @@ github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +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.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= @@ -1242,8 +1245,8 @@ github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= @@ -1393,8 +1396,9 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= @@ -1403,8 +1407,9 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= @@ -1676,20 +1681,19 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.9.0 h1:8KQG7AJVtVBoPE3+Psmhv/lvGHI8RL3/E5uT59Aken0= -github.com/pulumi/pulumi-java/pkg v0.9.0/go.mod h1:eHpNTbf4n5X3YvqoDI/+cbVIkQaycBFdsvQb/24ykpc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.43.0 h1:yGbnrSpcqC+T/eXba7MgAuqc25Iv2Cf71puA5m8fQRQ= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.43.0/go.mod h1:tyvu1G9JH1kMNzYYpODtTv/7fgK+ko174AEHn+uSJ0o= +github.com/pulumi/pulumi-java/pkg v0.9.2 h1:fpBwf1NHf3j5YuigOWsXPvJCAFivEp1D6aOlYIrSbr0= +github.com/pulumi/pulumi-java/pkg v0.9.2/go.mod h1:+5V4jggi3063hksi28zYvLm42UWVg3VqpR6qGZraIdM= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/v3 v3.44.3 h1:CET8z6seLHtEYj3OnrFh/XRaqi1Jyj9xxQWQVFZzZIw= github.com/pulumi/pulumi-terraform-bridge/v3 v3.44.3/go.mod h1:MbllbPNA49TmCI2N0awqHCHdB7JrdFB7odFUEo4WRXk= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.3 h1:1SmRVwRnrplcdBVVgoKYL8xqW8dCeiQPSwpGkx4ga6U= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.3/go.mod h1:n0TS1WsPjOfto6hyDZbXfNZQuLli2X9iDWt2nzmQJsg= -github.com/pulumi/pulumi-yaml v1.1.0 h1:Rm2TOS8/ZLRsgx1IOkiId7bwimbxcfPpAzSH0Tp7ePQ= -github.com/pulumi/pulumi-yaml v1.1.0/go.mod h1:SIu26o/xRupOoZgrPjgmbUn6dS7FT74pTions9CSSfU= -github.com/pulumi/pulumi/pkg/v3 v3.62.0 h1:eEb2y6S0xcYa0MNOfa51AFvHbOmHwiraa1Uu+NVzyuI= -github.com/pulumi/pulumi/pkg/v3 v3.62.0/go.mod h1:7Imggo8uoYBewCdZC9LoEkPxnC7Wmn6TrAU0ouHV+kY= -github.com/pulumi/pulumi/sdk/v3 v3.62.0 h1:j0n83nwCvnBakw0QHYRTNPnYr0hKs21tJervE+LrjCY= -github.com/pulumi/pulumi/sdk/v3 v3.62.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= +github.com/pulumi/pulumi-yaml v1.1.1 h1:8pyBNIU8+ym0wYpjhsCqN+cutygfK1XbhY2YEeNfyXY= +github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE= +github.com/pulumi/pulumi/pkg/v3 v3.64.0 h1:QHnxdp4Xf0jm2giOZGx5oyCEp2MNfABE1Sm1CmYilv0= +github.com/pulumi/pulumi/pkg/v3 v3.64.0/go.mod h1:FR1XZl2uEBDqYGg53AIfACXZYKS5COgoWMleb0YfD7k= +github.com/pulumi/pulumi/sdk/v3 v3.64.0 h1:38y/6FLYZihLf2dnjw2L9g46h/6p+jOKKlmEYjL81+c= +github.com/pulumi/pulumi/sdk/v3 v3.64.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= @@ -1729,12 +1733,10 @@ github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0 github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.15.0.20230330162401-14ed2c90a334 h1:inIaZ6yJnpAbkfxzSaOelPFyEfhFoXZ3srp+kEPhG6o= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.15.0.20230330162401-14ed2c90a334/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.16 h1:Ted1/3BGV1d0c7J+69N+brveAgJNWZlWnI8iYP3dZMs= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.16/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= -github.com/scaleway/terraform-provider-scaleway/v2 v2.16.3 h1:c76dSe7n7EYSQBgZ6WbRaLW5bmFDcAmED1rCX16LsmI= -github.com/scaleway/terraform-provider-scaleway/v2 v2.16.3/go.mod h1:NiauqQLn07EpUB7GJEiit2ZHb+ySrzqBdswvEJo5QTo= +github.com/scaleway/terraform-provider-scaleway/v2 v2.17.0 h1:p0nk0I6xFORotQaVvEObAZjg1zgeTe+LqUyyMceNKa4= +github.com/scaleway/terraform-provider-scaleway/v2 v2.17.0/go.mod h1:3JhdUnfvNZaY5S7Bo7CclFE0q+DJdCjftc0Pp86wEUw= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= @@ -1788,8 +1790,8 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1850,6 +1852,7 @@ github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6 github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= @@ -2395,6 +2398,7 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2775,8 +2779,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= diff --git a/sdk/dotnet/Scaleway/GetTemDomain.cs b/sdk/dotnet/Scaleway/GetTemDomain.cs index e5dc4f3b..2d482bda 100644 --- a/sdk/dotnet/Scaleway/GetTemDomain.cs +++ b/sdk/dotnet/Scaleway/GetTemDomain.cs @@ -112,6 +112,30 @@ public sealed class GetTemDomainResult /// public readonly string RevokedAt; /// + /// The SMTP host to use to send emails. + /// + public readonly string SmtpHost; + /// + /// The SMTP port to use to send emails over TLS. + /// + public readonly int SmtpPort; + /// + /// The SMTP port to use to send emails over TLS. + /// + public readonly int SmtpPortAlternative; + /// + /// The SMTP port to use to send emails. + /// + public readonly int SmtpPortUnsecure; + /// + /// The SMTPS port to use to send emails over TLS Wrapper. + /// + public readonly int SmtpsPort; + /// + /// The SMTPS port to use to send emails over TLS Wrapper. + /// + public readonly int SmtpsPortAlternative; + /// /// The snippet of the SPF record that should be registered in the DNS zone. /// public readonly string SpfConfig; @@ -146,6 +170,18 @@ private GetTemDomainResult( string revokedAt, + string smtpHost, + + int smtpPort, + + int smtpPortAlternative, + + int smtpPortUnsecure, + + int smtpsPort, + + int smtpsPortAlternative, + string spfConfig, string status) @@ -162,6 +198,12 @@ private GetTemDomainResult( ProjectId = projectId; Region = region; RevokedAt = revokedAt; + SmtpHost = smtpHost; + SmtpPort = smtpPort; + SmtpPortAlternative = smtpPortAlternative; + SmtpPortUnsecure = smtpPortUnsecure; + SmtpsPort = smtpsPort; + SmtpsPortAlternative = smtpsPortAlternative; SpfConfig = spfConfig; Status = status; } diff --git a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionArgs.cs b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionArgs.cs index 1b74ef20..4fee5501 100644 --- a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionArgs.cs +++ b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionArgs.cs @@ -13,8 +13,20 @@ namespace Lbrlabs.PulumiPackage.Scaleway.Inputs public sealed class LoadbalancerFrontendAclActionArgs : global::Pulumi.ResourceArgs { + [Input("redirects")] + private InputList? _redirects; + + /// + /// Redirect parameters when using an ACL with `redirect` action. + /// + public InputList Redirects + { + get => _redirects ?? (_redirects = new InputList()); + set => _redirects = value; + } + /// - /// The action type. Possible values are: `allow` or `deny`. + /// The redirect type. Possible values are: `location` or `scheme`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionGetArgs.cs b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionGetArgs.cs index 3574bc93..8efba1ab 100644 --- a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionGetArgs.cs +++ b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionGetArgs.cs @@ -13,8 +13,20 @@ namespace Lbrlabs.PulumiPackage.Scaleway.Inputs public sealed class LoadbalancerFrontendAclActionGetArgs : global::Pulumi.ResourceArgs { + [Input("redirects")] + private InputList? _redirects; + + /// + /// Redirect parameters when using an ACL with `redirect` action. + /// + public InputList Redirects + { + get => _redirects ?? (_redirects = new InputList()); + set => _redirects = value; + } + /// - /// The action type. Possible values are: `allow` or `deny`. + /// The redirect type. Possible values are: `location` or `scheme`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs new file mode 100644 index 00000000..a8980330 --- /dev/null +++ b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectArgs.cs @@ -0,0 +1,39 @@ +// *** 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 Lbrlabs.PulumiPackage.Scaleway.Inputs +{ + + public sealed class LoadbalancerFrontendAclActionRedirectArgs : global::Pulumi.ResourceArgs + { + /// + /// The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + /// + [Input("code")] + public Input? Code { get; set; } + + /// + /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// + [Input("target")] + public Input? Target { get; set; } + + /// + /// The redirect type. Possible values are: `location` or `scheme`. + /// + [Input("type")] + public Input? Type { get; set; } + + public LoadbalancerFrontendAclActionRedirectArgs() + { + } + public static new LoadbalancerFrontendAclActionRedirectArgs Empty => new LoadbalancerFrontendAclActionRedirectArgs(); + } +} diff --git a/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs new file mode 100644 index 00000000..ea098d20 --- /dev/null +++ b/sdk/dotnet/Scaleway/Inputs/LoadbalancerFrontendAclActionRedirectGetArgs.cs @@ -0,0 +1,39 @@ +// *** 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 Lbrlabs.PulumiPackage.Scaleway.Inputs +{ + + public sealed class LoadbalancerFrontendAclActionRedirectGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + /// + [Input("code")] + public Input? Code { get; set; } + + /// + /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// + [Input("target")] + public Input? Target { get; set; } + + /// + /// The redirect type. Possible values are: `location` or `scheme`. + /// + [Input("type")] + public Input? Type { get; set; } + + public LoadbalancerFrontendAclActionRedirectGetArgs() + { + } + public static new LoadbalancerFrontendAclActionRedirectGetArgs Empty => new LoadbalancerFrontendAclActionRedirectGetArgs(); + } +} diff --git a/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionRedirectResult.cs b/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionRedirectResult.cs new file mode 100644 index 00000000..1fe4fee7 --- /dev/null +++ b/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionRedirectResult.cs @@ -0,0 +1,43 @@ +// *** 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 Lbrlabs.PulumiPackage.Scaleway.Outputs +{ + + [OutputType] + public sealed class GetLbAclsAclActionRedirectResult + { + /// + /// The HTTP redirect code used. + /// + public readonly int Code; + /// + /// The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + /// + public readonly string Target; + /// + /// The redirect type. + /// + public readonly string Type; + + [OutputConstructor] + private GetLbAclsAclActionRedirectResult( + int code, + + string target, + + string type) + { + Code = code; + Target = target; + Type = type; + } + } +} diff --git a/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionResult.cs b/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionResult.cs index 055a35e3..a0938ab2 100644 --- a/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionResult.cs +++ b/sdk/dotnet/Scaleway/Outputs/GetLbAclsAclActionResult.cs @@ -15,13 +15,21 @@ namespace Lbrlabs.PulumiPackage.Scaleway.Outputs public sealed class GetLbAclsAclActionResult { /// - /// The action type. + /// Redirect parameters when using an ACL with `redirect` action. + /// + public readonly ImmutableArray Redirects; + /// + /// The redirect type. /// public readonly string Type; [OutputConstructor] - private GetLbAclsAclActionResult(string type) + private GetLbAclsAclActionResult( + ImmutableArray redirects, + + string type) { + Redirects = redirects; Type = type; } } diff --git a/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionRedirectResult.cs b/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionRedirectResult.cs new file mode 100644 index 00000000..38d88166 --- /dev/null +++ b/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionRedirectResult.cs @@ -0,0 +1,34 @@ +// *** 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 Lbrlabs.PulumiPackage.Scaleway.Outputs +{ + + [OutputType] + public sealed class GetLbFrontendAclActionRedirectResult + { + public readonly int Code; + public readonly string Target; + public readonly string Type; + + [OutputConstructor] + private GetLbFrontendAclActionRedirectResult( + int code, + + string target, + + string type) + { + Code = code; + Target = target; + Type = type; + } + } +} diff --git a/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionResult.cs b/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionResult.cs index c9e42244..412d7911 100644 --- a/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionResult.cs +++ b/sdk/dotnet/Scaleway/Outputs/GetLbFrontendAclActionResult.cs @@ -14,11 +14,16 @@ namespace Lbrlabs.PulumiPackage.Scaleway.Outputs [OutputType] public sealed class GetLbFrontendAclActionResult { + public readonly ImmutableArray Redirects; public readonly string Type; [OutputConstructor] - private GetLbFrontendAclActionResult(string type) + private GetLbFrontendAclActionResult( + ImmutableArray redirects, + + string type) { + Redirects = redirects; Type = type; } } diff --git a/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclAction.cs b/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclAction.cs index d06358f5..98b8f41b 100644 --- a/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclAction.cs +++ b/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclAction.cs @@ -15,13 +15,21 @@ namespace Lbrlabs.PulumiPackage.Scaleway.Outputs public sealed class LoadbalancerFrontendAclAction { /// - /// The action type. Possible values are: `allow` or `deny`. + /// Redirect parameters when using an ACL with `redirect` action. + /// + public readonly ImmutableArray Redirects; + /// + /// The redirect type. Possible values are: `location` or `scheme`. /// public readonly string Type; [OutputConstructor] - private LoadbalancerFrontendAclAction(string type) + private LoadbalancerFrontendAclAction( + ImmutableArray redirects, + + string type) { + Redirects = redirects; Type = type; } } diff --git a/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclActionRedirect.cs b/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclActionRedirect.cs new file mode 100644 index 00000000..bdbe4e5e --- /dev/null +++ b/sdk/dotnet/Scaleway/Outputs/LoadbalancerFrontendAclActionRedirect.cs @@ -0,0 +1,43 @@ +// *** 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 Lbrlabs.PulumiPackage.Scaleway.Outputs +{ + + [OutputType] + public sealed class LoadbalancerFrontendAclActionRedirect + { + /// + /// The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + /// + public readonly int? Code; + /// + /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + /// + public readonly string? Target; + /// + /// The redirect type. Possible values are: `location` or `scheme`. + /// + public readonly string? Type; + + [OutputConstructor] + private LoadbalancerFrontendAclActionRedirect( + int? code, + + string? target, + + string? type) + { + Code = code; + Target = target; + Type = type; + } + } +} diff --git a/sdk/dotnet/Scaleway/TemDomain.cs b/sdk/dotnet/Scaleway/TemDomain.cs index b0b1b6ae..79f6ff27 100644 --- a/sdk/dotnet/Scaleway/TemDomain.cs +++ b/sdk/dotnet/Scaleway/TemDomain.cs @@ -107,6 +107,42 @@ public partial class TemDomain : global::Pulumi.CustomResource [Output("revokedAt")] public Output RevokedAt { get; private set; } = null!; + /// + /// SMTP host to use to send emails + /// + [Output("smtpHost")] + public Output SmtpHost { get; private set; } = null!; + + /// + /// SMTP port to use to send emails over TLS. (Port 587) + /// + [Output("smtpPort")] + public Output SmtpPort { get; private set; } = null!; + + /// + /// SMTP port to use to send emails over TLS. (Port 2587) + /// + [Output("smtpPortAlternative")] + public Output SmtpPortAlternative { get; private set; } = null!; + + /// + /// SMTP port to use to send emails. (Port 25) + /// + [Output("smtpPortUnsecure")] + public Output SmtpPortUnsecure { get; private set; } = null!; + + /// + /// SMTPS port to use to send emails over TLS Wrapper. (Port 465) + /// + [Output("smtpsPort")] + public Output SmtpsPort { get; private set; } = null!; + + /// + /// SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + /// + [Output("smtpsPortAlternative")] + public Output SmtpsPortAlternative { get; private set; } = null!; + /// /// The snippet of the SPF record that should be registered in the DNS zone. /// @@ -262,6 +298,42 @@ public sealed class TemDomainState : global::Pulumi.ResourceArgs [Input("revokedAt")] public Input? RevokedAt { get; set; } + /// + /// SMTP host to use to send emails + /// + [Input("smtpHost")] + public Input? SmtpHost { get; set; } + + /// + /// SMTP port to use to send emails over TLS. (Port 587) + /// + [Input("smtpPort")] + public Input? SmtpPort { get; set; } + + /// + /// SMTP port to use to send emails over TLS. (Port 2587) + /// + [Input("smtpPortAlternative")] + public Input? SmtpPortAlternative { get; set; } + + /// + /// SMTP port to use to send emails. (Port 25) + /// + [Input("smtpPortUnsecure")] + public Input? SmtpPortUnsecure { get; set; } + + /// + /// SMTPS port to use to send emails over TLS Wrapper. (Port 465) + /// + [Input("smtpsPort")] + public Input? SmtpsPort { get; set; } + + /// + /// SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + /// + [Input("smtpsPortAlternative")] + public Input? SmtpsPortAlternative { get; set; } + /// /// The snippet of the SPF record that should be registered in the DNS zone. /// diff --git a/sdk/go.mod b/sdk/go.mod index fb335e54..ba628b38 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.62.0 + github.com/pulumi/pulumi/sdk/v3 v3.64.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 210e69db..1e8600d1 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -107,8 +107,8 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.62.0 h1:j0n83nwCvnBakw0QHYRTNPnYr0hKs21tJervE+LrjCY= -github.com/pulumi/pulumi/sdk/v3 v3.62.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= +github.com/pulumi/pulumi/sdk/v3 v3.64.0 h1:38y/6FLYZihLf2dnjw2L9g46h/6p+jOKKlmEYjL81+c= +github.com/pulumi/pulumi/sdk/v3 v3.64.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= diff --git a/sdk/go/scaleway/getTemDomain.go b/sdk/go/scaleway/getTemDomain.go index a706c754..75328c01 100644 --- a/sdk/go/scaleway/getTemDomain.go +++ b/sdk/go/scaleway/getTemDomain.go @@ -52,6 +52,18 @@ type LookupTemDomainResult struct { Region *string `pulumi:"region"` // The date and time of the revocation of the domain (RFC 3339 format). RevokedAt string `pulumi:"revokedAt"` + // The SMTP host to use to send emails. + SmtpHost string `pulumi:"smtpHost"` + // The SMTP port to use to send emails over TLS. + SmtpPort int `pulumi:"smtpPort"` + // The SMTP port to use to send emails over TLS. + SmtpPortAlternative int `pulumi:"smtpPortAlternative"` + // The SMTP port to use to send emails. + SmtpPortUnsecure int `pulumi:"smtpPortUnsecure"` + // The SMTPS port to use to send emails over TLS Wrapper. + SmtpsPort int `pulumi:"smtpsPort"` + // The SMTPS port to use to send emails over TLS Wrapper. + SmtpsPortAlternative int `pulumi:"smtpsPortAlternative"` // The snippet of the SPF record that should be registered in the DNS zone. SpfConfig string `pulumi:"spfConfig"` // The status of the Transaction Email Domain. @@ -155,6 +167,36 @@ func (o LookupTemDomainResultOutput) RevokedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupTemDomainResult) string { return v.RevokedAt }).(pulumi.StringOutput) } +// The SMTP host to use to send emails. +func (o LookupTemDomainResultOutput) SmtpHost() pulumi.StringOutput { + return o.ApplyT(func(v LookupTemDomainResult) string { return v.SmtpHost }).(pulumi.StringOutput) +} + +// The SMTP port to use to send emails over TLS. +func (o LookupTemDomainResultOutput) SmtpPort() pulumi.IntOutput { + return o.ApplyT(func(v LookupTemDomainResult) int { return v.SmtpPort }).(pulumi.IntOutput) +} + +// The SMTP port to use to send emails over TLS. +func (o LookupTemDomainResultOutput) SmtpPortAlternative() pulumi.IntOutput { + return o.ApplyT(func(v LookupTemDomainResult) int { return v.SmtpPortAlternative }).(pulumi.IntOutput) +} + +// The SMTP port to use to send emails. +func (o LookupTemDomainResultOutput) SmtpPortUnsecure() pulumi.IntOutput { + return o.ApplyT(func(v LookupTemDomainResult) int { return v.SmtpPortUnsecure }).(pulumi.IntOutput) +} + +// The SMTPS port to use to send emails over TLS Wrapper. +func (o LookupTemDomainResultOutput) SmtpsPort() pulumi.IntOutput { + return o.ApplyT(func(v LookupTemDomainResult) int { return v.SmtpsPort }).(pulumi.IntOutput) +} + +// The SMTPS port to use to send emails over TLS Wrapper. +func (o LookupTemDomainResultOutput) SmtpsPortAlternative() pulumi.IntOutput { + return o.ApplyT(func(v LookupTemDomainResult) int { return v.SmtpsPortAlternative }).(pulumi.IntOutput) +} + // The snippet of the SPF record that should be registered in the DNS zone. func (o LookupTemDomainResultOutput) SpfConfig() pulumi.StringOutput { return o.ApplyT(func(v LookupTemDomainResult) string { return v.SpfConfig }).(pulumi.StringOutput) diff --git a/sdk/go/scaleway/pulumiTypes.go b/sdk/go/scaleway/pulumiTypes.go index 43ca768e..44b2deb9 100644 --- a/sdk/go/scaleway/pulumiTypes.go +++ b/sdk/go/scaleway/pulumiTypes.go @@ -7188,7 +7188,9 @@ func (o LoadbalancerFrontendAclArrayOutput) Index(i pulumi.IntInput) Loadbalance } type LoadbalancerFrontendAclAction struct { - // The action type. Possible values are: `allow` or `deny`. + // Redirect parameters when using an ACL with `redirect` action. + Redirects []LoadbalancerFrontendAclActionRedirect `pulumi:"redirects"` + // The redirect type. Possible values are: `location` or `scheme`. Type string `pulumi:"type"` } @@ -7204,7 +7206,9 @@ type LoadbalancerFrontendAclActionInput interface { } type LoadbalancerFrontendAclActionArgs struct { - // The action type. Possible values are: `allow` or `deny`. + // Redirect parameters when using an ACL with `redirect` action. + Redirects LoadbalancerFrontendAclActionRedirectArrayInput `pulumi:"redirects"` + // The redirect type. Possible values are: `location` or `scheme`. Type pulumi.StringInput `pulumi:"type"` } @@ -7234,11 +7238,131 @@ func (o LoadbalancerFrontendAclActionOutput) ToLoadbalancerFrontendAclActionOutp return o } -// The action type. Possible values are: `allow` or `deny`. +// Redirect parameters when using an ACL with `redirect` action. +func (o LoadbalancerFrontendAclActionOutput) Redirects() LoadbalancerFrontendAclActionRedirectArrayOutput { + return o.ApplyT(func(v LoadbalancerFrontendAclAction) []LoadbalancerFrontendAclActionRedirect { return v.Redirects }).(LoadbalancerFrontendAclActionRedirectArrayOutput) +} + +// The redirect type. Possible values are: `location` or `scheme`. func (o LoadbalancerFrontendAclActionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LoadbalancerFrontendAclAction) string { return v.Type }).(pulumi.StringOutput) } +type LoadbalancerFrontendAclActionRedirect struct { + // The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + Code *int `pulumi:"code"` + // An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + Target *string `pulumi:"target"` + // The redirect type. Possible values are: `location` or `scheme`. + Type *string `pulumi:"type"` +} + +// LoadbalancerFrontendAclActionRedirectInput is an input type that accepts LoadbalancerFrontendAclActionRedirectArgs and LoadbalancerFrontendAclActionRedirectOutput values. +// You can construct a concrete instance of `LoadbalancerFrontendAclActionRedirectInput` via: +// +// LoadbalancerFrontendAclActionRedirectArgs{...} +type LoadbalancerFrontendAclActionRedirectInput interface { + pulumi.Input + + ToLoadbalancerFrontendAclActionRedirectOutput() LoadbalancerFrontendAclActionRedirectOutput + ToLoadbalancerFrontendAclActionRedirectOutputWithContext(context.Context) LoadbalancerFrontendAclActionRedirectOutput +} + +type LoadbalancerFrontendAclActionRedirectArgs struct { + // The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + Code pulumi.IntPtrInput `pulumi:"code"` + // An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + Target pulumi.StringPtrInput `pulumi:"target"` + // The redirect type. Possible values are: `location` or `scheme`. + Type pulumi.StringPtrInput `pulumi:"type"` +} + +func (LoadbalancerFrontendAclActionRedirectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LoadbalancerFrontendAclActionRedirect)(nil)).Elem() +} + +func (i LoadbalancerFrontendAclActionRedirectArgs) ToLoadbalancerFrontendAclActionRedirectOutput() LoadbalancerFrontendAclActionRedirectOutput { + return i.ToLoadbalancerFrontendAclActionRedirectOutputWithContext(context.Background()) +} + +func (i LoadbalancerFrontendAclActionRedirectArgs) ToLoadbalancerFrontendAclActionRedirectOutputWithContext(ctx context.Context) LoadbalancerFrontendAclActionRedirectOutput { + return pulumi.ToOutputWithContext(ctx, i).(LoadbalancerFrontendAclActionRedirectOutput) +} + +// LoadbalancerFrontendAclActionRedirectArrayInput is an input type that accepts LoadbalancerFrontendAclActionRedirectArray and LoadbalancerFrontendAclActionRedirectArrayOutput values. +// You can construct a concrete instance of `LoadbalancerFrontendAclActionRedirectArrayInput` via: +// +// LoadbalancerFrontendAclActionRedirectArray{ LoadbalancerFrontendAclActionRedirectArgs{...} } +type LoadbalancerFrontendAclActionRedirectArrayInput interface { + pulumi.Input + + ToLoadbalancerFrontendAclActionRedirectArrayOutput() LoadbalancerFrontendAclActionRedirectArrayOutput + ToLoadbalancerFrontendAclActionRedirectArrayOutputWithContext(context.Context) LoadbalancerFrontendAclActionRedirectArrayOutput +} + +type LoadbalancerFrontendAclActionRedirectArray []LoadbalancerFrontendAclActionRedirectInput + +func (LoadbalancerFrontendAclActionRedirectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LoadbalancerFrontendAclActionRedirect)(nil)).Elem() +} + +func (i LoadbalancerFrontendAclActionRedirectArray) ToLoadbalancerFrontendAclActionRedirectArrayOutput() LoadbalancerFrontendAclActionRedirectArrayOutput { + return i.ToLoadbalancerFrontendAclActionRedirectArrayOutputWithContext(context.Background()) +} + +func (i LoadbalancerFrontendAclActionRedirectArray) ToLoadbalancerFrontendAclActionRedirectArrayOutputWithContext(ctx context.Context) LoadbalancerFrontendAclActionRedirectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LoadbalancerFrontendAclActionRedirectArrayOutput) +} + +type LoadbalancerFrontendAclActionRedirectOutput struct{ *pulumi.OutputState } + +func (LoadbalancerFrontendAclActionRedirectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LoadbalancerFrontendAclActionRedirect)(nil)).Elem() +} + +func (o LoadbalancerFrontendAclActionRedirectOutput) ToLoadbalancerFrontendAclActionRedirectOutput() LoadbalancerFrontendAclActionRedirectOutput { + return o +} + +func (o LoadbalancerFrontendAclActionRedirectOutput) ToLoadbalancerFrontendAclActionRedirectOutputWithContext(ctx context.Context) LoadbalancerFrontendAclActionRedirectOutput { + return o +} + +// The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. +func (o LoadbalancerFrontendAclActionRedirectOutput) Code() pulumi.IntPtrOutput { + return o.ApplyT(func(v LoadbalancerFrontendAclActionRedirect) *int { return v.Code }).(pulumi.IntPtrOutput) +} + +// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. +func (o LoadbalancerFrontendAclActionRedirectOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v LoadbalancerFrontendAclActionRedirect) *string { return v.Target }).(pulumi.StringPtrOutput) +} + +// The redirect type. Possible values are: `location` or `scheme`. +func (o LoadbalancerFrontendAclActionRedirectOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v LoadbalancerFrontendAclActionRedirect) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type LoadbalancerFrontendAclActionRedirectArrayOutput struct{ *pulumi.OutputState } + +func (LoadbalancerFrontendAclActionRedirectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LoadbalancerFrontendAclActionRedirect)(nil)).Elem() +} + +func (o LoadbalancerFrontendAclActionRedirectArrayOutput) ToLoadbalancerFrontendAclActionRedirectArrayOutput() LoadbalancerFrontendAclActionRedirectArrayOutput { + return o +} + +func (o LoadbalancerFrontendAclActionRedirectArrayOutput) ToLoadbalancerFrontendAclActionRedirectArrayOutputWithContext(ctx context.Context) LoadbalancerFrontendAclActionRedirectArrayOutput { + return o +} + +func (o LoadbalancerFrontendAclActionRedirectArrayOutput) Index(i pulumi.IntInput) LoadbalancerFrontendAclActionRedirectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadbalancerFrontendAclActionRedirect { + return vs[0].([]LoadbalancerFrontendAclActionRedirect)[vs[1].(int)] + }).(LoadbalancerFrontendAclActionRedirectOutput) +} + type LoadbalancerFrontendAclMatch struct { // The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. // It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). @@ -14211,7 +14335,9 @@ func (o GetLbAclsAclArrayOutput) Index(i pulumi.IntInput) GetLbAclsAclOutput { } type GetLbAclsAclAction struct { - // The action type. + // Redirect parameters when using an ACL with `redirect` action. + Redirects []GetLbAclsAclActionRedirect `pulumi:"redirects"` + // The redirect type. Type string `pulumi:"type"` } @@ -14227,7 +14353,9 @@ type GetLbAclsAclActionInput interface { } type GetLbAclsAclActionArgs struct { - // The action type. + // Redirect parameters when using an ACL with `redirect` action. + Redirects GetLbAclsAclActionRedirectArrayInput `pulumi:"redirects"` + // The redirect type. Type pulumi.StringInput `pulumi:"type"` } @@ -14282,7 +14410,12 @@ func (o GetLbAclsAclActionOutput) ToGetLbAclsAclActionOutputWithContext(ctx cont return o } -// The action type. +// Redirect parameters when using an ACL with `redirect` action. +func (o GetLbAclsAclActionOutput) Redirects() GetLbAclsAclActionRedirectArrayOutput { + return o.ApplyT(func(v GetLbAclsAclAction) []GetLbAclsAclActionRedirect { return v.Redirects }).(GetLbAclsAclActionRedirectArrayOutput) +} + +// The redirect type. func (o GetLbAclsAclActionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetLbAclsAclAction) string { return v.Type }).(pulumi.StringOutput) } @@ -14307,6 +14440,121 @@ func (o GetLbAclsAclActionArrayOutput) Index(i pulumi.IntInput) GetLbAclsAclActi }).(GetLbAclsAclActionOutput) } +type GetLbAclsAclActionRedirect struct { + // The HTTP redirect code used. + Code int `pulumi:"code"` + // The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + Target string `pulumi:"target"` + // The redirect type. + Type string `pulumi:"type"` +} + +// GetLbAclsAclActionRedirectInput is an input type that accepts GetLbAclsAclActionRedirectArgs and GetLbAclsAclActionRedirectOutput values. +// You can construct a concrete instance of `GetLbAclsAclActionRedirectInput` via: +// +// GetLbAclsAclActionRedirectArgs{...} +type GetLbAclsAclActionRedirectInput interface { + pulumi.Input + + ToGetLbAclsAclActionRedirectOutput() GetLbAclsAclActionRedirectOutput + ToGetLbAclsAclActionRedirectOutputWithContext(context.Context) GetLbAclsAclActionRedirectOutput +} + +type GetLbAclsAclActionRedirectArgs struct { + // The HTTP redirect code used. + Code pulumi.IntInput `pulumi:"code"` + // The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + Target pulumi.StringInput `pulumi:"target"` + // The redirect type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetLbAclsAclActionRedirectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLbAclsAclActionRedirect)(nil)).Elem() +} + +func (i GetLbAclsAclActionRedirectArgs) ToGetLbAclsAclActionRedirectOutput() GetLbAclsAclActionRedirectOutput { + return i.ToGetLbAclsAclActionRedirectOutputWithContext(context.Background()) +} + +func (i GetLbAclsAclActionRedirectArgs) ToGetLbAclsAclActionRedirectOutputWithContext(ctx context.Context) GetLbAclsAclActionRedirectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLbAclsAclActionRedirectOutput) +} + +// GetLbAclsAclActionRedirectArrayInput is an input type that accepts GetLbAclsAclActionRedirectArray and GetLbAclsAclActionRedirectArrayOutput values. +// You can construct a concrete instance of `GetLbAclsAclActionRedirectArrayInput` via: +// +// GetLbAclsAclActionRedirectArray{ GetLbAclsAclActionRedirectArgs{...} } +type GetLbAclsAclActionRedirectArrayInput interface { + pulumi.Input + + ToGetLbAclsAclActionRedirectArrayOutput() GetLbAclsAclActionRedirectArrayOutput + ToGetLbAclsAclActionRedirectArrayOutputWithContext(context.Context) GetLbAclsAclActionRedirectArrayOutput +} + +type GetLbAclsAclActionRedirectArray []GetLbAclsAclActionRedirectInput + +func (GetLbAclsAclActionRedirectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLbAclsAclActionRedirect)(nil)).Elem() +} + +func (i GetLbAclsAclActionRedirectArray) ToGetLbAclsAclActionRedirectArrayOutput() GetLbAclsAclActionRedirectArrayOutput { + return i.ToGetLbAclsAclActionRedirectArrayOutputWithContext(context.Background()) +} + +func (i GetLbAclsAclActionRedirectArray) ToGetLbAclsAclActionRedirectArrayOutputWithContext(ctx context.Context) GetLbAclsAclActionRedirectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLbAclsAclActionRedirectArrayOutput) +} + +type GetLbAclsAclActionRedirectOutput struct{ *pulumi.OutputState } + +func (GetLbAclsAclActionRedirectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLbAclsAclActionRedirect)(nil)).Elem() +} + +func (o GetLbAclsAclActionRedirectOutput) ToGetLbAclsAclActionRedirectOutput() GetLbAclsAclActionRedirectOutput { + return o +} + +func (o GetLbAclsAclActionRedirectOutput) ToGetLbAclsAclActionRedirectOutputWithContext(ctx context.Context) GetLbAclsAclActionRedirectOutput { + return o +} + +// The HTTP redirect code used. +func (o GetLbAclsAclActionRedirectOutput) Code() pulumi.IntOutput { + return o.ApplyT(func(v GetLbAclsAclActionRedirect) int { return v.Code }).(pulumi.IntOutput) +} + +// The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. +func (o GetLbAclsAclActionRedirectOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v GetLbAclsAclActionRedirect) string { return v.Target }).(pulumi.StringOutput) +} + +// The redirect type. +func (o GetLbAclsAclActionRedirectOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetLbAclsAclActionRedirect) string { return v.Type }).(pulumi.StringOutput) +} + +type GetLbAclsAclActionRedirectArrayOutput struct{ *pulumi.OutputState } + +func (GetLbAclsAclActionRedirectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLbAclsAclActionRedirect)(nil)).Elem() +} + +func (o GetLbAclsAclActionRedirectArrayOutput) ToGetLbAclsAclActionRedirectArrayOutput() GetLbAclsAclActionRedirectArrayOutput { + return o +} + +func (o GetLbAclsAclActionRedirectArrayOutput) ToGetLbAclsAclActionRedirectArrayOutputWithContext(ctx context.Context) GetLbAclsAclActionRedirectArrayOutput { + return o +} + +func (o GetLbAclsAclActionRedirectArrayOutput) Index(i pulumi.IntInput) GetLbAclsAclActionRedirectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLbAclsAclActionRedirect { + return vs[0].([]GetLbAclsAclActionRedirect)[vs[1].(int)] + }).(GetLbAclsAclActionRedirectOutput) +} + type GetLbAclsAclMatch struct { // The matched HTTP filter. HttpFilter string `pulumi:"httpFilter"` @@ -15299,7 +15547,8 @@ func (o GetLbFrontendAclArrayOutput) Index(i pulumi.IntInput) GetLbFrontendAclOu } type GetLbFrontendAclAction struct { - Type string `pulumi:"type"` + Redirects []GetLbFrontendAclActionRedirect `pulumi:"redirects"` + Type string `pulumi:"type"` } // GetLbFrontendAclActionInput is an input type that accepts GetLbFrontendAclActionArgs and GetLbFrontendAclActionOutput values. @@ -15314,7 +15563,8 @@ type GetLbFrontendAclActionInput interface { } type GetLbFrontendAclActionArgs struct { - Type pulumi.StringInput `pulumi:"type"` + Redirects GetLbFrontendAclActionRedirectArrayInput `pulumi:"redirects"` + Type pulumi.StringInput `pulumi:"type"` } func (GetLbFrontendAclActionArgs) ElementType() reflect.Type { @@ -15368,6 +15618,10 @@ func (o GetLbFrontendAclActionOutput) ToGetLbFrontendAclActionOutputWithContext( return o } +func (o GetLbFrontendAclActionOutput) Redirects() GetLbFrontendAclActionRedirectArrayOutput { + return o.ApplyT(func(v GetLbFrontendAclAction) []GetLbFrontendAclActionRedirect { return v.Redirects }).(GetLbFrontendAclActionRedirectArrayOutput) +} + func (o GetLbFrontendAclActionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetLbFrontendAclAction) string { return v.Type }).(pulumi.StringOutput) } @@ -15392,6 +15646,112 @@ func (o GetLbFrontendAclActionArrayOutput) Index(i pulumi.IntInput) GetLbFronten }).(GetLbFrontendAclActionOutput) } +type GetLbFrontendAclActionRedirect struct { + Code int `pulumi:"code"` + Target string `pulumi:"target"` + Type string `pulumi:"type"` +} + +// GetLbFrontendAclActionRedirectInput is an input type that accepts GetLbFrontendAclActionRedirectArgs and GetLbFrontendAclActionRedirectOutput values. +// You can construct a concrete instance of `GetLbFrontendAclActionRedirectInput` via: +// +// GetLbFrontendAclActionRedirectArgs{...} +type GetLbFrontendAclActionRedirectInput interface { + pulumi.Input + + ToGetLbFrontendAclActionRedirectOutput() GetLbFrontendAclActionRedirectOutput + ToGetLbFrontendAclActionRedirectOutputWithContext(context.Context) GetLbFrontendAclActionRedirectOutput +} + +type GetLbFrontendAclActionRedirectArgs struct { + Code pulumi.IntInput `pulumi:"code"` + Target pulumi.StringInput `pulumi:"target"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetLbFrontendAclActionRedirectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetLbFrontendAclActionRedirect)(nil)).Elem() +} + +func (i GetLbFrontendAclActionRedirectArgs) ToGetLbFrontendAclActionRedirectOutput() GetLbFrontendAclActionRedirectOutput { + return i.ToGetLbFrontendAclActionRedirectOutputWithContext(context.Background()) +} + +func (i GetLbFrontendAclActionRedirectArgs) ToGetLbFrontendAclActionRedirectOutputWithContext(ctx context.Context) GetLbFrontendAclActionRedirectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLbFrontendAclActionRedirectOutput) +} + +// GetLbFrontendAclActionRedirectArrayInput is an input type that accepts GetLbFrontendAclActionRedirectArray and GetLbFrontendAclActionRedirectArrayOutput values. +// You can construct a concrete instance of `GetLbFrontendAclActionRedirectArrayInput` via: +// +// GetLbFrontendAclActionRedirectArray{ GetLbFrontendAclActionRedirectArgs{...} } +type GetLbFrontendAclActionRedirectArrayInput interface { + pulumi.Input + + ToGetLbFrontendAclActionRedirectArrayOutput() GetLbFrontendAclActionRedirectArrayOutput + ToGetLbFrontendAclActionRedirectArrayOutputWithContext(context.Context) GetLbFrontendAclActionRedirectArrayOutput +} + +type GetLbFrontendAclActionRedirectArray []GetLbFrontendAclActionRedirectInput + +func (GetLbFrontendAclActionRedirectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLbFrontendAclActionRedirect)(nil)).Elem() +} + +func (i GetLbFrontendAclActionRedirectArray) ToGetLbFrontendAclActionRedirectArrayOutput() GetLbFrontendAclActionRedirectArrayOutput { + return i.ToGetLbFrontendAclActionRedirectArrayOutputWithContext(context.Background()) +} + +func (i GetLbFrontendAclActionRedirectArray) ToGetLbFrontendAclActionRedirectArrayOutputWithContext(ctx context.Context) GetLbFrontendAclActionRedirectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetLbFrontendAclActionRedirectArrayOutput) +} + +type GetLbFrontendAclActionRedirectOutput struct{ *pulumi.OutputState } + +func (GetLbFrontendAclActionRedirectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetLbFrontendAclActionRedirect)(nil)).Elem() +} + +func (o GetLbFrontendAclActionRedirectOutput) ToGetLbFrontendAclActionRedirectOutput() GetLbFrontendAclActionRedirectOutput { + return o +} + +func (o GetLbFrontendAclActionRedirectOutput) ToGetLbFrontendAclActionRedirectOutputWithContext(ctx context.Context) GetLbFrontendAclActionRedirectOutput { + return o +} + +func (o GetLbFrontendAclActionRedirectOutput) Code() pulumi.IntOutput { + return o.ApplyT(func(v GetLbFrontendAclActionRedirect) int { return v.Code }).(pulumi.IntOutput) +} + +func (o GetLbFrontendAclActionRedirectOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v GetLbFrontendAclActionRedirect) string { return v.Target }).(pulumi.StringOutput) +} + +func (o GetLbFrontendAclActionRedirectOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetLbFrontendAclActionRedirect) string { return v.Type }).(pulumi.StringOutput) +} + +type GetLbFrontendAclActionRedirectArrayOutput struct{ *pulumi.OutputState } + +func (GetLbFrontendAclActionRedirectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetLbFrontendAclActionRedirect)(nil)).Elem() +} + +func (o GetLbFrontendAclActionRedirectArrayOutput) ToGetLbFrontendAclActionRedirectArrayOutput() GetLbFrontendAclActionRedirectArrayOutput { + return o +} + +func (o GetLbFrontendAclActionRedirectArrayOutput) ToGetLbFrontendAclActionRedirectArrayOutputWithContext(ctx context.Context) GetLbFrontendAclActionRedirectArrayOutput { + return o +} + +func (o GetLbFrontendAclActionRedirectArrayOutput) Index(i pulumi.IntInput) GetLbFrontendAclActionRedirectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLbFrontendAclActionRedirect { + return vs[0].([]GetLbFrontendAclActionRedirect)[vs[1].(int)] + }).(GetLbFrontendAclActionRedirectOutput) +} + type GetLbFrontendAclMatch struct { HttpFilter string `pulumi:"httpFilter"` HttpFilterOption string `pulumi:"httpFilterOption"` @@ -17985,6 +18345,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclInput)(nil)).Elem(), LoadbalancerFrontendAclArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclArrayInput)(nil)).Elem(), LoadbalancerFrontendAclArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclActionInput)(nil)).Elem(), LoadbalancerFrontendAclActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclActionRedirectInput)(nil)).Elem(), LoadbalancerFrontendAclActionRedirectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclActionRedirectArrayInput)(nil)).Elem(), LoadbalancerFrontendAclActionRedirectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerFrontendAclMatchInput)(nil)).Elem(), LoadbalancerFrontendAclMatchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerPrivateNetworkInput)(nil)).Elem(), LoadbalancerPrivateNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LoadbalancerPrivateNetworkArrayInput)(nil)).Elem(), LoadbalancerPrivateNetworkArray{}) @@ -18093,6 +18455,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclArrayInput)(nil)).Elem(), GetLbAclsAclArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclActionInput)(nil)).Elem(), GetLbAclsAclActionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclActionArrayInput)(nil)).Elem(), GetLbAclsAclActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclActionRedirectInput)(nil)).Elem(), GetLbAclsAclActionRedirectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclActionRedirectArrayInput)(nil)).Elem(), GetLbAclsAclActionRedirectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclMatchInput)(nil)).Elem(), GetLbAclsAclMatchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbAclsAclMatchArrayInput)(nil)).Elem(), GetLbAclsAclMatchArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbBackendHealthCheckHttpInput)(nil)).Elem(), GetLbBackendHealthCheckHttpArgs{}) @@ -18109,6 +18473,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclArrayInput)(nil)).Elem(), GetLbFrontendAclArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclActionInput)(nil)).Elem(), GetLbFrontendAclActionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclActionArrayInput)(nil)).Elem(), GetLbFrontendAclActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclActionRedirectInput)(nil)).Elem(), GetLbFrontendAclActionRedirectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclActionRedirectArrayInput)(nil)).Elem(), GetLbFrontendAclActionRedirectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclMatchInput)(nil)).Elem(), GetLbFrontendAclMatchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendAclMatchArrayInput)(nil)).Elem(), GetLbFrontendAclMatchArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLbFrontendsFrontendInput)(nil)).Elem(), GetLbFrontendsFrontendArgs{}) @@ -18236,6 +18602,8 @@ func init() { pulumi.RegisterOutputType(LoadbalancerFrontendAclOutput{}) pulumi.RegisterOutputType(LoadbalancerFrontendAclArrayOutput{}) pulumi.RegisterOutputType(LoadbalancerFrontendAclActionOutput{}) + pulumi.RegisterOutputType(LoadbalancerFrontendAclActionRedirectOutput{}) + pulumi.RegisterOutputType(LoadbalancerFrontendAclActionRedirectArrayOutput{}) pulumi.RegisterOutputType(LoadbalancerFrontendAclMatchOutput{}) pulumi.RegisterOutputType(LoadbalancerPrivateNetworkOutput{}) pulumi.RegisterOutputType(LoadbalancerPrivateNetworkArrayOutput{}) @@ -18344,6 +18712,8 @@ func init() { pulumi.RegisterOutputType(GetLbAclsAclArrayOutput{}) pulumi.RegisterOutputType(GetLbAclsAclActionOutput{}) pulumi.RegisterOutputType(GetLbAclsAclActionArrayOutput{}) + pulumi.RegisterOutputType(GetLbAclsAclActionRedirectOutput{}) + pulumi.RegisterOutputType(GetLbAclsAclActionRedirectArrayOutput{}) pulumi.RegisterOutputType(GetLbAclsAclMatchOutput{}) pulumi.RegisterOutputType(GetLbAclsAclMatchArrayOutput{}) pulumi.RegisterOutputType(GetLbBackendHealthCheckHttpOutput{}) @@ -18360,6 +18730,8 @@ func init() { pulumi.RegisterOutputType(GetLbFrontendAclArrayOutput{}) pulumi.RegisterOutputType(GetLbFrontendAclActionOutput{}) pulumi.RegisterOutputType(GetLbFrontendAclActionArrayOutput{}) + pulumi.RegisterOutputType(GetLbFrontendAclActionRedirectOutput{}) + pulumi.RegisterOutputType(GetLbFrontendAclActionRedirectArrayOutput{}) pulumi.RegisterOutputType(GetLbFrontendAclMatchOutput{}) pulumi.RegisterOutputType(GetLbFrontendAclMatchArrayOutput{}) pulumi.RegisterOutputType(GetLbFrontendsFrontendOutput{}) diff --git a/sdk/go/scaleway/temDomain.go b/sdk/go/scaleway/temDomain.go index 5a48ca4b..641d8c7a 100644 --- a/sdk/go/scaleway/temDomain.go +++ b/sdk/go/scaleway/temDomain.go @@ -76,6 +76,18 @@ type TemDomain struct { Region pulumi.StringOutput `pulumi:"region"` // The date and time of the revocation of the domain (RFC 3339 format). RevokedAt pulumi.StringOutput `pulumi:"revokedAt"` + // SMTP host to use to send emails + SmtpHost pulumi.StringOutput `pulumi:"smtpHost"` + // SMTP port to use to send emails over TLS. (Port 587) + SmtpPort pulumi.IntOutput `pulumi:"smtpPort"` + // SMTP port to use to send emails over TLS. (Port 2587) + SmtpPortAlternative pulumi.IntOutput `pulumi:"smtpPortAlternative"` + // SMTP port to use to send emails. (Port 25) + SmtpPortUnsecure pulumi.IntOutput `pulumi:"smtpPortUnsecure"` + // SMTPS port to use to send emails over TLS Wrapper. (Port 465) + SmtpsPort pulumi.IntOutput `pulumi:"smtpsPort"` + // SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + SmtpsPortAlternative pulumi.IntOutput `pulumi:"smtpsPortAlternative"` // The snippet of the SPF record that should be registered in the DNS zone. SpfConfig pulumi.StringOutput `pulumi:"spfConfig"` // The status of the Transaction Email Domain. @@ -137,6 +149,18 @@ type temDomainState struct { Region *string `pulumi:"region"` // The date and time of the revocation of the domain (RFC 3339 format). RevokedAt *string `pulumi:"revokedAt"` + // SMTP host to use to send emails + SmtpHost *string `pulumi:"smtpHost"` + // SMTP port to use to send emails over TLS. (Port 587) + SmtpPort *int `pulumi:"smtpPort"` + // SMTP port to use to send emails over TLS. (Port 2587) + SmtpPortAlternative *int `pulumi:"smtpPortAlternative"` + // SMTP port to use to send emails. (Port 25) + SmtpPortUnsecure *int `pulumi:"smtpPortUnsecure"` + // SMTPS port to use to send emails over TLS Wrapper. (Port 465) + SmtpsPort *int `pulumi:"smtpsPort"` + // SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + SmtpsPortAlternative *int `pulumi:"smtpsPortAlternative"` // The snippet of the SPF record that should be registered in the DNS zone. SpfConfig *string `pulumi:"spfConfig"` // The status of the Transaction Email Domain. @@ -166,6 +190,18 @@ type TemDomainState struct { Region pulumi.StringPtrInput // The date and time of the revocation of the domain (RFC 3339 format). RevokedAt pulumi.StringPtrInput + // SMTP host to use to send emails + SmtpHost pulumi.StringPtrInput + // SMTP port to use to send emails over TLS. (Port 587) + SmtpPort pulumi.IntPtrInput + // SMTP port to use to send emails over TLS. (Port 2587) + SmtpPortAlternative pulumi.IntPtrInput + // SMTP port to use to send emails. (Port 25) + SmtpPortUnsecure pulumi.IntPtrInput + // SMTPS port to use to send emails over TLS Wrapper. (Port 465) + SmtpsPort pulumi.IntPtrInput + // SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + SmtpsPortAlternative pulumi.IntPtrInput // The snippet of the SPF record that should be registered in the DNS zone. SpfConfig pulumi.StringPtrInput // The status of the Transaction Email Domain. @@ -342,6 +378,36 @@ func (o TemDomainOutput) RevokedAt() pulumi.StringOutput { return o.ApplyT(func(v *TemDomain) pulumi.StringOutput { return v.RevokedAt }).(pulumi.StringOutput) } +// SMTP host to use to send emails +func (o TemDomainOutput) SmtpHost() pulumi.StringOutput { + return o.ApplyT(func(v *TemDomain) pulumi.StringOutput { return v.SmtpHost }).(pulumi.StringOutput) +} + +// SMTP port to use to send emails over TLS. (Port 587) +func (o TemDomainOutput) SmtpPort() pulumi.IntOutput { + return o.ApplyT(func(v *TemDomain) pulumi.IntOutput { return v.SmtpPort }).(pulumi.IntOutput) +} + +// SMTP port to use to send emails over TLS. (Port 2587) +func (o TemDomainOutput) SmtpPortAlternative() pulumi.IntOutput { + return o.ApplyT(func(v *TemDomain) pulumi.IntOutput { return v.SmtpPortAlternative }).(pulumi.IntOutput) +} + +// SMTP port to use to send emails. (Port 25) +func (o TemDomainOutput) SmtpPortUnsecure() pulumi.IntOutput { + return o.ApplyT(func(v *TemDomain) pulumi.IntOutput { return v.SmtpPortUnsecure }).(pulumi.IntOutput) +} + +// SMTPS port to use to send emails over TLS Wrapper. (Port 465) +func (o TemDomainOutput) SmtpsPort() pulumi.IntOutput { + return o.ApplyT(func(v *TemDomain) pulumi.IntOutput { return v.SmtpsPort }).(pulumi.IntOutput) +} + +// SMTPS port to use to send emails over TLS Wrapper. (Port 2465) +func (o TemDomainOutput) SmtpsPortAlternative() pulumi.IntOutput { + return o.ApplyT(func(v *TemDomain) pulumi.IntOutput { return v.SmtpsPortAlternative }).(pulumi.IntOutput) +} + // The snippet of the SPF record that should be registered in the DNS zone. func (o TemDomainOutput) SpfConfig() pulumi.StringOutput { return o.ApplyT(func(v *TemDomain) pulumi.StringOutput { return v.SpfConfig }).(pulumi.StringOutput) diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/LoadbalancerFrontend.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/LoadbalancerFrontend.class index 74614101..6c477ccc 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/LoadbalancerFrontend.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/LoadbalancerFrontend.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/TemDomain.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/TemDomain.class index f9138730..81e09443 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/TemDomain.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/TemDomain.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs$Builder.class index 20e170cb..f39fdd00 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.class index 8f895a8e..36024832 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs$Builder.class new file mode 100644 index 00000000..a3638ef7 Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.class new file mode 100644 index 00000000..5dd29e7b Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState$Builder.class index c178274a..5553a01a 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState.class index 36dafdd2..535e9667 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/inputs/TemDomainState.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction$Builder.class index 1e8c1524..ce259907 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction.class index 26e9bd34..f55002fa 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclAction.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect$Builder.class new file mode 100644 index 00000000..8c21f265 Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.class new file mode 100644 index 00000000..71748072 Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction$Builder.class index 624dab63..b28bbbd6 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.class index 9e285ce9..9d6ba148 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect$Builder.class new file mode 100644 index 00000000..db4a53e2 Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.class new file mode 100644 index 00000000..d7a1cc7a Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult$Builder.class index e149a9e9..b22e4218 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult.class index 57932a22..bd07e8d6 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/GetTemDomainResult.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction$Builder.class index 16727035..cd337bb7 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction$Builder.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.class index c5d846f2..95549e5e 100644 Binary files a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.class and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect$Builder.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect$Builder.class new file mode 100644 index 00000000..06016e31 Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect$Builder.class differ diff --git a/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.class b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.class new file mode 100644 index 00000000..3752cbde Binary files /dev/null and b/sdk/java/build/classes/java/main/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.class differ diff --git a/sdk/java/build/libs/com.pulumi.scaleway.jar b/sdk/java/build/libs/com.pulumi.scaleway.jar index 626f7b3a..9d7cd2ec 100644 Binary files a/sdk/java/build/libs/com.pulumi.scaleway.jar and b/sdk/java/build/libs/com.pulumi.scaleway.jar differ diff --git a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin b/sdk/java/build/tmp/compileJava/previous-compilation-data.bin index 4a4ff30a..21ae5bff 100644 Binary files a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin and b/sdk/java/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/LoadbalancerFrontend.java b/sdk/java/src/main/java/com/pulumi/scaleway/LoadbalancerFrontend.java index 1db1d4ad..d481b750 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/LoadbalancerFrontend.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/LoadbalancerFrontend.java @@ -138,6 +138,23 @@ * .httpFilterValues("foo") * .httpValueOption("bar") * .build()) + * .build(), + * LoadbalancerFrontendAclArgs.builder() + * .action(LoadbalancerFrontendAclActionArgs.builder() + * .type("redirect") + * .redirects(LoadbalancerFrontendAclActionRedirectArgs.builder() + * .type("location") + * .target("https://example.com") + * .code(307) + * .build()) + * .build()) + * .match(LoadbalancerFrontendAclMatchArgs.builder() + * .ipSubnets("10.0.0.10") + * .httpFilter("path_begin") + * .httpFilterValues( + * "foo", + * "bar") + * .build()) * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/TemDomain.java b/sdk/java/src/main/java/com/pulumi/scaleway/TemDomain.java index 850688bf..3b4430cf 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/TemDomain.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/TemDomain.java @@ -11,6 +11,7 @@ import com.pulumi.scaleway.Utilities; import com.pulumi.scaleway.inputs.TemDomainState; import java.lang.Boolean; +import java.lang.Integer; import java.lang.String; import javax.annotation.Nullable; @@ -205,6 +206,90 @@ public Output region() { public Output revokedAt() { return this.revokedAt; } + /** + * SMTP host to use to send emails + * + */ + @Export(name="smtpHost", refs={String.class}, tree="[0]") + private Output smtpHost; + + /** + * @return SMTP host to use to send emails + * + */ + public Output smtpHost() { + return this.smtpHost; + } + /** + * SMTP port to use to send emails over TLS. (Port 587) + * + */ + @Export(name="smtpPort", refs={Integer.class}, tree="[0]") + private Output smtpPort; + + /** + * @return SMTP port to use to send emails over TLS. (Port 587) + * + */ + public Output smtpPort() { + return this.smtpPort; + } + /** + * SMTP port to use to send emails over TLS. (Port 2587) + * + */ + @Export(name="smtpPortAlternative", refs={Integer.class}, tree="[0]") + private Output smtpPortAlternative; + + /** + * @return SMTP port to use to send emails over TLS. (Port 2587) + * + */ + public Output smtpPortAlternative() { + return this.smtpPortAlternative; + } + /** + * SMTP port to use to send emails. (Port 25) + * + */ + @Export(name="smtpPortUnsecure", refs={Integer.class}, tree="[0]") + private Output smtpPortUnsecure; + + /** + * @return SMTP port to use to send emails. (Port 25) + * + */ + public Output smtpPortUnsecure() { + return this.smtpPortUnsecure; + } + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + */ + @Export(name="smtpsPort", refs={Integer.class}, tree="[0]") + private Output smtpsPort; + + /** + * @return SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + */ + public Output smtpsPort() { + return this.smtpsPort; + } + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + */ + @Export(name="smtpsPortAlternative", refs={Integer.class}, tree="[0]") + private Output smtpsPortAlternative; + + /** + * @return SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + */ + public Output smtpsPortAlternative() { + return this.smtpsPortAlternative; + } /** * The snippet of the SPF record that should be registered in the DNS zone. * diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.java b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.java index c50bd394..493b8484 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionArgs.java @@ -5,8 +5,12 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.scaleway.inputs.LoadbalancerFrontendAclActionRedirectArgs; import java.lang.String; +import java.util.List; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class LoadbalancerFrontendAclActionArgs extends com.pulumi.resources.ResourceArgs { @@ -14,14 +18,29 @@ public final class LoadbalancerFrontendAclActionArgs extends com.pulumi.resource public static final LoadbalancerFrontendAclActionArgs Empty = new LoadbalancerFrontendAclActionArgs(); /** - * The action type. Possible values are: `allow` or `deny`. + * Redirect parameters when using an ACL with `redirect` action. + * + */ + @Import(name="redirects") + private @Nullable Output> redirects; + + /** + * @return Redirect parameters when using an ACL with `redirect` action. + * + */ + public Optional>> redirects() { + return Optional.ofNullable(this.redirects); + } + + /** + * The redirect type. Possible values are: `location` or `scheme`. * */ @Import(name="type", required=true) private Output type; /** - * @return The action type. Possible values are: `allow` or `deny`. + * @return The redirect type. Possible values are: `location` or `scheme`. * */ public Output type() { @@ -31,6 +50,7 @@ public Output type() { private LoadbalancerFrontendAclActionArgs() {} private LoadbalancerFrontendAclActionArgs(LoadbalancerFrontendAclActionArgs $) { + this.redirects = $.redirects; this.type = $.type; } @@ -53,7 +73,38 @@ public Builder(LoadbalancerFrontendAclActionArgs defaults) { } /** - * @param type The action type. Possible values are: `allow` or `deny`. + * @param redirects Redirect parameters when using an ACL with `redirect` action. + * + * @return builder + * + */ + public Builder redirects(@Nullable Output> redirects) { + $.redirects = redirects; + return this; + } + + /** + * @param redirects Redirect parameters when using an ACL with `redirect` action. + * + * @return builder + * + */ + public Builder redirects(List redirects) { + return redirects(Output.of(redirects)); + } + + /** + * @param redirects Redirect parameters when using an ACL with `redirect` action. + * + * @return builder + * + */ + public Builder redirects(LoadbalancerFrontendAclActionRedirectArgs... redirects) { + return redirects(List.of(redirects)); + } + + /** + * @param type The redirect type. Possible values are: `location` or `scheme`. * * @return builder * @@ -64,7 +115,7 @@ public Builder type(Output type) { } /** - * @param type The action type. Possible values are: `allow` or `deny`. + * @param type The redirect type. Possible values are: `location` or `scheme`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.java b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.java new file mode 100644 index 00000000..2faf0378 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/LoadbalancerFrontendAclActionRedirectArgs.java @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.scaleway.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class LoadbalancerFrontendAclActionRedirectArgs extends com.pulumi.resources.ResourceArgs { + + public static final LoadbalancerFrontendAclActionRedirectArgs Empty = new LoadbalancerFrontendAclActionRedirectArgs(); + + /** + * The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + */ + @Import(name="code") + private @Nullable Output code; + + /** + * @return The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + */ + public Optional> code() { + return Optional.ofNullable(this.code); + } + + /** + * An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + */ + @Import(name="target") + private @Nullable Output target; + + /** + * @return An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + */ + public Optional> target() { + return Optional.ofNullable(this.target); + } + + /** + * The redirect type. Possible values are: `location` or `scheme`. + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return The redirect type. Possible values are: `location` or `scheme`. + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private LoadbalancerFrontendAclActionRedirectArgs() {} + + private LoadbalancerFrontendAclActionRedirectArgs(LoadbalancerFrontendAclActionRedirectArgs $) { + this.code = $.code; + this.target = $.target; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LoadbalancerFrontendAclActionRedirectArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LoadbalancerFrontendAclActionRedirectArgs $; + + public Builder() { + $ = new LoadbalancerFrontendAclActionRedirectArgs(); + } + + public Builder(LoadbalancerFrontendAclActionRedirectArgs defaults) { + $ = new LoadbalancerFrontendAclActionRedirectArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param code The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + * @return builder + * + */ + public Builder code(@Nullable Output code) { + $.code = code; + return this; + } + + /** + * @param code The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + * @return builder + * + */ + public Builder code(Integer code) { + return code(Output.of(code)); + } + + /** + * @param target An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + * @return builder + * + */ + public Builder target(@Nullable Output target) { + $.target = target; + return this; + } + + /** + * @param target An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + * @return builder + * + */ + public Builder target(String target) { + return target(Output.of(target)); + } + + /** + * @param type The redirect type. Possible values are: `location` or `scheme`. + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type The redirect type. Possible values are: `location` or `scheme`. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public LoadbalancerFrontendAclActionRedirectArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/inputs/TemDomainState.java b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/TemDomainState.java index 608b0a2f..f128eddf 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/inputs/TemDomainState.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/inputs/TemDomainState.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; +import java.lang.Integer; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -170,6 +171,96 @@ public Optional> revokedAt() { return Optional.ofNullable(this.revokedAt); } + /** + * SMTP host to use to send emails + * + */ + @Import(name="smtpHost") + private @Nullable Output smtpHost; + + /** + * @return SMTP host to use to send emails + * + */ + public Optional> smtpHost() { + return Optional.ofNullable(this.smtpHost); + } + + /** + * SMTP port to use to send emails over TLS. (Port 587) + * + */ + @Import(name="smtpPort") + private @Nullable Output smtpPort; + + /** + * @return SMTP port to use to send emails over TLS. (Port 587) + * + */ + public Optional> smtpPort() { + return Optional.ofNullable(this.smtpPort); + } + + /** + * SMTP port to use to send emails over TLS. (Port 2587) + * + */ + @Import(name="smtpPortAlternative") + private @Nullable Output smtpPortAlternative; + + /** + * @return SMTP port to use to send emails over TLS. (Port 2587) + * + */ + public Optional> smtpPortAlternative() { + return Optional.ofNullable(this.smtpPortAlternative); + } + + /** + * SMTP port to use to send emails. (Port 25) + * + */ + @Import(name="smtpPortUnsecure") + private @Nullable Output smtpPortUnsecure; + + /** + * @return SMTP port to use to send emails. (Port 25) + * + */ + public Optional> smtpPortUnsecure() { + return Optional.ofNullable(this.smtpPortUnsecure); + } + + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + */ + @Import(name="smtpsPort") + private @Nullable Output smtpsPort; + + /** + * @return SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + */ + public Optional> smtpsPort() { + return Optional.ofNullable(this.smtpsPort); + } + + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + */ + @Import(name="smtpsPortAlternative") + private @Nullable Output smtpsPortAlternative; + + /** + * @return SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + */ + public Optional> smtpsPortAlternative() { + return Optional.ofNullable(this.smtpsPortAlternative); + } + /** * The snippet of the SPF record that should be registered in the DNS zone. * @@ -213,6 +304,12 @@ private TemDomainState(TemDomainState $) { this.projectId = $.projectId; this.region = $.region; this.revokedAt = $.revokedAt; + this.smtpHost = $.smtpHost; + this.smtpPort = $.smtpPort; + this.smtpPortAlternative = $.smtpPortAlternative; + this.smtpPortUnsecure = $.smtpPortUnsecure; + this.smtpsPort = $.smtpsPort; + this.smtpsPortAlternative = $.smtpsPortAlternative; this.spfConfig = $.spfConfig; this.status = $.status; } @@ -449,6 +546,132 @@ public Builder revokedAt(String revokedAt) { return revokedAt(Output.of(revokedAt)); } + /** + * @param smtpHost SMTP host to use to send emails + * + * @return builder + * + */ + public Builder smtpHost(@Nullable Output smtpHost) { + $.smtpHost = smtpHost; + return this; + } + + /** + * @param smtpHost SMTP host to use to send emails + * + * @return builder + * + */ + public Builder smtpHost(String smtpHost) { + return smtpHost(Output.of(smtpHost)); + } + + /** + * @param smtpPort SMTP port to use to send emails over TLS. (Port 587) + * + * @return builder + * + */ + public Builder smtpPort(@Nullable Output smtpPort) { + $.smtpPort = smtpPort; + return this; + } + + /** + * @param smtpPort SMTP port to use to send emails over TLS. (Port 587) + * + * @return builder + * + */ + public Builder smtpPort(Integer smtpPort) { + return smtpPort(Output.of(smtpPort)); + } + + /** + * @param smtpPortAlternative SMTP port to use to send emails over TLS. (Port 2587) + * + * @return builder + * + */ + public Builder smtpPortAlternative(@Nullable Output smtpPortAlternative) { + $.smtpPortAlternative = smtpPortAlternative; + return this; + } + + /** + * @param smtpPortAlternative SMTP port to use to send emails over TLS. (Port 2587) + * + * @return builder + * + */ + public Builder smtpPortAlternative(Integer smtpPortAlternative) { + return smtpPortAlternative(Output.of(smtpPortAlternative)); + } + + /** + * @param smtpPortUnsecure SMTP port to use to send emails. (Port 25) + * + * @return builder + * + */ + public Builder smtpPortUnsecure(@Nullable Output smtpPortUnsecure) { + $.smtpPortUnsecure = smtpPortUnsecure; + return this; + } + + /** + * @param smtpPortUnsecure SMTP port to use to send emails. (Port 25) + * + * @return builder + * + */ + public Builder smtpPortUnsecure(Integer smtpPortUnsecure) { + return smtpPortUnsecure(Output.of(smtpPortUnsecure)); + } + + /** + * @param smtpsPort SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + * @return builder + * + */ + public Builder smtpsPort(@Nullable Output smtpsPort) { + $.smtpsPort = smtpsPort; + return this; + } + + /** + * @param smtpsPort SMTPS port to use to send emails over TLS Wrapper. (Port 465) + * + * @return builder + * + */ + public Builder smtpsPort(Integer smtpsPort) { + return smtpsPort(Output.of(smtpsPort)); + } + + /** + * @param smtpsPortAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + * @return builder + * + */ + public Builder smtpsPortAlternative(@Nullable Output smtpsPortAlternative) { + $.smtpsPortAlternative = smtpsPortAlternative; + return this; + } + + /** + * @param smtpsPortAlternative SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + * + * @return builder + * + */ + public Builder smtpsPortAlternative(Integer smtpsPortAlternative) { + return smtpsPortAlternative(Output.of(smtpsPortAlternative)); + } + /** * @param spfConfig The snippet of the SPF record that should be registered in the DNS zone. * diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclAction.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclAction.java index b8386bab..ab2901a8 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclAction.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclAction.java @@ -4,20 +4,34 @@ package com.pulumi.scaleway.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.scaleway.outputs.GetLbAclsAclActionRedirect; import java.lang.String; +import java.util.List; import java.util.Objects; @CustomType public final class GetLbAclsAclAction { /** - * @return The action type. + * @return Redirect parameters when using an ACL with `redirect` action. + * + */ + private List redirects; + /** + * @return The redirect type. * */ private String type; private GetLbAclsAclAction() {} /** - * @return The action type. + * @return Redirect parameters when using an ACL with `redirect` action. + * + */ + public List redirects() { + return this.redirects; + } + /** + * @return The redirect type. * */ public String type() { @@ -33,13 +47,23 @@ public static Builder builder(GetLbAclsAclAction defaults) { } @CustomType.Builder public static final class Builder { + private List redirects; private String type; public Builder() {} public Builder(GetLbAclsAclAction defaults) { Objects.requireNonNull(defaults); + this.redirects = defaults.redirects; this.type = defaults.type; } + @CustomType.Setter + public Builder redirects(List redirects) { + this.redirects = Objects.requireNonNull(redirects); + return this; + } + public Builder redirects(GetLbAclsAclActionRedirect... redirects) { + return redirects(List.of(redirects)); + } @CustomType.Setter public Builder type(String type) { this.type = Objects.requireNonNull(type); @@ -47,6 +71,7 @@ public Builder type(String type) { } public GetLbAclsAclAction build() { final var o = new GetLbAclsAclAction(); + o.redirects = redirects; o.type = type; return o; } diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.java new file mode 100644 index 00000000..f4ccfadc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbAclsAclActionRedirect.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.scaleway.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetLbAclsAclActionRedirect { + /** + * @return The HTTP redirect code used. + * + */ + private Integer code; + /** + * @return The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + * + */ + private String target; + /** + * @return The redirect type. + * + */ + private String type; + + private GetLbAclsAclActionRedirect() {} + /** + * @return The HTTP redirect code used. + * + */ + public Integer code() { + return this.code; + } + /** + * @return The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + * + */ + public String target() { + return this.target; + } + /** + * @return The redirect type. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLbAclsAclActionRedirect defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer code; + private String target; + private String type; + public Builder() {} + public Builder(GetLbAclsAclActionRedirect defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + this.target = defaults.target; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder code(Integer code) { + this.code = Objects.requireNonNull(code); + return this; + } + @CustomType.Setter + public Builder target(String target) { + this.target = Objects.requireNonNull(target); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetLbAclsAclActionRedirect build() { + final var o = new GetLbAclsAclActionRedirect(); + o.code = code; + o.target = target; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.java index d67fcef5..25dd4322 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclAction.java @@ -4,14 +4,20 @@ package com.pulumi.scaleway.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.scaleway.outputs.GetLbFrontendAclActionRedirect; import java.lang.String; +import java.util.List; import java.util.Objects; @CustomType public final class GetLbFrontendAclAction { + private List redirects; private String type; private GetLbFrontendAclAction() {} + public List redirects() { + return this.redirects; + } public String type() { return this.type; } @@ -25,13 +31,23 @@ public static Builder builder(GetLbFrontendAclAction defaults) { } @CustomType.Builder public static final class Builder { + private List redirects; private String type; public Builder() {} public Builder(GetLbFrontendAclAction defaults) { Objects.requireNonNull(defaults); + this.redirects = defaults.redirects; this.type = defaults.type; } + @CustomType.Setter + public Builder redirects(List redirects) { + this.redirects = Objects.requireNonNull(redirects); + return this; + } + public Builder redirects(GetLbFrontendAclActionRedirect... redirects) { + return redirects(List.of(redirects)); + } @CustomType.Setter public Builder type(String type) { this.type = Objects.requireNonNull(type); @@ -39,6 +55,7 @@ public Builder type(String type) { } public GetLbFrontendAclAction build() { final var o = new GetLbFrontendAclAction(); + o.redirects = redirects; o.type = type; return o; } diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.java new file mode 100644 index 00000000..45efa433 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetLbFrontendAclActionRedirect.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.scaleway.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetLbFrontendAclActionRedirect { + private Integer code; + private String target; + private String type; + + private GetLbFrontendAclActionRedirect() {} + public Integer code() { + return this.code; + } + public String target() { + return this.target; + } + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetLbFrontendAclActionRedirect defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer code; + private String target; + private String type; + public Builder() {} + public Builder(GetLbFrontendAclActionRedirect defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + this.target = defaults.target; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder code(Integer code) { + this.code = Objects.requireNonNull(code); + return this; + } + @CustomType.Setter + public Builder target(String target) { + this.target = Objects.requireNonNull(target); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetLbFrontendAclActionRedirect build() { + final var o = new GetLbFrontendAclActionRedirect(); + o.code = code; + o.target = target; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetTemDomainResult.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetTemDomainResult.java index 6273fece..dad0cd55 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetTemDomainResult.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/GetTemDomainResult.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; +import java.lang.Integer; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -52,6 +53,36 @@ public final class GetTemDomainResult { * */ private String revokedAt; + /** + * @return The SMTP host to use to send emails. + * + */ + private String smtpHost; + /** + * @return The SMTP port to use to send emails over TLS. + * + */ + private Integer smtpPort; + /** + * @return The SMTP port to use to send emails over TLS. + * + */ + private Integer smtpPortAlternative; + /** + * @return The SMTP port to use to send emails. + * + */ + private Integer smtpPortUnsecure; + /** + * @return The SMTPS port to use to send emails over TLS Wrapper. + * + */ + private Integer smtpsPort; + /** + * @return The SMTPS port to use to send emails over TLS Wrapper. + * + */ + private Integer smtpsPortAlternative; /** * @return The snippet of the SPF record that should be registered in the DNS zone. * @@ -128,6 +159,48 @@ public Optional region() { public String revokedAt() { return this.revokedAt; } + /** + * @return The SMTP host to use to send emails. + * + */ + public String smtpHost() { + return this.smtpHost; + } + /** + * @return The SMTP port to use to send emails over TLS. + * + */ + public Integer smtpPort() { + return this.smtpPort; + } + /** + * @return The SMTP port to use to send emails over TLS. + * + */ + public Integer smtpPortAlternative() { + return this.smtpPortAlternative; + } + /** + * @return The SMTP port to use to send emails. + * + */ + public Integer smtpPortUnsecure() { + return this.smtpPortUnsecure; + } + /** + * @return The SMTPS port to use to send emails over TLS Wrapper. + * + */ + public Integer smtpsPort() { + return this.smtpsPort; + } + /** + * @return The SMTPS port to use to send emails over TLS Wrapper. + * + */ + public Integer smtpsPortAlternative() { + return this.smtpsPortAlternative; + } /** * @return The snippet of the SPF record that should be registered in the DNS zone. * @@ -164,6 +237,12 @@ public static final class Builder { private String projectId; private @Nullable String region; private String revokedAt; + private String smtpHost; + private Integer smtpPort; + private Integer smtpPortAlternative; + private Integer smtpPortUnsecure; + private Integer smtpsPort; + private Integer smtpsPortAlternative; private String spfConfig; private String status; public Builder() {} @@ -181,6 +260,12 @@ public Builder(GetTemDomainResult defaults) { this.projectId = defaults.projectId; this.region = defaults.region; this.revokedAt = defaults.revokedAt; + this.smtpHost = defaults.smtpHost; + this.smtpPort = defaults.smtpPort; + this.smtpPortAlternative = defaults.smtpPortAlternative; + this.smtpPortUnsecure = defaults.smtpPortUnsecure; + this.smtpsPort = defaults.smtpsPort; + this.smtpsPortAlternative = defaults.smtpsPortAlternative; this.spfConfig = defaults.spfConfig; this.status = defaults.status; } @@ -246,6 +331,36 @@ public Builder revokedAt(String revokedAt) { return this; } @CustomType.Setter + public Builder smtpHost(String smtpHost) { + this.smtpHost = Objects.requireNonNull(smtpHost); + return this; + } + @CustomType.Setter + public Builder smtpPort(Integer smtpPort) { + this.smtpPort = Objects.requireNonNull(smtpPort); + return this; + } + @CustomType.Setter + public Builder smtpPortAlternative(Integer smtpPortAlternative) { + this.smtpPortAlternative = Objects.requireNonNull(smtpPortAlternative); + return this; + } + @CustomType.Setter + public Builder smtpPortUnsecure(Integer smtpPortUnsecure) { + this.smtpPortUnsecure = Objects.requireNonNull(smtpPortUnsecure); + return this; + } + @CustomType.Setter + public Builder smtpsPort(Integer smtpsPort) { + this.smtpsPort = Objects.requireNonNull(smtpsPort); + return this; + } + @CustomType.Setter + public Builder smtpsPortAlternative(Integer smtpsPortAlternative) { + this.smtpsPortAlternative = Objects.requireNonNull(smtpsPortAlternative); + return this; + } + @CustomType.Setter public Builder spfConfig(String spfConfig) { this.spfConfig = Objects.requireNonNull(spfConfig); return this; @@ -269,6 +384,12 @@ public GetTemDomainResult build() { o.projectId = projectId; o.region = region; o.revokedAt = revokedAt; + o.smtpHost = smtpHost; + o.smtpPort = smtpPort; + o.smtpPortAlternative = smtpPortAlternative; + o.smtpPortUnsecure = smtpPortUnsecure; + o.smtpsPort = smtpsPort; + o.smtpsPortAlternative = smtpsPortAlternative; o.spfConfig = spfConfig; o.status = status; return o; diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.java index ba1c6866..951e0275 100644 --- a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.java +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclAction.java @@ -4,20 +4,35 @@ package com.pulumi.scaleway.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.scaleway.outputs.LoadbalancerFrontendAclActionRedirect; import java.lang.String; +import java.util.List; import java.util.Objects; +import javax.annotation.Nullable; @CustomType public final class LoadbalancerFrontendAclAction { /** - * @return The action type. Possible values are: `allow` or `deny`. + * @return Redirect parameters when using an ACL with `redirect` action. + * + */ + private @Nullable List redirects; + /** + * @return The redirect type. Possible values are: `location` or `scheme`. * */ private String type; private LoadbalancerFrontendAclAction() {} /** - * @return The action type. Possible values are: `allow` or `deny`. + * @return Redirect parameters when using an ACL with `redirect` action. + * + */ + public List redirects() { + return this.redirects == null ? List.of() : this.redirects; + } + /** + * @return The redirect type. Possible values are: `location` or `scheme`. * */ public String type() { @@ -33,13 +48,23 @@ public static Builder builder(LoadbalancerFrontendAclAction defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable List redirects; private String type; public Builder() {} public Builder(LoadbalancerFrontendAclAction defaults) { Objects.requireNonNull(defaults); + this.redirects = defaults.redirects; this.type = defaults.type; } + @CustomType.Setter + public Builder redirects(@Nullable List redirects) { + this.redirects = redirects; + return this; + } + public Builder redirects(LoadbalancerFrontendAclActionRedirect... redirects) { + return redirects(List.of(redirects)); + } @CustomType.Setter public Builder type(String type) { this.type = Objects.requireNonNull(type); @@ -47,6 +72,7 @@ public Builder type(String type) { } public LoadbalancerFrontendAclAction build() { final var o = new LoadbalancerFrontendAclAction(); + o.redirects = redirects; o.type = type; return o; } diff --git a/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.java b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.java new file mode 100644 index 00000000..f62169c9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/scaleway/outputs/LoadbalancerFrontendAclActionRedirect.java @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.scaleway.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class LoadbalancerFrontendAclActionRedirect { + /** + * @return The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + */ + private @Nullable Integer code; + /** + * @return An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + */ + private @Nullable String target; + /** + * @return The redirect type. Possible values are: `location` or `scheme`. + * + */ + private @Nullable String type; + + private LoadbalancerFrontendAclActionRedirect() {} + /** + * @return The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + * + */ + public Optional code() { + return Optional.ofNullable(this.code); + } + /** + * @return An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + * + */ + public Optional target() { + return Optional.ofNullable(this.target); + } + /** + * @return The redirect type. Possible values are: `location` or `scheme`. + * + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(LoadbalancerFrontendAclActionRedirect defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer code; + private @Nullable String target; + private @Nullable String type; + public Builder() {} + public Builder(LoadbalancerFrontendAclActionRedirect defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + this.target = defaults.target; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder code(@Nullable Integer code) { + this.code = code; + return this; + } + @CustomType.Setter + public Builder target(@Nullable String target) { + this.target = target; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + public LoadbalancerFrontendAclActionRedirect build() { + final var o = new LoadbalancerFrontendAclActionRedirect(); + o.code = code; + o.target = target; + o.type = type; + return o; + } + } +} diff --git a/sdk/nodejs/getTemDomain.ts b/sdk/nodejs/getTemDomain.ts index a9ecead4..362c38a8 100644 --- a/sdk/nodejs/getTemDomain.ts +++ b/sdk/nodejs/getTemDomain.ts @@ -71,6 +71,30 @@ export interface GetTemDomainResult { * The date and time of the revocation of the domain (RFC 3339 format). */ readonly revokedAt: string; + /** + * The SMTP host to use to send emails. + */ + readonly smtpHost: string; + /** + * The SMTP port to use to send emails over TLS. + */ + readonly smtpPort: number; + /** + * The SMTP port to use to send emails over TLS. + */ + readonly smtpPortAlternative: number; + /** + * The SMTP port to use to send emails. + */ + readonly smtpPortUnsecure: number; + /** + * The SMTPS port to use to send emails over TLS Wrapper. + */ + readonly smtpsPort: number; + /** + * The SMTPS port to use to send emails over TLS Wrapper. + */ + readonly smtpsPortAlternative: number; /** * The snippet of the SPF record that should be registered in the DNS zone. */ diff --git a/sdk/nodejs/temDomain.ts b/sdk/nodejs/temDomain.ts index 12ceaa47..42f09e65 100644 --- a/sdk/nodejs/temDomain.ts +++ b/sdk/nodejs/temDomain.ts @@ -97,6 +97,30 @@ export class TemDomain extends pulumi.CustomResource { * The date and time of the revocation of the domain (RFC 3339 format). */ public /*out*/ readonly revokedAt!: pulumi.Output; + /** + * SMTP host to use to send emails + */ + public /*out*/ readonly smtpHost!: pulumi.Output; + /** + * SMTP port to use to send emails over TLS. (Port 587) + */ + public /*out*/ readonly smtpPort!: pulumi.Output; + /** + * SMTP port to use to send emails over TLS. (Port 2587) + */ + public /*out*/ readonly smtpPortAlternative!: pulumi.Output; + /** + * SMTP port to use to send emails. (Port 25) + */ + public /*out*/ readonly smtpPortUnsecure!: pulumi.Output; + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 465) + */ + public /*out*/ readonly smtpsPort!: pulumi.Output; + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + */ + public /*out*/ readonly smtpsPortAlternative!: pulumi.Output; /** * The snippet of the SPF record that should be registered in the DNS zone. */ @@ -129,6 +153,12 @@ export class TemDomain extends pulumi.CustomResource { resourceInputs["projectId"] = state ? state.projectId : undefined; resourceInputs["region"] = state ? state.region : undefined; resourceInputs["revokedAt"] = state ? state.revokedAt : undefined; + resourceInputs["smtpHost"] = state ? state.smtpHost : undefined; + resourceInputs["smtpPort"] = state ? state.smtpPort : undefined; + resourceInputs["smtpPortAlternative"] = state ? state.smtpPortAlternative : undefined; + resourceInputs["smtpPortUnsecure"] = state ? state.smtpPortUnsecure : undefined; + resourceInputs["smtpsPort"] = state ? state.smtpsPort : undefined; + resourceInputs["smtpsPortAlternative"] = state ? state.smtpsPortAlternative : undefined; resourceInputs["spfConfig"] = state ? state.spfConfig : undefined; resourceInputs["status"] = state ? state.status : undefined; } else { @@ -146,6 +176,12 @@ export class TemDomain extends pulumi.CustomResource { resourceInputs["lastValidAt"] = undefined /*out*/; resourceInputs["nextCheckAt"] = undefined /*out*/; resourceInputs["revokedAt"] = undefined /*out*/; + resourceInputs["smtpHost"] = undefined /*out*/; + resourceInputs["smtpPort"] = undefined /*out*/; + resourceInputs["smtpPortAlternative"] = undefined /*out*/; + resourceInputs["smtpPortUnsecure"] = undefined /*out*/; + resourceInputs["smtpsPort"] = undefined /*out*/; + resourceInputs["smtpsPortAlternative"] = undefined /*out*/; resourceInputs["spfConfig"] = undefined /*out*/; resourceInputs["status"] = undefined /*out*/; } @@ -200,6 +236,30 @@ export interface TemDomainState { * The date and time of the revocation of the domain (RFC 3339 format). */ revokedAt?: pulumi.Input; + /** + * SMTP host to use to send emails + */ + smtpHost?: pulumi.Input; + /** + * SMTP port to use to send emails over TLS. (Port 587) + */ + smtpPort?: pulumi.Input; + /** + * SMTP port to use to send emails over TLS. (Port 2587) + */ + smtpPortAlternative?: pulumi.Input; + /** + * SMTP port to use to send emails. (Port 25) + */ + smtpPortUnsecure?: pulumi.Input; + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 465) + */ + smtpsPort?: pulumi.Input; + /** + * SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + */ + smtpsPortAlternative?: pulumi.Input; /** * The snippet of the SPF record that should be registered in the DNS zone. */ diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index b5b01772..fce7710a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -815,11 +815,30 @@ export interface LoadbalancerFrontendAcl { export interface LoadbalancerFrontendAclAction { /** - * The action type. Possible values are: `allow` or `deny`. + * Redirect parameters when using an ACL with `redirect` action. + */ + redirects?: pulumi.Input[]>; + /** + * The redirect type. Possible values are: `location` or `scheme`. */ type: pulumi.Input; } +export interface LoadbalancerFrontendAclActionRedirect { + /** + * The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + */ + code?: pulumi.Input; + /** + * An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + */ + target?: pulumi.Input; + /** + * The redirect type. Possible values are: `location` or `scheme`. + */ + type?: pulumi.Input; +} + export interface LoadbalancerFrontendAclMatch { /** * The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index cce8dff0..dfe0aed4 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -831,7 +831,26 @@ export interface GetLbAclsAcl { export interface GetLbAclsAclAction { /** - * The action type. + * Redirect parameters when using an ACL with `redirect` action. + */ + redirects: outputs.GetLbAclsAclActionRedirect[]; + /** + * The redirect type. + */ + type: string; +} + +export interface GetLbAclsAclActionRedirect { + /** + * The HTTP redirect code used. + */ + code: number; + /** + * The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + */ + target: string; + /** + * The redirect type. */ type: string; } @@ -1011,6 +1030,13 @@ export interface GetLbFrontendAcl { } export interface GetLbFrontendAclAction { + redirects: outputs.GetLbFrontendAclActionRedirect[]; + type: string; +} + +export interface GetLbFrontendAclActionRedirect { + code: number; + target: string; type: string; } @@ -1883,11 +1909,30 @@ export interface LoadbalancerFrontendAcl { export interface LoadbalancerFrontendAclAction { /** - * The action type. Possible values are: `allow` or `deny`. + * Redirect parameters when using an ACL with `redirect` action. + */ + redirects?: outputs.LoadbalancerFrontendAclActionRedirect[]; + /** + * The redirect type. Possible values are: `location` or `scheme`. */ type: string; } +export interface LoadbalancerFrontendAclActionRedirect { + /** + * The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + */ + code?: number; + /** + * An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + */ + target?: string; + /** + * The redirect type. Possible values are: `location` or `scheme`. + */ + type?: string; +} + export interface LoadbalancerFrontendAclMatch { /** * The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. diff --git a/sdk/python/lbrlabs_pulumi_scaleway/_inputs.py b/sdk/python/lbrlabs_pulumi_scaleway/_inputs.py index af9b4a76..c86565a7 100644 --- a/sdk/python/lbrlabs_pulumi_scaleway/_inputs.py +++ b/sdk/python/lbrlabs_pulumi_scaleway/_inputs.py @@ -55,6 +55,7 @@ 'LoadbalancerCertificateLetsencryptArgs', 'LoadbalancerFrontendAclArgs', 'LoadbalancerFrontendAclActionArgs', + 'LoadbalancerFrontendAclActionRedirectArgs', 'LoadbalancerFrontendAclMatchArgs', 'LoadbalancerPrivateNetworkArgs', 'MnqCredentialNatsCredentialsArgs', @@ -3214,17 +3215,21 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class LoadbalancerFrontendAclActionArgs: def __init__(__self__, *, - type: pulumi.Input[str]): + type: pulumi.Input[str], + redirects: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclActionRedirectArgs']]]] = None): """ - :param pulumi.Input[str] type: The action type. Possible values are: `allow` or `deny`. + :param pulumi.Input[str] type: The redirect type. Possible values are: `location` or `scheme`. + :param pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclActionRedirectArgs']]] redirects: Redirect parameters when using an ACL with `redirect` action. """ pulumi.set(__self__, "type", type) + if redirects is not None: + pulumi.set(__self__, "redirects", redirects) @property @pulumi.getter def type(self) -> pulumi.Input[str]: """ - The action type. Possible values are: `allow` or `deny`. + The redirect type. Possible values are: `location` or `scheme`. """ return pulumi.get(self, "type") @@ -3232,6 +3237,73 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) + @property + @pulumi.getter + def redirects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclActionRedirectArgs']]]]: + """ + Redirect parameters when using an ACL with `redirect` action. + """ + return pulumi.get(self, "redirects") + + @redirects.setter + def redirects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadbalancerFrontendAclActionRedirectArgs']]]]): + pulumi.set(self, "redirects", value) + + +@pulumi.input_type +class LoadbalancerFrontendAclActionRedirectArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input[int]] = None, + target: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] code: The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + :param pulumi.Input[str] target: An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + :param pulumi.Input[str] type: The redirect type. Possible values are: `location` or `scheme`. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if target is not None: + pulumi.set(__self__, "target", target) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input[int]]: + """ + The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def target(self) -> Optional[pulumi.Input[str]]: + """ + An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + """ + return pulumi.get(self, "target") + + @target.setter + def target(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + The redirect type. Possible values are: `location` or `scheme`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + @pulumi.input_type class LoadbalancerFrontendAclMatchArgs: diff --git a/sdk/python/lbrlabs_pulumi_scaleway/get_tem_domain.py b/sdk/python/lbrlabs_pulumi_scaleway/get_tem_domain.py index 9577f334..7fb7096e 100644 --- a/sdk/python/lbrlabs_pulumi_scaleway/get_tem_domain.py +++ b/sdk/python/lbrlabs_pulumi_scaleway/get_tem_domain.py @@ -21,7 +21,7 @@ class GetTemDomainResult: """ A collection of values returned by getTemDomain. """ - def __init__(__self__, accept_tos=None, created_at=None, dkim_config=None, domain_id=None, id=None, last_error=None, last_valid_at=None, name=None, next_check_at=None, project_id=None, region=None, revoked_at=None, spf_config=None, status=None): + def __init__(__self__, accept_tos=None, created_at=None, dkim_config=None, domain_id=None, id=None, last_error=None, last_valid_at=None, name=None, next_check_at=None, project_id=None, region=None, revoked_at=None, smtp_host=None, smtp_port=None, smtp_port_alternative=None, smtp_port_unsecure=None, smtps_port=None, smtps_port_alternative=None, spf_config=None, status=None): if accept_tos and not isinstance(accept_tos, bool): raise TypeError("Expected argument 'accept_tos' to be a bool") pulumi.set(__self__, "accept_tos", accept_tos) @@ -58,6 +58,24 @@ def __init__(__self__, accept_tos=None, created_at=None, dkim_config=None, domai if revoked_at and not isinstance(revoked_at, str): raise TypeError("Expected argument 'revoked_at' to be a str") pulumi.set(__self__, "revoked_at", revoked_at) + if smtp_host and not isinstance(smtp_host, str): + raise TypeError("Expected argument 'smtp_host' to be a str") + pulumi.set(__self__, "smtp_host", smtp_host) + if smtp_port and not isinstance(smtp_port, int): + raise TypeError("Expected argument 'smtp_port' to be a int") + pulumi.set(__self__, "smtp_port", smtp_port) + if smtp_port_alternative and not isinstance(smtp_port_alternative, int): + raise TypeError("Expected argument 'smtp_port_alternative' to be a int") + pulumi.set(__self__, "smtp_port_alternative", smtp_port_alternative) + if smtp_port_unsecure and not isinstance(smtp_port_unsecure, int): + raise TypeError("Expected argument 'smtp_port_unsecure' to be a int") + pulumi.set(__self__, "smtp_port_unsecure", smtp_port_unsecure) + if smtps_port and not isinstance(smtps_port, int): + raise TypeError("Expected argument 'smtps_port' to be a int") + pulumi.set(__self__, "smtps_port", smtps_port) + if smtps_port_alternative and not isinstance(smtps_port_alternative, int): + raise TypeError("Expected argument 'smtps_port_alternative' to be a int") + pulumi.set(__self__, "smtps_port_alternative", smtps_port_alternative) if spf_config and not isinstance(spf_config, str): raise TypeError("Expected argument 'spf_config' to be a str") pulumi.set(__self__, "spf_config", spf_config) @@ -146,6 +164,54 @@ def revoked_at(self) -> str: """ return pulumi.get(self, "revoked_at") + @property + @pulumi.getter(name="smtpHost") + def smtp_host(self) -> str: + """ + The SMTP host to use to send emails. + """ + return pulumi.get(self, "smtp_host") + + @property + @pulumi.getter(name="smtpPort") + def smtp_port(self) -> int: + """ + The SMTP port to use to send emails over TLS. + """ + return pulumi.get(self, "smtp_port") + + @property + @pulumi.getter(name="smtpPortAlternative") + def smtp_port_alternative(self) -> int: + """ + The SMTP port to use to send emails over TLS. + """ + return pulumi.get(self, "smtp_port_alternative") + + @property + @pulumi.getter(name="smtpPortUnsecure") + def smtp_port_unsecure(self) -> int: + """ + The SMTP port to use to send emails. + """ + return pulumi.get(self, "smtp_port_unsecure") + + @property + @pulumi.getter(name="smtpsPort") + def smtps_port(self) -> int: + """ + The SMTPS port to use to send emails over TLS Wrapper. + """ + return pulumi.get(self, "smtps_port") + + @property + @pulumi.getter(name="smtpsPortAlternative") + def smtps_port_alternative(self) -> int: + """ + The SMTPS port to use to send emails over TLS Wrapper. + """ + return pulumi.get(self, "smtps_port_alternative") + @property @pulumi.getter(name="spfConfig") def spf_config(self) -> str: @@ -181,6 +247,12 @@ def __await__(self): project_id=self.project_id, region=self.region, revoked_at=self.revoked_at, + smtp_host=self.smtp_host, + smtp_port=self.smtp_port, + smtp_port_alternative=self.smtp_port_alternative, + smtp_port_unsecure=self.smtp_port_unsecure, + smtps_port=self.smtps_port, + smtps_port_alternative=self.smtps_port_alternative, spf_config=self.spf_config, status=self.status) @@ -217,6 +289,12 @@ def get_tem_domain(domain_id: Optional[str] = None, project_id=__ret__.project_id, region=__ret__.region, revoked_at=__ret__.revoked_at, + smtp_host=__ret__.smtp_host, + smtp_port=__ret__.smtp_port, + smtp_port_alternative=__ret__.smtp_port_alternative, + smtp_port_unsecure=__ret__.smtp_port_unsecure, + smtps_port=__ret__.smtps_port, + smtps_port_alternative=__ret__.smtps_port_alternative, spf_config=__ret__.spf_config, status=__ret__.status) diff --git a/sdk/python/lbrlabs_pulumi_scaleway/outputs.py b/sdk/python/lbrlabs_pulumi_scaleway/outputs.py index 28c2e1d6..2473edbc 100644 --- a/sdk/python/lbrlabs_pulumi_scaleway/outputs.py +++ b/sdk/python/lbrlabs_pulumi_scaleway/outputs.py @@ -56,6 +56,7 @@ 'LoadbalancerCertificateLetsencrypt', 'LoadbalancerFrontendAcl', 'LoadbalancerFrontendAclAction', + 'LoadbalancerFrontendAclActionRedirect', 'LoadbalancerFrontendAclMatch', 'LoadbalancerPrivateNetwork', 'MnqCredentialNatsCredentials', @@ -111,6 +112,7 @@ 'GetKubernetesNodePoolUpgradePolicyResult', 'GetLbAclsAclResult', 'GetLbAclsAclActionResult', + 'GetLbAclsAclActionRedirectResult', 'GetLbAclsAclMatchResult', 'GetLbBackendHealthCheckHttpResult', 'GetLbBackendHealthCheckTcpResult', @@ -119,6 +121,7 @@ 'GetLbBackendsBackendHealthCheckTcpResult', 'GetLbFrontendAclResult', 'GetLbFrontendAclActionResult', + 'GetLbFrontendAclActionRedirectResult', 'GetLbFrontendAclMatchResult', 'GetLbFrontendsFrontendResult', 'GetLbIpsIpResult', @@ -3096,17 +3099,72 @@ def name(self) -> Optional[str]: @pulumi.output_type class LoadbalancerFrontendAclAction(dict): def __init__(__self__, *, - type: str): + type: str, + redirects: Optional[Sequence['outputs.LoadbalancerFrontendAclActionRedirect']] = None): """ - :param str type: The action type. Possible values are: `allow` or `deny`. + :param str type: The redirect type. Possible values are: `location` or `scheme`. + :param Sequence['LoadbalancerFrontendAclActionRedirectArgs'] redirects: Redirect parameters when using an ACL with `redirect` action. """ pulumi.set(__self__, "type", type) + if redirects is not None: + pulumi.set(__self__, "redirects", redirects) @property @pulumi.getter def type(self) -> str: """ - The action type. Possible values are: `allow` or `deny`. + The redirect type. Possible values are: `location` or `scheme`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def redirects(self) -> Optional[Sequence['outputs.LoadbalancerFrontendAclActionRedirect']]: + """ + Redirect parameters when using an ACL with `redirect` action. + """ + return pulumi.get(self, "redirects") + + +@pulumi.output_type +class LoadbalancerFrontendAclActionRedirect(dict): + def __init__(__self__, *, + code: Optional[int] = None, + target: Optional[str] = None, + type: Optional[str] = None): + """ + :param int code: The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + :param str target: An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + :param str type: The redirect type. Possible values are: `location` or `scheme`. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if target is not None: + pulumi.set(__self__, "target", target) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def code(self) -> Optional[int]: + """ + The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def target(self) -> Optional[str]: + """ + An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. + """ + return pulumi.get(self, "target") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The redirect type. Possible values are: `location` or `scheme`. """ return pulumi.get(self, "type") @@ -5710,17 +5768,68 @@ def update_at(self) -> str: @pulumi.output_type class GetLbAclsAclActionResult(dict): def __init__(__self__, *, + redirects: Sequence['outputs.GetLbAclsAclActionRedirectResult'], + type: str): + """ + :param Sequence['GetLbAclsAclActionRedirectArgs'] redirects: Redirect parameters when using an ACL with `redirect` action. + :param str type: The redirect type. + """ + pulumi.set(__self__, "redirects", redirects) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def redirects(self) -> Sequence['outputs.GetLbAclsAclActionRedirectResult']: + """ + Redirect parameters when using an ACL with `redirect` action. + """ + return pulumi.get(self, "redirects") + + @property + @pulumi.getter + def type(self) -> str: + """ + The redirect type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetLbAclsAclActionRedirectResult(dict): + def __init__(__self__, *, + code: int, + target: str, type: str): """ - :param str type: The action type. + :param int code: The HTTP redirect code used. + :param str target: The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + :param str type: The redirect type. """ + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "target", target) pulumi.set(__self__, "type", type) + @property + @pulumi.getter + def code(self) -> int: + """ + The HTTP redirect code used. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def target(self) -> str: + """ + The URL used in case of a location redirect or the scheme name that replaces the request's original scheme. + """ + return pulumi.get(self, "target") + @property @pulumi.getter def type(self) -> str: """ - The action type. + The redirect type. """ return pulumi.get(self, "type") @@ -6227,9 +6336,42 @@ def name(self) -> str: @pulumi.output_type class GetLbFrontendAclActionResult(dict): def __init__(__self__, *, + redirects: Sequence['outputs.GetLbFrontendAclActionRedirectResult'], + type: str): + pulumi.set(__self__, "redirects", redirects) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def redirects(self) -> Sequence['outputs.GetLbFrontendAclActionRedirectResult']: + return pulumi.get(self, "redirects") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetLbFrontendAclActionRedirectResult(dict): + def __init__(__self__, *, + code: int, + target: str, type: str): + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "target", target) pulumi.set(__self__, "type", type) + @property + @pulumi.getter + def code(self) -> int: + return pulumi.get(self, "code") + + @property + @pulumi.getter + def target(self) -> str: + return pulumi.get(self, "target") + @property @pulumi.getter def type(self) -> str: diff --git a/sdk/python/lbrlabs_pulumi_scaleway/tem_domain.py b/sdk/python/lbrlabs_pulumi_scaleway/tem_domain.py index 3a1db8f7..9c5f3537 100644 --- a/sdk/python/lbrlabs_pulumi_scaleway/tem_domain.py +++ b/sdk/python/lbrlabs_pulumi_scaleway/tem_domain.py @@ -99,6 +99,12 @@ def __init__(__self__, *, project_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, revoked_at: Optional[pulumi.Input[str]] = None, + smtp_host: Optional[pulumi.Input[str]] = None, + smtp_port: Optional[pulumi.Input[int]] = None, + smtp_port_alternative: Optional[pulumi.Input[int]] = None, + smtp_port_unsecure: Optional[pulumi.Input[int]] = None, + smtps_port: Optional[pulumi.Input[int]] = None, + smtps_port_alternative: Optional[pulumi.Input[int]] = None, spf_config: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None): """ @@ -115,6 +121,12 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with. :param pulumi.Input[str] region: `region`). The region in which the domain should be created. :param pulumi.Input[str] revoked_at: The date and time of the revocation of the domain (RFC 3339 format). + :param pulumi.Input[str] smtp_host: SMTP host to use to send emails + :param pulumi.Input[int] smtp_port: SMTP port to use to send emails over TLS. (Port 587) + :param pulumi.Input[int] smtp_port_alternative: SMTP port to use to send emails over TLS. (Port 2587) + :param pulumi.Input[int] smtp_port_unsecure: SMTP port to use to send emails. (Port 25) + :param pulumi.Input[int] smtps_port: SMTPS port to use to send emails over TLS Wrapper. (Port 465) + :param pulumi.Input[int] smtps_port_alternative: SMTPS port to use to send emails over TLS Wrapper. (Port 2465) :param pulumi.Input[str] spf_config: The snippet of the SPF record that should be registered in the DNS zone. :param pulumi.Input[str] status: The status of the Transaction Email Domain. """ @@ -138,6 +150,18 @@ def __init__(__self__, *, pulumi.set(__self__, "region", region) if revoked_at is not None: pulumi.set(__self__, "revoked_at", revoked_at) + if smtp_host is not None: + pulumi.set(__self__, "smtp_host", smtp_host) + if smtp_port is not None: + pulumi.set(__self__, "smtp_port", smtp_port) + if smtp_port_alternative is not None: + pulumi.set(__self__, "smtp_port_alternative", smtp_port_alternative) + if smtp_port_unsecure is not None: + pulumi.set(__self__, "smtp_port_unsecure", smtp_port_unsecure) + if smtps_port is not None: + pulumi.set(__self__, "smtps_port", smtps_port) + if smtps_port_alternative is not None: + pulumi.set(__self__, "smtps_port_alternative", smtps_port_alternative) if spf_config is not None: pulumi.set(__self__, "spf_config", spf_config) if status is not None: @@ -265,6 +289,78 @@ def revoked_at(self) -> Optional[pulumi.Input[str]]: def revoked_at(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "revoked_at", value) + @property + @pulumi.getter(name="smtpHost") + def smtp_host(self) -> Optional[pulumi.Input[str]]: + """ + SMTP host to use to send emails + """ + return pulumi.get(self, "smtp_host") + + @smtp_host.setter + def smtp_host(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "smtp_host", value) + + @property + @pulumi.getter(name="smtpPort") + def smtp_port(self) -> Optional[pulumi.Input[int]]: + """ + SMTP port to use to send emails over TLS. (Port 587) + """ + return pulumi.get(self, "smtp_port") + + @smtp_port.setter + def smtp_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "smtp_port", value) + + @property + @pulumi.getter(name="smtpPortAlternative") + def smtp_port_alternative(self) -> Optional[pulumi.Input[int]]: + """ + SMTP port to use to send emails over TLS. (Port 2587) + """ + return pulumi.get(self, "smtp_port_alternative") + + @smtp_port_alternative.setter + def smtp_port_alternative(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "smtp_port_alternative", value) + + @property + @pulumi.getter(name="smtpPortUnsecure") + def smtp_port_unsecure(self) -> Optional[pulumi.Input[int]]: + """ + SMTP port to use to send emails. (Port 25) + """ + return pulumi.get(self, "smtp_port_unsecure") + + @smtp_port_unsecure.setter + def smtp_port_unsecure(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "smtp_port_unsecure", value) + + @property + @pulumi.getter(name="smtpsPort") + def smtps_port(self) -> Optional[pulumi.Input[int]]: + """ + SMTPS port to use to send emails over TLS Wrapper. (Port 465) + """ + return pulumi.get(self, "smtps_port") + + @smtps_port.setter + def smtps_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "smtps_port", value) + + @property + @pulumi.getter(name="smtpsPortAlternative") + def smtps_port_alternative(self) -> Optional[pulumi.Input[int]]: + """ + SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + """ + return pulumi.get(self, "smtps_port_alternative") + + @smtps_port_alternative.setter + def smtps_port_alternative(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "smtps_port_alternative", value) + @property @pulumi.getter(name="spfConfig") def spf_config(self) -> Optional[pulumi.Input[str]]: @@ -401,6 +497,12 @@ def _internal_init(__self__, __props__.__dict__["last_valid_at"] = None __props__.__dict__["next_check_at"] = None __props__.__dict__["revoked_at"] = None + __props__.__dict__["smtp_host"] = None + __props__.__dict__["smtp_port"] = None + __props__.__dict__["smtp_port_alternative"] = None + __props__.__dict__["smtp_port_unsecure"] = None + __props__.__dict__["smtps_port"] = None + __props__.__dict__["smtps_port_alternative"] = None __props__.__dict__["spf_config"] = None __props__.__dict__["status"] = None super(TemDomain, __self__).__init__( @@ -423,6 +525,12 @@ def get(resource_name: str, project_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, revoked_at: Optional[pulumi.Input[str]] = None, + smtp_host: Optional[pulumi.Input[str]] = None, + smtp_port: Optional[pulumi.Input[int]] = None, + smtp_port_alternative: Optional[pulumi.Input[int]] = None, + smtp_port_unsecure: Optional[pulumi.Input[int]] = None, + smtps_port: Optional[pulumi.Input[int]] = None, + smtps_port_alternative: Optional[pulumi.Input[int]] = None, spf_config: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None) -> 'TemDomain': """ @@ -444,6 +552,12 @@ def get(resource_name: str, :param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with. :param pulumi.Input[str] region: `region`). The region in which the domain should be created. :param pulumi.Input[str] revoked_at: The date and time of the revocation of the domain (RFC 3339 format). + :param pulumi.Input[str] smtp_host: SMTP host to use to send emails + :param pulumi.Input[int] smtp_port: SMTP port to use to send emails over TLS. (Port 587) + :param pulumi.Input[int] smtp_port_alternative: SMTP port to use to send emails over TLS. (Port 2587) + :param pulumi.Input[int] smtp_port_unsecure: SMTP port to use to send emails. (Port 25) + :param pulumi.Input[int] smtps_port: SMTPS port to use to send emails over TLS Wrapper. (Port 465) + :param pulumi.Input[int] smtps_port_alternative: SMTPS port to use to send emails over TLS Wrapper. (Port 2465) :param pulumi.Input[str] spf_config: The snippet of the SPF record that should be registered in the DNS zone. :param pulumi.Input[str] status: The status of the Transaction Email Domain. """ @@ -461,6 +575,12 @@ def get(resource_name: str, __props__.__dict__["project_id"] = project_id __props__.__dict__["region"] = region __props__.__dict__["revoked_at"] = revoked_at + __props__.__dict__["smtp_host"] = smtp_host + __props__.__dict__["smtp_port"] = smtp_port + __props__.__dict__["smtp_port_alternative"] = smtp_port_alternative + __props__.__dict__["smtp_port_unsecure"] = smtp_port_unsecure + __props__.__dict__["smtps_port"] = smtps_port + __props__.__dict__["smtps_port_alternative"] = smtps_port_alternative __props__.__dict__["spf_config"] = spf_config __props__.__dict__["status"] = status return TemDomain(resource_name, opts=opts, __props__=__props__) @@ -547,6 +667,54 @@ def revoked_at(self) -> pulumi.Output[str]: """ return pulumi.get(self, "revoked_at") + @property + @pulumi.getter(name="smtpHost") + def smtp_host(self) -> pulumi.Output[str]: + """ + SMTP host to use to send emails + """ + return pulumi.get(self, "smtp_host") + + @property + @pulumi.getter(name="smtpPort") + def smtp_port(self) -> pulumi.Output[int]: + """ + SMTP port to use to send emails over TLS. (Port 587) + """ + return pulumi.get(self, "smtp_port") + + @property + @pulumi.getter(name="smtpPortAlternative") + def smtp_port_alternative(self) -> pulumi.Output[int]: + """ + SMTP port to use to send emails over TLS. (Port 2587) + """ + return pulumi.get(self, "smtp_port_alternative") + + @property + @pulumi.getter(name="smtpPortUnsecure") + def smtp_port_unsecure(self) -> pulumi.Output[int]: + """ + SMTP port to use to send emails. (Port 25) + """ + return pulumi.get(self, "smtp_port_unsecure") + + @property + @pulumi.getter(name="smtpsPort") + def smtps_port(self) -> pulumi.Output[int]: + """ + SMTPS port to use to send emails over TLS Wrapper. (Port 465) + """ + return pulumi.get(self, "smtps_port") + + @property + @pulumi.getter(name="smtpsPortAlternative") + def smtps_port_alternative(self) -> pulumi.Output[int]: + """ + SMTPS port to use to send emails over TLS Wrapper. (Port 2465) + """ + return pulumi.get(self, "smtps_port_alternative") + @property @pulumi.getter(name="spfConfig") def spf_config(self) -> pulumi.Output[str]: