diff --git a/go.mod b/go.mod
index 2984078038..6ff2efc7a1 100644
--- a/go.mod
+++ b/go.mod
@@ -3,23 +3,22 @@ module github.com/prometheus/prometheus
go 1.14
require (
- github.com/Azure/azure-sdk-for-go v48.2.0+incompatible
- github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
- github.com/Azure/go-autorest/autorest v0.11.11
- github.com/Azure/go-autorest/autorest/adal v0.9.5
+ github.com/Azure/azure-sdk-for-go v49.2.0+incompatible
+ github.com/Azure/go-autorest/autorest v0.11.15
+ github.com/Azure/go-autorest/autorest/adal v0.9.10
github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect
github.com/HdrHistogram/hdrhistogram-go v0.9.0 // indirect
github.com/Microsoft/go-winio v0.4.14 // indirect
- github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d
+ github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4
github.com/armon/go-metrics v0.3.3 // indirect
- github.com/aws/aws-sdk-go v1.35.31
+ github.com/aws/aws-sdk-go v1.36.15
github.com/cespare/xxhash/v2 v2.1.1
github.com/containerd/containerd v1.3.4 // indirect
github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245
- github.com/digitalocean/godo v1.52.0
+ github.com/digitalocean/godo v1.54.0
github.com/docker/distribution v2.7.1+incompatible // indirect
- github.com/docker/docker v17.12.0-ce-rc1.0.20200706150819-a40b877fbb9e+incompatible
+ github.com/docker/docker v20.10.1+incompatible
github.com/docker/go-connections v0.4.0 // indirect
github.com/edsrzf/mmap-go v1.0.0
github.com/go-kit/kit v0.10.0
@@ -28,10 +27,10 @@ require (
github.com/go-openapi/validate v0.19.14 // indirect
github.com/gogo/protobuf v1.3.1
github.com/golang/snappy v0.0.2
- github.com/google/pprof v0.0.0-20201117184057-ae444373da19
- github.com/gophercloud/gophercloud v0.14.0
+ github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2
+ github.com/gophercloud/gophercloud v0.15.0
github.com/grpc-ecosystem/grpc-gateway v1.16.0
- github.com/hashicorp/consul/api v1.7.0
+ github.com/hashicorp/consul/api v1.8.1
github.com/hashicorp/go-hclog v0.12.2 // indirect
github.com/hashicorp/go-immutable-radix v1.2.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
@@ -39,6 +38,7 @@ require (
github.com/influxdata/influxdb v1.8.3
github.com/json-iterator/go v1.1.10
github.com/miekg/dns v1.1.35
+ github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
github.com/oklog/run v1.1.0
@@ -49,10 +49,10 @@ require (
github.com/opentracing/opentracing-go v1.2.0
github.com/pkg/errors v0.9.1
github.com/prometheus/alertmanager v0.21.0
- github.com/prometheus/client_golang v1.8.0
+ github.com/prometheus/client_golang v1.9.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.15.0
- github.com/samuel/go-zookeeper v0.0.0-20200724154423-2164a8ac840e
+ github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
github.com/stretchr/testify v1.6.1
@@ -60,21 +60,22 @@ require (
github.com/uber/jaeger-lib v2.4.0+incompatible
go.uber.org/atomic v1.7.0
go.uber.org/goleak v1.1.10
- golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
- golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58
- golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
- golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
- golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
- golang.org/x/tools v0.0.0-20201119054027-25dc3e1ccc3c
- google.golang.org/api v0.35.0
+ golang.org/x/net v0.0.0-20201224014010-6772e930b67b
+ golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
+ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
+ golang.org/x/sys v0.0.0-20201223074533-0d417f636930
+ golang.org/x/time v0.0.0-20201208040808-7e3f01d25324
+ golang.org/x/tools v0.0.0-20201228162255-34cd474b9958
+ google.golang.org/api v0.36.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/fsnotify/fsnotify.v1 v1.4.7
- gopkg.in/yaml.v2 v2.3.0
+ gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
gotest.tools v2.2.0+incompatible // indirect
- k8s.io/api v0.19.4
- k8s.io/apimachinery v0.19.4
- k8s.io/client-go v0.19.4
+ gotest.tools/v3 v3.0.3 // indirect
+ k8s.io/api v0.20.1
+ k8s.io/apimachinery v0.20.1
+ k8s.io/client-go v0.20.1
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.4.0
)
diff --git a/go.sum b/go.sum
index 6fa3046bd7..ba92957a3b 100644
--- a/go.sum
+++ b/go.sum
@@ -15,6 +15,8 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV
cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
cloud.google.com/go v0.65.0 h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8=
cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
+cloud.google.com/go v0.72.0 h1:eWRCuwubtDrCJG0oSUMgnsbD4CmPFQF2ei4OFbXvwww=
+cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
@@ -35,27 +37,28 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-github.com/Azure/azure-sdk-for-go v48.2.0+incompatible h1:+t2P1j1r5N6lYgPiiz7ZbEVZFkWjVe9WhHbMm0gg8hw=
-github.com/Azure/azure-sdk-for-go v48.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
+github.com/Azure/azure-sdk-for-go v49.2.0+incompatible h1:23a1GeBzTLeT53StH9NDJyCMhxCH3awTZaw9ZYBcq78=
+github.com/Azure/azure-sdk-for-go v49.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs=
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI=
-github.com/Azure/go-autorest/autorest v0.9.6/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630=
-github.com/Azure/go-autorest/autorest v0.11.11 h1:k/wzH9pA3hrtFNsEhJ5SqPEs75W3bzS8VOYA/fJ0j1k=
-github.com/Azure/go-autorest/autorest v0.11.11/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw=
+github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw=
+github.com/Azure/go-autorest/autorest v0.11.15 h1:S5SDFpmgoVyvMEOcULyEDlYFrdPmu6Wl0Ic+shkEwzg=
+github.com/Azure/go-autorest/autorest v0.11.15/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw=
github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0=
-github.com/Azure/go-autorest/autorest/adal v0.8.2/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q=
+github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg=
github.com/Azure/go-autorest/autorest/adal v0.9.5 h1:Y3bBUV4rTuxenJJs41HU3qmqsb+auo+a3Lz+PlJPpL0=
github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A=
+github.com/Azure/go-autorest/autorest/adal v0.9.10 h1:r6fZHMaHD8B6LDCn0o5vyBFHIHrM6Ywwx7mb49lPItI=
+github.com/Azure/go-autorest/autorest/adal v0.9.10/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A=
github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA=
-github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g=
github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw=
github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74=
github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
-github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM=
+github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk=
github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
github.com/Azure/go-autorest/autorest/to v0.3.0 h1:zebkZaadz7+wIQYgC7GXaz3Wb28yKYfVkkBKwc38VF8=
@@ -79,11 +82,9 @@ github.com/Microsoft/go-winio v0.4.14 h1:+hMXMk01us9KgxGb7ftKQt2Xpf5hH/yky+TDA+q
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
-github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
-github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
@@ -99,6 +100,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
+github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4 h1:EBTWhcAX7rNQ80RLwLCpHZBBrJuzallFHnF+yMXo928=
+github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0=
@@ -121,8 +124,8 @@ github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/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.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
-github.com/aws/aws-sdk-go v1.35.31 h1:6tlaYq4Q311qfhft/fIaND33XI27aW3zIdictcHxifE=
-github.com/aws/aws-sdk-go v1.35.31/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
+github.com/aws/aws-sdk-go v1.36.15 h1:nGqgPlXegCKPZOKXvWnYCLvLPJPRoSOHHn9d0N0DG7Y=
+github.com/aws/aws-sdk-go v1.36.15/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
@@ -160,6 +163,8 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
+github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
+github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -168,12 +173,12 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm
github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ=
github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245 h1:9cOfvEwjQxdwKuNDTQSaMKNRvwKwgZG+U4HrjeRKHso=
github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
-github.com/digitalocean/godo v1.52.0 h1:1QSUC0w5T1wS1d/1uvPtG8GLeD0p/4zhx1Q+Fxtna+k=
-github.com/digitalocean/godo v1.52.0/go.mod h1:p7dOjjtSBqCTUksqtA5Fd3uaKs9kyTq2xcz76ulEJRU=
+github.com/digitalocean/godo v1.54.0 h1:KP0Nv87pgViR8k/7De3VrmflCL5pJqXbNnkcw0bwG10=
+github.com/digitalocean/godo v1.54.0/go.mod h1:p7dOjjtSBqCTUksqtA5Fd3uaKs9kyTq2xcz76ulEJRU=
github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug=
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/docker v17.12.0-ce-rc1.0.20200706150819-a40b877fbb9e+incompatible h1:+mzU0jHyjWpYHiD0StRlsVXkCvecWS2hc55M3OlUJSk=
-github.com/docker/docker v17.12.0-ce-rc1.0.20200706150819-a40b877fbb9e+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
+github.com/docker/docker v20.10.1+incompatible h1:u0HIBLwOJdemyBdTCkoBX34u3lb5KyBo0rQE3a5Yg+E=
+github.com/docker/docker v20.10.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
@@ -246,7 +251,6 @@ github.com/go-openapi/errors v0.19.6/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpX
github.com/go-openapi/errors v0.19.7/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
github.com/go-openapi/errors v0.19.8 h1:doM+tQdZbUm9gydV9yR+iQNmztbjj7I3sW4sIcAwIzc=
github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M=
-github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0=
github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M=
github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M=
github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg=
@@ -254,7 +258,6 @@ github.com/go-openapi/jsonpointer v0.19.3 h1:gihV7YNZK1iK6Tgwwsxo2rJbD1GTbdm7232
github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY=
github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
-github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg=
github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I=
github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I=
github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc=
@@ -280,7 +283,6 @@ github.com/go-openapi/runtime v0.19.15/go.mod h1:dhGWCTKRXlAfGnQG0ONViOZpjfg0m2g
github.com/go-openapi/runtime v0.19.16/go.mod h1:5P9104EJgYcizotuXhEuUrzVc+j1RiSjahULvYmlv98=
github.com/go-openapi/runtime v0.19.24 h1:TqagMVlRAOTwllE/7hNKx6rQ10O6T8ZzeJdMjSTKaD4=
github.com/go-openapi/runtime v0.19.24/go.mod h1:Lm9YGCeecBnUUkFTxPC4s1+lwrkJ0pthx8YvyjCfkgk=
-github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc=
github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI=
github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI=
github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY=
@@ -300,7 +302,6 @@ github.com/go-openapi/strfmt v0.19.5 h1:0utjKrw+BAh8s57XE9Xz8DUBsVvPmRUB6styvl9w
github.com/go-openapi/strfmt v0.19.5/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk=
github.com/go-openapi/strfmt v0.19.11 h1:0+YvbNh05rmBkgztd6zHp4OCFn7Mtu30bn46NQo2ZRw=
github.com/go-openapi/strfmt v0.19.11/go.mod h1:UukAYgTaQfqJuAFlNxxMWNvMYiwiXtLsF2VwmoFtbtc=
-github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg=
github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
@@ -405,6 +406,8 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
+github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -412,6 +415,7 @@ github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=
github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
+github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
@@ -419,8 +423,9 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf
github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20201117184057-ae444373da19 h1:iFELRewmQ9CldLrqgr0E6b6ZPfZmMvLyyz6kMsR+c4w=
-github.com/google/pprof v0.0.0-20201117184057-ae444373da19/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2 h1:LR89qFljJ48s990kEKGsk213yIJDPI4205OKOzbURK8=
+github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
@@ -432,8 +437,8 @@ github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/gnostic v0.4.1 h1:DLJCy1n/vrD4HPjOvYcT8aYQXpPIzoRZONaYwyycI+I=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
-github.com/gophercloud/gophercloud v0.14.0 h1:c2Byo+YMxhHlTJ3TPptjQ4dOQ1YknTHDJ/9zClDH+84=
-github.com/gophercloud/gophercloud v0.14.0/go.mod h1:VX0Ibx85B60B5XOrZr6kaNwrmPUzcmMpwxvQ1WQIIWM=
+github.com/gophercloud/gophercloud v0.15.0 h1:jQeAWj0s1p83+TrUXhJhEOK4oe2g6YcBcFwEyMNIjEk=
+github.com/gophercloud/gophercloud v0.15.0/go.mod h1:VX0Ibx85B60B5XOrZr6kaNwrmPUzcmMpwxvQ1WQIIWM=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
@@ -447,11 +452,11 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
-github.com/hashicorp/consul/api v1.7.0 h1:tGs8Oep67r8CcA2Ycmb/8BLBcJ70St44mF2X10a/qPg=
-github.com/hashicorp/consul/api v1.7.0/go.mod h1:1NSuaUUkFaJzMasbfq/11wKYWSR67Xn6r2DXKhuDNFg=
+github.com/hashicorp/consul/api v1.8.1 h1:BOEQaMWoGMhmQ29fC26bi0qb7/rId9JzZP2V0Xmx7m8=
+github.com/hashicorp/consul/api v1.8.1/go.mod h1:sDjTOq0yUyv5G4h+BqSea7Fn6BU+XbolEz1952UB+mk=
github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
-github.com/hashicorp/consul/sdk v0.6.0 h1:FfhMEkwvQl57CildXJyGHnwGGM4HMODGyfjGwNM1Vdw=
-github.com/hashicorp/consul/sdk v0.6.0/go.mod h1:fY08Y9z5SvJqevyZNy6WWPXiG3KwBPAvlcdx16zZ0fM=
+github.com/hashicorp/consul/sdk v0.7.0 h1:H6R9d008jDcHPQPAqPNuydAshJ4v5/8URdFnUvK/+sc=
+github.com/hashicorp/consul/sdk v0.7.0/go.mod h1:fY08Y9z5SvJqevyZNy6WWPXiG3KwBPAvlcdx16zZ0fM=
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
@@ -492,8 +497,8 @@ github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2p
github.com/hashicorp/memberlist v0.2.2 h1:5+RffWKwqJ71YPu9mWsF7ZOscZmwfasdA8kbdC7AO2g=
github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
-github.com/hashicorp/serf v0.9.3 h1:AVF6JDQQens6nMHT9OGERBvK0f8rPrAGILnsKLr6lzM=
-github.com/hashicorp/serf v0.9.3/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
+github.com/hashicorp/serf v0.9.5 h1:EBWvyu9tcRszt3Bxp3KNssBMP1KuHWyO51lz9+786iM=
+github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
github.com/hetznercloud/hcloud-go v1.23.1 h1:SkYdCa6x458cMSDz5GI18iPz5j2hicACiDP6J/s/bTs=
github.com/hetznercloud/hcloud-go v1.23.1/go.mod h1:xng8lbDUg+xM1dgc0yGHX5EeqbwIq7UYlMWMTx3SQVg=
github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
@@ -571,7 +576,6 @@ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
-github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
@@ -619,6 +623,8 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh
github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/mapstructure v1.3.3 h1:SzB1nHZ2Xi+17FP0zVQBHIZqvwRN9408fJO8h+eeNA8=
github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 h1:rzf0wL0CHVc8CEsgyygG0Mn9CNCCPZqOPaz8RiiHYQk=
+github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -711,8 +717,8 @@ github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O
github.com/prometheus/client_golang v1.6.0/go.mod h1:ZLOG9ck3JLRdB5MgO8f+lLTe83AXG6ro35rLTxvnIl4=
github.com/prometheus/client_golang v1.7.1 h1:NTGy1Ja9pByO+xAeH/qiWnLrKtr3hJPNjaVUwnjpdpA=
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
-github.com/prometheus/client_golang v1.8.0 h1:zvJNkoCFAnYFNC24FV8nW4JdRJ3GIFcLbg65lL/JDcw=
-github.com/prometheus/client_golang v1.8.0/go.mod h1:O9VU6huf47PktckDQfMTX0Y8tY0/7TSWwj+ITvv0TnM=
+github.com/prometheus/client_golang v1.9.0 h1:Rrch9mh17XcxvEu9D9DEpb4isxjGBtcevQjKvxPRQIU=
+github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
@@ -726,8 +732,6 @@ github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+
github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA=
github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4=
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
-github.com/prometheus/common v0.14.0 h1:RHRyE8UocrbjU+6UvRzwi6HjiDfxrrBU91TtbKzkGp4=
-github.com/prometheus/common v0.14.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
github.com/prometheus/common v0.15.0 h1:4fgOnadei3EZvgRwxJ7RMpG1k1pOZth5Pc13tyspaKM=
github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -751,8 +755,8 @@ github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
-github.com/samuel/go-zookeeper v0.0.0-20200724154423-2164a8ac840e h1:CGjiMQ0wMH4wtNWrlj6kiTbkPt2F3rbYnhGX6TWLfco=
-github.com/samuel/go-zookeeper v0.0.0-20200724154423-2164a8ac840e/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
+github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414 h1:AJNDS0kP60X8wwWFvbLPwDuojxubj9pbfK7pjHw0vKg=
+github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
@@ -841,6 +845,8 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto=
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go.opencensus.io v0.22.5 h1:dntmOdLpSpHlVqbW5Eay97DelsZHe+55D+xC6i0dDS0=
+go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
@@ -867,7 +873,6 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 h1:hb9wdF1z5waM+dSIICn1l0DkLVDT3hqhhQsDNUmHPRE=
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
@@ -944,11 +949,13 @@ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/
golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b h1:uwuIcX0g4Yl1NC5XAz37xsr2lTtcqevgzYNVt49waME=
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/net v0.0.0-20201224014010-6772e930b67b h1:iFwSg7t5GZmB/Q5TjiEAsdoLDrdJRC1RiF2WhuV29Qw=
+golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -958,6 +965,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43 h1:ld7aEMNHoBnnDAX15v1T6z
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 h1:Mj83v+wSRNEar42a/MQgxk9X42TdEmrOl9i+y8WbxLo=
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
+golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5 h1:Lm4OryKCca1vehdsWogr9N4t7NfZxLbJoc/H0w4K4S4=
+golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -969,6 +978,8 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs=
+golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1021,14 +1032,19 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 h1:nxC68pudNYkKU6jWhgrqdreuFiOQWj1Fs7T3VrH4Pjw=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20201223074533-0d417f636930 h1:vRgIt+nup/B/BwIS0g2oC0haq0iqbV3ZA+u6+0TlNCo=
+golang.org/x/sys v0.0.0-20201223074533-0d417f636930/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1043,11 +1059,12 @@ golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxb
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e h1:EHBhcS0mlXEAVwNyO2dLfjToGsyY4j24pTs2ScHnX7s=
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE=
+golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -1068,6 +1085,7 @@ golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgw
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
+golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
@@ -1105,8 +1123,10 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200828161849-5deb26317202/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
-golang.org/x/tools v0.0.0-20201119054027-25dc3e1ccc3c h1:EFNvrTleQM8C5s1RJh1h8mJzTEV7BJxtXTP+6qSofJY=
-golang.org/x/tools v0.0.0-20201119054027-25dc3e1ccc3c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.0.0-20201228162255-34cd474b9958 h1:8dEW6cGnUF2NIvtKDx8YsMBEw5pUrMEVUrU0jiPgmu8=
+golang.org/x/tools v0.0.0-20201228162255-34cd474b9958/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -1136,6 +1156,8 @@ google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M
google.golang.org/api v0.31.0/go.mod h1:CL+9IBCa2WWU6gRuBWaKqGWLFFwbEUXkfeMkHLQWYWo=
google.golang.org/api v0.35.0 h1:TBCmTTxUrRDA1iTctnK/fIeitxIZ+TQuaf0j29fmCGo=
google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
+google.golang.org/api v0.36.0 h1:l2Nfbl2GPXdWorv+dT2XfinX2jOOw4zv1VhLstx+6rE=
+google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -1144,6 +1166,8 @@ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
+google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
@@ -1178,6 +1202,9 @@ google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6D
google.golang.org/genproto v0.0.0-20200831141814-d751682dd103/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d h1:92D1fum1bJLKSdr11OJ+54YeCMCGYIygTA7R/YZxH5M=
google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
+google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e h1:wYR00/Ht+i/79g/gzhdehBgLIJCklKoc8Q/NebdzzpY=
+google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
@@ -1197,6 +1224,8 @@ google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM
google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.33.1 h1:DGeFlSan2f+WEtCERJ4J9GJWk15TxUi8QGagfI87Xyc=
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
+google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o=
+google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
@@ -1207,6 +1236,8 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA=
google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
+google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c=
+google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -1237,12 +1268,17 @@ gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
+gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk=
+gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0=
+gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
@@ -1251,23 +1287,23 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-k8s.io/api v0.19.4 h1:I+1I4cgJYuCDgiLNjKx7SLmIbwgj9w7N7Zr5vSIdwpo=
-k8s.io/api v0.19.4/go.mod h1:SbtJ2aHCItirzdJ36YslycFNzWADYH3tgOhvBEFtZAk=
-k8s.io/apimachinery v0.19.4 h1:+ZoddM7nbzrDCp0T3SWnyxqf8cbWPT2fkZImoyvHUG0=
-k8s.io/apimachinery v0.19.4/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA=
-k8s.io/client-go v0.19.4 h1:85D3mDNoLF+xqpyE9Dh/OtrJDyJrSRKkHmDXIbEzer8=
-k8s.io/client-go v0.19.4/go.mod h1:ZrEy7+wj9PjH5VMBCuu/BDlvtUAku0oVFk4MmnW9mWA=
+k8s.io/api v0.20.1 h1:ud1c3W3YNzGd6ABJlbFfKXBKXO+1KdGfcgGGNgFR03E=
+k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo=
+k8s.io/apimachinery v0.20.1 h1:LAhz8pKbgR8tUwn7boK+b2HZdt7MiTu2mkYtFMUjTRQ=
+k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
+k8s.io/client-go v0.20.1 h1:Qquik0xNFbK9aUG92pxHYsyfea5/RPO9o9bSywNor+M=
+k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6 h1:+WnxoVtG8TMiudHBSEtrVL1egv36TkkJm+bA8AxicmQ=
-k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o=
-k8s.io/utils v0.0.0-20200729134348-d5654de09c73 h1:uJmqzgNWG7XyClnU/mLPBWwfKKF1K8Hf8whTseBgJcg=
-k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
+k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd h1:sOHNzJIkytDF6qadMNKhhDRpc6ODik8lVC6nOur7B2c=
+k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM=
+k8s.io/utils v0.0.0-20201110183641-67b214c5f920 h1:CbnUZsM497iRC5QMVkHwyl8s2tB3g7yaSHkYPkpgelw=
+k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
-sigs.k8s.io/structured-merge-diff/v4 v4.0.1 h1:YXTMot5Qz/X1iBRJhAt+vI+HVttY0WkSqqhKxQ0xVbA=
-sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
+sigs.k8s.io/structured-merge-diff/v4 v4.0.2 h1:YHQV7Dajm86OuqnIR6zAelnDWBRjo+YhYV9PmGrh1s8=
+sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/CHANGELOG.md
new file mode 100644
index 0000000000..d590c4927d
--- /dev/null
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/CHANGELOG.md
@@ -0,0 +1,25 @@
+Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82
+
+Code generator @microsoft.azure/autorest.go@~2.1.161
+
+## Breaking Changes
+
+- Function `NewContainerServiceListResultPage` parameter(s) have been changed from `(func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error))` to `(ContainerServiceListResult, func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error))`
+- Function `NewVirtualMachineScaleSetExtensionListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error))` to `(VirtualMachineScaleSetExtensionListResult, func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error))`
+- Function `NewGalleryImageVersionListPage` parameter(s) have been changed from `(func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error))` to `(GalleryImageVersionList, func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error))`
+- Function `NewVirtualMachineScaleSetListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error))` to `(VirtualMachineScaleSetListResult, func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error))`
+- Function `NewProximityPlacementGroupListResultPage` parameter(s) have been changed from `(func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error))` to `(ProximityPlacementGroupListResult, func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error))`
+- Function `NewResourceSkusResultPage` parameter(s) have been changed from `(func(context.Context, ResourceSkusResult) (ResourceSkusResult, error))` to `(ResourceSkusResult, func(context.Context, ResourceSkusResult) (ResourceSkusResult, error))`
+- Function `NewVirtualMachineScaleSetListOSUpgradeHistoryPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error))` to `(VirtualMachineScaleSetListOSUpgradeHistory, func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error))`
+- Function `NewVirtualMachineScaleSetListWithLinkResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error))` to `(VirtualMachineScaleSetListWithLinkResult, func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error))`
+- Function `NewGalleryImageListPage` parameter(s) have been changed from `(func(context.Context, GalleryImageList) (GalleryImageList, error))` to `(GalleryImageList, func(context.Context, GalleryImageList) (GalleryImageList, error))`
+- Function `NewVirtualMachineListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error))` to `(VirtualMachineListResult, func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error))`
+- Function `NewVirtualMachineScaleSetListSkusResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error))` to `(VirtualMachineScaleSetListSkusResult, func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error))`
+- Function `NewDiskListPage` parameter(s) have been changed from `(func(context.Context, DiskList) (DiskList, error))` to `(DiskList, func(context.Context, DiskList) (DiskList, error))`
+- Function `NewVirtualMachineScaleSetVMListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error))` to `(VirtualMachineScaleSetVMListResult, func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error))`
+- Function `NewImageListResultPage` parameter(s) have been changed from `(func(context.Context, ImageListResult) (ImageListResult, error))` to `(ImageListResult, func(context.Context, ImageListResult) (ImageListResult, error))`
+- Function `NewRunCommandListResultPage` parameter(s) have been changed from `(func(context.Context, RunCommandListResult) (RunCommandListResult, error))` to `(RunCommandListResult, func(context.Context, RunCommandListResult) (RunCommandListResult, error))`
+- Function `NewGalleryListPage` parameter(s) have been changed from `(func(context.Context, GalleryList) (GalleryList, error))` to `(GalleryList, func(context.Context, GalleryList) (GalleryList, error))`
+- Function `NewListUsagesResultPage` parameter(s) have been changed from `(func(context.Context, ListUsagesResult) (ListUsagesResult, error))` to `(ListUsagesResult, func(context.Context, ListUsagesResult) (ListUsagesResult, error))`
+- Function `NewSnapshotListPage` parameter(s) have been changed from `(func(context.Context, SnapshotList) (SnapshotList, error))` to `(SnapshotList, func(context.Context, SnapshotList) (SnapshotList, error))`
+- Function `NewAvailabilitySetListResultPage` parameter(s) have been changed from `(func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error))` to `(AvailabilitySetListResult, func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error))`
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/availabilitysets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
index 196610acdd..49bbbf4fe6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/availabilitysets.go
@@ -74,6 +74,7 @@ func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourc
result, err = client.CreateOrUpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupNa
result, err = client.DeleteResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Delete", resp, "Failure responding to request")
+ return
}
return
@@ -225,6 +227,7 @@ func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -300,6 +303,7 @@ func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName
result.aslr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "List", resp, "Failure responding to request")
+ return
}
if result.aslr.hasNextLink() && result.aslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -363,6 +367,7 @@ func (client AvailabilitySetsClient) listNextResults(ctx context.Context, lastRe
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +420,7 @@ func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, res
result, err = client.ListAvailableSizesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListAvailableSizes", resp, "Failure responding to request")
+ return
}
return
@@ -490,6 +496,7 @@ func (client AvailabilitySetsClient) ListBySubscription(ctx context.Context, exp
result.aslr, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "ListBySubscription", resp, "Failure responding to request")
+ return
}
if result.aslr.hasNextLink() && result.aslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -555,6 +562,7 @@ func (client AvailabilitySetsClient) listBySubscriptionNextResults(ctx context.C
result, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -607,6 +615,7 @@ func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupNa
result, err = client.UpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.AvailabilitySetsClient", "Update", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/containerservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/containerservices.go
index 92208281f4..f369af4938 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/containerservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/containerservices.go
@@ -263,6 +263,7 @@ func (client ContainerServicesClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -337,6 +338,7 @@ func (client ContainerServicesClient) List(ctx context.Context) (result Containe
result.cslr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "List", resp, "Failure responding to request")
+ return
}
if result.cslr.hasNextLink() && result.cslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -399,6 +401,7 @@ func (client ContainerServicesClient) listNextResults(ctx context.Context, lastR
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -452,6 +455,7 @@ func (client ContainerServicesClient) ListByResourceGroup(ctx context.Context, r
result.cslr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.cslr.hasNextLink() && result.cslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -515,6 +519,7 @@ func (client ContainerServicesClient) listByResourceGroupNextResults(ctx context
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ContainerServicesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/disks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/disks.go
index 9a38365c57..d8bbe279b3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/disks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/disks.go
@@ -253,6 +253,7 @@ func (client DisksClient) Get(ctx context.Context, resourceGroupName string, dis
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.DisksClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -412,6 +413,7 @@ func (client DisksClient) List(ctx context.Context) (result DiskListPage, err er
result.dl, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.DisksClient", "List", resp, "Failure responding to request")
+ return
}
if result.dl.hasNextLink() && result.dl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +476,7 @@ func (client DisksClient) listNextResults(ctx context.Context, lastResults DiskL
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.DisksClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -525,6 +528,7 @@ func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroup
result.dl, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.DisksClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.dl.hasNextLink() && result.dl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -588,6 +592,7 @@ func (client DisksClient) listByResourceGroupNextResults(ctx context.Context, la
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.DisksClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleries.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleries.go
index 52fb83882c..5e505fe671 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleries.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleries.go
@@ -225,6 +225,7 @@ func (client GalleriesClient) Get(ctx context.Context, resourceGroupName string,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -298,6 +299,7 @@ func (client GalleriesClient) List(ctx context.Context) (result GalleryListPage,
result.gl, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "List", resp, "Failure responding to request")
+ return
}
if result.gl.hasNextLink() && result.gl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -360,6 +362,7 @@ func (client GalleriesClient) listNextResults(ctx context.Context, lastResults G
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -411,6 +414,7 @@ func (client GalleriesClient) ListByResourceGroup(ctx context.Context, resourceG
result.gl, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.gl.hasNextLink() && result.gl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client GalleriesClient) listByResourceGroupNextResults(ctx context.Context
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleriesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimages.go
index f3b5c26604..86f92a8c90 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimages.go
@@ -244,6 +244,7 @@ func (client GalleryImagesClient) Get(ctx context.Context, resourceGroupName str
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -321,6 +322,7 @@ func (client GalleryImagesClient) ListByGallery(ctx context.Context, resourceGro
result.gil, err = client.ListByGalleryResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "ListByGallery", resp, "Failure responding to request")
+ return
}
if result.gil.hasNextLink() && result.gil.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -385,6 +387,7 @@ func (client GalleryImagesClient) listByGalleryNextResults(ctx context.Context,
result, err = client.ListByGalleryResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImagesClient", "listByGalleryNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
index c9179e2ad0..716896ac2c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/galleryimageversions.go
@@ -246,6 +246,7 @@ func (client GalleryImageVersionsClient) Get(ctx context.Context, resourceGroupN
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -329,6 +330,7 @@ func (client GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context,
result.givl, err = client.ListByGalleryImageResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "ListByGalleryImage", resp, "Failure responding to request")
+ return
}
if result.givl.hasNextLink() && result.givl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -394,6 +396,7 @@ func (client GalleryImageVersionsClient) listByGalleryImageNextResults(ctx conte
result, err = client.ListByGalleryImageResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.GalleryImageVersionsClient", "listByGalleryImageNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/images.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/images.go
index 6262e21c10..d6161d84ed 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/images.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/images.go
@@ -225,6 +225,7 @@ func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, im
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage
result.ilr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -364,6 +366,7 @@ func (client ImagesClient) listNextResults(ctx context.Context, lastResults Imag
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGrou
result.ilr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client ImagesClient) listByResourceGroupNextResults(ctx context.Context, l
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/models.go
index 84f3f4c6bf..18a26f6ba8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/models.go
@@ -38,15 +38,16 @@ type AccessURI struct {
AccessSAS *string `json:"accessSAS,omitempty"`
}
-// AdditionalCapabilities enables or disables a capability on the virtual machine or virtual machine scale set.
+// AdditionalCapabilities enables or disables a capability on the virtual machine or virtual machine scale
+// set.
type AdditionalCapabilities struct {
// UltraSSDEnabled - The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
UltraSSDEnabled *bool `json:"ultraSSDEnabled,omitempty"`
}
// AdditionalUnattendContent specifies additional XML formatted information that can be included in the
-// Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and
-// the pass in which the content is applied.
+// Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name,
+// and the pass in which the content is applied.
type AdditionalUnattendContent struct {
// PassName - The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'
PassName PassNames `json:"passName,omitempty"`
@@ -102,8 +103,8 @@ type AutomaticOSUpgradeProperties struct {
AutomaticOSUpgradeSupported *bool `json:"automaticOSUpgradeSupported,omitempty"`
}
-// AutomaticRepairsPolicy specifies the configuration parameters for automatic repairs on the virtual machine
-// scale set.
+// AutomaticRepairsPolicy specifies the configuration parameters for automatic repairs on the virtual
+// machine scale set.
type AutomaticRepairsPolicy struct {
// Enabled - Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
Enabled *bool `json:"enabled,omitempty"`
@@ -111,14 +112,16 @@ type AutomaticRepairsPolicy struct {
GracePeriod *string `json:"gracePeriod,omitempty"`
}
-// AvailabilitySet specifies information about the availability set that the virtual machine should be assigned
-// to. Virtual machines specified in the same availability set are allocated to different nodes to maximize
-// availability. For more information about availability sets, see [Manage the availability of virtual
+// AvailabilitySet specifies information about the availability set that the virtual machine should be
+// assigned to. Virtual machines specified in the same availability set are allocated to different nodes to
+// maximize availability. For more information about availability sets, see [Manage the availability of
+// virtual
// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
-//
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in
+//
For more information on Azure planned maintenance, see [Planned maintenance for virtual
+// machines in
// Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
-//
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be
-// added to an availability set.
+//
Currently, a VM can only be added to availability set at creation time. An existing VM cannot
+// be added to an availability set.
type AvailabilitySet struct {
autorest.Response `json:"-"`
*AvailabilitySetProperties `json:"properties,omitempty"`
@@ -384,8 +387,11 @@ func (page AvailabilitySetListResultPage) Values() []AvailabilitySet {
}
// Creates a new instance of the AvailabilitySetListResultPage type.
-func NewAvailabilitySetListResultPage(getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage {
- return AvailabilitySetListResultPage{fn: getNextPage}
+func NewAvailabilitySetListResultPage(cur AvailabilitySetListResult, getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage {
+ return AvailabilitySetListResultPage{
+ fn: getNextPage,
+ aslr: cur,
+ }
}
// AvailabilitySetProperties the instance view of a resource.
@@ -420,8 +426,8 @@ func (asp AvailabilitySetProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AvailabilitySetUpdate specifies information about the availability set that the virtual machine should be
-// assigned to. Only tags may be updated.
+// AvailabilitySetUpdate specifies information about the availability set that the virtual machine should
+// be assigned to. Only tags may be updated.
type AvailabilitySetUpdate struct {
*AvailabilitySetProperties `json:"properties,omitempty"`
// Sku - Sku of the availability set
@@ -816,8 +822,11 @@ func (page ContainerServiceListResultPage) Values() []ContainerService {
}
// Creates a new instance of the ContainerServiceListResultPage type.
-func NewContainerServiceListResultPage(getNextPage func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error)) ContainerServiceListResultPage {
- return ContainerServiceListResultPage{fn: getNextPage}
+func NewContainerServiceListResultPage(cur ContainerServiceListResult, getNextPage func(context.Context, ContainerServiceListResult) (ContainerServiceListResult, error)) ContainerServiceListResultPage {
+ return ContainerServiceListResultPage{
+ fn: getNextPage,
+ cslr: cur,
+ }
}
// ContainerServiceMasterProfile profile for the container service master.
@@ -952,8 +961,8 @@ func (future *ContainerServicesDeleteFuture) Result(client ContainerServicesClie
return
}
-// ContainerServiceServicePrincipalProfile information about a service principal identity for the cluster to
-// use for manipulating Azure APIs.
+// ContainerServiceServicePrincipalProfile information about a service principal identity for the cluster
+// to use for manipulating Azure APIs.
type ContainerServiceServicePrincipalProfile struct {
// ClientID - The ID for the service principal.
ClientID *string `json:"clientId,omitempty"`
@@ -1040,7 +1049,8 @@ type DataDiskImage struct {
Lun *int32 `json:"lun,omitempty"`
}
-// DiagnosticsProfile specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
+// DiagnosticsProfile specifies the boot diagnostic settings state.
Minimum api-version:
+// 2015-06-15.
type DiagnosticsProfile struct {
// BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
@@ -1369,8 +1379,11 @@ func (page DiskListPage) Values() []Disk {
}
// Creates a new instance of the DiskListPage type.
-func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
- return DiskListPage{fn: getNextPage}
+func NewDiskListPage(cur DiskList, getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
+ return DiskListPage{
+ fn: getNextPage,
+ dl: cur,
+ }
}
// DiskProperties disk resource properties.
@@ -1468,7 +1481,8 @@ func (future *DisksDeleteFuture) Result(client DisksClient) (ar autorest.Respons
return
}
-// DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type DisksGrantAccessFuture struct {
azure.Future
}
@@ -1682,7 +1696,8 @@ func (future *GalleriesCreateOrUpdateFuture) Result(client GalleriesClient) (g G
return
}
-// GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type GalleriesDeleteFuture struct {
azure.Future
}
@@ -2102,8 +2117,11 @@ func (page GalleryImageListPage) Values() []GalleryImage {
}
// Creates a new instance of the GalleryImageListPage type.
-func NewGalleryImageListPage(getNextPage func(context.Context, GalleryImageList) (GalleryImageList, error)) GalleryImageListPage {
- return GalleryImageListPage{fn: getNextPage}
+func NewGalleryImageListPage(cur GalleryImageList, getNextPage func(context.Context, GalleryImageList) (GalleryImageList, error)) GalleryImageListPage {
+ return GalleryImageListPage{
+ fn: getNextPage,
+ gil: cur,
+ }
}
// GalleryImageProperties describes the properties of a gallery Image Definition.
@@ -2169,8 +2187,8 @@ func (gip GalleryImageProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// GalleryImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// GalleryImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type GalleryImagesCreateOrUpdateFuture struct {
azure.Future
}
@@ -2221,7 +2239,8 @@ func (future *GalleryImagesDeleteFuture) Result(client GalleryImagesClient) (ar
return
}
-// GalleryImageVersion specifies information about the gallery Image Version that you want to create or update.
+// GalleryImageVersion specifies information about the gallery Image Version that you want to create or
+// update.
type GalleryImageVersion struct {
autorest.Response `json:"-"`
*GalleryImageVersionProperties `json:"properties,omitempty"`
@@ -2473,8 +2492,11 @@ func (page GalleryImageVersionListPage) Values() []GalleryImageVersion {
}
// Creates a new instance of the GalleryImageVersionListPage type.
-func NewGalleryImageVersionListPage(getNextPage func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)) GalleryImageVersionListPage {
- return GalleryImageVersionListPage{fn: getNextPage}
+func NewGalleryImageVersionListPage(cur GalleryImageVersionList, getNextPage func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)) GalleryImageVersionListPage {
+ return GalleryImageVersionListPage{
+ fn: getNextPage,
+ givl: cur,
+ }
}
// GalleryImageVersionProperties describes the properties of a gallery Image Version.
@@ -2562,8 +2584,8 @@ func (future *GalleryImageVersionsCreateOrUpdateFuture) Result(client GalleryIma
return
}
-// GalleryImageVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// GalleryImageVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type GalleryImageVersionsDeleteFuture struct {
azure.Future
}
@@ -2745,8 +2767,11 @@ func (page GalleryListPage) Values() []Gallery {
}
// Creates a new instance of the GalleryListPage type.
-func NewGalleryListPage(getNextPage func(context.Context, GalleryList) (GalleryList, error)) GalleryListPage {
- return GalleryListPage{fn: getNextPage}
+func NewGalleryListPage(cur GalleryList, getNextPage func(context.Context, GalleryList) (GalleryList, error)) GalleryListPage {
+ return GalleryListPage{
+ fn: getNextPage,
+ gl: cur,
+ }
}
// GalleryOSDiskImage this is the OS disk image.
@@ -2792,8 +2817,9 @@ type HardwareProfile struct {
VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
}
-// Image the source user image virtual hard disk. The virtual hard disk will be copied before being attached to
-// the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
+// Image the source user image virtual hard disk. The virtual hard disk will be copied before being
+// attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
+// exist.
type Image struct {
autorest.Response `json:"-"`
*ImageProperties `json:"properties,omitempty"`
@@ -3071,8 +3097,11 @@ func (page ImageListResultPage) Values() []Image {
}
// Creates a new instance of the ImageListResultPage type.
-func NewImageListResultPage(getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage {
- return ImageListResultPage{fn: getNextPage}
+func NewImageListResultPage(cur ImageListResult, getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage {
+ return ImageListResultPage{
+ fn: getNextPage,
+ ilr: cur,
+ }
}
// ImageOSDisk describes an Operating System disk.
@@ -3117,7 +3146,8 @@ func (IP ImageProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// ImagePurchasePlan describes the gallery Image Definition purchase plan. This is used by marketplace images.
+// ImagePurchasePlan describes the gallery Image Definition purchase plan. This is used by marketplace
+// images.
type ImagePurchasePlan struct {
// Name - The plan ID.
Name *string `json:"name,omitempty"`
@@ -3129,8 +3159,8 @@ type ImagePurchasePlan struct {
// ImageReference specifies information about the image to use. You can specify information about platform
// images, marketplace images, or virtual machine images. This element is required when you want to use a
-// platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
-// NOTE: Image reference publisher and offer can only be set when you create the scale set.
+// platform image, marketplace image, or virtual machine image, but is not used in other creation
+// operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.
type ImageReference struct {
// Publisher - The image publisher.
Publisher *string `json:"publisher,omitempty"`
@@ -3307,8 +3337,8 @@ type InstanceViewStatus struct {
Time *date.Time `json:"time,omitempty"`
}
-// KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to
-// unwrap the encryptionKey
+// KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used
+// to unwrap the encryptionKey
type KeyVaultAndKeyReference struct {
// SourceVault - Resource id of the KeyVault containing the key or secret
SourceVault *SourceVault `json:"sourceVault,omitempty"`
@@ -3340,8 +3370,8 @@ type KeyVaultSecretReference struct {
SourceVault *SubResource `json:"sourceVault,omitempty"`
}
-// LinuxConfiguration specifies the Linux operating system settings on the virtual machine.
For a list
-// of supported Linux distributions, see [Linux on Azure-Endorsed
+// LinuxConfiguration specifies the Linux operating system settings on the virtual machine.
For a
+// list of supported Linux distributions, see [Linux on Azure-Endorsed
// Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
//
For running non-endorsed distributions, see [Information for Non-Endorsed
// Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
@@ -3506,8 +3536,11 @@ func (page ListUsagesResultPage) Values() []Usage {
}
// Creates a new instance of the ListUsagesResultPage type.
-func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
- return ListUsagesResultPage{fn: getNextPage}
+func NewListUsagesResultPage(cur ListUsagesResult, getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
+ return ListUsagesResultPage{
+ fn: getNextPage,
+ lur: cur,
+ }
}
// ListVirtualMachineExtensionImage ...
@@ -3522,8 +3555,8 @@ type ListVirtualMachineImageResource struct {
Value *[]VirtualMachineImageResource `json:"value,omitempty"`
}
-// LogAnalyticsExportRequestRateByIntervalFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// LogAnalyticsExportRequestRateByIntervalFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type LogAnalyticsExportRequestRateByIntervalFuture struct {
azure.Future
}
@@ -3784,8 +3817,8 @@ type OperationValueDisplay struct {
Provider *string `json:"provider,omitempty"`
}
-// OSDisk specifies information about the operating system disk used by the virtual machine.
For more
-// information about disks, see [About disks and VHDs for Azure virtual
+// OSDisk specifies information about the operating system disk used by the virtual machine.
For
+// more information about disks, see [About disks and VHDs for Azure virtual
// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
type OSDisk struct {
// OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**. Possible values include: 'Windows', 'Linux'
@@ -3838,11 +3871,11 @@ type OSProfile struct {
AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"`
}
-// Plan specifies information about the marketplace image used to create the virtual machine. This element is
-// only used for marketplace images. Before you can use a marketplace image from an API, you must enable the
-// image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then
-// click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click
-// **Save**.
+// Plan specifies information about the marketplace image used to create the virtual machine. This element
+// is only used for marketplace images. Before you can use a marketplace image from an API, you must enable
+// the image for programmatic use. In the Azure portal, find the marketplace image that you want to use
+// and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and
+// then click **Save**.
type Plan struct {
// Name - The plan ID.
Name *string `json:"name,omitempty"`
@@ -3964,8 +3997,8 @@ type ProximityPlacementGroupListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// ProximityPlacementGroupListResultIterator provides access to a complete listing of ProximityPlacementGroup
-// values.
+// ProximityPlacementGroupListResultIterator provides access to a complete listing of
+// ProximityPlacementGroup values.
type ProximityPlacementGroupListResultIterator struct {
i int
page ProximityPlacementGroupListResultPage
@@ -4108,8 +4141,11 @@ func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementG
}
// Creates a new instance of the ProximityPlacementGroupListResultPage type.
-func NewProximityPlacementGroupListResultPage(getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage {
- return ProximityPlacementGroupListResultPage{fn: getNextPage}
+func NewProximityPlacementGroupListResultPage(cur ProximityPlacementGroupListResult, getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage {
+ return ProximityPlacementGroupListResultPage{
+ fn: getNextPage,
+ ppglr: cur,
+ }
}
// ProximityPlacementGroupProperties describes the properties of a Proximity Placement Group.
@@ -4158,8 +4194,8 @@ type PurchasePlan struct {
Product *string `json:"product,omitempty"`
}
-// RecommendedMachineConfiguration the properties describe the recommended machine configuration for this Image
-// Definition. These properties are updatable.
+// RecommendedMachineConfiguration the properties describe the recommended machine configuration for this
+// Image Definition. These properties are updatable.
type RecommendedMachineConfiguration struct {
VCPUs *ResourceRange `json:"vCPUs,omitempty"`
Memory *ResourceRange `json:"memory,omitempty"`
@@ -4486,8 +4522,11 @@ func (page ResourceSkusResultPage) Values() []ResourceSku {
}
// Creates a new instance of the ResourceSkusResultPage type.
-func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage {
- return ResourceSkusResultPage{fn: getNextPage}
+func NewResourceSkusResultPage(cur ResourceSkusResult, getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage {
+ return ResourceSkusResultPage{
+ fn: getNextPage,
+ rsr: cur,
+ }
}
// RollbackStatusInfo information about rollback on failed VM instances after a OS Upgrade operation.
@@ -4512,7 +4551,8 @@ type RollingUpgradePolicy struct {
PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"`
}
-// RollingUpgradeProgressInfo information about the number of virtual machine instances in each upgrade state.
+// RollingUpgradeProgressInfo information about the number of virtual machine instances in each upgrade
+// state.
type RollingUpgradeProgressInfo struct {
// SuccessfulInstanceCount - READ-ONLY; The number of instances that have been successfully upgraded.
SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"`
@@ -4851,8 +4891,11 @@ func (page RunCommandListResultPage) Values() []RunCommandDocumentBase {
}
// Creates a new instance of the RunCommandListResultPage type.
-func NewRunCommandListResultPage(getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage {
- return RunCommandListResultPage{fn: getNextPage}
+func NewRunCommandListResultPage(cur RunCommandListResult, getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage {
+ return RunCommandListResultPage{
+ fn: getNextPage,
+ rclr: cur,
+ }
}
// RunCommandParameterDefinition describes the properties of a run command parameter.
@@ -4874,8 +4917,9 @@ type RunCommandResult struct {
Value *[]InstanceViewStatus `json:"value,omitempty"`
}
-// Sku describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the
-// scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
+// Sku describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware
+// the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU
+// name.
type Sku struct {
// Name - The sku name.
Name *string `json:"name,omitempty"`
@@ -5161,8 +5205,11 @@ func (page SnapshotListPage) Values() []Snapshot {
}
// Creates a new instance of the SnapshotListPage type.
-func NewSnapshotListPage(getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage {
- return SnapshotListPage{fn: getNextPage}
+func NewSnapshotListPage(cur SnapshotList, getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage {
+ return SnapshotListPage{
+ fn: getNextPage,
+ sl: cur,
+ }
}
// SnapshotProperties snapshot resource properties.
@@ -5228,7 +5275,8 @@ func (future *SnapshotsCreateOrUpdateFuture) Result(client SnapshotsClient) (s S
return
}
-// SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type SnapshotsDeleteFuture struct {
azure.Future
}
@@ -5319,7 +5367,8 @@ func (future *SnapshotsRevokeAccessFuture) Result(client SnapshotsClient) (ar au
return
}
-// SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type SnapshotsUpdateFuture struct {
azure.Future
}
@@ -5435,8 +5484,8 @@ type SSHConfiguration struct {
PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"`
}
-// SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where the
-// public key is placed.
+// SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where
+// the public key is placed.
type SSHPublicKey struct {
// Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
Path *string `json:"path,omitempty"`
@@ -5515,7 +5564,8 @@ type UpgradeOperationHistoricalStatusInfo struct {
Location *string `json:"location,omitempty"`
}
-// UpgradeOperationHistoricalStatusInfoProperties describes each OS upgrade on the Virtual Machine Scale Set.
+// UpgradeOperationHistoricalStatusInfoProperties describes each OS upgrade on the Virtual Machine Scale
+// Set.
type UpgradeOperationHistoricalStatusInfoProperties struct {
// RunningStatus - READ-ONLY; Information about the overall status of the upgrade operation.
RunningStatus *UpgradeOperationHistoryStatus `json:"runningStatus,omitempty"`
@@ -5571,8 +5621,8 @@ type UsageName struct {
LocalizedValue *string `json:"localizedValue,omitempty"`
}
-// VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should
-// reside on the VM.
+// VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate
+// should reside on the VM.
type VaultCertificate struct {
// CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
"data":"",
"dataType":"pfx",
"password":""
}
CertificateURL *string `json:"certificateUrl,omitempty"`
@@ -6081,8 +6131,8 @@ func (vmep VirtualMachineExtensionProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualMachineExtensionsCreateOrUpdateFuture struct {
azure.Future
}
@@ -6591,8 +6641,11 @@ func (page VirtualMachineListResultPage) Values() []VirtualMachine {
}
// Creates a new instance of the VirtualMachineListResultPage type.
-func NewVirtualMachineListResultPage(getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage {
- return VirtualMachineListResultPage{fn: getNextPage}
+func NewVirtualMachineListResultPage(cur VirtualMachineListResult, getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage {
+ return VirtualMachineListResultPage{
+ fn: getNextPage,
+ vmlr: cur,
+ }
}
// VirtualMachineProperties describes the properties of a Virtual Machine.
@@ -6656,8 +6709,8 @@ func (vmp VirtualMachineProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualMachineReimageParameters parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will
-// always be reimaged
+// VirtualMachineReimageParameters parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
+// will always be reimaged
type VirtualMachineReimageParameters struct {
// TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
TempDisk *bool `json:"tempDisk,omitempty"`
@@ -7054,8 +7107,11 @@ func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMach
}
// Creates a new instance of the VirtualMachineScaleSetExtensionListResultPage type.
-func NewVirtualMachineScaleSetExtensionListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage {
- return VirtualMachineScaleSetExtensionListResultPage{fn: getNextPage}
+func NewVirtualMachineScaleSetExtensionListResultPage(cur VirtualMachineScaleSetExtensionListResult, getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage {
+ return VirtualMachineScaleSetExtensionListResultPage{
+ fn: getNextPage,
+ vmsselr: cur,
+ }
}
// VirtualMachineScaleSetExtensionProfile describes a virtual machine scale set extension profile.
@@ -7064,7 +7120,8 @@ type VirtualMachineScaleSetExtensionProfile struct {
Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
}
-// VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set Extension.
+// VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set
+// Extension.
type VirtualMachineScaleSetExtensionProperties struct {
// ForceUpdateTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
@@ -7145,8 +7202,8 @@ func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) Result(clien
return
}
-// VirtualMachineScaleSetExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualMachineScaleSetExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualMachineScaleSetExtensionsDeleteFuture struct {
azure.Future
}
@@ -7220,8 +7277,8 @@ func (vmssiv VirtualMachineScaleSetInstanceView) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of a
-// virtual machine scale set.
+// VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of
+// a virtual machine scale set.
type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
// StatusesSummary - READ-ONLY; The extensions information.
StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
@@ -7294,8 +7351,8 @@ func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte)
return nil
}
-// VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's IP
-// configuration properties.
+// VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's
+// IP configuration properties.
type VirtualMachineScaleSetIPConfigurationProperties struct {
// Subnet - Specifies the identifier of the subnet.
Subnet *APIEntityReference `json:"subnet,omitempty"`
@@ -7323,8 +7380,8 @@ type VirtualMachineScaleSetIPTag struct {
Tag *string `json:"tag,omitempty"`
}
-// VirtualMachineScaleSetListOSUpgradeHistory list of Virtual Machine Scale Set OS Upgrade History operation
-// response.
+// VirtualMachineScaleSetListOSUpgradeHistory list of Virtual Machine Scale Set OS Upgrade History
+// operation response.
type VirtualMachineScaleSetListOSUpgradeHistory struct {
autorest.Response `json:"-"`
// Value - The list of OS upgrades performed on the virtual machine scale set.
@@ -7478,8 +7535,11 @@ func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOpe
}
// Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryPage type.
-func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage {
- return VirtualMachineScaleSetListOSUpgradeHistoryPage{fn: getNextPage}
+func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(cur VirtualMachineScaleSetListOSUpgradeHistory, getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage {
+ return VirtualMachineScaleSetListOSUpgradeHistoryPage{
+ fn: getNextPage,
+ vmsslouh: cur,
+ }
}
// VirtualMachineScaleSetListResult the List Virtual Machine operation response.
@@ -7635,8 +7695,11 @@ func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleS
}
// Creates a new instance of the VirtualMachineScaleSetListResultPage type.
-func NewVirtualMachineScaleSetListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage {
- return VirtualMachineScaleSetListResultPage{fn: getNextPage}
+func NewVirtualMachineScaleSetListResultPage(cur VirtualMachineScaleSetListResult, getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage {
+ return VirtualMachineScaleSetListResultPage{
+ fn: getNextPage,
+ vmsslr: cur,
+ }
}
// VirtualMachineScaleSetListSkusResult the Virtual Machine Scale Set List Skus operation response.
@@ -7792,8 +7855,11 @@ func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineSc
}
// Creates a new instance of the VirtualMachineScaleSetListSkusResultPage type.
-func NewVirtualMachineScaleSetListSkusResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage {
- return VirtualMachineScaleSetListSkusResultPage{fn: getNextPage}
+func NewVirtualMachineScaleSetListSkusResultPage(cur VirtualMachineScaleSetListSkusResult, getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage {
+ return VirtualMachineScaleSetListSkusResultPage{
+ fn: getNextPage,
+ vmsslsr: cur,
+ }
}
// VirtualMachineScaleSetListWithLinkResult the List Virtual Machine operation response.
@@ -7949,8 +8015,11 @@ func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachi
}
// Creates a new instance of the VirtualMachineScaleSetListWithLinkResultPage type.
-func NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage {
- return VirtualMachineScaleSetListWithLinkResultPage{fn: getNextPage}
+func NewVirtualMachineScaleSetListWithLinkResultPage(cur VirtualMachineScaleSetListWithLinkResult, getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage {
+ return VirtualMachineScaleSetListWithLinkResultPage{
+ fn: getNextPage,
+ vmsslwlr: cur,
+ }
}
// VirtualMachineScaleSetManagedDiskParameters describes the parameters of a ScaleSet managed disk.
@@ -7959,8 +8028,8 @@ type VirtualMachineScaleSetManagedDiskParameters struct {
StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
}
-// VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's network
-// configurations.
+// VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's
+// network configurations.
type VirtualMachineScaleSetNetworkConfiguration struct {
// Name - The network configuration name.
Name *string `json:"name,omitempty"`
@@ -8033,8 +8102,8 @@ type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct {
DNSServers *[]string `json:"dnsServers,omitempty"`
}
-// VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network profile's
-// IP configuration.
+// VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network
+// profile's IP configuration.
type VirtualMachineScaleSetNetworkConfigurationProperties struct {
// Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
Primary *bool `json:"primary,omitempty"`
@@ -8159,8 +8228,8 @@ func (vmssp VirtualMachineScaleSetProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's
-// PublicIPAddress configuration
+// VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP
+// Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetPublicIPAddressConfiguration struct {
// Name - The publicIP address configuration name.
Name *string `json:"name,omitempty"`
@@ -8240,8 +8309,8 @@ type VirtualMachineScaleSetReimageParameters struct {
TempDisk *bool `json:"tempDisk,omitempty"`
}
-// VirtualMachineScaleSetRollingUpgradesCancelFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// VirtualMachineScaleSetRollingUpgradesCancelFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualMachineScaleSetRollingUpgradesCancelFuture struct {
azure.Future
}
@@ -8286,8 +8355,8 @@ func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture)
return
}
-// VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture an abstraction for monitoring and retrieving the
-// results of a long-running operation.
+// VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture an abstraction for monitoring and retrieving
+// the results of a long-running operation.
type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture struct {
azure.Future
}
@@ -8309,8 +8378,8 @@ func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) Result(
return
}
-// VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualMachineScaleSetsCreateOrUpdateFuture struct {
azure.Future
}
@@ -8384,8 +8453,8 @@ func (future *VirtualMachineScaleSetsDeleteFuture) Result(client VirtualMachineS
return
}
-// VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualMachineScaleSetsDeleteInstancesFuture struct {
azure.Future
}
@@ -8429,8 +8498,8 @@ type VirtualMachineScaleSetSkuCapacity struct {
ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"`
}
-// VirtualMachineScaleSetsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// VirtualMachineScaleSetsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type VirtualMachineScaleSetsPerformMaintenanceFuture struct {
azure.Future
}
@@ -8629,8 +8698,8 @@ func (future *VirtualMachineScaleSetsUpdateFuture) Result(client VirtualMachineS
return
}
-// VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualMachineScaleSetsUpdateInstancesFuture struct {
azure.Future
}
@@ -8902,8 +8971,9 @@ func (vmssunc *VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON(b
return nil
}
-// VirtualMachineScaleSetUpdateNetworkConfigurationProperties describes a virtual machine scale set updatable
-// network profile's IP configuration.Use this object for updating network profile's IP Configuration.
+// VirtualMachineScaleSetUpdateNetworkConfigurationProperties describes a virtual machine scale set
+// updatable network profile's IP configuration.Use this object for updating network profile's IP
+// Configuration.
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct {
// Primary - Whether this is a primary NIC on a virtual machine.
Primary *bool `json:"primary,omitempty"`
@@ -8925,8 +8995,8 @@ type VirtualMachineScaleSetUpdateNetworkProfile struct {
NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}
-// VirtualMachineScaleSetUpdateOSDisk describes virtual machine scale set operating system disk Update Object.
-// This should be used for Updating VMSS OS Disk.
+// VirtualMachineScaleSetUpdateOSDisk describes virtual machine scale set operating system disk Update
+// Object. This should be used for Updating VMSS OS Disk.
type VirtualMachineScaleSetUpdateOSDisk struct {
// Caching - The caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
Caching CachingTypes `json:"caching,omitempty"`
@@ -9025,8 +9095,8 @@ func (vmssupiac *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) Unmar
return nil
}
-// VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties describes a virtual machines scale set IP
-// Configuration's PublicIPAddress configuration
+// VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties describes a virtual machines scale
+// set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct {
// IdleTimeoutInMinutes - The idle timeout of the public IP address.
IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
@@ -9218,8 +9288,8 @@ func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error {
return nil
}
-// VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine scale
-// set.
+// VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine
+// scale set.
type VirtualMachineScaleSetVMExtensionsSummary struct {
// Name - READ-ONLY; The extension name.
Name *string `json:"name,omitempty"`
@@ -9227,7 +9297,8 @@ type VirtualMachineScaleSetVMExtensionsSummary struct {
StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}
-// VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale set.
+// VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale
+// set.
type VirtualMachineScaleSetVMInstanceIDs struct {
// InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.
InstanceIds *[]string `json:"instanceIds,omitempty"`
@@ -9312,8 +9383,8 @@ type VirtualMachineScaleSetVMListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of VirtualMachineScaleSetVM
-// values.
+// VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of
+// VirtualMachineScaleSetVM values.
type VirtualMachineScaleSetVMListResultIterator struct {
i int
page VirtualMachineScaleSetVMListResultPage
@@ -9456,8 +9527,11 @@ func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScal
}
// Creates a new instance of the VirtualMachineScaleSetVMListResultPage type.
-func NewVirtualMachineScaleSetVMListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage {
- return VirtualMachineScaleSetVMListResultPage{fn: getNextPage}
+func NewVirtualMachineScaleSetVMListResultPage(cur VirtualMachineScaleSetVMListResult, getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage {
+ return VirtualMachineScaleSetVMListResultPage{
+ fn: getNextPage,
+ vmssvlr: cur,
+ }
}
// VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.
@@ -9482,7 +9556,8 @@ type VirtualMachineScaleSetVMProfile struct {
EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"`
}
-// VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual machine.
+// VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual
+// machine.
type VirtualMachineScaleSetVMProperties struct {
// LatestModelApplied - READ-ONLY; Specifies whether the latest model has been applied to the virtual machine.
LatestModelApplied *bool `json:"latestModelApplied,omitempty"`
@@ -9592,8 +9667,8 @@ func (future *VirtualMachineScaleSetVMsDeleteFuture) Result(client VirtualMachin
return
}
-// VirtualMachineScaleSetVMsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// VirtualMachineScaleSetVMsPerformMaintenanceFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualMachineScaleSetVMsPerformMaintenanceFuture struct {
azure.Future
}
@@ -9892,8 +9967,8 @@ func (future *VirtualMachinesCreateOrUpdateFuture) Result(client VirtualMachines
return
}
-// VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualMachinesDeallocateFuture struct {
azure.Future
}
@@ -10076,8 +10151,8 @@ func (future *VirtualMachinesRestartFuture) Result(client VirtualMachinesClient)
return
}
-// VirtualMachinesRunCommandFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualMachinesRunCommandFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualMachinesRunCommandFuture struct {
azure.Future
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/operations.go
index 12d1ed0b16..ecd3c13f4f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/operations.go
@@ -69,6 +69,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationsClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
index 2396bda59b..8cf0a675e9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/proximityplacementgroups.go
@@ -74,6 +74,7 @@ func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context,
result, err = client.CreateOrUpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "CreateOrUpdate", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourc
result, err = client.DeleteResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Delete", resp, "Failure responding to request")
+ return
}
return
@@ -225,6 +227,7 @@ func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGr
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -300,6 +303,7 @@ func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Con
result.ppglr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.ppglr.hasNextLink() && result.ppglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -363,6 +367,7 @@ func (client ProximityPlacementGroupsClient) listByResourceGroupNextResults(ctx
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -412,6 +417,7 @@ func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Cont
result.ppglr, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "ListBySubscription", resp, "Failure responding to request")
+ return
}
if result.ppglr.hasNextLink() && result.ppglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +480,7 @@ func (client ProximityPlacementGroupsClient) listBySubscriptionNextResults(ctx c
result, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -526,6 +533,7 @@ func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourc
result, err = client.UpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ProximityPlacementGroupsClient", "Update", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/resourceskus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/resourceskus.go
index 61027f6ccd..5194809c5d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/resourceskus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/resourceskus.go
@@ -70,6 +70,7 @@ func (client ResourceSkusClient) List(ctx context.Context) (result ResourceSkusR
result.rsr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "List", resp, "Failure responding to request")
+ return
}
if result.rsr.hasNextLink() && result.rsr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -132,6 +133,7 @@ func (client ResourceSkusClient) listNextResults(ctx context.Context, lastResult
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.ResourceSkusClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/snapshots.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/snapshots.go
index c11e93745b..5a71addb77 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/snapshots.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/snapshots.go
@@ -250,6 +250,7 @@ func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -408,6 +409,7 @@ func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage
result.sl, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "List", resp, "Failure responding to request")
+ return
}
if result.sl.hasNextLink() && result.sl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -470,6 +472,7 @@ func (client SnapshotsClient) listNextResults(ctx context.Context, lastResults S
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -521,6 +524,7 @@ func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceG
result.sl, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.sl.hasNextLink() && result.sl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -584,6 +588,7 @@ func (client SnapshotsClient) listByResourceGroupNextResults(ctx context.Context
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.SnapshotsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/usage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/usage.go
index 2658d2e0dc..33ac90ac1a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/usage.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/usage.go
@@ -80,6 +80,7 @@ func (client UsageClient) List(ctx context.Context, location string) (result Lis
result.lur, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.UsageClient", "List", resp, "Failure responding to request")
+ return
}
if result.lur.hasNextLink() && result.lur.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -143,6 +144,7 @@ func (client UsageClient) listNextResults(ctx context.Context, lastResults ListU
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.UsageClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
index d1e24cac24..f0f0d07760 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensionimages.go
@@ -72,6 +72,7 @@ func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, locat
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -148,6 +149,7 @@ func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context,
result, err = client.ListTypesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListTypes", resp, "Failure responding to request")
+ return
}
return
@@ -223,6 +225,7 @@ func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Conte
result, err = client.ListVersionsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionImagesClient", "ListVersions", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
index 58814d0c3b..ec9497cb80 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineextensions.go
@@ -231,6 +231,7 @@ func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGr
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -311,6 +312,7 @@ func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceG
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineExtensionsClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
index 07a28904a2..6e027eb368 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineimages.go
@@ -76,6 +76,7 @@ func (client VirtualMachineImagesClient) Get(ctx context.Context, location strin
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -157,6 +158,7 @@ func (client VirtualMachineImagesClient) List(ctx context.Context, location stri
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "List", resp, "Failure responding to request")
+ return
}
return
@@ -243,6 +245,7 @@ func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, locatio
result, err = client.ListOffersResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListOffers", resp, "Failure responding to request")
+ return
}
return
@@ -317,6 +320,7 @@ func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, loc
result, err = client.ListPublishersResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListPublishers", resp, "Failure responding to request")
+ return
}
return
@@ -392,6 +396,7 @@ func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location
result, err = client.ListSkusResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineImagesClient", "ListSkus", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
index f919701d77..e7a36595b9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachineruncommands.go
@@ -80,6 +80,7 @@ func (client VirtualMachineRunCommandsClient) Get(ctx context.Context, location
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -161,6 +162,7 @@ func (client VirtualMachineRunCommandsClient) List(ctx context.Context, location
result.rclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "List", resp, "Failure responding to request")
+ return
}
if result.rclr.hasNextLink() && result.rclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -224,6 +226,7 @@ func (client VirtualMachineRunCommandsClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineRunCommandsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
index 83be0841d6..906f573bd1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachines.go
@@ -484,6 +484,7 @@ func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGrou
result, err = client.GeneralizeResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Generalize", resp, "Failure responding to request")
+ return
}
return
@@ -559,6 +560,7 @@ func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName s
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -637,6 +639,7 @@ func (client VirtualMachinesClient) InstanceView(ctx context.Context, resourceGr
result, err = client.InstanceViewResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "InstanceView", resp, "Failure responding to request")
+ return
}
return
@@ -713,6 +716,7 @@ func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName
result.vmlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "List", resp, "Failure responding to request")
+ return
}
if result.vmlr.hasNextLink() && result.vmlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -776,6 +780,7 @@ func (client VirtualMachinesClient) listNextResults(ctx context.Context, lastRes
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -826,6 +831,7 @@ func (client VirtualMachinesClient) ListAll(ctx context.Context) (result Virtual
result.vmlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.vmlr.hasNextLink() && result.vmlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -888,6 +894,7 @@ func (client VirtualMachinesClient) listAllNextResults(ctx context.Context, last
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -939,6 +946,7 @@ func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, reso
result, err = client.ListAvailableSizesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListAvailableSizes", resp, "Failure responding to request")
+ return
}
return
@@ -1020,6 +1028,7 @@ func (client VirtualMachinesClient) ListByLocation(ctx context.Context, location
result.vmlr, err = client.ListByLocationResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ListByLocation", resp, "Failure responding to request")
+ return
}
if result.vmlr.hasNextLink() && result.vmlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -1083,6 +1092,7 @@ func (client VirtualMachinesClient) listByLocationNextResults(ctx context.Contex
result, err = client.ListByLocationResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "listByLocationNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
index 5e35c28659..8c70884d39 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetextensions.go
@@ -231,6 +231,7 @@ func (client VirtualMachineScaleSetExtensionsClient) Get(ctx context.Context, re
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -311,6 +312,7 @@ func (client VirtualMachineScaleSetExtensionsClient) List(ctx context.Context, r
result.vmsselr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "List", resp, "Failure responding to request")
+ return
}
if result.vmsselr.hasNextLink() && result.vmsselr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -375,6 +377,7 @@ func (client VirtualMachineScaleSetExtensionsClient) listNextResults(ctx context
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetExtensionsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
index d41790d19c..01de8c75c0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -148,6 +148,7 @@ func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.
result, err = client.GetLatestResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetRollingUpgradesClient", "GetLatest", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
index 8ce53cbffc..f7b5fd3bc7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go
@@ -415,6 +415,7 @@ func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUp
result, err = client.ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ForceRecoveryServiceFabricPlatformUpdateDomainWalk", resp, "Failure responding to request")
+ return
}
return
@@ -491,6 +492,7 @@ func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGro
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -566,6 +568,7 @@ func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context,
result, err = client.GetInstanceViewResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetInstanceView", resp, "Failure responding to request")
+ return
}
return
@@ -642,6 +645,7 @@ func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistory(ctx context.Cont
result.vmsslouh, err = client.GetOSUpgradeHistoryResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "GetOSUpgradeHistory", resp, "Failure responding to request")
+ return
}
if result.vmsslouh.hasNextLink() && result.vmsslouh.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -706,6 +710,7 @@ func (client VirtualMachineScaleSetsClient) getOSUpgradeHistoryNextResults(ctx c
result, err = client.GetOSUpgradeHistoryResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "getOSUpgradeHistoryNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -757,6 +762,7 @@ func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGr
result.vmsslr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "List", resp, "Failure responding to request")
+ return
}
if result.vmsslr.hasNextLink() && result.vmsslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -820,6 +826,7 @@ func (client VirtualMachineScaleSetsClient) listNextResults(ctx context.Context,
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -871,6 +878,7 @@ func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result
result.vmsslwlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.vmsslwlr.hasNextLink() && result.vmsslwlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -933,6 +941,7 @@ func (client VirtualMachineScaleSetsClient) listAllNextResults(ctx context.Conte
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -986,6 +995,7 @@ func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resour
result.vmsslsr, err = client.ListSkusResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ListSkus", resp, "Failure responding to request")
+ return
}
if result.vmsslsr.hasNextLink() && result.vmsslsr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -1050,6 +1060,7 @@ func (client VirtualMachineScaleSetsClient) listSkusNextResults(ctx context.Cont
result, err = client.ListSkusResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "listSkusNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
index 05f327f730..81c38c58bd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesetvms.go
@@ -229,6 +229,7 @@ func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceG
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -306,6 +307,7 @@ func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Contex
result, err = client.GetInstanceViewResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "GetInstanceView", resp, "Failure responding to request")
+ return
}
return
@@ -387,6 +389,7 @@ func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resource
result.vmssvlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "List", resp, "Failure responding to request")
+ return
}
if result.vmssvlr.hasNextLink() && result.vmssvlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -460,6 +463,7 @@ func (client VirtualMachineScaleSetVMsClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
index cc5424e324..c06436e05e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinesizes.go
@@ -80,6 +80,7 @@ func (client VirtualMachineSizesClient) List(ctx context.Context, location strin
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.VirtualMachineSizesClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/CHANGELOG.md
new file mode 100644
index 0000000000..0c66d356b7
--- /dev/null
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/CHANGELOG.md
@@ -0,0 +1,67 @@
+Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82
+
+Code generator @microsoft.azure/autorest.go@~2.1.161
+
+## Breaking Changes
+
+- Function `NewAvailableDelegationsResultPage` parameter(s) have been changed from `(func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error))` to `(AvailableDelegationsResult, func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error))`
+- Function `NewExpressRoutePortsLocationListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRoutePortsLocationListResult) (ExpressRoutePortsLocationListResult, error))` to `(ExpressRoutePortsLocationListResult, func(context.Context, ExpressRoutePortsLocationListResult) (ExpressRoutePortsLocationListResult, error))`
+- Function `NewExpressRouteCircuitPeeringListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error))` to `(ExpressRouteCircuitPeeringListResult, func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error))`
+- Function `NewLocalNetworkGatewayListResultPage` parameter(s) have been changed from `(func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error))` to `(LocalNetworkGatewayListResult, func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error))`
+- Function `NewSecurityGroupListResultPage` parameter(s) have been changed from `(func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error))` to `(SecurityGroupListResult, func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error))`
+- Function `NewDdosProtectionPlanListResultPage` parameter(s) have been changed from `(func(context.Context, DdosProtectionPlanListResult) (DdosProtectionPlanListResult, error))` to `(DdosProtectionPlanListResult, func(context.Context, DdosProtectionPlanListResult) (DdosProtectionPlanListResult, error))`
+- Function `NewSecurityRuleListResultPage` parameter(s) have been changed from `(func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error))` to `(SecurityRuleListResult, func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error))`
+- Function `NewInterfaceLoadBalancerListResultPage` parameter(s) have been changed from `(func(context.Context, InterfaceLoadBalancerListResult) (InterfaceLoadBalancerListResult, error))` to `(InterfaceLoadBalancerListResult, func(context.Context, InterfaceLoadBalancerListResult) (InterfaceLoadBalancerListResult, error))`
+- Function `NewExpressRouteCrossConnectionListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteCrossConnectionListResult) (ExpressRouteCrossConnectionListResult, error))` to `(ExpressRouteCrossConnectionListResult, func(context.Context, ExpressRouteCrossConnectionListResult) (ExpressRouteCrossConnectionListResult, error))`
+- Function `NewOperationListResultPage` parameter(s) have been changed from `(func(context.Context, OperationListResult) (OperationListResult, error))` to `(OperationListResult, func(context.Context, OperationListResult) (OperationListResult, error))`
+- Function `NewAuthorizationListResultPage` parameter(s) have been changed from `(func(context.Context, AuthorizationListResult) (AuthorizationListResult, error))` to `(AuthorizationListResult, func(context.Context, AuthorizationListResult) (AuthorizationListResult, error))`
+- Function `NewVirtualNetworkGatewayListConnectionsResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error))` to `(VirtualNetworkGatewayListConnectionsResult, func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error))`
+- Function `NewVirtualNetworkListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error))` to `(VirtualNetworkListResult, func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error))`
+- Function `NewRouteFilterListResultPage` parameter(s) have been changed from `(func(context.Context, RouteFilterListResult) (RouteFilterListResult, error))` to `(RouteFilterListResult, func(context.Context, RouteFilterListResult) (RouteFilterListResult, error))`
+- Function `NewUsagesListResultPage` parameter(s) have been changed from `(func(context.Context, UsagesListResult) (UsagesListResult, error))` to `(UsagesListResult, func(context.Context, UsagesListResult) (UsagesListResult, error))`
+- Function `NewLoadBalancerLoadBalancingRuleListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerLoadBalancingRuleListResult) (LoadBalancerLoadBalancingRuleListResult, error))` to `(LoadBalancerLoadBalancingRuleListResult, func(context.Context, LoadBalancerLoadBalancingRuleListResult) (LoadBalancerLoadBalancingRuleListResult, error))`
+- Function `NewExpressRoutePortListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error))` to `(ExpressRoutePortListResult, func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error))`
+- Function `NewLoadBalancerFrontendIPConfigurationListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerFrontendIPConfigurationListResult) (LoadBalancerFrontendIPConfigurationListResult, error))` to `(LoadBalancerFrontendIPConfigurationListResult, func(context.Context, LoadBalancerFrontendIPConfigurationListResult) (LoadBalancerFrontendIPConfigurationListResult, error))`
+- Function `NewListVpnSitesResultPage` parameter(s) have been changed from `(func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error))` to `(ListVpnSitesResult, func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error))`
+- Function `NewServiceEndpointPolicyListResultPage` parameter(s) have been changed from `(func(context.Context, ServiceEndpointPolicyListResult) (ServiceEndpointPolicyListResult, error))` to `(ServiceEndpointPolicyListResult, func(context.Context, ServiceEndpointPolicyListResult) (ServiceEndpointPolicyListResult, error))`
+- Function `NewExpressRouteServiceProviderListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error))` to `(ExpressRouteServiceProviderListResult, func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error))`
+- Function `NewListVpnGatewaysResultPage` parameter(s) have been changed from `(func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error))` to `(ListVpnGatewaysResult, func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error))`
+- Function `NewApplicationSecurityGroupListResultPage` parameter(s) have been changed from `(func(context.Context, ApplicationSecurityGroupListResult) (ApplicationSecurityGroupListResult, error))` to `(ApplicationSecurityGroupListResult, func(context.Context, ApplicationSecurityGroupListResult) (ApplicationSecurityGroupListResult, error))`
+- Function `NewInterfaceTapConfigurationListResultPage` parameter(s) have been changed from `(func(context.Context, InterfaceTapConfigurationListResult) (InterfaceTapConfigurationListResult, error))` to `(InterfaceTapConfigurationListResult, func(context.Context, InterfaceTapConfigurationListResult) (InterfaceTapConfigurationListResult, error))`
+- Function `NewPublicIPPrefixListResultPage` parameter(s) have been changed from `(func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error))` to `(PublicIPPrefixListResult, func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error))`
+- Function `NewInterfaceIPConfigurationListResultPage` parameter(s) have been changed from `(func(context.Context, InterfaceIPConfigurationListResult) (InterfaceIPConfigurationListResult, error))` to `(InterfaceIPConfigurationListResult, func(context.Context, InterfaceIPConfigurationListResult) (InterfaceIPConfigurationListResult, error))`
+- Function `NewApplicationGatewayListResultPage` parameter(s) have been changed from `(func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error))` to `(ApplicationGatewayListResult, func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error))`
+- Function `NewLoadBalancerProbeListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error))` to `(LoadBalancerProbeListResult, func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error))`
+- Function `NewVirtualNetworkPeeringListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkPeeringListResult) (VirtualNetworkPeeringListResult, error))` to `(VirtualNetworkPeeringListResult, func(context.Context, VirtualNetworkPeeringListResult) (VirtualNetworkPeeringListResult, error))`
+- Function `NewRouteFilterRuleListResultPage` parameter(s) have been changed from `(func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error))` to `(RouteFilterRuleListResult, func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error))`
+- Function `NewInterfaceEndpointListResultPage` parameter(s) have been changed from `(func(context.Context, InterfaceEndpointListResult) (InterfaceEndpointListResult, error))` to `(InterfaceEndpointListResult, func(context.Context, InterfaceEndpointListResult) (InterfaceEndpointListResult, error))`
+- Function `NewExpressRouteCrossConnectionPeeringListPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteCrossConnectionPeeringList) (ExpressRouteCrossConnectionPeeringList, error))` to `(ExpressRouteCrossConnectionPeeringList, func(context.Context, ExpressRouteCrossConnectionPeeringList) (ExpressRouteCrossConnectionPeeringList, error))`
+- Function `NewPublicIPAddressListResultPage` parameter(s) have been changed from `(func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error))` to `(PublicIPAddressListResult, func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error))`
+- Function `NewListVpnConnectionsResultPage` parameter(s) have been changed from `(func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error))` to `(ListVpnConnectionsResult, func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error))`
+- Function `NewInboundNatRuleListResultPage` parameter(s) have been changed from `(func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error))` to `(InboundNatRuleListResult, func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error))`
+- Function `NewServiceEndpointPolicyDefinitionListResultPage` parameter(s) have been changed from `(func(context.Context, ServiceEndpointPolicyDefinitionListResult) (ServiceEndpointPolicyDefinitionListResult, error))` to `(ServiceEndpointPolicyDefinitionListResult, func(context.Context, ServiceEndpointPolicyDefinitionListResult) (ServiceEndpointPolicyDefinitionListResult, error))`
+- Function `NewRouteListResultPage` parameter(s) have been changed from `(func(context.Context, RouteListResult) (RouteListResult, error))` to `(RouteListResult, func(context.Context, RouteListResult) (RouteListResult, error))`
+- Function `NewVirtualNetworkListUsageResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkListUsageResult) (VirtualNetworkListUsageResult, error))` to `(VirtualNetworkListUsageResult, func(context.Context, VirtualNetworkListUsageResult) (VirtualNetworkListUsageResult, error))`
+- Function `NewLoadBalancerOutboundRuleListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerOutboundRuleListResult) (LoadBalancerOutboundRuleListResult, error))` to `(LoadBalancerOutboundRuleListResult, func(context.Context, LoadBalancerOutboundRuleListResult) (LoadBalancerOutboundRuleListResult, error))`
+- Function `NewVirtualNetworkGatewayConnectionListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error))` to `(VirtualNetworkGatewayConnectionListResult, func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error))`
+- Function `NewListVirtualWANsResultPage` parameter(s) have been changed from `(func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error))` to `(ListVirtualWANsResult, func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error))`
+- Function `NewEndpointServicesListResultPage` parameter(s) have been changed from `(func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error))` to `(EndpointServicesListResult, func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error))`
+- Function `NewApplicationGatewayAvailableSslPredefinedPoliciesPage` parameter(s) have been changed from `(func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error))` to `(ApplicationGatewayAvailableSslPredefinedPolicies, func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error))`
+- Function `NewInterfaceListResultPage` parameter(s) have been changed from `(func(context.Context, InterfaceListResult) (InterfaceListResult, error))` to `(InterfaceListResult, func(context.Context, InterfaceListResult) (InterfaceListResult, error))`
+- Function `NewExpressRouteLinkListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error))` to `(ExpressRouteLinkListResult, func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error))`
+- Function `NewAzureFirewallFqdnTagListResultPage` parameter(s) have been changed from `(func(context.Context, AzureFirewallFqdnTagListResult) (AzureFirewallFqdnTagListResult, error))` to `(AzureFirewallFqdnTagListResult, func(context.Context, AzureFirewallFqdnTagListResult) (AzureFirewallFqdnTagListResult, error))`
+- Function `NewListP2SVpnServerConfigurationsResultPage` parameter(s) have been changed from `(func(context.Context, ListP2SVpnServerConfigurationsResult) (ListP2SVpnServerConfigurationsResult, error))` to `(ListP2SVpnServerConfigurationsResult, func(context.Context, ListP2SVpnServerConfigurationsResult) (ListP2SVpnServerConfigurationsResult, error))`
+- Function `NewProfileListResultPage` parameter(s) have been changed from `(func(context.Context, ProfileListResult) (ProfileListResult, error))` to `(ProfileListResult, func(context.Context, ProfileListResult) (ProfileListResult, error))`
+- Function `NewRouteTableListResultPage` parameter(s) have been changed from `(func(context.Context, RouteTableListResult) (RouteTableListResult, error))` to `(RouteTableListResult, func(context.Context, RouteTableListResult) (RouteTableListResult, error))`
+- Function `NewVirtualNetworkTapListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error))` to `(VirtualNetworkTapListResult, func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error))`
+- Function `NewLoadBalancerListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error))` to `(LoadBalancerListResult, func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error))`
+- Function `NewListVirtualHubsResultPage` parameter(s) have been changed from `(func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error))` to `(ListVirtualHubsResult, func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error))`
+- Function `NewBgpServiceCommunityListResultPage` parameter(s) have been changed from `(func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error))` to `(BgpServiceCommunityListResult, func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error))`
+- Function `NewAzureFirewallListResultPage` parameter(s) have been changed from `(func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error))` to `(AzureFirewallListResult, func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error))`
+- Function `NewVirtualNetworkGatewayListResultPage` parameter(s) have been changed from `(func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error))` to `(VirtualNetworkGatewayListResult, func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error))`
+- Function `NewExpressRouteCircuitListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error))` to `(ExpressRouteCircuitListResult, func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error))`
+- Function `NewLoadBalancerBackendAddressPoolListResultPage` parameter(s) have been changed from `(func(context.Context, LoadBalancerBackendAddressPoolListResult) (LoadBalancerBackendAddressPoolListResult, error))` to `(LoadBalancerBackendAddressPoolListResult, func(context.Context, LoadBalancerBackendAddressPoolListResult) (LoadBalancerBackendAddressPoolListResult, error))`
+- Function `NewSubnetListResultPage` parameter(s) have been changed from `(func(context.Context, SubnetListResult) (SubnetListResult, error))` to `(SubnetListResult, func(context.Context, SubnetListResult) (SubnetListResult, error))`
+- Function `NewExpressRouteCircuitConnectionListResultPage` parameter(s) have been changed from `(func(context.Context, ExpressRouteCircuitConnectionListResult) (ExpressRouteCircuitConnectionListResult, error))` to `(ExpressRouteCircuitConnectionListResult, func(context.Context, ExpressRouteCircuitConnectionListResult) (ExpressRouteCircuitConnectionListResult, error))`
+- Function `NewListHubVirtualNetworkConnectionsResultPage` parameter(s) have been changed from `(func(context.Context, ListHubVirtualNetworkConnectionsResult) (ListHubVirtualNetworkConnectionsResult, error))` to `(ListHubVirtualNetworkConnectionsResult, func(context.Context, ListHubVirtualNetworkConnectionsResult) (ListHubVirtualNetworkConnectionsResult, error))`
+- Function `NewListP2SVpnGatewaysResultPage` parameter(s) have been changed from `(func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error))` to `(ListP2SVpnGatewaysResult, func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error))`
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationgateways.go
index 0f8b8591ab..c747ffa30d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationgateways.go
@@ -333,6 +333,7 @@ func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupNa
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -407,6 +408,7 @@ func (client ApplicationGatewaysClient) GetSslPredefinedPolicy(ctx context.Conte
result, err = client.GetSslPredefinedPolicyResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "GetSslPredefinedPolicy", resp, "Failure responding to request")
+ return
}
return
@@ -481,6 +483,7 @@ func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupN
result.aglr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "List", resp, "Failure responding to request")
+ return
}
if result.aglr.hasNextLink() && result.aglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -544,6 +547,7 @@ func (client ApplicationGatewaysClient) listNextResults(ctx context.Context, las
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -593,6 +597,7 @@ func (client ApplicationGatewaysClient) ListAll(ctx context.Context) (result App
result.aglr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.aglr.hasNextLink() && result.aglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -655,6 +660,7 @@ func (client ApplicationGatewaysClient) listAllNextResults(ctx context.Context,
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -703,6 +709,7 @@ func (client ApplicationGatewaysClient) ListAvailableSslOptions(ctx context.Cont
result, err = client.ListAvailableSslOptionsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "ListAvailableSslOptions", resp, "Failure responding to request")
+ return
}
return
@@ -774,6 +781,7 @@ func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies(ctx c
result.agaspp, err = client.ListAvailableSslPredefinedPoliciesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "ListAvailableSslPredefinedPolicies", resp, "Failure responding to request")
+ return
}
if result.agaspp.hasNextLink() && result.agaspp.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -836,6 +844,7 @@ func (client ApplicationGatewaysClient) listAvailableSslPredefinedPoliciesNextRe
result, err = client.ListAvailableSslPredefinedPoliciesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "listAvailableSslPredefinedPoliciesNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -884,6 +893,7 @@ func (client ApplicationGatewaysClient) ListAvailableWafRuleSets(ctx context.Con
result, err = client.ListAvailableWafRuleSetsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationGatewaysClient", "ListAvailableWafRuleSets", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationsecuritygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationsecuritygroups.go
index e352b03330..8305253075 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationsecuritygroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/applicationsecuritygroups.go
@@ -226,6 +226,7 @@ func (client ApplicationSecurityGroupsClient) Get(ctx context.Context, resourceG
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationSecurityGroupsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -301,6 +302,7 @@ func (client ApplicationSecurityGroupsClient) List(ctx context.Context, resource
result.asglr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationSecurityGroupsClient", "List", resp, "Failure responding to request")
+ return
}
if result.asglr.hasNextLink() && result.asglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -364,6 +366,7 @@ func (client ApplicationSecurityGroupsClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationSecurityGroupsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -413,6 +416,7 @@ func (client ApplicationSecurityGroupsClient) ListAll(ctx context.Context) (resu
result.asglr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationSecurityGroupsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.asglr.hasNextLink() && result.asglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -475,6 +479,7 @@ func (client ApplicationSecurityGroupsClient) listAllNextResults(ctx context.Con
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ApplicationSecurityGroupsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availabledelegations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availabledelegations.go
index d8515906e3..d388f1ece9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availabledelegations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availabledelegations.go
@@ -73,6 +73,7 @@ func (client AvailableDelegationsClient) List(ctx context.Context, location stri
result.adr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableDelegationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.adr.hasNextLink() && result.adr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -136,6 +137,7 @@ func (client AvailableDelegationsClient) listNextResults(ctx context.Context, la
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableDelegationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableendpointservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableendpointservices.go
index 89935a15c2..1d95c52786 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableendpointservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableendpointservices.go
@@ -73,6 +73,7 @@ func (client AvailableEndpointServicesClient) List(ctx context.Context, location
result.eslr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableEndpointServicesClient", "List", resp, "Failure responding to request")
+ return
}
if result.eslr.hasNextLink() && result.eslr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -136,6 +137,7 @@ func (client AvailableEndpointServicesClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableEndpointServicesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableresourcegroupdelegations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableresourcegroupdelegations.go
index 3b335cfc2e..bdc77825b5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableresourcegroupdelegations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/availableresourcegroupdelegations.go
@@ -75,6 +75,7 @@ func (client AvailableResourceGroupDelegationsClient) List(ctx context.Context,
result.adr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableResourceGroupDelegationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.adr.hasNextLink() && result.adr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -139,6 +140,7 @@ func (client AvailableResourceGroupDelegationsClient) listNextResults(ctx contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AvailableResourceGroupDelegationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewallfqdntags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewallfqdntags.go
index cf8376a86b..695446135a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewallfqdntags.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewallfqdntags.go
@@ -71,6 +71,7 @@ func (client AzureFirewallFqdnTagsClient) ListAll(ctx context.Context) (result A
result.afftlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallFqdnTagsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.afftlr.hasNextLink() && result.afftlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -133,6 +134,7 @@ func (client AzureFirewallFqdnTagsClient) listAllNextResults(ctx context.Context
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallFqdnTagsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewalls.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewalls.go
index ac188b7916..6f457ce7c4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewalls.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/azurefirewalls.go
@@ -225,6 +225,7 @@ func (client AzureFirewallsClient) Get(ctx context.Context, resourceGroupName st
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -300,6 +301,7 @@ func (client AzureFirewallsClient) List(ctx context.Context, resourceGroupName s
result.aflr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "List", resp, "Failure responding to request")
+ return
}
if result.aflr.hasNextLink() && result.aflr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -363,6 +365,7 @@ func (client AzureFirewallsClient) listNextResults(ctx context.Context, lastResu
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -412,6 +415,7 @@ func (client AzureFirewallsClient) ListAll(ctx context.Context) (result AzureFir
result.aflr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.aflr.hasNextLink() && result.aflr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client AzureFirewallsClient) listAllNextResults(ctx context.Context, lastR
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/bgpservicecommunities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/bgpservicecommunities.go
index f2e5fe6449..d5d708062f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/bgpservicecommunities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/bgpservicecommunities.go
@@ -71,6 +71,7 @@ func (client BgpServiceCommunitiesClient) List(ctx context.Context) (result BgpS
result.bsclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.BgpServiceCommunitiesClient", "List", resp, "Failure responding to request")
+ return
}
if result.bsclr.hasNextLink() && result.bsclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -133,6 +134,7 @@ func (client BgpServiceCommunitiesClient) listNextResults(ctx context.Context, l
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.BgpServiceCommunitiesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/client.go
index 1ed3c1df70..04357463a5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/client.go
@@ -87,6 +87,7 @@ func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location
result, err = client.CheckDNSNameAvailabilityResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.BaseClient", "CheckDNSNameAvailability", resp, "Failure responding to request")
+ return
}
return
@@ -162,6 +163,7 @@ func (client BaseClient) SupportedSecurityProviders(ctx context.Context, resourc
result, err = client.SupportedSecurityProvidersResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.BaseClient", "SupportedSecurityProviders", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/connectionmonitors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/connectionmonitors.go
index 953ad79b35..e07868e252 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/connectionmonitors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/connectionmonitors.go
@@ -241,6 +241,7 @@ func (client ConnectionMonitorsClient) Get(ctx context.Context, resourceGroupNam
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ConnectionMonitorsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -317,6 +318,7 @@ func (client ConnectionMonitorsClient) List(ctx context.Context, resourceGroupNa
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ConnectionMonitorsClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/ddosprotectionplans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/ddosprotectionplans.go
index 67db4fcf85..69ed83d043 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/ddosprotectionplans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/ddosprotectionplans.go
@@ -229,6 +229,7 @@ func (client DdosProtectionPlansClient) Get(ctx context.Context, resourceGroupNa
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DdosProtectionPlansClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client DdosProtectionPlansClient) List(ctx context.Context) (result DdosPr
result.dpplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DdosProtectionPlansClient", "List", resp, "Failure responding to request")
+ return
}
if result.dpplr.hasNextLink() && result.dpplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -364,6 +366,7 @@ func (client DdosProtectionPlansClient) listNextResults(ctx context.Context, las
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DdosProtectionPlansClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client DdosProtectionPlansClient) ListByResourceGroup(ctx context.Context,
result.dpplr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DdosProtectionPlansClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.dpplr.hasNextLink() && result.dpplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client DdosProtectionPlansClient) listByResourceGroupNextResults(ctx conte
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DdosProtectionPlansClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/defaultsecurityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/defaultsecurityrules.go
index 20797083b9..9a20916355 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/defaultsecurityrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/defaultsecurityrules.go
@@ -74,6 +74,7 @@ func (client DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupN
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DefaultSecurityRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client DefaultSecurityRulesClient) List(ctx context.Context, resourceGroup
result.srlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DefaultSecurityRulesClient", "List", resp, "Failure responding to request")
+ return
}
if result.srlr.hasNextLink() && result.srlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client DefaultSecurityRulesClient) listNextResults(ctx context.Context, la
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.DefaultSecurityRulesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitauthorizations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitauthorizations.go
index 05c30e7a88..08d1b0ae45 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitauthorizations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitauthorizations.go
@@ -233,6 +233,7 @@ func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, r
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitAuthorizationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -310,6 +311,7 @@ func (client ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context,
result.alr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitAuthorizationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.alr.hasNextLink() && result.alr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -374,6 +376,7 @@ func (client ExpressRouteCircuitAuthorizationsClient) listNextResults(ctx contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitAuthorizationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitconnections.go
index a58de79bab..0693ef1dd0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitconnections.go
@@ -237,6 +237,7 @@ func (client ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, reso
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -316,6 +317,7 @@ func (client ExpressRouteCircuitConnectionsClient) List(ctx context.Context, res
result.ercclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitConnectionsClient", "List", resp, "Failure responding to request")
+ return
}
if result.ercclr.hasNextLink() && result.ercclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -381,6 +383,7 @@ func (client ExpressRouteCircuitConnectionsClient) listNextResults(ctx context.C
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitConnectionsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitpeerings.go
index e69c2c684e..3438173674 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitpeerings.go
@@ -243,6 +243,7 @@ func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourc
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitPeeringsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -320,6 +321,7 @@ func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resour
result.ercplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitPeeringsClient", "List", resp, "Failure responding to request")
+ return
}
if result.ercplr.hasNextLink() && result.ercplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -384,6 +386,7 @@ func (client ExpressRouteCircuitPeeringsClient) listNextResults(ctx context.Cont
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitPeeringsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuits.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuits.go
index 7b3e86339e..d40fc23278 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuits.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuits.go
@@ -226,6 +226,7 @@ func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupN
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, re
result, err = client.GetPeeringStatsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "GetPeeringStats", resp, "Failure responding to request")
+ return
}
return
@@ -378,6 +380,7 @@ func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceG
result, err = client.GetStatsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "GetStats", resp, "Failure responding to request")
+ return
}
return
@@ -453,6 +456,7 @@ func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroup
result.erclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "List", resp, "Failure responding to request")
+ return
}
if result.erclr.hasNextLink() && result.erclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -516,6 +520,7 @@ func (client ExpressRouteCircuitsClient) listNextResults(ctx context.Context, la
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -565,6 +570,7 @@ func (client ExpressRouteCircuitsClient) ListAll(ctx context.Context) (result Ex
result.erclr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.erclr.hasNextLink() && result.erclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -627,6 +633,7 @@ func (client ExpressRouteCircuitsClient) listAllNextResults(ctx context.Context,
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCircuitsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteconnections.go
index b339a40ac6..17ccd95ee7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteconnections.go
@@ -239,6 +239,7 @@ func (client ExpressRouteConnectionsClient) Get(ctx context.Context, resourceGro
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -315,6 +316,7 @@ func (client ExpressRouteConnectionsClient) List(ctx context.Context, resourceGr
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteConnectionsClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnectionpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnectionpeerings.go
index 1028b49872..3f29d8b9d0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnectionpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnectionpeerings.go
@@ -245,6 +245,7 @@ func (client ExpressRouteCrossConnectionPeeringsClient) Get(ctx context.Context,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionPeeringsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -322,6 +323,7 @@ func (client ExpressRouteCrossConnectionPeeringsClient) List(ctx context.Context
result.erccpl, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionPeeringsClient", "List", resp, "Failure responding to request")
+ return
}
if result.erccpl.hasNextLink() && result.erccpl.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -386,6 +388,7 @@ func (client ExpressRouteCrossConnectionPeeringsClient) listNextResults(ctx cont
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionPeeringsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnections.go
index 8886adfdd0..f4ee3ea206 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecrossconnections.go
@@ -152,6 +152,7 @@ func (client ExpressRouteCrossConnectionsClient) Get(ctx context.Context, resour
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -225,6 +226,7 @@ func (client ExpressRouteCrossConnectionsClient) List(ctx context.Context) (resu
result.ercclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionsClient", "List", resp, "Failure responding to request")
+ return
}
if result.ercclr.hasNextLink() && result.ercclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -287,6 +289,7 @@ func (client ExpressRouteCrossConnectionsClient) listNextResults(ctx context.Con
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -418,6 +421,7 @@ func (client ExpressRouteCrossConnectionsClient) ListByResourceGroup(ctx context
result.ercclr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.ercclr.hasNextLink() && result.ercclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -481,6 +485,7 @@ func (client ExpressRouteCrossConnectionsClient) listByResourceGroupNextResults(
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteCrossConnectionsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutegateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutegateways.go
index 549714fc4b..a503141707 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutegateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutegateways.go
@@ -235,6 +235,7 @@ func (client ExpressRouteGatewaysClient) Get(ctx context.Context, resourceGroupN
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -309,6 +310,7 @@ func (client ExpressRouteGatewaysClient) ListByResourceGroup(ctx context.Context
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteGatewaysClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
return
@@ -380,6 +382,7 @@ func (client ExpressRouteGatewaysClient) ListBySubscription(ctx context.Context)
result, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteGatewaysClient", "ListBySubscription", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutelinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutelinks.go
index dbd8c2bce6..d9e3ac8217 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutelinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutelinks.go
@@ -74,6 +74,7 @@ func (client ExpressRouteLinksClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteLinksClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client ExpressRouteLinksClient) List(ctx context.Context, resourceGroupNam
result.erllr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteLinksClient", "List", resp, "Failure responding to request")
+ return
}
if result.erllr.hasNextLink() && result.erllr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client ExpressRouteLinksClient) listNextResults(ctx context.Context, lastR
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteLinksClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteports.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteports.go
index badff237ac..4196cf9a20 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteports.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteports.go
@@ -226,6 +226,7 @@ func (client ExpressRoutePortsClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -299,6 +300,7 @@ func (client ExpressRoutePortsClient) List(ctx context.Context) (result ExpressR
result.erplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsClient", "List", resp, "Failure responding to request")
+ return
}
if result.erplr.hasNextLink() && result.erplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -361,6 +363,7 @@ func (client ExpressRoutePortsClient) listNextResults(ctx context.Context, lastR
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -412,6 +415,7 @@ func (client ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, r
result.erplr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.erplr.hasNextLink() && result.erplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -475,6 +479,7 @@ func (client ExpressRoutePortsClient) listByResourceGroupNextResults(ctx context
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteportslocations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteportslocations.go
index a6e6eb5945..9742360f19 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteportslocations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteportslocations.go
@@ -73,6 +73,7 @@ func (client ExpressRoutePortsLocationsClient) Get(ctx context.Context, location
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsLocationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -146,6 +147,7 @@ func (client ExpressRoutePortsLocationsClient) List(ctx context.Context) (result
result.erpllr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsLocationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.erpllr.hasNextLink() && result.erpllr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -208,6 +210,7 @@ func (client ExpressRoutePortsLocationsClient) listNextResults(ctx context.Conte
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRoutePortsLocationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteserviceproviders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteserviceproviders.go
index 3cce9796e6..beb65bd21b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteserviceproviders.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteserviceproviders.go
@@ -71,6 +71,7 @@ func (client ExpressRouteServiceProvidersClient) List(ctx context.Context) (resu
result.ersplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteServiceProvidersClient", "List", resp, "Failure responding to request")
+ return
}
if result.ersplr.hasNextLink() && result.ersplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -133,6 +134,7 @@ func (client ExpressRouteServiceProvidersClient) listNextResults(ctx context.Con
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ExpressRouteServiceProvidersClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/hubvirtualnetworkconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/hubvirtualnetworkconnections.go
index 9eeb574420..cbdb7bcbb5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/hubvirtualnetworkconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/hubvirtualnetworkconnections.go
@@ -74,6 +74,7 @@ func (client HubVirtualNetworkConnectionsClient) Get(ctx context.Context, resour
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.HubVirtualNetworkConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client HubVirtualNetworkConnectionsClient) List(ctx context.Context, resou
result.lhvncr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.HubVirtualNetworkConnectionsClient", "List", resp, "Failure responding to request")
+ return
}
if result.lhvncr.hasNextLink() && result.lhvncr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client HubVirtualNetworkConnectionsClient) listNextResults(ctx context.Con
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.HubVirtualNetworkConnectionsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/inboundnatrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/inboundnatrules.go
index 419df3270c..8ca0bb719e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/inboundnatrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/inboundnatrules.go
@@ -250,6 +250,7 @@ func (client InboundNatRulesClient) Get(ctx context.Context, resourceGroupName s
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InboundNatRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -330,6 +331,7 @@ func (client InboundNatRulesClient) List(ctx context.Context, resourceGroupName
result.inrlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InboundNatRulesClient", "List", resp, "Failure responding to request")
+ return
}
if result.inrlr.hasNextLink() && result.inrlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -394,6 +396,7 @@ func (client InboundNatRulesClient) listNextResults(ctx context.Context, lastRes
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InboundNatRulesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceendpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceendpoints.go
index d96af7f363..d6d513140c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceendpoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceendpoints.go
@@ -226,6 +226,7 @@ func (client InterfaceEndpointsClient) Get(ctx context.Context, resourceGroupNam
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceEndpointsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -304,6 +305,7 @@ func (client InterfaceEndpointsClient) List(ctx context.Context, resourceGroupNa
result.ielr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceEndpointsClient", "List", resp, "Failure responding to request")
+ return
}
if result.ielr.hasNextLink() && result.ielr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -367,6 +369,7 @@ func (client InterfaceEndpointsClient) listNextResults(ctx context.Context, last
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceEndpointsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -416,6 +419,7 @@ func (client InterfaceEndpointsClient) ListBySubscription(ctx context.Context) (
result.ielr, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceEndpointsClient", "ListBySubscription", resp, "Failure responding to request")
+ return
}
if result.ielr.hasNextLink() && result.ielr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client InterfaceEndpointsClient) listBySubscriptionNextResults(ctx context
result, err = client.ListBySubscriptionResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceEndpointsClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceipconfigurations.go
index dc93c54567..937e884c7d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceipconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceipconfigurations.go
@@ -74,6 +74,7 @@ func (client InterfaceIPConfigurationsClient) Get(ctx context.Context, resourceG
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceIPConfigurationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client InterfaceIPConfigurationsClient) List(ctx context.Context, resource
result.iiclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceIPConfigurationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.iiclr.hasNextLink() && result.iiclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client InterfaceIPConfigurationsClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceIPConfigurationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceloadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceloadbalancers.go
index 8420387f63..fe15a5f9dd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceloadbalancers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfaceloadbalancers.go
@@ -74,6 +74,7 @@ func (client InterfaceLoadBalancersClient) List(ctx context.Context, resourceGro
result.ilblr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceLoadBalancersClient", "List", resp, "Failure responding to request")
+ return
}
if result.ilblr.hasNextLink() && result.ilblr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -138,6 +139,7 @@ func (client InterfaceLoadBalancersClient) listNextResults(ctx context.Context,
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceLoadBalancersClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacesgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacesgroup.go
index e3761e178b..e8c646a126 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacesgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacesgroup.go
@@ -225,6 +225,7 @@ func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -383,6 +384,7 @@ func (client InterfacesClient) GetVirtualMachineScaleSetIPConfiguration(ctx cont
result, err = client.GetVirtualMachineScaleSetIPConfigurationResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "GetVirtualMachineScaleSetIPConfiguration", resp, "Failure responding to request")
+ return
}
return
@@ -467,6 +469,7 @@ func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx con
result, err = client.GetVirtualMachineScaleSetNetworkInterfaceResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "GetVirtualMachineScaleSetNetworkInterface", resp, "Failure responding to request")
+ return
}
return
@@ -547,6 +550,7 @@ func (client InterfacesClient) List(ctx context.Context, resourceGroupName strin
result.ilr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "List", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -610,6 +614,7 @@ func (client InterfacesClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -659,6 +664,7 @@ func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceLis
result.ilr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -721,6 +727,7 @@ func (client InterfacesClient) listAllNextResults(ctx context.Context, lastResul
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -852,6 +859,7 @@ func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurations(ctx co
result.iiclr, err = client.ListVirtualMachineScaleSetIPConfigurationsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "ListVirtualMachineScaleSetIPConfigurations", resp, "Failure responding to request")
+ return
}
if result.iiclr.hasNextLink() && result.iiclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -921,6 +929,7 @@ func (client InterfacesClient) listVirtualMachineScaleSetIPConfigurationsNextRes
result, err = client.ListVirtualMachineScaleSetIPConfigurationsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "listVirtualMachineScaleSetIPConfigurationsNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -973,6 +982,7 @@ func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx c
result.ilr, err = client.ListVirtualMachineScaleSetNetworkInterfacesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "ListVirtualMachineScaleSetNetworkInterfaces", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -1037,6 +1047,7 @@ func (client InterfacesClient) listVirtualMachineScaleSetNetworkInterfacesNextRe
result, err = client.ListVirtualMachineScaleSetNetworkInterfacesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "listVirtualMachineScaleSetNetworkInterfacesNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -1091,6 +1102,7 @@ func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx
result.ilr, err = client.ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "ListVirtualMachineScaleSetVMNetworkInterfaces", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -1156,6 +1168,7 @@ func (client InterfacesClient) listVirtualMachineScaleSetVMNetworkInterfacesNext
result, err = client.ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfacesClient", "listVirtualMachineScaleSetVMNetworkInterfacesNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacetapconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacetapconfigurations.go
index 0fbd25b3c5..7cfafabf92 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacetapconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/interfacetapconfigurations.go
@@ -267,6 +267,7 @@ func (client InterfaceTapConfigurationsClient) Get(ctx context.Context, resource
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceTapConfigurationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -344,6 +345,7 @@ func (client InterfaceTapConfigurationsClient) List(ctx context.Context, resourc
result.itclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceTapConfigurationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.itclr.hasNextLink() && result.itclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -408,6 +410,7 @@ func (client InterfaceTapConfigurationsClient) listNextResults(ctx context.Conte
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.InterfaceTapConfigurationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerbackendaddresspools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerbackendaddresspools.go
index e001e4873c..a7336db596 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerbackendaddresspools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerbackendaddresspools.go
@@ -74,6 +74,7 @@ func (client LoadBalancerBackendAddressPoolsClient) Get(ctx context.Context, res
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerBackendAddressPoolsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client LoadBalancerBackendAddressPoolsClient) List(ctx context.Context, re
result.lbbaplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerBackendAddressPoolsClient", "List", resp, "Failure responding to request")
+ return
}
if result.lbbaplr.hasNextLink() && result.lbbaplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client LoadBalancerBackendAddressPoolsClient) listNextResults(ctx context.
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerBackendAddressPoolsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerfrontendipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerfrontendipconfigurations.go
index ef0486f629..f777854d36 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerfrontendipconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerfrontendipconfigurations.go
@@ -75,6 +75,7 @@ func (client LoadBalancerFrontendIPConfigurationsClient) Get(ctx context.Context
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerFrontendIPConfigurationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -152,6 +153,7 @@ func (client LoadBalancerFrontendIPConfigurationsClient) List(ctx context.Contex
result.lbficlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerFrontendIPConfigurationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.lbficlr.hasNextLink() && result.lbficlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -216,6 +218,7 @@ func (client LoadBalancerFrontendIPConfigurationsClient) listNextResults(ctx con
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerFrontendIPConfigurationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerloadbalancingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerloadbalancingrules.go
index eacab0fd06..b2d20a4703 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerloadbalancingrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerloadbalancingrules.go
@@ -74,6 +74,7 @@ func (client LoadBalancerLoadBalancingRulesClient) Get(ctx context.Context, reso
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerLoadBalancingRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client LoadBalancerLoadBalancingRulesClient) List(ctx context.Context, res
result.lblbrlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerLoadBalancingRulesClient", "List", resp, "Failure responding to request")
+ return
}
if result.lblbrlr.hasNextLink() && result.lblbrlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client LoadBalancerLoadBalancingRulesClient) listNextResults(ctx context.C
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerLoadBalancingRulesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancernetworkinterfaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancernetworkinterfaces.go
index 0fcb97ee53..5cd4438528 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancernetworkinterfaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancernetworkinterfaces.go
@@ -74,6 +74,7 @@ func (client LoadBalancerNetworkInterfacesClient) List(ctx context.Context, reso
result.ilr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerNetworkInterfacesClient", "List", resp, "Failure responding to request")
+ return
}
if result.ilr.hasNextLink() && result.ilr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -138,6 +139,7 @@ func (client LoadBalancerNetworkInterfacesClient) listNextResults(ctx context.Co
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerNetworkInterfacesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalanceroutboundrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalanceroutboundrules.go
index d14dc3a592..6162e1310b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalanceroutboundrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalanceroutboundrules.go
@@ -74,6 +74,7 @@ func (client LoadBalancerOutboundRulesClient) Get(ctx context.Context, resourceG
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerOutboundRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client LoadBalancerOutboundRulesClient) List(ctx context.Context, resource
result.lborlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerOutboundRulesClient", "List", resp, "Failure responding to request")
+ return
}
if result.lborlr.hasNextLink() && result.lborlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client LoadBalancerOutboundRulesClient) listNextResults(ctx context.Contex
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerOutboundRulesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerprobes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerprobes.go
index 3a094b09a0..8e6f981546 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerprobes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancerprobes.go
@@ -74,6 +74,7 @@ func (client LoadBalancerProbesClient) Get(ctx context.Context, resourceGroupNam
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerProbesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -151,6 +152,7 @@ func (client LoadBalancerProbesClient) List(ctx context.Context, resourceGroupNa
result.lbplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerProbesClient", "List", resp, "Failure responding to request")
+ return
}
if result.lbplr.hasNextLink() && result.lbplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -215,6 +217,7 @@ func (client LoadBalancerProbesClient) listNextResults(ctx context.Context, last
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancerProbesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancers.go
index 5aef2d6d54..74dc90c87c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/loadbalancers.go
@@ -225,6 +225,7 @@ func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName str
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancersClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -303,6 +304,7 @@ func (client LoadBalancersClient) List(ctx context.Context, resourceGroupName st
result.lblr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancersClient", "List", resp, "Failure responding to request")
+ return
}
if result.lblr.hasNextLink() && result.lblr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -366,6 +368,7 @@ func (client LoadBalancersClient) listNextResults(ctx context.Context, lastResul
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancersClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalan
result.lblr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancersClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.lblr.hasNextLink() && result.lblr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -477,6 +481,7 @@ func (client LoadBalancersClient) listAllNextResults(ctx context.Context, lastRe
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LoadBalancersClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/localnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/localnetworkgateways.go
index d2f0bfd88a..ebf91600ee 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/localnetworkgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/localnetworkgateways.go
@@ -246,6 +246,7 @@ func (client LocalNetworkGatewaysClient) Get(ctx context.Context, resourceGroupN
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LocalNetworkGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -321,6 +322,7 @@ func (client LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroup
result.lnglr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LocalNetworkGatewaysClient", "List", resp, "Failure responding to request")
+ return
}
if result.lnglr.hasNextLink() && result.lnglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -384,6 +386,7 @@ func (client LocalNetworkGatewaysClient) listNextResults(ctx context.Context, la
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.LocalNetworkGatewaysClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/models.go
index c9496e6f72..a90d994a39 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/models.go
@@ -31,8 +31,8 @@ import (
// The package's fully qualified name.
const fqdn = "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network"
-// AddressSpace addressSpace contains an array of IP address ranges that can be used by subnets of the virtual
-// network.
+// AddressSpace addressSpace contains an array of IP address ranges that can be used by subnets of the
+// virtual network.
type AddressSpace struct {
// AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation.
AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
@@ -292,7 +292,8 @@ type ApplicationGatewayAutoscaleConfiguration struct {
MinCapacity *int32 `json:"minCapacity,omitempty"`
}
-// ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service call.
+// ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service
+// call.
type ApplicationGatewayAvailableSslOptions struct {
autorest.Response `json:"-"`
*ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"`
@@ -395,7 +396,8 @@ func (agaso *ApplicationGatewayAvailableSslOptions) UnmarshalJSON(body []byte) e
return nil
}
-// ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of ApplicationGatewayAvailableSslOptions
+// ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of
+// ApplicationGatewayAvailableSslOptions
type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct {
// PredefinedPolicies - List of available Ssl predefined policy.
PredefinedPolicies *[]SubResource `json:"predefinedPolicies,omitempty"`
@@ -562,12 +564,15 @@ func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) Values() []Appl
}
// Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesPage type.
-func NewApplicationGatewayAvailableSslPredefinedPoliciesPage(getNextPage func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error)) ApplicationGatewayAvailableSslPredefinedPoliciesPage {
- return ApplicationGatewayAvailableSslPredefinedPoliciesPage{fn: getNextPage}
+func NewApplicationGatewayAvailableSslPredefinedPoliciesPage(cur ApplicationGatewayAvailableSslPredefinedPolicies, getNextPage func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error)) ApplicationGatewayAvailableSslPredefinedPoliciesPage {
+ return ApplicationGatewayAvailableSslPredefinedPoliciesPage{
+ fn: getNextPage,
+ agaspp: cur,
+ }
}
-// ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API service
-// call.
+// ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API
+// service call.
type ApplicationGatewayAvailableWafRuleSetsResult struct {
autorest.Response `json:"-"`
// Value - The list of application gateway rule sets.
@@ -676,8 +681,8 @@ func (agbap *ApplicationGatewayBackendAddressPool) UnmarshalJSON(body []byte) er
return nil
}
-// ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an application
-// gateway.
+// ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an
+// application gateway.
type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
// BackendIPConfigurations - Collection of references to IPs defined in network interfaces.
BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
@@ -846,8 +851,8 @@ type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
-// ApplicationGatewayConnectionDraining connection draining allows open connections to a backend server to be
-// active for a specified time after the backend server got removed from the configuration.
+// ApplicationGatewayConnectionDraining connection draining allows open connections to a backend server to
+// be active for a specified time after the backend server got removed from the configuration.
type ApplicationGatewayConnectionDraining struct {
// Enabled - Whether connection draining is enabled or not.
Enabled *bool `json:"enabled,omitempty"`
@@ -863,8 +868,8 @@ type ApplicationGatewayCustomError struct {
CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"`
}
-// ApplicationGatewayFirewallDisabledRuleGroup allows to disable rules within a rule group or an entire rule
-// group.
+// ApplicationGatewayFirewallDisabledRuleGroup allows to disable rules within a rule group or an entire
+// rule group.
type ApplicationGatewayFirewallDisabledRuleGroup struct {
// RuleGroupName - The name of the rule group that will be disabled.
RuleGroupName *string `json:"ruleGroupName,omitempty"`
@@ -872,7 +877,8 @@ type ApplicationGatewayFirewallDisabledRuleGroup struct {
Rules *[]int32 `json:"rules,omitempty"`
}
-// ApplicationGatewayFirewallExclusion allow to exclude some variable satisfy the condition for the WAF check
+// ApplicationGatewayFirewallExclusion allow to exclude some variable satisfy the condition for the WAF
+// check
type ApplicationGatewayFirewallExclusion struct {
// MatchVariable - The variable to be excluded.
MatchVariable *string `json:"matchVariable,omitempty"`
@@ -1442,7 +1448,8 @@ func (agic *ApplicationGatewayIPConfiguration) UnmarshalJSON(body []byte) error
return nil
}
-// ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of an application gateway.
+// ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of an application
+// gateway.
type ApplicationGatewayIPConfigurationPropertiesFormat struct {
// Subnet - Reference of the subnet resource. A subnet from where application gateway gets its private address.
Subnet *SubResource `json:"subnet,omitempty"`
@@ -1602,8 +1609,11 @@ func (page ApplicationGatewayListResultPage) Values() []ApplicationGateway {
}
// Creates a new instance of the ApplicationGatewayListResultPage type.
-func NewApplicationGatewayListResultPage(getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage {
- return ApplicationGatewayListResultPage{fn: getNextPage}
+func NewApplicationGatewayListResultPage(cur ApplicationGatewayListResult, getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage {
+ return ApplicationGatewayListResultPage{
+ fn: getNextPage,
+ aglr: cur,
+ }
}
// ApplicationGatewayPathRule path rule of URL path map of an application gateway.
@@ -2178,8 +2188,8 @@ func (agrrr *ApplicationGatewayRequestRoutingRule) UnmarshalJSON(body []byte) er
return nil
}
-// ApplicationGatewayRequestRoutingRulePropertiesFormat properties of request routing rule of the application
-// gateway.
+// ApplicationGatewayRequestRoutingRulePropertiesFormat properties of request routing rule of the
+// application gateway.
type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
// RuleType - Rule type. Possible values include: 'Basic', 'PathBasedRouting'
RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
@@ -2292,7 +2302,8 @@ func (agrrs *ApplicationGatewayRewriteRuleSet) UnmarshalJSON(body []byte) error
return nil
}
-// ApplicationGatewayRewriteRuleSetPropertiesFormat properties of rewrite rule set of the application gateway.
+// ApplicationGatewayRewriteRuleSetPropertiesFormat properties of rewrite rule set of the application
+// gateway.
type ApplicationGatewayRewriteRuleSetPropertiesFormat struct {
// RewriteRules - Rewrite rules in the rewrite rule set.
RewriteRules *[]ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"`
@@ -2367,8 +2378,8 @@ func (future *ApplicationGatewaysCreateOrUpdateFuture) Result(client Application
return
}
-// ApplicationGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ApplicationGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ApplicationGatewaysDeleteFuture struct {
azure.Future
}
@@ -2494,7 +2505,8 @@ func (agsc *ApplicationGatewaySslCertificate) UnmarshalJSON(body []byte) error {
return nil
}
-// ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of an application gateway.
+// ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of an application
+// gateway.
type ApplicationGatewaySslCertificatePropertiesFormat struct {
// Data - Base-64 encoded pfx certificate. Only applicable in PUT Request.
Data *string `json:"data,omitempty"`
@@ -2589,7 +2601,8 @@ func (agspp *ApplicationGatewaySslPredefinedPolicy) UnmarshalJSON(body []byte) e
return nil
}
-// ApplicationGatewaySslPredefinedPolicyPropertiesFormat properties of ApplicationGatewaySslPredefinedPolicy
+// ApplicationGatewaySslPredefinedPolicyPropertiesFormat properties of
+// ApplicationGatewaySslPredefinedPolicy
type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct {
// CipherSuites - Ssl cipher suites to be enabled in the specified order for application gateway.
CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"`
@@ -2597,8 +2610,8 @@ type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct {
MinProtocolVersion ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"`
}
-// ApplicationGatewaysStartFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ApplicationGatewaysStartFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ApplicationGatewaysStartFuture struct {
azure.Future
}
@@ -3046,8 +3059,8 @@ func (asglr ApplicationSecurityGroupListResult) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// ApplicationSecurityGroupListResultIterator provides access to a complete listing of ApplicationSecurityGroup
-// values.
+// ApplicationSecurityGroupListResultIterator provides access to a complete listing of
+// ApplicationSecurityGroup values.
type ApplicationSecurityGroupListResultIterator struct {
i int
page ApplicationSecurityGroupListResultPage
@@ -3190,8 +3203,11 @@ func (page ApplicationSecurityGroupListResultPage) Values() []ApplicationSecurit
}
// Creates a new instance of the ApplicationSecurityGroupListResultPage type.
-func NewApplicationSecurityGroupListResultPage(getNextPage func(context.Context, ApplicationSecurityGroupListResult) (ApplicationSecurityGroupListResult, error)) ApplicationSecurityGroupListResultPage {
- return ApplicationSecurityGroupListResultPage{fn: getNextPage}
+func NewApplicationSecurityGroupListResultPage(cur ApplicationSecurityGroupListResult, getNextPage func(context.Context, ApplicationSecurityGroupListResult) (ApplicationSecurityGroupListResult, error)) ApplicationSecurityGroupListResultPage {
+ return ApplicationSecurityGroupListResultPage{
+ fn: getNextPage,
+ asglr: cur,
+ }
}
// ApplicationSecurityGroupPropertiesFormat application security group properties.
@@ -3202,8 +3218,8 @@ type ApplicationSecurityGroupPropertiesFormat struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
-// ApplicationSecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ApplicationSecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type ApplicationSecurityGroupsCreateOrUpdateFuture struct {
azure.Future
}
@@ -3254,8 +3270,8 @@ func (future *ApplicationSecurityGroupsDeleteFuture) Result(client ApplicationSe
return
}
-// AuthorizationListResult response for ListAuthorizations API service call retrieves all authorizations that
-// belongs to an ExpressRouteCircuit.
+// AuthorizationListResult response for ListAuthorizations API service call retrieves all authorizations
+// that belongs to an ExpressRouteCircuit.
type AuthorizationListResult struct {
autorest.Response `json:"-"`
// Value - The authorizations in an ExpressRoute Circuit.
@@ -3264,8 +3280,8 @@ type AuthorizationListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// AuthorizationListResultIterator provides access to a complete listing of ExpressRouteCircuitAuthorization
-// values.
+// AuthorizationListResultIterator provides access to a complete listing of
+// ExpressRouteCircuitAuthorization values.
type AuthorizationListResultIterator struct {
i int
page AuthorizationListResultPage
@@ -3408,8 +3424,11 @@ func (page AuthorizationListResultPage) Values() []ExpressRouteCircuitAuthorizat
}
// Creates a new instance of the AuthorizationListResultPage type.
-func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage {
- return AuthorizationListResultPage{fn: getNextPage}
+func NewAuthorizationListResultPage(cur AuthorizationListResult, getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage {
+ return AuthorizationListResultPage{
+ fn: getNextPage,
+ alr: cur,
+ }
}
// AuthorizationPropertiesFormat ...
@@ -3432,7 +3451,8 @@ type Availability struct {
BlobDuration *string `json:"blobDuration,omitempty"`
}
-// AvailableDelegation the serviceName of an AvailableDelegation indicates a possible delegation for a subnet.
+// AvailableDelegation the serviceName of an AvailableDelegation indicates a possible delegation for a
+// subnet.
type AvailableDelegation struct {
// Name - The name of the AvailableDelegation resource.
Name *string `json:"name,omitempty"`
@@ -3607,8 +3627,11 @@ func (page AvailableDelegationsResultPage) Values() []AvailableDelegation {
}
// Creates a new instance of the AvailableDelegationsResultPage type.
-func NewAvailableDelegationsResultPage(getNextPage func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error)) AvailableDelegationsResultPage {
- return AvailableDelegationsResultPage{fn: getNextPage}
+func NewAvailableDelegationsResultPage(cur AvailableDelegationsResult, getNextPage func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error)) AvailableDelegationsResultPage {
+ return AvailableDelegationsResultPage{
+ fn: getNextPage,
+ adr: cur,
+ }
}
// AvailableProvidersList list of available countries with details.
@@ -3660,11 +3683,11 @@ type AvailableProvidersListState struct {
}
// AzureAsyncOperationResult the response body contains the status of the specified asynchronous operation,
-// indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from
-// the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation
-// succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous
-// operation failed, the response body includes the HTTP status code for the failed request and error
-// information regarding the failure.
+// indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct
+// from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous
+// operation succeeded, the response body includes the HTTP status code for the successful request. If the
+// asynchronous operation failed, the response body includes the HTTP status code for the failed request
+// and error information regarding the failure.
type AzureAsyncOperationResult struct {
// Status - Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed'
Status OperationStatus `json:"status,omitempty"`
@@ -4020,7 +4043,8 @@ type AzureFirewallFqdnTagListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// AzureFirewallFqdnTagListResultIterator provides access to a complete listing of AzureFirewallFqdnTag values.
+// AzureFirewallFqdnTagListResultIterator provides access to a complete listing of AzureFirewallFqdnTag
+// values.
type AzureFirewallFqdnTagListResultIterator struct {
i int
page AzureFirewallFqdnTagListResultPage
@@ -4163,8 +4187,11 @@ func (page AzureFirewallFqdnTagListResultPage) Values() []AzureFirewallFqdnTag {
}
// Creates a new instance of the AzureFirewallFqdnTagListResultPage type.
-func NewAzureFirewallFqdnTagListResultPage(getNextPage func(context.Context, AzureFirewallFqdnTagListResult) (AzureFirewallFqdnTagListResult, error)) AzureFirewallFqdnTagListResultPage {
- return AzureFirewallFqdnTagListResultPage{fn: getNextPage}
+func NewAzureFirewallFqdnTagListResultPage(cur AzureFirewallFqdnTagListResult, getNextPage func(context.Context, AzureFirewallFqdnTagListResult) (AzureFirewallFqdnTagListResult, error)) AzureFirewallFqdnTagListResultPage {
+ return AzureFirewallFqdnTagListResultPage{
+ fn: getNextPage,
+ afftlr: cur,
+ }
}
// AzureFirewallFqdnTagPropertiesFormat azure Firewall FQDN Tag Properties
@@ -4431,8 +4458,11 @@ func (page AzureFirewallListResultPage) Values() []AzureFirewall {
}
// Creates a new instance of the AzureFirewallListResultPage type.
-func NewAzureFirewallListResultPage(getNextPage func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error)) AzureFirewallListResultPage {
- return AzureFirewallListResultPage{fn: getNextPage}
+func NewAzureFirewallListResultPage(cur AzureFirewallListResult, getNextPage func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error)) AzureFirewallListResultPage {
+ return AzureFirewallListResultPage{
+ fn: getNextPage,
+ aflr: cur,
+ }
}
// AzureFirewallNatRCAction azureFirewall NAT Rule Collection Action.
@@ -5037,7 +5067,8 @@ type BgpServiceCommunityListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// BgpServiceCommunityListResultIterator provides access to a complete listing of BgpServiceCommunity values.
+// BgpServiceCommunityListResultIterator provides access to a complete listing of BgpServiceCommunity
+// values.
type BgpServiceCommunityListResultIterator struct {
i int
page BgpServiceCommunityListResultPage
@@ -5180,8 +5211,11 @@ func (page BgpServiceCommunityListResultPage) Values() []BgpServiceCommunity {
}
// Creates a new instance of the BgpServiceCommunityListResultPage type.
-func NewBgpServiceCommunityListResultPage(getNextPage func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error)) BgpServiceCommunityListResultPage {
- return BgpServiceCommunityListResultPage{fn: getNextPage}
+func NewBgpServiceCommunityListResultPage(cur BgpServiceCommunityListResult, getNextPage func(context.Context, BgpServiceCommunityListResult) (BgpServiceCommunityListResult, error)) BgpServiceCommunityListResultPage {
+ return BgpServiceCommunityListResultPage{
+ fn: getNextPage,
+ bsclr: cur,
+ }
}
// BgpServiceCommunityPropertiesFormat properties of Service Community.
@@ -5500,8 +5534,8 @@ func (future *ConnectionMonitorsCreateOrUpdateFuture) Result(client ConnectionMo
return
}
-// ConnectionMonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ConnectionMonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ConnectionMonitorsDeleteFuture struct {
azure.Future
}
@@ -5943,7 +5977,8 @@ func (cnic *ContainerNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) e
return nil
}
-// ContainerNetworkInterfaceConfigurationPropertiesFormat container network interface configuration properties.
+// ContainerNetworkInterfaceConfigurationPropertiesFormat container network interface configuration
+// properties.
type ContainerNetworkInterfaceConfigurationPropertiesFormat struct {
// IPConfigurations - A list of ip configurations of the container network interface configuration.
IPConfigurations *[]IPConfigurationProfile `json:"ipConfigurations,omitempty"`
@@ -6043,8 +6078,8 @@ func (cniic *ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte
return nil
}
-// ContainerNetworkInterfaceIPConfigurationPropertiesFormat properties of the container network interface IP
-// configuration.
+// ContainerNetworkInterfaceIPConfigurationPropertiesFormat properties of the container network interface
+// IP configuration.
type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct {
// ProvisioningState - READ-ONLY; The provisioning state of the resource.
ProvisioningState *string `json:"provisioningState,omitempty"`
@@ -6350,8 +6385,11 @@ func (page DdosProtectionPlanListResultPage) Values() []DdosProtectionPlan {
}
// Creates a new instance of the DdosProtectionPlanListResultPage type.
-func NewDdosProtectionPlanListResultPage(getNextPage func(context.Context, DdosProtectionPlanListResult) (DdosProtectionPlanListResult, error)) DdosProtectionPlanListResultPage {
- return DdosProtectionPlanListResultPage{fn: getNextPage}
+func NewDdosProtectionPlanListResultPage(cur DdosProtectionPlanListResult, getNextPage func(context.Context, DdosProtectionPlanListResult) (DdosProtectionPlanListResult, error)) DdosProtectionPlanListResultPage {
+ return DdosProtectionPlanListResultPage{
+ fn: getNextPage,
+ dpplr: cur,
+ }
}
// DdosProtectionPlanPropertiesFormat dDoS protection plan properties.
@@ -6393,8 +6431,8 @@ func (future *DdosProtectionPlansCreateOrUpdateFuture) Result(client DdosProtect
return
}
-// DdosProtectionPlansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// DdosProtectionPlansDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type DdosProtectionPlansDeleteFuture struct {
azure.Future
}
@@ -6507,8 +6545,8 @@ type DeviceProperties struct {
LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}
-// DhcpOptions dhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network.
-// Standard DHCP option for a subnet overrides VNET DHCP options.
+// DhcpOptions dhcpOptions contains an array of DNS servers available to VMs deployed in the virtual
+// network. Standard DHCP option for a subnet overrides VNET DHCP options.
type DhcpOptions struct {
// DNSServers - The list of DNS servers IP addresses.
DNSServers *[]string `json:"dnsServers,omitempty"`
@@ -6690,7 +6728,8 @@ type EndpointServicesListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// EndpointServicesListResultIterator provides access to a complete listing of EndpointServiceResult values.
+// EndpointServicesListResultIterator provides access to a complete listing of EndpointServiceResult
+// values.
type EndpointServicesListResultIterator struct {
i int
page EndpointServicesListResultPage
@@ -6833,8 +6872,11 @@ func (page EndpointServicesListResultPage) Values() []EndpointServiceResult {
}
// Creates a new instance of the EndpointServicesListResultPage type.
-func NewEndpointServicesListResultPage(getNextPage func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error)) EndpointServicesListResultPage {
- return EndpointServicesListResultPage{fn: getNextPage}
+func NewEndpointServicesListResultPage(cur EndpointServicesListResult, getNextPage func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error)) EndpointServicesListResultPage {
+ return EndpointServicesListResultPage{
+ fn: getNextPage,
+ eslr: cur,
+ }
}
// Error ...
@@ -7131,8 +7173,8 @@ func (future *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) Result(clie
return
}
-// ExpressRouteCircuitAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ExpressRouteCircuitAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type ExpressRouteCircuitAuthorizationsDeleteFuture struct {
azure.Future
}
@@ -7154,7 +7196,8 @@ func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) Result(client Expre
return
}
-// ExpressRouteCircuitConnection express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+// ExpressRouteCircuitConnection express Route Circuit Connection in an ExpressRouteCircuitPeering
+// resource.
type ExpressRouteCircuitConnection struct {
autorest.Response `json:"-"`
*ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`
@@ -7232,8 +7275,8 @@ func (ercc *ExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error {
return nil
}
-// ExpressRouteCircuitConnectionListResult response for ListConnections API service call retrieves all global
-// reach connections that belongs to a Private Peering for an ExpressRouteCircuit.
+// ExpressRouteCircuitConnectionListResult response for ListConnections API service call retrieves all
+// global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.
type ExpressRouteCircuitConnectionListResult struct {
autorest.Response `json:"-"`
// Value - The global reach connection associated with Private Peering in an ExpressRoute Circuit.
@@ -7386,8 +7429,11 @@ func (page ExpressRouteCircuitConnectionListResultPage) Values() []ExpressRouteC
}
// Creates a new instance of the ExpressRouteCircuitConnectionListResultPage type.
-func NewExpressRouteCircuitConnectionListResultPage(getNextPage func(context.Context, ExpressRouteCircuitConnectionListResult) (ExpressRouteCircuitConnectionListResult, error)) ExpressRouteCircuitConnectionListResultPage {
- return ExpressRouteCircuitConnectionListResultPage{fn: getNextPage}
+func NewExpressRouteCircuitConnectionListResultPage(cur ExpressRouteCircuitConnectionListResult, getNextPage func(context.Context, ExpressRouteCircuitConnectionListResult) (ExpressRouteCircuitConnectionListResult, error)) ExpressRouteCircuitConnectionListResultPage {
+ return ExpressRouteCircuitConnectionListResultPage{
+ fn: getNextPage,
+ ercclr: cur,
+ }
}
// ExpressRouteCircuitConnectionPropertiesFormat ...
@@ -7424,8 +7470,8 @@ func (erccpf ExpressRouteCircuitConnectionPropertiesFormat) MarshalJSON() ([]byt
return json.Marshal(objectMap)
}
-// ExpressRouteCircuitConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// ExpressRouteCircuitConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type ExpressRouteCircuitConnectionsCreateOrUpdateFuture struct {
azure.Future
}
@@ -7485,7 +7531,8 @@ type ExpressRouteCircuitListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit values.
+// ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit
+// values.
type ExpressRouteCircuitListResultIterator struct {
i int
page ExpressRouteCircuitListResultPage
@@ -7628,8 +7675,11 @@ func (page ExpressRouteCircuitListResultPage) Values() []ExpressRouteCircuit {
}
// Creates a new instance of the ExpressRouteCircuitListResultPage type.
-func NewExpressRouteCircuitListResultPage(getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage {
- return ExpressRouteCircuitListResultPage{fn: getNextPage}
+func NewExpressRouteCircuitListResultPage(cur ExpressRouteCircuitListResult, getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage {
+ return ExpressRouteCircuitListResultPage{
+ fn: getNextPage,
+ erclr: cur,
+ }
}
// ExpressRouteCircuitPeering peering in an ExpressRouteCircuit resource.
@@ -7732,8 +7782,8 @@ type ExpressRouteCircuitPeeringID struct {
ID *string `json:"id,omitempty"`
}
-// ExpressRouteCircuitPeeringListResult response for ListPeering API service call retrieves all peerings that
-// belong to an ExpressRouteCircuit.
+// ExpressRouteCircuitPeeringListResult response for ListPeering API service call retrieves all peerings
+// that belong to an ExpressRouteCircuit.
type ExpressRouteCircuitPeeringListResult struct {
autorest.Response `json:"-"`
// Value - The peerings in an express route circuit.
@@ -7886,8 +7936,11 @@ func (page ExpressRouteCircuitPeeringListResultPage) Values() []ExpressRouteCirc
}
// Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.
-func NewExpressRouteCircuitPeeringListResultPage(getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage {
- return ExpressRouteCircuitPeeringListResultPage{fn: getNextPage}
+func NewExpressRouteCircuitPeeringListResultPage(cur ExpressRouteCircuitPeeringListResult, getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage {
+ return ExpressRouteCircuitPeeringListResultPage{
+ fn: getNextPage,
+ ercplr: cur,
+ }
}
// ExpressRouteCircuitPeeringPropertiesFormat ...
@@ -7932,8 +7985,8 @@ type ExpressRouteCircuitPeeringPropertiesFormat struct {
Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"`
}
-// ExpressRouteCircuitPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// ExpressRouteCircuitPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type ExpressRouteCircuitPeeringsCreateOrUpdateFuture struct {
azure.Future
}
@@ -8095,8 +8148,8 @@ type ExpressRouteCircuitRoutesTableSummary struct {
StatePfxRcd *string `json:"statePfxRcd,omitempty"`
}
-// ExpressRouteCircuitsArpTableListResult response for ListArpTable associated with the Express Route Circuits
-// API.
+// ExpressRouteCircuitsArpTableListResult response for ListArpTable associated with the Express Route
+// Circuits API.
type ExpressRouteCircuitsArpTableListResult struct {
autorest.Response `json:"-"`
// Value - Gets list of the ARP table.
@@ -8134,8 +8187,8 @@ func (future *ExpressRouteCircuitsCreateOrUpdateFuture) Result(client ExpressRou
return
}
-// ExpressRouteCircuitsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ExpressRouteCircuitsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ExpressRouteCircuitsDeleteFuture struct {
azure.Future
}
@@ -8157,7 +8210,8 @@ func (future *ExpressRouteCircuitsDeleteFuture) Result(client ExpressRouteCircui
return
}
-// ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an ExpressRouteCircuit.
+// ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an
+// ExpressRouteCircuit.
type ExpressRouteCircuitServiceProviderProperties struct {
// ServiceProviderName - The serviceProviderName.
ServiceProviderName *string `json:"serviceProviderName,omitempty"`
@@ -8235,8 +8289,8 @@ func (future *ExpressRouteCircuitsListRoutesTableFuture) Result(client ExpressRo
return
}
-// ExpressRouteCircuitsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// ExpressRouteCircuitsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type ExpressRouteCircuitsListRoutesTableSummaryFuture struct {
azure.Future
}
@@ -8274,8 +8328,8 @@ type ExpressRouteCircuitsRoutesTableListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// ExpressRouteCircuitsRoutesTableSummaryListResult response for ListRoutesTable associated with the Express
-// Route Circuits API.
+// ExpressRouteCircuitsRoutesTableSummaryListResult response for ListRoutesTable associated with the
+// Express Route Circuits API.
type ExpressRouteCircuitsRoutesTableSummaryListResult struct {
autorest.Response `json:"-"`
// Value - A list of the routes table.
@@ -8433,8 +8487,8 @@ func (ercp ExpressRouteConnectionProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// ExpressRouteConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ExpressRouteConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type ExpressRouteConnectionsCreateOrUpdateFuture struct {
azure.Future
}
@@ -8761,8 +8815,11 @@ func (page ExpressRouteCrossConnectionListResultPage) Values() []ExpressRouteCro
}
// Creates a new instance of the ExpressRouteCrossConnectionListResultPage type.
-func NewExpressRouteCrossConnectionListResultPage(getNextPage func(context.Context, ExpressRouteCrossConnectionListResult) (ExpressRouteCrossConnectionListResult, error)) ExpressRouteCrossConnectionListResultPage {
- return ExpressRouteCrossConnectionListResultPage{fn: getNextPage}
+func NewExpressRouteCrossConnectionListResultPage(cur ExpressRouteCrossConnectionListResult, getNextPage func(context.Context, ExpressRouteCrossConnectionListResult) (ExpressRouteCrossConnectionListResult, error)) ExpressRouteCrossConnectionListResultPage {
+ return ExpressRouteCrossConnectionListResultPage{
+ fn: getNextPage,
+ ercclr: cur,
+ }
}
// ExpressRouteCrossConnectionPeering peering in an ExpressRoute Cross Connection resource.
@@ -8843,8 +8900,8 @@ func (erccp *ExpressRouteCrossConnectionPeering) UnmarshalJSON(body []byte) erro
return nil
}
-// ExpressRouteCrossConnectionPeeringList response for ListPeering API service call retrieves all peerings that
-// belong to an ExpressRouteCrossConnection.
+// ExpressRouteCrossConnectionPeeringList response for ListPeering API service call retrieves all peerings
+// that belong to an ExpressRouteCrossConnection.
type ExpressRouteCrossConnectionPeeringList struct {
autorest.Response `json:"-"`
// Value - The peerings in an express route cross connection.
@@ -9006,8 +9063,11 @@ func (page ExpressRouteCrossConnectionPeeringListPage) Values() []ExpressRouteCr
}
// Creates a new instance of the ExpressRouteCrossConnectionPeeringListPage type.
-func NewExpressRouteCrossConnectionPeeringListPage(getNextPage func(context.Context, ExpressRouteCrossConnectionPeeringList) (ExpressRouteCrossConnectionPeeringList, error)) ExpressRouteCrossConnectionPeeringListPage {
- return ExpressRouteCrossConnectionPeeringListPage{fn: getNextPage}
+func NewExpressRouteCrossConnectionPeeringListPage(cur ExpressRouteCrossConnectionPeeringList, getNextPage func(context.Context, ExpressRouteCrossConnectionPeeringList) (ExpressRouteCrossConnectionPeeringList, error)) ExpressRouteCrossConnectionPeeringListPage {
+ return ExpressRouteCrossConnectionPeeringListPage{
+ fn: getNextPage,
+ erccpl: cur,
+ }
}
// ExpressRouteCrossConnectionPeeringProperties ...
@@ -9112,8 +9172,8 @@ func (future *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) Result(cl
return
}
-// ExpressRouteCrossConnectionPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// ExpressRouteCrossConnectionPeeringsDeleteFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type ExpressRouteCrossConnectionPeeringsDeleteFuture struct {
azure.Future
}
@@ -9195,8 +9255,8 @@ type ExpressRouteCrossConnectionRoutesTableSummary struct {
StateOrPrefixesReceived *string `json:"stateOrPrefixesReceived,omitempty"`
}
-// ExpressRouteCrossConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// ExpressRouteCrossConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type ExpressRouteCrossConnectionsCreateOrUpdateFuture struct {
azure.Future
}
@@ -9224,8 +9284,8 @@ func (future *ExpressRouteCrossConnectionsCreateOrUpdateFuture) Result(client Ex
return
}
-// ExpressRouteCrossConnectionsListArpTableFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ExpressRouteCrossConnectionsListArpTableFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type ExpressRouteCrossConnectionsListArpTableFuture struct {
azure.Future
}
@@ -9253,8 +9313,8 @@ func (future *ExpressRouteCrossConnectionsListArpTableFuture) Result(client Expr
return
}
-// ExpressRouteCrossConnectionsListRoutesTableFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// ExpressRouteCrossConnectionsListRoutesTableFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type ExpressRouteCrossConnectionsListRoutesTableFuture struct {
azure.Future
}
@@ -9282,8 +9342,8 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableFuture) Result(client E
return
}
-// ExpressRouteCrossConnectionsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the
-// results of a long-running operation.
+// ExpressRouteCrossConnectionsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving
+// the results of a long-running operation.
type ExpressRouteCrossConnectionsListRoutesTableSummaryFuture struct {
azure.Future
}
@@ -9311,8 +9371,8 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture) Result(c
return
}
-// ExpressRouteCrossConnectionsRoutesTableSummaryListResult response for ListRoutesTable associated with the
-// Express Route Cross Connections.
+// ExpressRouteCrossConnectionsRoutesTableSummaryListResult response for ListRoutesTable associated with
+// the Express Route Cross Connections.
type ExpressRouteCrossConnectionsRoutesTableSummaryListResult struct {
autorest.Response `json:"-"`
// Value - A list of the routes table.
@@ -9330,8 +9390,8 @@ func (erccrtslr ExpressRouteCrossConnectionsRoutesTableSummaryListResult) Marsha
return json.Marshal(objectMap)
}
-// ExpressRouteCrossConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ExpressRouteCrossConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type ExpressRouteCrossConnectionsUpdateTagsFuture struct {
azure.Future
}
@@ -9548,8 +9608,8 @@ func (future *ExpressRouteGatewaysCreateOrUpdateFuture) Result(client ExpressRou
return
}
-// ExpressRouteGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ExpressRouteGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ExpressRouteGatewaysDeleteFuture struct {
azure.Future
}
@@ -9802,8 +9862,11 @@ func (page ExpressRouteLinkListResultPage) Values() []ExpressRouteLink {
}
// Creates a new instance of the ExpressRouteLinkListResultPage type.
-func NewExpressRouteLinkListResultPage(getNextPage func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error)) ExpressRouteLinkListResultPage {
- return ExpressRouteLinkListResultPage{fn: getNextPage}
+func NewExpressRouteLinkListResultPage(cur ExpressRouteLinkListResult, getNextPage func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error)) ExpressRouteLinkListResultPage {
+ return ExpressRouteLinkListResultPage{
+ fn: getNextPage,
+ erllr: cur,
+ }
}
// ExpressRouteLinkPropertiesFormat properties specific to ExpressRouteLink resources.
@@ -10100,8 +10163,11 @@ func (page ExpressRoutePortListResultPage) Values() []ExpressRoutePort {
}
// Creates a new instance of the ExpressRoutePortListResultPage type.
-func NewExpressRoutePortListResultPage(getNextPage func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error)) ExpressRoutePortListResultPage {
- return ExpressRoutePortListResultPage{fn: getNextPage}
+func NewExpressRoutePortListResultPage(cur ExpressRoutePortListResult, getNextPage func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error)) ExpressRoutePortListResultPage {
+ return ExpressRoutePortListResultPage{
+ fn: getNextPage,
+ erplr: cur,
+ }
}
// ExpressRoutePortPropertiesFormat properties specific to ExpressRoutePort resources.
@@ -10468,8 +10534,11 @@ func (page ExpressRoutePortsLocationListResultPage) Values() []ExpressRoutePorts
}
// Creates a new instance of the ExpressRoutePortsLocationListResultPage type.
-func NewExpressRoutePortsLocationListResultPage(getNextPage func(context.Context, ExpressRoutePortsLocationListResult) (ExpressRoutePortsLocationListResult, error)) ExpressRoutePortsLocationListResultPage {
- return ExpressRoutePortsLocationListResultPage{fn: getNextPage}
+func NewExpressRoutePortsLocationListResultPage(cur ExpressRoutePortsLocationListResult, getNextPage func(context.Context, ExpressRoutePortsLocationListResult) (ExpressRoutePortsLocationListResult, error)) ExpressRoutePortsLocationListResultPage {
+ return ExpressRoutePortsLocationListResultPage{
+ fn: getNextPage,
+ erpllr: cur,
+ }
}
// ExpressRoutePortsLocationPropertiesFormat properties specific to ExpressRoutePorts peering location
@@ -10494,8 +10563,8 @@ func (erplpf ExpressRoutePortsLocationPropertiesFormat) MarshalJSON() ([]byte, e
return json.Marshal(objectMap)
}
-// ExpressRoutePortsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// ExpressRoutePortsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type ExpressRoutePortsUpdateTagsFuture struct {
azure.Future
}
@@ -10787,8 +10856,11 @@ func (page ExpressRouteServiceProviderListResultPage) Values() []ExpressRouteSer
}
// Creates a new instance of the ExpressRouteServiceProviderListResultPage type.
-func NewExpressRouteServiceProviderListResultPage(getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage {
- return ExpressRouteServiceProviderListResultPage{fn: getNextPage}
+func NewExpressRouteServiceProviderListResultPage(cur ExpressRouteServiceProviderListResult, getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage {
+ return ExpressRouteServiceProviderListResultPage{
+ fn: getNextPage,
+ ersplr: cur,
+ }
}
// ExpressRouteServiceProviderPropertiesFormat properties of ExpressRouteServiceProvider.
@@ -10885,8 +10957,8 @@ type FlowLogProperties struct {
Format *FlowLogFormatParameters `json:"format,omitempty"`
}
-// FlowLogStatusParameters parameters that define a resource to query flow log and traffic analytics (optional)
-// status.
+// FlowLogStatusParameters parameters that define a resource to query flow log and traffic analytics
+// (optional) status.
type FlowLogStatusParameters struct {
// TargetResourceID - The target resource where getting the flow log and traffic analytics (optional) status.
TargetResourceID *string `json:"targetResourceId,omitempty"`
@@ -11525,8 +11597,11 @@ func (page InboundNatRuleListResultPage) Values() []InboundNatRule {
}
// Creates a new instance of the InboundNatRuleListResultPage type.
-func NewInboundNatRuleListResultPage(getNextPage func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error)) InboundNatRuleListResultPage {
- return InboundNatRuleListResultPage{fn: getNextPage}
+func NewInboundNatRuleListResultPage(cur InboundNatRuleListResult, getNextPage func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error)) InboundNatRuleListResultPage {
+ return InboundNatRuleListResultPage{
+ fn: getNextPage,
+ inrlr: cur,
+ }
}
// InboundNatRulePropertiesFormat properties of the inbound NAT rule.
@@ -12061,8 +12136,11 @@ func (page InterfaceEndpointListResultPage) Values() []InterfaceEndpoint {
}
// Creates a new instance of the InterfaceEndpointListResultPage type.
-func NewInterfaceEndpointListResultPage(getNextPage func(context.Context, InterfaceEndpointListResult) (InterfaceEndpointListResult, error)) InterfaceEndpointListResultPage {
- return InterfaceEndpointListResultPage{fn: getNextPage}
+func NewInterfaceEndpointListResultPage(cur InterfaceEndpointListResult, getNextPage func(context.Context, InterfaceEndpointListResult) (InterfaceEndpointListResult, error)) InterfaceEndpointListResultPage {
+ return InterfaceEndpointListResultPage{
+ fn: getNextPage,
+ ielr: cur,
+ }
}
// InterfaceEndpointProperties properties of the interface endpoint.
@@ -12125,8 +12203,8 @@ func (future *InterfaceEndpointsCreateOrUpdateFuture) Result(client InterfaceEnd
return
}
-// InterfaceEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// InterfaceEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type InterfaceEndpointsDeleteFuture struct {
azure.Future
}
@@ -12248,8 +12326,8 @@ func (iiclr InterfaceIPConfigurationListResult) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// InterfaceIPConfigurationListResultIterator provides access to a complete listing of InterfaceIPConfiguration
-// values.
+// InterfaceIPConfigurationListResultIterator provides access to a complete listing of
+// InterfaceIPConfiguration values.
type InterfaceIPConfigurationListResultIterator struct {
i int
page InterfaceIPConfigurationListResultPage
@@ -12392,8 +12470,11 @@ func (page InterfaceIPConfigurationListResultPage) Values() []InterfaceIPConfigu
}
// Creates a new instance of the InterfaceIPConfigurationListResultPage type.
-func NewInterfaceIPConfigurationListResultPage(getNextPage func(context.Context, InterfaceIPConfigurationListResult) (InterfaceIPConfigurationListResult, error)) InterfaceIPConfigurationListResultPage {
- return InterfaceIPConfigurationListResultPage{fn: getNextPage}
+func NewInterfaceIPConfigurationListResultPage(cur InterfaceIPConfigurationListResult, getNextPage func(context.Context, InterfaceIPConfigurationListResult) (InterfaceIPConfigurationListResult, error)) InterfaceIPConfigurationListResultPage {
+ return InterfaceIPConfigurationListResultPage{
+ fn: getNextPage,
+ iiclr: cur,
+ }
}
// InterfaceIPConfigurationPropertiesFormat properties of IP configuration.
@@ -12585,8 +12666,11 @@ func (page InterfaceListResultPage) Values() []Interface {
}
// Creates a new instance of the InterfaceListResultPage type.
-func NewInterfaceListResultPage(getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage {
- return InterfaceListResultPage{fn: getNextPage}
+func NewInterfaceListResultPage(cur InterfaceListResult, getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage {
+ return InterfaceListResultPage{
+ fn: getNextPage,
+ ilr: cur,
+ }
}
// InterfaceLoadBalancerListResult response for list ip configurations API service call.
@@ -12750,8 +12834,11 @@ func (page InterfaceLoadBalancerListResultPage) Values() []LoadBalancer {
}
// Creates a new instance of the InterfaceLoadBalancerListResultPage type.
-func NewInterfaceLoadBalancerListResultPage(getNextPage func(context.Context, InterfaceLoadBalancerListResult) (InterfaceLoadBalancerListResult, error)) InterfaceLoadBalancerListResultPage {
- return InterfaceLoadBalancerListResultPage{fn: getNextPage}
+func NewInterfaceLoadBalancerListResultPage(cur InterfaceLoadBalancerListResult, getNextPage func(context.Context, InterfaceLoadBalancerListResult) (InterfaceLoadBalancerListResult, error)) InterfaceLoadBalancerListResultPage {
+ return InterfaceLoadBalancerListResultPage{
+ fn: getNextPage,
+ ilblr: cur,
+ }
}
// InterfacePropertiesFormat networkInterface properties.
@@ -12820,8 +12907,8 @@ func (ipf InterfacePropertiesFormat) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// InterfacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// InterfacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type InterfacesCreateOrUpdateFuture struct {
azure.Future
}
@@ -12849,7 +12936,8 @@ func (future *InterfacesCreateOrUpdateFuture) Result(client InterfacesClient) (i
return
}
-// InterfacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// InterfacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type InterfacesDeleteFuture struct {
azure.Future
}
@@ -12900,8 +12988,8 @@ func (future *InterfacesGetEffectiveRouteTableFuture) Result(client InterfacesCl
return
}
-// InterfacesListEffectiveNetworkSecurityGroupsFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// InterfacesListEffectiveNetworkSecurityGroupsFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type InterfacesListEffectiveNetworkSecurityGroupsFuture struct {
azure.Future
}
@@ -13213,8 +13301,11 @@ func (page InterfaceTapConfigurationListResultPage) Values() []InterfaceTapConfi
}
// Creates a new instance of the InterfaceTapConfigurationListResultPage type.
-func NewInterfaceTapConfigurationListResultPage(getNextPage func(context.Context, InterfaceTapConfigurationListResult) (InterfaceTapConfigurationListResult, error)) InterfaceTapConfigurationListResultPage {
- return InterfaceTapConfigurationListResultPage{fn: getNextPage}
+func NewInterfaceTapConfigurationListResultPage(cur InterfaceTapConfigurationListResult, getNextPage func(context.Context, InterfaceTapConfigurationListResult) (InterfaceTapConfigurationListResult, error)) InterfaceTapConfigurationListResultPage {
+ return InterfaceTapConfigurationListResultPage{
+ fn: getNextPage,
+ itclr: cur,
+ }
}
// InterfaceTapConfigurationPropertiesFormat properties of Virtual Network Tap configuration.
@@ -13234,8 +13325,8 @@ func (itcpf InterfaceTapConfigurationPropertiesFormat) MarshalJSON() ([]byte, er
return json.Marshal(objectMap)
}
-// InterfaceTapConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// InterfaceTapConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type InterfaceTapConfigurationsCreateOrUpdateFuture struct {
azure.Future
}
@@ -13541,8 +13632,8 @@ type Ipv6ExpressRouteCircuitPeeringConfig struct {
State ExpressRouteCircuitPeeringState `json:"state,omitempty"`
}
-// ListHubVirtualNetworkConnectionsResult list of HubVirtualNetworkConnections and a URL nextLink to get the
-// next set of results.
+// ListHubVirtualNetworkConnectionsResult list of HubVirtualNetworkConnections and a URL nextLink to get
+// the next set of results.
type ListHubVirtualNetworkConnectionsResult struct {
autorest.Response `json:"-"`
// Value - List of HubVirtualNetworkConnections.
@@ -13695,12 +13786,15 @@ func (page ListHubVirtualNetworkConnectionsResultPage) Values() []HubVirtualNetw
}
// Creates a new instance of the ListHubVirtualNetworkConnectionsResultPage type.
-func NewListHubVirtualNetworkConnectionsResultPage(getNextPage func(context.Context, ListHubVirtualNetworkConnectionsResult) (ListHubVirtualNetworkConnectionsResult, error)) ListHubVirtualNetworkConnectionsResultPage {
- return ListHubVirtualNetworkConnectionsResultPage{fn: getNextPage}
+func NewListHubVirtualNetworkConnectionsResultPage(cur ListHubVirtualNetworkConnectionsResult, getNextPage func(context.Context, ListHubVirtualNetworkConnectionsResult) (ListHubVirtualNetworkConnectionsResult, error)) ListHubVirtualNetworkConnectionsResultPage {
+ return ListHubVirtualNetworkConnectionsResultPage{
+ fn: getNextPage,
+ lhvncr: cur,
+ }
}
-// ListP2SVpnGatewaysResult result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways
-// and a URL nextLink to get the next set of results.
+// ListP2SVpnGatewaysResult result of the request to list P2SVpnGateways. It contains a list of
+// P2SVpnGateways and a URL nextLink to get the next set of results.
type ListP2SVpnGatewaysResult struct {
autorest.Response `json:"-"`
// Value - List of P2SVpnGateways.
@@ -13852,13 +13946,16 @@ func (page ListP2SVpnGatewaysResultPage) Values() []P2SVpnGateway {
}
// Creates a new instance of the ListP2SVpnGatewaysResultPage type.
-func NewListP2SVpnGatewaysResultPage(getNextPage func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error)) ListP2SVpnGatewaysResultPage {
- return ListP2SVpnGatewaysResultPage{fn: getNextPage}
+func NewListP2SVpnGatewaysResultPage(cur ListP2SVpnGatewaysResult, getNextPage func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error)) ListP2SVpnGatewaysResultPage {
+ return ListP2SVpnGatewaysResultPage{
+ fn: getNextPage,
+ lpvgr: cur,
+ }
}
-// ListP2SVpnServerConfigurationsResult result of the request to list all P2SVpnServerConfigurations associated
-// to a VirtualWan. It contains a list of P2SVpnServerConfigurations and a URL nextLink to get the next set of
-// results.
+// ListP2SVpnServerConfigurationsResult result of the request to list all P2SVpnServerConfigurations
+// associated to a VirtualWan. It contains a list of P2SVpnServerConfigurations and a URL nextLink to get
+// the next set of results.
type ListP2SVpnServerConfigurationsResult struct {
autorest.Response `json:"-"`
// Value - List of P2SVpnServerConfigurations.
@@ -14011,12 +14108,15 @@ func (page ListP2SVpnServerConfigurationsResultPage) Values() []P2SVpnServerConf
}
// Creates a new instance of the ListP2SVpnServerConfigurationsResultPage type.
-func NewListP2SVpnServerConfigurationsResultPage(getNextPage func(context.Context, ListP2SVpnServerConfigurationsResult) (ListP2SVpnServerConfigurationsResult, error)) ListP2SVpnServerConfigurationsResultPage {
- return ListP2SVpnServerConfigurationsResultPage{fn: getNextPage}
+func NewListP2SVpnServerConfigurationsResultPage(cur ListP2SVpnServerConfigurationsResult, getNextPage func(context.Context, ListP2SVpnServerConfigurationsResult) (ListP2SVpnServerConfigurationsResult, error)) ListP2SVpnServerConfigurationsResultPage {
+ return ListP2SVpnServerConfigurationsResultPage{
+ fn: getNextPage,
+ lpvscr: cur,
+ }
}
-// ListVirtualHubsResult result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL
-// nextLink to get the next set of results.
+// ListVirtualHubsResult result of the request to list VirtualHubs. It contains a list of VirtualHubs and a
+// URL nextLink to get the next set of results.
type ListVirtualHubsResult struct {
autorest.Response `json:"-"`
// Value - List of VirtualHubs.
@@ -14168,12 +14268,15 @@ func (page ListVirtualHubsResultPage) Values() []VirtualHub {
}
// Creates a new instance of the ListVirtualHubsResultPage type.
-func NewListVirtualHubsResultPage(getNextPage func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error)) ListVirtualHubsResultPage {
- return ListVirtualHubsResultPage{fn: getNextPage}
+func NewListVirtualHubsResultPage(cur ListVirtualHubsResult, getNextPage func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error)) ListVirtualHubsResultPage {
+ return ListVirtualHubsResultPage{
+ fn: getNextPage,
+ lvhr: cur,
+ }
}
-// ListVirtualWANsResult result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL
-// nextLink to get the next set of results.
+// ListVirtualWANsResult result of the request to list VirtualWANs. It contains a list of VirtualWANs and a
+// URL nextLink to get the next set of results.
type ListVirtualWANsResult struct {
autorest.Response `json:"-"`
// Value - List of VirtualWANs.
@@ -14325,12 +14428,15 @@ func (page ListVirtualWANsResultPage) Values() []VirtualWAN {
}
// Creates a new instance of the ListVirtualWANsResultPage type.
-func NewListVirtualWANsResultPage(getNextPage func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error)) ListVirtualWANsResultPage {
- return ListVirtualWANsResultPage{fn: getNextPage}
+func NewListVirtualWANsResultPage(cur ListVirtualWANsResult, getNextPage func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error)) ListVirtualWANsResultPage {
+ return ListVirtualWANsResultPage{
+ fn: getNextPage,
+ lvwnr: cur,
+ }
}
-// ListVpnConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway. It
-// contains a list of Vpn Connections and a URL nextLink to get the next set of results.
+// ListVpnConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway.
+// It contains a list of Vpn Connections and a URL nextLink to get the next set of results.
type ListVpnConnectionsResult struct {
autorest.Response `json:"-"`
// Value - List of Vpn Connections.
@@ -14482,12 +14588,15 @@ func (page ListVpnConnectionsResultPage) Values() []VpnConnection {
}
// Creates a new instance of the ListVpnConnectionsResultPage type.
-func NewListVpnConnectionsResultPage(getNextPage func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error)) ListVpnConnectionsResultPage {
- return ListVpnConnectionsResultPage{fn: getNextPage}
+func NewListVpnConnectionsResultPage(cur ListVpnConnectionsResult, getNextPage func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error)) ListVpnConnectionsResultPage {
+ return ListVpnConnectionsResultPage{
+ fn: getNextPage,
+ lvcr: cur,
+ }
}
-// ListVpnGatewaysResult result of the request to list VpnGateways. It contains a list of VpnGateways and a URL
-// nextLink to get the next set of results.
+// ListVpnGatewaysResult result of the request to list VpnGateways. It contains a list of VpnGateways and a
+// URL nextLink to get the next set of results.
type ListVpnGatewaysResult struct {
autorest.Response `json:"-"`
// Value - List of VpnGateways.
@@ -14639,12 +14748,15 @@ func (page ListVpnGatewaysResultPage) Values() []VpnGateway {
}
// Creates a new instance of the ListVpnGatewaysResultPage type.
-func NewListVpnGatewaysResultPage(getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage {
- return ListVpnGatewaysResultPage{fn: getNextPage}
+func NewListVpnGatewaysResultPage(cur ListVpnGatewaysResult, getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage {
+ return ListVpnGatewaysResultPage{
+ fn: getNextPage,
+ lvgr: cur,
+ }
}
-// ListVpnSitesResult result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink
-// to get the next set of results.
+// ListVpnSitesResult result of the request to list VpnSites. It contains a list of VpnSites and a URL
+// nextLink to get the next set of results.
type ListVpnSitesResult struct {
autorest.Response `json:"-"`
// Value - List of VpnSites.
@@ -14796,8 +14908,11 @@ func (page ListVpnSitesResultPage) Values() []VpnSite {
}
// Creates a new instance of the ListVpnSitesResultPage type.
-func NewListVpnSitesResultPage(getNextPage func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error)) ListVpnSitesResultPage {
- return ListVpnSitesResultPage{fn: getNextPage}
+func NewListVpnSitesResultPage(cur ListVpnSitesResult, getNextPage func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error)) ListVpnSitesResultPage {
+ return ListVpnSitesResultPage{
+ fn: getNextPage,
+ lvsr: cur,
+ }
}
// LoadBalancer loadBalancer resource
@@ -14950,8 +15065,8 @@ func (lbbaplr LoadBalancerBackendAddressPoolListResult) MarshalJSON() ([]byte, e
return json.Marshal(objectMap)
}
-// LoadBalancerBackendAddressPoolListResultIterator provides access to a complete listing of BackendAddressPool
-// values.
+// LoadBalancerBackendAddressPoolListResultIterator provides access to a complete listing of
+// BackendAddressPool values.
type LoadBalancerBackendAddressPoolListResultIterator struct {
i int
page LoadBalancerBackendAddressPoolListResultPage
@@ -15094,8 +15209,11 @@ func (page LoadBalancerBackendAddressPoolListResultPage) Values() []BackendAddre
}
// Creates a new instance of the LoadBalancerBackendAddressPoolListResultPage type.
-func NewLoadBalancerBackendAddressPoolListResultPage(getNextPage func(context.Context, LoadBalancerBackendAddressPoolListResult) (LoadBalancerBackendAddressPoolListResult, error)) LoadBalancerBackendAddressPoolListResultPage {
- return LoadBalancerBackendAddressPoolListResultPage{fn: getNextPage}
+func NewLoadBalancerBackendAddressPoolListResultPage(cur LoadBalancerBackendAddressPoolListResult, getNextPage func(context.Context, LoadBalancerBackendAddressPoolListResult) (LoadBalancerBackendAddressPoolListResult, error)) LoadBalancerBackendAddressPoolListResultPage {
+ return LoadBalancerBackendAddressPoolListResultPage{
+ fn: getNextPage,
+ lbbaplr: cur,
+ }
}
// LoadBalancerFrontendIPConfigurationListResult response for ListFrontendIPConfiguration API service call.
@@ -15260,8 +15378,11 @@ func (page LoadBalancerFrontendIPConfigurationListResultPage) Values() []Fronten
}
// Creates a new instance of the LoadBalancerFrontendIPConfigurationListResultPage type.
-func NewLoadBalancerFrontendIPConfigurationListResultPage(getNextPage func(context.Context, LoadBalancerFrontendIPConfigurationListResult) (LoadBalancerFrontendIPConfigurationListResult, error)) LoadBalancerFrontendIPConfigurationListResultPage {
- return LoadBalancerFrontendIPConfigurationListResultPage{fn: getNextPage}
+func NewLoadBalancerFrontendIPConfigurationListResultPage(cur LoadBalancerFrontendIPConfigurationListResult, getNextPage func(context.Context, LoadBalancerFrontendIPConfigurationListResult) (LoadBalancerFrontendIPConfigurationListResult, error)) LoadBalancerFrontendIPConfigurationListResultPage {
+ return LoadBalancerFrontendIPConfigurationListResultPage{
+ fn: getNextPage,
+ lbficlr: cur,
+ }
}
// LoadBalancerListResult response for ListLoadBalancers API service call.
@@ -15425,8 +15546,11 @@ func (page LoadBalancerListResultPage) Values() []LoadBalancer {
}
// Creates a new instance of the LoadBalancerListResultPage type.
-func NewLoadBalancerListResultPage(getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage {
- return LoadBalancerListResultPage{fn: getNextPage}
+func NewLoadBalancerListResultPage(cur LoadBalancerListResult, getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage {
+ return LoadBalancerListResultPage{
+ fn: getNextPage,
+ lblr: cur,
+ }
}
// LoadBalancerLoadBalancingRuleListResult response for ListLoadBalancingRule API service call.
@@ -15447,8 +15571,8 @@ func (lblbrlr LoadBalancerLoadBalancingRuleListResult) MarshalJSON() ([]byte, er
return json.Marshal(objectMap)
}
-// LoadBalancerLoadBalancingRuleListResultIterator provides access to a complete listing of LoadBalancingRule
-// values.
+// LoadBalancerLoadBalancingRuleListResultIterator provides access to a complete listing of
+// LoadBalancingRule values.
type LoadBalancerLoadBalancingRuleListResultIterator struct {
i int
page LoadBalancerLoadBalancingRuleListResultPage
@@ -15591,8 +15715,11 @@ func (page LoadBalancerLoadBalancingRuleListResultPage) Values() []LoadBalancing
}
// Creates a new instance of the LoadBalancerLoadBalancingRuleListResultPage type.
-func NewLoadBalancerLoadBalancingRuleListResultPage(getNextPage func(context.Context, LoadBalancerLoadBalancingRuleListResult) (LoadBalancerLoadBalancingRuleListResult, error)) LoadBalancerLoadBalancingRuleListResultPage {
- return LoadBalancerLoadBalancingRuleListResultPage{fn: getNextPage}
+func NewLoadBalancerLoadBalancingRuleListResultPage(cur LoadBalancerLoadBalancingRuleListResult, getNextPage func(context.Context, LoadBalancerLoadBalancingRuleListResult) (LoadBalancerLoadBalancingRuleListResult, error)) LoadBalancerLoadBalancingRuleListResultPage {
+ return LoadBalancerLoadBalancingRuleListResultPage{
+ fn: getNextPage,
+ lblbrlr: cur,
+ }
}
// LoadBalancerOutboundRuleListResult response for ListOutboundRule API service call.
@@ -15756,8 +15883,11 @@ func (page LoadBalancerOutboundRuleListResultPage) Values() []OutboundRule {
}
// Creates a new instance of the LoadBalancerOutboundRuleListResultPage type.
-func NewLoadBalancerOutboundRuleListResultPage(getNextPage func(context.Context, LoadBalancerOutboundRuleListResult) (LoadBalancerOutboundRuleListResult, error)) LoadBalancerOutboundRuleListResultPage {
- return LoadBalancerOutboundRuleListResultPage{fn: getNextPage}
+func NewLoadBalancerOutboundRuleListResultPage(cur LoadBalancerOutboundRuleListResult, getNextPage func(context.Context, LoadBalancerOutboundRuleListResult) (LoadBalancerOutboundRuleListResult, error)) LoadBalancerOutboundRuleListResultPage {
+ return LoadBalancerOutboundRuleListResultPage{
+ fn: getNextPage,
+ lborlr: cur,
+ }
}
// LoadBalancerProbeListResult response for ListProbe API service call.
@@ -15921,8 +16051,11 @@ func (page LoadBalancerProbeListResultPage) Values() []Probe {
}
// Creates a new instance of the LoadBalancerProbeListResultPage type.
-func NewLoadBalancerProbeListResultPage(getNextPage func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error)) LoadBalancerProbeListResultPage {
- return LoadBalancerProbeListResultPage{fn: getNextPage}
+func NewLoadBalancerProbeListResultPage(cur LoadBalancerProbeListResult, getNextPage func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error)) LoadBalancerProbeListResultPage {
+ return LoadBalancerProbeListResultPage{
+ fn: getNextPage,
+ lbplr: cur,
+ }
}
// LoadBalancerPropertiesFormat properties of the load balancer.
@@ -15947,8 +16080,8 @@ type LoadBalancerPropertiesFormat struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
-// LoadBalancersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// LoadBalancersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type LoadBalancersCreateOrUpdateFuture struct {
azure.Future
}
@@ -16280,7 +16413,8 @@ func (lnglr LocalNetworkGatewayListResult) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway values.
+// LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway
+// values.
type LocalNetworkGatewayListResultIterator struct {
i int
page LocalNetworkGatewayListResultPage
@@ -16423,8 +16557,11 @@ func (page LocalNetworkGatewayListResultPage) Values() []LocalNetworkGateway {
}
// Creates a new instance of the LocalNetworkGatewayListResultPage type.
-func NewLocalNetworkGatewayListResultPage(getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage {
- return LocalNetworkGatewayListResultPage{fn: getNextPage}
+func NewLocalNetworkGatewayListResultPage(cur LocalNetworkGatewayListResult, getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage {
+ return LocalNetworkGatewayListResultPage{
+ fn: getNextPage,
+ lnglr: cur,
+ }
}
// LocalNetworkGatewayPropertiesFormat localNetworkGateway properties
@@ -16488,8 +16625,8 @@ func (future *LocalNetworkGatewaysCreateOrUpdateFuture) Result(client LocalNetwo
return
}
-// LocalNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// LocalNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type LocalNetworkGatewaysDeleteFuture struct {
azure.Future
}
@@ -16738,8 +16875,8 @@ type OperationDisplay struct {
Description *string `json:"description,omitempty"`
}
-// OperationListResult result of the request to list Network operations. It contains a list of operations and a
-// URL link to get the next set of results.
+// OperationListResult result of the request to list Network operations. It contains a list of operations
+// and a URL link to get the next set of results.
type OperationListResult struct {
autorest.Response `json:"-"`
// Value - List of Network operations supported by the Network resource provider.
@@ -16891,8 +17028,11 @@ func (page OperationListResultPage) Values() []Operation {
}
// Creates a new instance of the OperationListResultPage type.
-func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
- return OperationListResultPage{fn: getNextPage}
+func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
+ return OperationListResultPage{
+ fn: getNextPage,
+ olr: cur,
+ }
}
// OperationPropertiesFormat description of operation properties format.
@@ -17241,8 +17381,8 @@ func (future *P2sVpnGatewaysGenerateVpnProfileFuture) Result(client P2sVpnGatewa
return
}
-// P2sVpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// P2sVpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type P2sVpnGatewaysUpdateTagsFuture struct {
azure.Future
}
@@ -17276,7 +17416,8 @@ type P2SVpnProfileParameters struct {
AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"`
}
-// P2SVpnServerConfigRadiusClientRootCertificate radius client root certificate of P2SVpnServerConfiguration.
+// P2SVpnServerConfigRadiusClientRootCertificate radius client root certificate of
+// P2SVpnServerConfiguration.
type P2SVpnServerConfigRadiusClientRootCertificate struct {
// P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat - Properties of the Radius client root certificate.
*P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat `json:"properties,omitempty"`
@@ -17375,7 +17516,8 @@ func (pvscrcrcpf P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat)
return json.Marshal(objectMap)
}
-// P2SVpnServerConfigRadiusServerRootCertificate radius Server root certificate of P2SVpnServerConfiguration.
+// P2SVpnServerConfigRadiusServerRootCertificate radius Server root certificate of
+// P2SVpnServerConfiguration.
type P2SVpnServerConfigRadiusServerRootCertificate struct {
// P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat - Properties of the P2SVpnServerConfiguration Radius Server root certificate.
*P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat `json:"properties,omitempty"`
@@ -17456,8 +17598,8 @@ func (pvscrsrc *P2SVpnServerConfigRadiusServerRootCertificate) UnmarshalJSON(bod
return nil
}
-// P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat properties of Radius Server root certificate
-// of P2SVpnServerConfiguration.
+// P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat properties of Radius Server root
+// certificate of P2SVpnServerConfiguration.
type P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat struct {
// PublicCertData - The certificate public data.
PublicCertData *string `json:"publicCertData,omitempty"`
@@ -17616,8 +17758,8 @@ func (pvscp P2SVpnServerConfigurationProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// P2sVpnServerConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// P2sVpnServerConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type P2sVpnServerConfigurationsCreateOrUpdateFuture struct {
azure.Future
}
@@ -17668,7 +17810,8 @@ func (future *P2sVpnServerConfigurationsDeleteFuture) Result(client P2sVpnServer
return
}
-// P2SVpnServerConfigVpnClientRevokedCertificate VPN client revoked certificate of P2SVpnServerConfiguration.
+// P2SVpnServerConfigVpnClientRevokedCertificate VPN client revoked certificate of
+// P2SVpnServerConfiguration.
type P2SVpnServerConfigVpnClientRevokedCertificate struct {
// P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat - Properties of the vpn client revoked certificate.
*P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`
@@ -18727,8 +18870,11 @@ func (page ProfileListResultPage) Values() []Profile {
}
// Creates a new instance of the ProfileListResultPage type.
-func NewProfileListResultPage(getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage {
- return ProfileListResultPage{fn: getNextPage}
+func NewProfileListResultPage(cur ProfileListResult, getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage {
+ return ProfileListResultPage{
+ fn: getNextPage,
+ plr: cur,
+ }
}
// ProfilePropertiesFormat network profile properties.
@@ -18755,7 +18901,8 @@ func (ppf ProfilePropertiesFormat) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type ProfilesDeleteFuture struct {
azure.Future
}
@@ -18990,8 +19137,8 @@ func (future *PublicIPAddressesDeleteFuture) Result(client PublicIPAddressesClie
return
}
-// PublicIPAddressesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// PublicIPAddressesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type PublicIPAddressesUpdateTagsFuture struct {
azure.Future
}
@@ -19171,8 +19318,11 @@ func (page PublicIPAddressListResultPage) Values() []PublicIPAddress {
}
// Creates a new instance of the PublicIPAddressListResultPage type.
-func NewPublicIPAddressListResultPage(getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage {
- return PublicIPAddressListResultPage{fn: getNextPage}
+func NewPublicIPAddressListResultPage(cur PublicIPAddressListResult, getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage {
+ return PublicIPAddressListResultPage{
+ fn: getNextPage,
+ pialr: cur,
+ }
}
// PublicIPAddressPropertiesFormat public IP address properties.
@@ -19436,8 +19586,8 @@ func (future *PublicIPPrefixesDeleteFuture) Result(client PublicIPPrefixesClient
return
}
-// PublicIPPrefixesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// PublicIPPrefixesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type PublicIPPrefixesUpdateTagsFuture struct {
azure.Future
}
@@ -19617,8 +19767,11 @@ func (page PublicIPPrefixListResultPage) Values() []PublicIPPrefix {
}
// Creates a new instance of the PublicIPPrefixListResultPage type.
-func NewPublicIPPrefixListResultPage(getNextPage func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error)) PublicIPPrefixListResultPage {
- return PublicIPPrefixListResultPage{fn: getNextPage}
+func NewPublicIPPrefixListResultPage(cur PublicIPPrefixListResult, getNextPage func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error)) PublicIPPrefixListResultPage {
+ return PublicIPPrefixListResultPage{
+ fn: getNextPage,
+ piplr: cur,
+ }
}
// PublicIPPrefixPropertiesFormat public IP prefix properties.
@@ -20171,8 +20324,11 @@ func (page RouteFilterListResultPage) Values() []RouteFilter {
}
// Creates a new instance of the RouteFilterListResultPage type.
-func NewRouteFilterListResultPage(getNextPage func(context.Context, RouteFilterListResult) (RouteFilterListResult, error)) RouteFilterListResultPage {
- return RouteFilterListResultPage{fn: getNextPage}
+func NewRouteFilterListResultPage(cur RouteFilterListResult, getNextPage func(context.Context, RouteFilterListResult) (RouteFilterListResult, error)) RouteFilterListResultPage {
+ return RouteFilterListResultPage{
+ fn: getNextPage,
+ rflr: cur,
+ }
}
// RouteFilterPropertiesFormat route Filter Resource
@@ -20441,8 +20597,11 @@ func (page RouteFilterRuleListResultPage) Values() []RouteFilterRule {
}
// Creates a new instance of the RouteFilterRuleListResultPage type.
-func NewRouteFilterRuleListResultPage(getNextPage func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error)) RouteFilterRuleListResultPage {
- return RouteFilterRuleListResultPage{fn: getNextPage}
+func NewRouteFilterRuleListResultPage(cur RouteFilterRuleListResult, getNextPage func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error)) RouteFilterRuleListResultPage {
+ return RouteFilterRuleListResultPage{
+ fn: getNextPage,
+ rfrlr: cur,
+ }
}
// RouteFilterRulePropertiesFormat route Filter Rule Resource
@@ -20553,8 +20712,8 @@ func (future *RouteFilterRulesUpdateFuture) Result(client RouteFilterRulesClient
return
}
-// RouteFiltersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// RouteFiltersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type RouteFiltersCreateOrUpdateFuture struct {
azure.Future
}
@@ -20786,8 +20945,11 @@ func (page RouteListResultPage) Values() []Route {
}
// Creates a new instance of the RouteListResultPage type.
-func NewRouteListResultPage(getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage {
- return RouteListResultPage{fn: getNextPage}
+func NewRouteListResultPage(cur RouteListResult, getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage {
+ return RouteListResultPage{
+ fn: getNextPage,
+ rlr: cur,
+ }
}
// RoutePropertiesFormat route resource
@@ -21123,8 +21285,11 @@ func (page RouteTableListResultPage) Values() []RouteTable {
}
// Creates a new instance of the RouteTableListResultPage type.
-func NewRouteTableListResultPage(getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage {
- return RouteTableListResultPage{fn: getNextPage}
+func NewRouteTableListResultPage(cur RouteTableListResult, getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage {
+ return RouteTableListResultPage{
+ fn: getNextPage,
+ rtlr: cur,
+ }
}
// RouteTablePropertiesFormat route Table resource
@@ -21154,8 +21319,8 @@ func (rtpf RouteTablePropertiesFormat) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// RouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// RouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type RouteTablesCreateOrUpdateFuture struct {
azure.Future
}
@@ -21505,8 +21670,11 @@ func (page SecurityGroupListResultPage) Values() []SecurityGroup {
}
// Creates a new instance of the SecurityGroupListResultPage type.
-func NewSecurityGroupListResultPage(getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage {
- return SecurityGroupListResultPage{fn: getNextPage}
+func NewSecurityGroupListResultPage(cur SecurityGroupListResult, getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage {
+ return SecurityGroupListResultPage{
+ fn: getNextPage,
+ sglr: cur,
+ }
}
// SecurityGroupNetworkInterface network interface and all its associated security rules.
@@ -21619,8 +21787,8 @@ func (future *SecurityGroupsDeleteFuture) Result(client SecurityGroupsClient) (a
return
}
-// SecurityGroupsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// SecurityGroupsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type SecurityGroupsUpdateTagsFuture struct {
azure.Future
}
@@ -21906,8 +22074,11 @@ func (page SecurityRuleListResultPage) Values() []SecurityRule {
}
// Creates a new instance of the SecurityRuleListResultPage type.
-func NewSecurityRuleListResultPage(getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage {
- return SecurityRuleListResultPage{fn: getNextPage}
+func NewSecurityRuleListResultPage(cur SecurityRuleListResult, getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage {
+ return SecurityRuleListResultPage{
+ fn: getNextPage,
+ srlr: cur,
+ }
}
// SecurityRulePropertiesFormat security rule resource.
@@ -21946,8 +22117,8 @@ type SecurityRulePropertiesFormat struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
-// SecurityRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// SecurityRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type SecurityRulesCreateOrUpdateFuture struct {
azure.Future
}
@@ -22136,8 +22307,8 @@ func (sdpf ServiceDelegationPropertiesFormat) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// ServiceEndpointPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ServiceEndpointPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type ServiceEndpointPoliciesCreateOrUpdateFuture struct {
azure.Future
}
@@ -22417,8 +22588,8 @@ func (sepd *ServiceEndpointPolicyDefinition) UnmarshalJSON(body []byte) error {
return nil
}
-// ServiceEndpointPolicyDefinitionListResult response for ListServiceEndpointPolicyDefinition API service call.
-// Retrieves all service endpoint policy definition that belongs to a service endpoint policy.
+// ServiceEndpointPolicyDefinitionListResult response for ListServiceEndpointPolicyDefinition API service
+// call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy.
type ServiceEndpointPolicyDefinitionListResult struct {
autorest.Response `json:"-"`
// Value - The service endpoint policy definition in a service endpoint policy.
@@ -22571,8 +22742,11 @@ func (page ServiceEndpointPolicyDefinitionListResultPage) Values() []ServiceEndp
}
// Creates a new instance of the ServiceEndpointPolicyDefinitionListResultPage type.
-func NewServiceEndpointPolicyDefinitionListResultPage(getNextPage func(context.Context, ServiceEndpointPolicyDefinitionListResult) (ServiceEndpointPolicyDefinitionListResult, error)) ServiceEndpointPolicyDefinitionListResultPage {
- return ServiceEndpointPolicyDefinitionListResultPage{fn: getNextPage}
+func NewServiceEndpointPolicyDefinitionListResultPage(cur ServiceEndpointPolicyDefinitionListResult, getNextPage func(context.Context, ServiceEndpointPolicyDefinitionListResult) (ServiceEndpointPolicyDefinitionListResult, error)) ServiceEndpointPolicyDefinitionListResultPage {
+ return ServiceEndpointPolicyDefinitionListResultPage{
+ fn: getNextPage,
+ sepdlr: cur,
+ }
}
// ServiceEndpointPolicyDefinitionPropertiesFormat service Endpoint policy definition resource.
@@ -22631,8 +22805,8 @@ func (future *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture) Result(clien
return
}
-// ServiceEndpointPolicyDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// ServiceEndpointPolicyDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type ServiceEndpointPolicyDefinitionsDeleteFuture struct {
azure.Future
}
@@ -22816,8 +22990,11 @@ func (page ServiceEndpointPolicyListResultPage) Values() []ServiceEndpointPolicy
}
// Creates a new instance of the ServiceEndpointPolicyListResultPage type.
-func NewServiceEndpointPolicyListResultPage(getNextPage func(context.Context, ServiceEndpointPolicyListResult) (ServiceEndpointPolicyListResult, error)) ServiceEndpointPolicyListResultPage {
- return ServiceEndpointPolicyListResultPage{fn: getNextPage}
+func NewServiceEndpointPolicyListResultPage(cur ServiceEndpointPolicyListResult, getNextPage func(context.Context, ServiceEndpointPolicyListResult) (ServiceEndpointPolicyListResult, error)) ServiceEndpointPolicyListResultPage {
+ return ServiceEndpointPolicyListResultPage{
+ fn: getNextPage,
+ seplr: cur,
+ }
}
// ServiceEndpointPolicyPropertiesFormat service Endpoint Policy resource.
@@ -23109,8 +23286,11 @@ func (page SubnetListResultPage) Values() []Subnet {
}
// Creates a new instance of the SubnetListResultPage type.
-func NewSubnetListResultPage(getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage {
- return SubnetListResultPage{fn: getNextPage}
+func NewSubnetListResultPage(cur SubnetListResult, getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage {
+ return SubnetListResultPage{
+ fn: getNextPage,
+ slr: cur,
+ }
}
// SubnetPropertiesFormat properties of the subnet.
@@ -23210,7 +23390,8 @@ func (future *SubnetsCreateOrUpdateFuture) Result(client SubnetsClient) (s Subne
return
}
-// SubnetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// SubnetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type SubnetsDeleteFuture struct {
azure.Future
}
@@ -23630,8 +23811,11 @@ func (page UsagesListResultPage) Values() []Usage {
}
// Creates a new instance of the UsagesListResultPage type.
-func NewUsagesListResultPage(getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage {
- return UsagesListResultPage{fn: getNextPage}
+func NewUsagesListResultPage(cur UsagesListResult, getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage {
+ return UsagesListResultPage{
+ fn: getNextPage,
+ ulr: cur,
+ }
}
// VerificationIPFlowParameters parameters that define the IP flow to be verified.
@@ -23817,8 +24001,8 @@ type VirtualHubRouteTable struct {
Routes *[]VirtualHubRoute `json:"routes,omitempty"`
}
-// VirtualHubsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualHubsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualHubsCreateOrUpdateFuture struct {
azure.Future
}
@@ -24466,8 +24650,8 @@ func (vngclepf VirtualNetworkGatewayConnectionListEntityPropertiesFormat) Marsha
return json.Marshal(objectMap)
}
-// VirtualNetworkGatewayConnectionListResult response for the ListVirtualNetworkGatewayConnections API service
-// call
+// VirtualNetworkGatewayConnectionListResult response for the ListVirtualNetworkGatewayConnections API
+// service call
type VirtualNetworkGatewayConnectionListResult struct {
autorest.Response `json:"-"`
// Value - Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group.
@@ -24629,8 +24813,11 @@ func (page VirtualNetworkGatewayConnectionListResultPage) Values() []VirtualNetw
}
// Creates a new instance of the VirtualNetworkGatewayConnectionListResultPage type.
-func NewVirtualNetworkGatewayConnectionListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error)) VirtualNetworkGatewayConnectionListResultPage {
- return VirtualNetworkGatewayConnectionListResultPage{fn: getNextPage}
+func NewVirtualNetworkGatewayConnectionListResultPage(cur VirtualNetworkGatewayConnectionListResult, getNextPage func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error)) VirtualNetworkGatewayConnectionListResultPage {
+ return VirtualNetworkGatewayConnectionListResultPage{
+ fn: getNextPage,
+ vngclr: cur,
+ }
}
// VirtualNetworkGatewayConnectionPropertiesFormat virtualNetworkGatewayConnection properties
@@ -24752,8 +24939,8 @@ func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) Result(clien
return
}
-// VirtualNetworkGatewayConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualNetworkGatewayConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualNetworkGatewayConnectionsDeleteFuture struct {
azure.Future
}
@@ -24804,8 +24991,8 @@ func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) Result(clien
return
}
-// VirtualNetworkGatewayConnectionsSetSharedKeyFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// VirtualNetworkGatewayConnectionsSetSharedKeyFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualNetworkGatewayConnectionsSetSharedKeyFuture struct {
azure.Future
}
@@ -24833,8 +25020,8 @@ func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) Result(client
return
}
-// VirtualNetworkGatewayConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// VirtualNetworkGatewayConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualNetworkGatewayConnectionsUpdateTagsFuture struct {
azure.Future
}
@@ -24970,8 +25157,8 @@ func (vngicpf VirtualNetworkGatewayIPConfigurationPropertiesFormat) MarshalJSON(
return json.Marshal(objectMap)
}
-// VirtualNetworkGatewayListConnectionsResult response for the VirtualNetworkGatewayListConnections API service
-// call
+// VirtualNetworkGatewayListConnectionsResult response for the VirtualNetworkGatewayListConnections API
+// service call
type VirtualNetworkGatewayListConnectionsResult struct {
autorest.Response `json:"-"`
// Value - Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group.
@@ -25075,8 +25262,8 @@ func (vnglcr VirtualNetworkGatewayListConnectionsResult) virtualNetworkGatewayLi
autorest.WithBaseURL(to.String(vnglcr.NextLink)))
}
-// VirtualNetworkGatewayListConnectionsResultPage contains a page of VirtualNetworkGatewayConnectionListEntity
-// values.
+// VirtualNetworkGatewayListConnectionsResultPage contains a page of
+// VirtualNetworkGatewayConnectionListEntity values.
type VirtualNetworkGatewayListConnectionsResultPage struct {
fn func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error)
vnglcr VirtualNetworkGatewayListConnectionsResult
@@ -25134,8 +25321,11 @@ func (page VirtualNetworkGatewayListConnectionsResultPage) Values() []VirtualNet
}
// Creates a new instance of the VirtualNetworkGatewayListConnectionsResultPage type.
-func NewVirtualNetworkGatewayListConnectionsResultPage(getNextPage func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error)) VirtualNetworkGatewayListConnectionsResultPage {
- return VirtualNetworkGatewayListConnectionsResultPage{fn: getNextPage}
+func NewVirtualNetworkGatewayListConnectionsResultPage(cur VirtualNetworkGatewayListConnectionsResult, getNextPage func(context.Context, VirtualNetworkGatewayListConnectionsResult) (VirtualNetworkGatewayListConnectionsResult, error)) VirtualNetworkGatewayListConnectionsResultPage {
+ return VirtualNetworkGatewayListConnectionsResultPage{
+ fn: getNextPage,
+ vnglcr: cur,
+ }
}
// VirtualNetworkGatewayListResult response for the ListVirtualNetworkGateways API service call.
@@ -25300,8 +25490,11 @@ func (page VirtualNetworkGatewayListResultPage) Values() []VirtualNetworkGateway
}
// Creates a new instance of the VirtualNetworkGatewayListResultPage type.
-func NewVirtualNetworkGatewayListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error)) VirtualNetworkGatewayListResultPage {
- return VirtualNetworkGatewayListResultPage{fn: getNextPage}
+func NewVirtualNetworkGatewayListResultPage(cur VirtualNetworkGatewayListResult, getNextPage func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error)) VirtualNetworkGatewayListResultPage {
+ return VirtualNetworkGatewayListResultPage{
+ fn: getNextPage,
+ vnglr: cur,
+ }
}
// VirtualNetworkGatewayPropertiesFormat virtualNetworkGateway properties
@@ -25447,8 +25640,8 @@ func (future *VirtualNetworkGatewaysGeneratevpnclientpackageFuture) Result(clien
return
}
-// VirtualNetworkGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualNetworkGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type VirtualNetworkGatewaysGenerateVpnProfileFuture struct {
azure.Future
}
@@ -25476,8 +25669,8 @@ func (future *VirtualNetworkGatewaysGenerateVpnProfileFuture) Result(client Virt
return
}
-// VirtualNetworkGatewaysGetAdvertisedRoutesFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// VirtualNetworkGatewaysGetAdvertisedRoutesFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type VirtualNetworkGatewaysGetAdvertisedRoutesFuture struct {
azure.Future
}
@@ -25505,8 +25698,8 @@ func (future *VirtualNetworkGatewaysGetAdvertisedRoutesFuture) Result(client Vir
return
}
-// VirtualNetworkGatewaysGetBgpPeerStatusFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualNetworkGatewaysGetBgpPeerStatusFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualNetworkGatewaysGetBgpPeerStatusFuture struct {
azure.Future
}
@@ -25534,8 +25727,8 @@ func (future *VirtualNetworkGatewaysGetBgpPeerStatusFuture) Result(client Virtua
return
}
-// VirtualNetworkGatewaysGetLearnedRoutesFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
+// VirtualNetworkGatewaysGetLearnedRoutesFuture an abstraction for monitoring and retrieving the results of
+// a long-running operation.
type VirtualNetworkGatewaysGetLearnedRoutesFuture struct {
azure.Future
}
@@ -25592,8 +25785,8 @@ func (future *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture) Result(cl
return
}
-// VirtualNetworkGatewaysGetVpnProfilePackageURLFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// VirtualNetworkGatewaysGetVpnProfilePackageURLFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture struct {
azure.Future
}
@@ -25631,8 +25824,8 @@ type VirtualNetworkGatewaySku struct {
Capacity *int32 `json:"capacity,omitempty"`
}
-// VirtualNetworkGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualNetworkGatewaysResetFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualNetworkGatewaysResetFuture struct {
azure.Future
}
@@ -25660,8 +25853,8 @@ func (future *VirtualNetworkGatewaysResetFuture) Result(client VirtualNetworkGat
return
}
-// VirtualNetworkGatewaysResetVpnClientSharedKeyFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
+// VirtualNetworkGatewaysResetVpnClientSharedKeyFuture an abstraction for monitoring and retrieving the
+// results of a long-running operation.
type VirtualNetworkGatewaysResetVpnClientSharedKeyFuture struct {
azure.Future
}
@@ -25893,8 +26086,11 @@ func (page VirtualNetworkListResultPage) Values() []VirtualNetwork {
}
// Creates a new instance of the VirtualNetworkListResultPage type.
-func NewVirtualNetworkListResultPage(getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage {
- return VirtualNetworkListResultPage{fn: getNextPage}
+func NewVirtualNetworkListResultPage(cur VirtualNetworkListResult, getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage {
+ return VirtualNetworkListResultPage{
+ fn: getNextPage,
+ vnlr: cur,
+ }
}
// VirtualNetworkListUsageResult response for the virtual networks GetUsage API service call.
@@ -25915,7 +26111,8 @@ func (vnlur VirtualNetworkListUsageResult) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualNetworkListUsageResultIterator provides access to a complete listing of VirtualNetworkUsage values.
+// VirtualNetworkListUsageResultIterator provides access to a complete listing of VirtualNetworkUsage
+// values.
type VirtualNetworkListUsageResultIterator struct {
i int
page VirtualNetworkListUsageResultPage
@@ -26058,8 +26255,11 @@ func (page VirtualNetworkListUsageResultPage) Values() []VirtualNetworkUsage {
}
// Creates a new instance of the VirtualNetworkListUsageResultPage type.
-func NewVirtualNetworkListUsageResultPage(getNextPage func(context.Context, VirtualNetworkListUsageResult) (VirtualNetworkListUsageResult, error)) VirtualNetworkListUsageResultPage {
- return VirtualNetworkListUsageResultPage{fn: getNextPage}
+func NewVirtualNetworkListUsageResultPage(cur VirtualNetworkListUsageResult, getNextPage func(context.Context, VirtualNetworkListUsageResult) (VirtualNetworkListUsageResult, error)) VirtualNetworkListUsageResultPage {
+ return VirtualNetworkListUsageResultPage{
+ fn: getNextPage,
+ vnlur: cur,
+ }
}
// VirtualNetworkPeering peerings in a virtual network resource.
@@ -26144,8 +26344,8 @@ func (vnp *VirtualNetworkPeering) UnmarshalJSON(body []byte) error {
return nil
}
-// VirtualNetworkPeeringListResult response for ListSubnets API service call. Retrieves all subnets that belong
-// to a virtual network.
+// VirtualNetworkPeeringListResult response for ListSubnets API service call. Retrieves all subnets that
+// belong to a virtual network.
type VirtualNetworkPeeringListResult struct {
autorest.Response `json:"-"`
// Value - The peerings in a virtual network.
@@ -26298,8 +26498,11 @@ func (page VirtualNetworkPeeringListResultPage) Values() []VirtualNetworkPeering
}
// Creates a new instance of the VirtualNetworkPeeringListResultPage type.
-func NewVirtualNetworkPeeringListResultPage(getNextPage func(context.Context, VirtualNetworkPeeringListResult) (VirtualNetworkPeeringListResult, error)) VirtualNetworkPeeringListResultPage {
- return VirtualNetworkPeeringListResultPage{fn: getNextPage}
+func NewVirtualNetworkPeeringListResultPage(cur VirtualNetworkPeeringListResult, getNextPage func(context.Context, VirtualNetworkPeeringListResult) (VirtualNetworkPeeringListResult, error)) VirtualNetworkPeeringListResultPage {
+ return VirtualNetworkPeeringListResultPage{
+ fn: getNextPage,
+ vnplr: cur,
+ }
}
// VirtualNetworkPeeringPropertiesFormat properties of the virtual network peering.
@@ -26448,8 +26651,8 @@ func (future *VirtualNetworksDeleteFuture) Result(client VirtualNetworksClient)
return
}
-// VirtualNetworksUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualNetworksUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualNetworksUpdateTagsFuture struct {
azure.Future
}
@@ -26747,8 +26950,11 @@ func (page VirtualNetworkTapListResultPage) Values() []VirtualNetworkTap {
}
// Creates a new instance of the VirtualNetworkTapListResultPage type.
-func NewVirtualNetworkTapListResultPage(getNextPage func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error)) VirtualNetworkTapListResultPage {
- return VirtualNetworkTapListResultPage{fn: getNextPage}
+func NewVirtualNetworkTapListResultPage(cur VirtualNetworkTapListResult, getNextPage func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error)) VirtualNetworkTapListResultPage {
+ return VirtualNetworkTapListResultPage{
+ fn: getNextPage,
+ vntlr: cur,
+ }
}
// VirtualNetworkTapPropertiesFormat virtual Network Tap properties.
@@ -26811,8 +27017,8 @@ func (future *VirtualNetworkTapsCreateOrUpdateFuture) Result(client VirtualNetwo
return
}
-// VirtualNetworkTapsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualNetworkTapsDeleteFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualNetworkTapsDeleteFuture struct {
azure.Future
}
@@ -27048,8 +27254,8 @@ func (vwp VirtualWanProperties) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// VirtualWansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VirtualWansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VirtualWansCreateOrUpdateFuture struct {
azure.Future
}
@@ -27754,8 +27960,8 @@ type VpnGatewayProperties struct {
VpnGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"`
}
-// VpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// VpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type VpnGatewaysCreateOrUpdateFuture struct {
azure.Future
}
@@ -28034,7 +28240,8 @@ func (future *VpnSitesCreateOrUpdateFuture) Result(client VpnSitesClient) (vs Vp
return
}
-// VpnSitesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// VpnSitesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type VpnSitesDeleteFuture struct {
azure.Future
}
@@ -28214,8 +28421,8 @@ type WatcherPropertiesFormat struct {
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}
-// WatchersCheckConnectivityFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// WatchersCheckConnectivityFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type WatchersCheckConnectivityFuture struct {
azure.Future
}
@@ -28243,7 +28450,8 @@ func (future *WatchersCheckConnectivityFuture) Result(client WatchersClient) (ci
return
}
-// WatchersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
+// WatchersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running
+// operation.
type WatchersDeleteFuture struct {
azure.Future
}
@@ -28294,8 +28502,8 @@ func (future *WatchersGetAzureReachabilityReportFuture) Result(client WatchersCl
return
}
-// WatchersGetFlowLogStatusFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// WatchersGetFlowLogStatusFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type WatchersGetFlowLogStatusFuture struct {
azure.Future
}
@@ -28323,8 +28531,8 @@ func (future *WatchersGetFlowLogStatusFuture) Result(client WatchersClient) (fli
return
}
-// WatchersGetNetworkConfigurationDiagnosticFuture an abstraction for monitoring and retrieving the results of
-// a long-running operation.
+// WatchersGetNetworkConfigurationDiagnosticFuture an abstraction for monitoring and retrieving the results
+// of a long-running operation.
type WatchersGetNetworkConfigurationDiagnosticFuture struct {
azure.Future
}
@@ -28381,8 +28589,8 @@ func (future *WatchersGetNextHopFuture) Result(client WatchersClient) (nhr NextH
return
}
-// WatchersGetTroubleshootingFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// WatchersGetTroubleshootingFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type WatchersGetTroubleshootingFuture struct {
azure.Future
}
@@ -28439,8 +28647,8 @@ func (future *WatchersGetTroubleshootingResultFuture) Result(client WatchersClie
return
}
-// WatchersGetVMSecurityRulesFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
+// WatchersGetVMSecurityRulesFuture an abstraction for monitoring and retrieving the results of a
+// long-running operation.
type WatchersGetVMSecurityRulesFuture struct {
azure.Future
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/operations.go
index c7cdc7095c..bb5860136b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/operations.go
@@ -70,6 +70,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe
result.olr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.OperationsClient", "List", resp, "Failure responding to request")
+ return
}
if result.olr.hasNextLink() && result.olr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -128,6 +129,7 @@ func (client OperationsClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.OperationsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpngateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpngateways.go
index 61d4945871..9421447eec 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpngateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpngateways.go
@@ -303,6 +303,7 @@ func (client P2sVpnGatewaysClient) Get(ctx context.Context, resourceGroupName st
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -376,6 +377,7 @@ func (client P2sVpnGatewaysClient) List(ctx context.Context) (result ListP2SVpnG
result.lpvgr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnGatewaysClient", "List", resp, "Failure responding to request")
+ return
}
if result.lpvgr.hasNextLink() && result.lpvgr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -438,6 +440,7 @@ func (client P2sVpnGatewaysClient) listNextResults(ctx context.Context, lastResu
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnGatewaysClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -489,6 +492,7 @@ func (client P2sVpnGatewaysClient) ListByResourceGroup(ctx context.Context, reso
result.lpvgr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnGatewaysClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.lpvgr.hasNextLink() && result.lpvgr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -552,6 +556,7 @@ func (client P2sVpnGatewaysClient) listByResourceGroupNextResults(ctx context.Co
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnGatewaysClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpnserverconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpnserverconfigurations.go
index f503151c85..456208f5b6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpnserverconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/p2svpnserverconfigurations.go
@@ -232,6 +232,7 @@ func (client P2sVpnServerConfigurationsClient) Get(ctx context.Context, resource
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnServerConfigurationsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -309,6 +310,7 @@ func (client P2sVpnServerConfigurationsClient) ListByVirtualWan(ctx context.Cont
result.lpvscr, err = client.ListByVirtualWanResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnServerConfigurationsClient", "ListByVirtualWan", resp, "Failure responding to request")
+ return
}
if result.lpvscr.hasNextLink() && result.lpvscr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -373,6 +375,7 @@ func (client P2sVpnServerConfigurationsClient) listByVirtualWanNextResults(ctx c
result, err = client.ListByVirtualWanResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.P2sVpnServerConfigurationsClient", "listByVirtualWanNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/packetcaptures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/packetcaptures.go
index cdcdb35173..025447840a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/packetcaptures.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/packetcaptures.go
@@ -239,6 +239,7 @@ func (client PacketCapturesClient) Get(ctx context.Context, resourceGroupName st
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PacketCapturesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -392,6 +393,7 @@ func (client PacketCapturesClient) List(ctx context.Context, resourceGroupName s
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PacketCapturesClient", "List", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/profiles.go
index 3596f56b8e..b97a924686 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/profiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/profiles.go
@@ -73,6 +73,7 @@ func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupNa
result, err = client.CreateOrUpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "CreateOrUpdate", resp, "Failure responding to request")
+ return
}
return
@@ -225,6 +226,7 @@ func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -303,6 +305,7 @@ func (client ProfilesClient) List(ctx context.Context, resourceGroupName string)
result.plr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "List", resp, "Failure responding to request")
+ return
}
if result.plr.hasNextLink() && result.plr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -366,6 +369,7 @@ func (client ProfilesClient) listNextResults(ctx context.Context, lastResults Pr
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +419,7 @@ func (client ProfilesClient) ListAll(ctx context.Context) (result ProfileListRes
result.plr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.plr.hasNextLink() && result.plr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -477,6 +482,7 @@ func (client ProfilesClient) listAllNextResults(ctx context.Context, lastResults
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -529,6 +535,7 @@ func (client ProfilesClient) UpdateTags(ctx context.Context, resourceGroupName s
result, err = client.UpdateTagsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ProfilesClient", "UpdateTags", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipaddresses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipaddresses.go
index d8ba360b74..fba0280b41 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipaddresses.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipaddresses.go
@@ -238,6 +238,7 @@ func (client PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -321,6 +322,7 @@ func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(c
result, err = client.GetVirtualMachineScaleSetPublicIPAddressResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "GetVirtualMachineScaleSetPublicIPAddress", resp, "Failure responding to request")
+ return
}
return
@@ -403,6 +405,7 @@ func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupNam
result.pialr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "List", resp, "Failure responding to request")
+ return
}
if result.pialr.hasNextLink() && result.pialr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -466,6 +469,7 @@ func (client PublicIPAddressesClient) listNextResults(ctx context.Context, lastR
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -515,6 +519,7 @@ func (client PublicIPAddressesClient) ListAll(ctx context.Context) (result Publi
result.pialr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.pialr.hasNextLink() && result.pialr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -577,6 +582,7 @@ func (client PublicIPAddressesClient) listAllNextResults(ctx context.Context, la
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -630,6 +636,7 @@ func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresse
result.pialr, err = client.ListVirtualMachineScaleSetPublicIPAddressesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "ListVirtualMachineScaleSetPublicIPAddresses", resp, "Failure responding to request")
+ return
}
if result.pialr.hasNextLink() && result.pialr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -694,6 +701,7 @@ func (client PublicIPAddressesClient) listVirtualMachineScaleSetPublicIPAddresse
result, err = client.ListVirtualMachineScaleSetPublicIPAddressesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "listVirtualMachineScaleSetPublicIPAddressesNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -750,6 +758,7 @@ func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddres
result.pialr, err = client.ListVirtualMachineScaleSetVMPublicIPAddressesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "ListVirtualMachineScaleSetVMPublicIPAddresses", resp, "Failure responding to request")
+ return
}
if result.pialr.hasNextLink() && result.pialr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -817,6 +826,7 @@ func (client PublicIPAddressesClient) listVirtualMachineScaleSetVMPublicIPAddres
result, err = client.ListVirtualMachineScaleSetVMPublicIPAddressesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPAddressesClient", "listVirtualMachineScaleSetVMPublicIPAddressesNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipprefixes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipprefixes.go
index 50ebc227c2..6f017a4db9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipprefixes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipprefixes.go
@@ -226,6 +226,7 @@ func (client PublicIPPrefixesClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPPrefixesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -304,6 +305,7 @@ func (client PublicIPPrefixesClient) List(ctx context.Context, resourceGroupName
result.piplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPPrefixesClient", "List", resp, "Failure responding to request")
+ return
}
if result.piplr.hasNextLink() && result.piplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -367,6 +369,7 @@ func (client PublicIPPrefixesClient) listNextResults(ctx context.Context, lastRe
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPPrefixesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -416,6 +419,7 @@ func (client PublicIPPrefixesClient) ListAll(ctx context.Context) (result Public
result.piplr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPPrefixesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.piplr.hasNextLink() && result.piplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client PublicIPPrefixesClient) listAllNextResults(ctx context.Context, las
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.PublicIPPrefixesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilterrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilterrules.go
index 09ce68aaf4..2d2866b551 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilterrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilterrules.go
@@ -241,6 +241,7 @@ func (client RouteFilterRulesClient) Get(ctx context.Context, resourceGroupName
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFilterRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -318,6 +319,7 @@ func (client RouteFilterRulesClient) ListByRouteFilter(ctx context.Context, reso
result.rfrlr, err = client.ListByRouteFilterResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFilterRulesClient", "ListByRouteFilter", resp, "Failure responding to request")
+ return
}
if result.rfrlr.hasNextLink() && result.rfrlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -382,6 +384,7 @@ func (client RouteFilterRulesClient) listByRouteFilterNextResults(ctx context.Co
result, err = client.ListByRouteFilterResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFilterRulesClient", "listByRouteFilterNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilters.go
index 08f41c3656..ff6aa9b0da 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routefilters.go
@@ -226,6 +226,7 @@ func (client RouteFiltersClient) Get(ctx context.Context, resourceGroupName stri
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFiltersClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client RouteFiltersClient) List(ctx context.Context) (result RouteFilterLi
result.rflr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFiltersClient", "List", resp, "Failure responding to request")
+ return
}
if result.rflr.hasNextLink() && result.rflr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -364,6 +366,7 @@ func (client RouteFiltersClient) listNextResults(ctx context.Context, lastResult
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFiltersClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client RouteFiltersClient) ListByResourceGroup(ctx context.Context, resour
result.rflr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFiltersClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.rflr.hasNextLink() && result.rflr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client RouteFiltersClient) listByResourceGroupNextResults(ctx context.Cont
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteFiltersClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routes.go
index b167bff5b2..e97ede08f3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routes.go
@@ -229,6 +229,7 @@ func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, ro
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RoutesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -306,6 +307,7 @@ func (client RoutesClient) List(ctx context.Context, resourceGroupName string, r
result.rlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RoutesClient", "List", resp, "Failure responding to request")
+ return
}
if result.rlr.hasNextLink() && result.rlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -370,6 +372,7 @@ func (client RoutesClient) listNextResults(ctx context.Context, lastResults Rout
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RoutesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routetables.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routetables.go
index 3e5a68a7e5..919a9b4250 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routetables.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/routetables.go
@@ -225,6 +225,7 @@ func (client RouteTablesClient) Get(ctx context.Context, resourceGroupName strin
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteTablesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -303,6 +304,7 @@ func (client RouteTablesClient) List(ctx context.Context, resourceGroupName stri
result.rtlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteTablesClient", "List", resp, "Failure responding to request")
+ return
}
if result.rtlr.hasNextLink() && result.rtlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -366,6 +368,7 @@ func (client RouteTablesClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteTablesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client RouteTablesClient) ListAll(ctx context.Context) (result RouteTableL
result.rtlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteTablesClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.rtlr.hasNextLink() && result.rtlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -477,6 +481,7 @@ func (client RouteTablesClient) listAllNextResults(ctx context.Context, lastResu
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.RouteTablesClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securitygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securitygroups.go
index 839e61c9f3..c2efb6ddcd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securitygroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securitygroups.go
@@ -225,6 +225,7 @@ func (client SecurityGroupsClient) Get(ctx context.Context, resourceGroupName st
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityGroupsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -303,6 +304,7 @@ func (client SecurityGroupsClient) List(ctx context.Context, resourceGroupName s
result.sglr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityGroupsClient", "List", resp, "Failure responding to request")
+ return
}
if result.sglr.hasNextLink() && result.sglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -366,6 +368,7 @@ func (client SecurityGroupsClient) listNextResults(ctx context.Context, lastResu
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityGroupsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client SecurityGroupsClient) ListAll(ctx context.Context) (result Security
result.sglr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityGroupsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.sglr.hasNextLink() && result.sglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -477,6 +481,7 @@ func (client SecurityGroupsClient) listAllNextResults(ctx context.Context, lastR
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityGroupsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securityrules.go
index 6da00fb1f2..bc18b6d486 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securityrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/securityrules.go
@@ -229,6 +229,7 @@ func (client SecurityRulesClient) Get(ctx context.Context, resourceGroupName str
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityRulesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -306,6 +307,7 @@ func (client SecurityRulesClient) List(ctx context.Context, resourceGroupName st
result.srlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityRulesClient", "List", resp, "Failure responding to request")
+ return
}
if result.srlr.hasNextLink() && result.srlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -370,6 +372,7 @@ func (client SecurityRulesClient) listNextResults(ctx context.Context, lastResul
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SecurityRulesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicies.go
index 78223639cb..b1415e6ebe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicies.go
@@ -226,6 +226,7 @@ func (client ServiceEndpointPoliciesClient) Get(ctx context.Context, resourceGro
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPoliciesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client ServiceEndpointPoliciesClient) List(ctx context.Context) (result Se
result.seplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPoliciesClient", "List", resp, "Failure responding to request")
+ return
}
if result.seplr.hasNextLink() && result.seplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -364,6 +366,7 @@ func (client ServiceEndpointPoliciesClient) listNextResults(ctx context.Context,
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPoliciesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -415,6 +418,7 @@ func (client ServiceEndpointPoliciesClient) ListByResourceGroup(ctx context.Cont
result.seplr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPoliciesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.seplr.hasNextLink() && result.seplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -478,6 +482,7 @@ func (client ServiceEndpointPoliciesClient) listByResourceGroupNextResults(ctx c
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPoliciesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicydefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicydefinitions.go
index 049f1f2813..e4d530e6c7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicydefinitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/serviceendpointpolicydefinitions.go
@@ -231,6 +231,7 @@ func (client ServiceEndpointPolicyDefinitionsClient) Get(ctx context.Context, re
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPolicyDefinitionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -308,6 +309,7 @@ func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroup(ctx con
result.sepdlr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPolicyDefinitionsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.sepdlr.hasNextLink() && result.sepdlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -372,6 +374,7 @@ func (client ServiceEndpointPolicyDefinitionsClient) listByResourceGroupNextResu
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.ServiceEndpointPolicyDefinitionsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/subnets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/subnets.go
index ca6940246f..86ea02a0c2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/subnets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/subnets.go
@@ -230,6 +230,7 @@ func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, v
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SubnetsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -310,6 +311,7 @@ func (client SubnetsClient) List(ctx context.Context, resourceGroupName string,
result.slr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SubnetsClient", "List", resp, "Failure responding to request")
+ return
}
if result.slr.hasNextLink() && result.slr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -374,6 +376,7 @@ func (client SubnetsClient) listNextResults(ctx context.Context, lastResults Sub
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.SubnetsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/usages.go
index 5a8aa04f6d..56feb4112e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/usages.go
@@ -79,6 +79,7 @@ func (client UsagesClient) List(ctx context.Context, location string) (result Us
result.ulr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.UsagesClient", "List", resp, "Failure responding to request")
+ return
}
if result.ulr.hasNextLink() && result.ulr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -142,6 +143,7 @@ func (client UsagesClient) listNextResults(ctx context.Context, lastResults Usag
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.UsagesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualhubs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualhubs.go
index a79a47b57d..4aa572275b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualhubs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualhubs.go
@@ -225,6 +225,7 @@ func (client VirtualHubsClient) Get(ctx context.Context, resourceGroupName strin
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualHubsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -298,6 +299,7 @@ func (client VirtualHubsClient) List(ctx context.Context) (result ListVirtualHub
result.lvhr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualHubsClient", "List", resp, "Failure responding to request")
+ return
}
if result.lvhr.hasNextLink() && result.lvhr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -360,6 +362,7 @@ func (client VirtualHubsClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualHubsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -411,6 +414,7 @@ func (client VirtualHubsClient) ListByResourceGroup(ctx context.Context, resourc
result.lvhr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualHubsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.lvhr.hasNextLink() && result.lvhr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client VirtualHubsClient) listByResourceGroupNextResults(ctx context.Conte
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualHubsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgatewayconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgatewayconnections.go
index 48726a73c8..225e0263e2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgatewayconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgatewayconnections.go
@@ -239,6 +239,7 @@ func (client VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, re
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewayConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -315,6 +316,7 @@ func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Co
result, err = client.GetSharedKeyResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewayConnectionsClient", "GetSharedKey", resp, "Failure responding to request")
+ return
}
return
@@ -391,6 +393,7 @@ func (client VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, r
result.vngclr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewayConnectionsClient", "List", resp, "Failure responding to request")
+ return
}
if result.vngclr.hasNextLink() && result.vngclr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -454,6 +457,7 @@ func (client VirtualNetworkGatewayConnectionsClient) listNextResults(ctx context
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewayConnectionsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgateways.go
index 0d68adc934..edb7aa4a30 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkgateways.go
@@ -390,6 +390,7 @@ func (client VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGrou
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -851,6 +852,7 @@ func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGro
result.vnglr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "List", resp, "Failure responding to request")
+ return
}
if result.vnglr.hasNextLink() && result.vnglr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -914,6 +916,7 @@ func (client VirtualNetworkGatewaysClient) listNextResults(ctx context.Context,
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -966,6 +969,7 @@ func (client VirtualNetworkGatewaysClient) ListConnections(ctx context.Context,
result.vnglcr, err = client.ListConnectionsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "ListConnections", resp, "Failure responding to request")
+ return
}
if result.vnglcr.hasNextLink() && result.vnglcr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -1030,6 +1034,7 @@ func (client VirtualNetworkGatewaysClient) listConnectionsNextResults(ctx contex
result, err = client.ListConnectionsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "listConnectionsNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -1323,6 +1328,7 @@ func (client VirtualNetworkGatewaysClient) SupportedVpnDevices(ctx context.Conte
result, err = client.SupportedVpnDevicesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "SupportedVpnDevices", resp, "Failure responding to request")
+ return
}
return
@@ -1478,6 +1484,7 @@ func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript(ctx cont
result, err = client.VpnDeviceConfigurationScriptResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkGatewaysClient", "VpnDeviceConfigurationScript", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkpeerings.go
index 514acd951a..fe04e3bd29 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworkpeerings.go
@@ -231,6 +231,7 @@ func (client VirtualNetworkPeeringsClient) Get(ctx context.Context, resourceGrou
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkPeeringsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -308,6 +309,7 @@ func (client VirtualNetworkPeeringsClient) List(ctx context.Context, resourceGro
result.vnplr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkPeeringsClient", "List", resp, "Failure responding to request")
+ return
}
if result.vnplr.hasNextLink() && result.vnplr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -372,6 +374,7 @@ func (client VirtualNetworkPeeringsClient) listNextResults(ctx context.Context,
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkPeeringsClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworks.go
index b6a6f7729d..2871c8ae1f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworks.go
@@ -73,6 +73,7 @@ func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Conte
result, err = client.CheckIPAddressAvailabilityResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "CheckIPAddressAvailability", resp, "Failure responding to request")
+ return
}
return
@@ -302,6 +303,7 @@ func (client VirtualNetworksClient) Get(ctx context.Context, resourceGroupName s
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -380,6 +382,7 @@ func (client VirtualNetworksClient) List(ctx context.Context, resourceGroupName
result.vnlr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "List", resp, "Failure responding to request")
+ return
}
if result.vnlr.hasNextLink() && result.vnlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -443,6 +446,7 @@ func (client VirtualNetworksClient) listNextResults(ctx context.Context, lastRes
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -492,6 +496,7 @@ func (client VirtualNetworksClient) ListAll(ctx context.Context) (result Virtual
result.vnlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.vnlr.hasNextLink() && result.vnlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -554,6 +559,7 @@ func (client VirtualNetworksClient) listAllNextResults(ctx context.Context, last
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -606,6 +612,7 @@ func (client VirtualNetworksClient) ListUsage(ctx context.Context, resourceGroup
result.vnlur, err = client.ListUsageResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "ListUsage", resp, "Failure responding to request")
+ return
}
if result.vnlur.hasNextLink() && result.vnlur.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -670,6 +677,7 @@ func (client VirtualNetworksClient) listUsageNextResults(ctx context.Context, la
result, err = client.ListUsageResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "listUsageNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworktaps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworktaps.go
index 4ad8bb95de..7a74e9aa60 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworktaps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualnetworktaps.go
@@ -257,6 +257,7 @@ func (client VirtualNetworkTapsClient) Get(ctx context.Context, resourceGroupNam
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkTapsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -330,6 +331,7 @@ func (client VirtualNetworkTapsClient) ListAll(ctx context.Context) (result Virt
result.vntlr, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkTapsClient", "ListAll", resp, "Failure responding to request")
+ return
}
if result.vntlr.hasNextLink() && result.vntlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -392,6 +394,7 @@ func (client VirtualNetworkTapsClient) listAllNextResults(ctx context.Context, l
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkTapsClient", "listAllNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -443,6 +446,7 @@ func (client VirtualNetworkTapsClient) ListByResourceGroup(ctx context.Context,
result.vntlr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkTapsClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.vntlr.hasNextLink() && result.vntlr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -506,6 +510,7 @@ func (client VirtualNetworkTapsClient) listByResourceGroupNextResults(ctx contex
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualNetworkTapsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualwans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualwans.go
index 584a90e1b9..36c29289f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualwans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/virtualwans.go
@@ -225,6 +225,7 @@ func (client VirtualWansClient) Get(ctx context.Context, resourceGroupName strin
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualWansClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -298,6 +299,7 @@ func (client VirtualWansClient) List(ctx context.Context) (result ListVirtualWAN
result.lvwnr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualWansClient", "List", resp, "Failure responding to request")
+ return
}
if result.lvwnr.hasNextLink() && result.lvwnr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -360,6 +362,7 @@ func (client VirtualWansClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualWansClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -411,6 +414,7 @@ func (client VirtualWansClient) ListByResourceGroup(ctx context.Context, resourc
result.lvwnr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualWansClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.lvwnr.hasNextLink() && result.lvwnr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client VirtualWansClient) listByResourceGroupNextResults(ctx context.Conte
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VirtualWansClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnconnections.go
index 5fc3312b3a..b80468ac2f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnconnections.go
@@ -231,6 +231,7 @@ func (client VpnConnectionsClient) Get(ctx context.Context, resourceGroupName st
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnConnectionsClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -308,6 +309,7 @@ func (client VpnConnectionsClient) ListByVpnGateway(ctx context.Context, resourc
result.lvcr, err = client.ListByVpnGatewayResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnConnectionsClient", "ListByVpnGateway", resp, "Failure responding to request")
+ return
}
if result.lvcr.hasNextLink() && result.lvcr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -372,6 +374,7 @@ func (client VpnConnectionsClient) listByVpnGatewayNextResults(ctx context.Conte
result, err = client.ListByVpnGatewayResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnConnectionsClient", "listByVpnGatewayNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpngateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpngateways.go
index dd8808526e..6c6529069c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpngateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpngateways.go
@@ -225,6 +225,7 @@ func (client VpnGatewaysClient) Get(ctx context.Context, resourceGroupName strin
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnGatewaysClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -298,6 +299,7 @@ func (client VpnGatewaysClient) List(ctx context.Context) (result ListVpnGateway
result.lvgr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnGatewaysClient", "List", resp, "Failure responding to request")
+ return
}
if result.lvgr.hasNextLink() && result.lvgr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -360,6 +362,7 @@ func (client VpnGatewaysClient) listNextResults(ctx context.Context, lastResults
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnGatewaysClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -411,6 +414,7 @@ func (client VpnGatewaysClient) ListByResourceGroup(ctx context.Context, resourc
result.lvgr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnGatewaysClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.lvgr.hasNextLink() && result.lvgr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client VpnGatewaysClient) listByResourceGroupNextResults(ctx context.Conte
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnGatewaysClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnsites.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnsites.go
index 93dfb73938..e258d0804d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnsites.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnsites.go
@@ -225,6 +225,7 @@ func (client VpnSitesClient) Get(ctx context.Context, resourceGroupName string,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -298,6 +299,7 @@ func (client VpnSitesClient) List(ctx context.Context) (result ListVpnSitesResul
result.lvsr, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "List", resp, "Failure responding to request")
+ return
}
if result.lvsr.hasNextLink() && result.lvsr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -360,6 +362,7 @@ func (client VpnSitesClient) listNextResults(ctx context.Context, lastResults Li
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "listNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
@@ -411,6 +414,7 @@ func (client VpnSitesClient) ListByResourceGroup(ctx context.Context, resourceGr
result.lvsr, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "ListByResourceGroup", resp, "Failure responding to request")
+ return
}
if result.lvsr.hasNextLink() && result.lvsr.IsEmpty() {
err = result.NextWithContext(ctx)
@@ -474,6 +478,7 @@ func (client VpnSitesClient) listByResourceGroupNextResults(ctx context.Context,
result, err = client.ListByResourceGroupResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
+ return
}
return
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/watchers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/watchers.go
index 167e73ff49..b9fa2e5173 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/watchers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/watchers.go
@@ -161,6 +161,7 @@ func (client WatchersClient) CreateOrUpdate(ctx context.Context, resourceGroupNa
result, err = client.CreateOrUpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "CreateOrUpdate", resp, "Failure responding to request")
+ return
}
return
@@ -312,6 +313,7 @@ func (client WatchersClient) Get(ctx context.Context, resourceGroupName string,
result, err = client.GetResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "Get", resp, "Failure responding to request")
+ return
}
return
@@ -731,6 +733,7 @@ func (client WatchersClient) GetTopology(ctx context.Context, resourceGroupName
result, err = client.GetTopologyResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "GetTopology", resp, "Failure responding to request")
+ return
}
return
@@ -1063,6 +1066,7 @@ func (client WatchersClient) List(ctx context.Context, resourceGroupName string)
result, err = client.ListResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "List", resp, "Failure responding to request")
+ return
}
return
@@ -1134,6 +1138,7 @@ func (client WatchersClient) ListAll(ctx context.Context) (result WatcherListRes
result, err = client.ListAllResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "ListAll", resp, "Failure responding to request")
+ return
}
return
@@ -1382,6 +1387,7 @@ func (client WatchersClient) UpdateTags(ctx context.Context, resourceGroupName s
result, err = client.UpdateTagsResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "network.WatchersClient", "UpdateTags", resp, "Failure responding to request")
+ return
}
return
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go
index 5e3965d08f..c863e6e50b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go
@@ -18,4 +18,4 @@ package version
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// Number contains the semantic version of this SDK.
-const Number = "v48.2.0"
+const Number = "v49.2.0"
diff --git a/vendor/github.com/Azure/go-autorest/autorest/adal/token.go b/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
index b83f16a49a..addc910999 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
@@ -30,6 +30,7 @@ import (
"net/http"
"net/url"
"os"
+ "strconv"
"strings"
"sync"
"time"
@@ -76,6 +77,15 @@ const (
// the API version to use for the App Service MSI endpoint
appServiceAPIVersion = "2017-09-01"
+
+ // secret header used when authenticating against app service MSI endpoint
+ secretHeader = "Secret"
+
+ // the format for expires_on in UTC with AM/PM
+ expiresOnDateFormatPM = "1/2/2006 15:04:05 PM +00:00"
+
+ // the format for expires_on in UTC without AM/PM
+ expiresOnDateFormat = "1/2/2006 15:04:05 +00:00"
)
// OAuthTokenProvider is an interface which should be implemented by an access token retriever
@@ -727,14 +737,16 @@ func newServicePrincipalTokenFromMSI(msiEndpoint, resource string, userAssignedI
v := url.Values{}
v.Set("resource", resource)
- // App Service MSI currently only supports token API version 2017-09-01
- if isAppService() {
+ // we only support token API version 2017-09-01 for app services
+ clientIDParam := "client_id"
+ if isASEEndpoint(*msiEndpointURL) {
v.Set("api-version", appServiceAPIVersion)
+ clientIDParam = "clientid"
} else {
v.Set("api-version", msiAPIVersion)
}
if userAssignedID != nil {
- v.Set("client_id", *userAssignedID)
+ v.Set(clientIDParam, *userAssignedID)
}
if identityResourceID != nil {
v.Set("mi_res_id", *identityResourceID)
@@ -892,7 +904,6 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
spt.inner.Token = *token
return spt.InvokeRefreshCallbacks(spt.inner.Token)
}
-
req, err := http.NewRequest(http.MethodPost, spt.inner.OauthConfig.TokenEndpoint.String(), nil)
if err != nil {
return fmt.Errorf("adal: Failed to build the refresh request. Error = '%v'", err)
@@ -901,7 +912,7 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
// Add header when runtime is on App Service or Functions
if isASEEndpoint(spt.inner.OauthConfig.TokenEndpoint) {
asMSISecret, _ := os.LookupEnv(asMSISecretEnv)
- req.Header.Add("Secret", asMSISecret)
+ req.Header.Add(secretHeader, asMSISecret)
}
req = req.WithContext(ctx)
if !isIMDS(spt.inner.OauthConfig.TokenEndpoint) {
@@ -937,7 +948,10 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
if _, ok := spt.inner.Secret.(*ServicePrincipalMSISecret); ok {
req.Method = http.MethodGet
- req.Header.Set(metadataHeader, "true")
+ // the metadata header isn't applicable for ASE
+ if !isASEEndpoint(spt.inner.OauthConfig.TokenEndpoint) {
+ req.Header.Set(metadataHeader, "true")
+ }
}
var resp *http.Response
@@ -964,9 +978,9 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
if resp.StatusCode != http.StatusOK {
if err != nil {
- return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Failed reading response body: %v", resp.StatusCode, err), resp)
+ return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Failed reading response body: %v Endpoint %s", resp.StatusCode, err, req.URL.String()), resp)
}
- return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Response body: %s", resp.StatusCode, string(rb)), resp)
+ return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Response body: %s Endpoint %s", resp.StatusCode, string(rb), req.URL.String()), resp)
}
// for the following error cases don't return a TokenRefreshError. the operation succeeded
@@ -979,15 +993,60 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
if len(strings.Trim(string(rb), " ")) == 0 {
return fmt.Errorf("adal: Empty service principal token received during refresh")
}
- var token Token
+ token := struct {
+ AccessToken string `json:"access_token"`
+ RefreshToken string `json:"refresh_token"`
+
+ // AAD returns expires_in as a string, ADFS returns it as an int
+ ExpiresIn json.Number `json:"expires_in"`
+ // expires_on can be in two formats, a UTC time stamp or the number of seconds.
+ ExpiresOn string `json:"expires_on"`
+ NotBefore json.Number `json:"not_before"`
+
+ Resource string `json:"resource"`
+ Type string `json:"token_type"`
+ }{}
+ // return a TokenRefreshError in the follow error cases as the token is in an unexpected format
err = json.Unmarshal(rb, &token)
if err != nil {
- return fmt.Errorf("adal: Failed to unmarshal the service principal token during refresh. Error = '%v' JSON = '%s'", err, string(rb))
+ return newTokenRefreshError(fmt.Sprintf("adal: Failed to unmarshal the service principal token during refresh. Error = '%v' JSON = '%s'", err, string(rb)), resp)
}
+ expiresOn := json.Number("")
+ // ADFS doesn't include the expires_on field
+ if token.ExpiresOn != "" {
+ if expiresOn, err = parseExpiresOn(token.ExpiresOn); err != nil {
+ return newTokenRefreshError(fmt.Sprintf("adal: failed to parse expires_on: %v value '%s'", err, token.ExpiresOn), resp)
+ }
+ }
+ spt.inner.Token.AccessToken = token.AccessToken
+ spt.inner.Token.RefreshToken = token.RefreshToken
+ spt.inner.Token.ExpiresIn = token.ExpiresIn
+ spt.inner.Token.ExpiresOn = expiresOn
+ spt.inner.Token.NotBefore = token.NotBefore
+ spt.inner.Token.Resource = token.Resource
+ spt.inner.Token.Type = token.Type
- spt.inner.Token = token
+ return spt.InvokeRefreshCallbacks(spt.inner.Token)
+}
- return spt.InvokeRefreshCallbacks(token)
+// converts expires_on to the number of seconds
+func parseExpiresOn(s string) (json.Number, error) {
+ // convert the expiration date to the number of seconds from now
+ timeToDuration := func(t time.Time) json.Number {
+ dur := t.Sub(time.Now().UTC())
+ return json.Number(strconv.FormatInt(int64(dur.Round(time.Second).Seconds()), 10))
+ }
+ if _, err := strconv.ParseInt(s, 10, 64); err == nil {
+ // this is the number of seconds case, no conversion required
+ return json.Number(s), nil
+ } else if eo, err := time.Parse(expiresOnDateFormatPM, s); err == nil {
+ return timeToDuration(eo), nil
+ } else if eo, err := time.Parse(expiresOnDateFormat, s); err == nil {
+ return timeToDuration(eo), nil
+ } else {
+ // unknown format
+ return json.Number(""), err
+ }
}
// retry logic specific to retrieving a token from the IMDS endpoint
@@ -1118,46 +1177,6 @@ func (mt *MultiTenantServicePrincipalToken) AuxiliaryOAuthTokens() []string {
return tokens
}
-// EnsureFreshWithContext will refresh the token if it will expire within the refresh window (as set by
-// RefreshWithin) and autoRefresh flag is on. This method is safe for concurrent use.
-func (mt *MultiTenantServicePrincipalToken) EnsureFreshWithContext(ctx context.Context) error {
- if err := mt.PrimaryToken.EnsureFreshWithContext(ctx); err != nil {
- return fmt.Errorf("failed to refresh primary token: %v", err)
- }
- for _, aux := range mt.AuxiliaryTokens {
- if err := aux.EnsureFreshWithContext(ctx); err != nil {
- return fmt.Errorf("failed to refresh auxiliary token: %v", err)
- }
- }
- return nil
-}
-
-// RefreshWithContext obtains a fresh token for the Service Principal.
-func (mt *MultiTenantServicePrincipalToken) RefreshWithContext(ctx context.Context) error {
- if err := mt.PrimaryToken.RefreshWithContext(ctx); err != nil {
- return fmt.Errorf("failed to refresh primary token: %v", err)
- }
- for _, aux := range mt.AuxiliaryTokens {
- if err := aux.RefreshWithContext(ctx); err != nil {
- return fmt.Errorf("failed to refresh auxiliary token: %v", err)
- }
- }
- return nil
-}
-
-// RefreshExchangeWithContext refreshes the token, but for a different resource.
-func (mt *MultiTenantServicePrincipalToken) RefreshExchangeWithContext(ctx context.Context, resource string) error {
- if err := mt.PrimaryToken.RefreshExchangeWithContext(ctx, resource); err != nil {
- return fmt.Errorf("failed to refresh primary token: %v", err)
- }
- for _, aux := range mt.AuxiliaryTokens {
- if err := aux.RefreshExchangeWithContext(ctx, resource); err != nil {
- return fmt.Errorf("failed to refresh auxiliary token: %v", err)
- }
- }
- return nil
-}
-
// NewMultiTenantServicePrincipalToken creates a new MultiTenantServicePrincipalToken with the specified credentials and resource.
func NewMultiTenantServicePrincipalToken(multiTenantCfg MultiTenantOAuthConfig, clientID string, secret string, resource string) (*MultiTenantServicePrincipalToken, error) {
if err := validateStringParam(clientID, "clientID"); err != nil {
@@ -1188,6 +1207,55 @@ func NewMultiTenantServicePrincipalToken(multiTenantCfg MultiTenantOAuthConfig,
return &m, nil
}
+// NewMultiTenantServicePrincipalTokenFromCertificate creates a new MultiTenantServicePrincipalToken with the specified certificate credentials and resource.
+func NewMultiTenantServicePrincipalTokenFromCertificate(multiTenantCfg MultiTenantOAuthConfig, clientID string, certificate *x509.Certificate, privateKey *rsa.PrivateKey, resource string) (*MultiTenantServicePrincipalToken, error) {
+ if err := validateStringParam(clientID, "clientID"); err != nil {
+ return nil, err
+ }
+ if err := validateStringParam(resource, "resource"); err != nil {
+ return nil, err
+ }
+ if certificate == nil {
+ return nil, fmt.Errorf("parameter 'certificate' cannot be nil")
+ }
+ if privateKey == nil {
+ return nil, fmt.Errorf("parameter 'privateKey' cannot be nil")
+ }
+ auxTenants := multiTenantCfg.AuxiliaryTenants()
+ m := MultiTenantServicePrincipalToken{
+ AuxiliaryTokens: make([]*ServicePrincipalToken, len(auxTenants)),
+ }
+ primary, err := NewServicePrincipalTokenWithSecret(
+ *multiTenantCfg.PrimaryTenant(),
+ clientID,
+ resource,
+ &ServicePrincipalCertificateSecret{
+ PrivateKey: privateKey,
+ Certificate: certificate,
+ },
+ )
+ if err != nil {
+ return nil, fmt.Errorf("failed to create SPT for primary tenant: %v", err)
+ }
+ m.PrimaryToken = primary
+ for i := range auxTenants {
+ aux, err := NewServicePrincipalTokenWithSecret(
+ *auxTenants[i],
+ clientID,
+ resource,
+ &ServicePrincipalCertificateSecret{
+ PrivateKey: privateKey,
+ Certificate: certificate,
+ },
+ )
+ if err != nil {
+ return nil, fmt.Errorf("failed to create SPT for auxiliary tenant: %v", err)
+ }
+ m.AuxiliaryTokens[i] = aux
+ }
+ return &m, nil
+}
+
// MSIAvailable returns true if the MSI endpoint is available for authentication.
func MSIAvailable(ctx context.Context, sender Sender) bool {
resp, err := getMSIEndpoint(ctx, sender)
diff --git a/vendor/github.com/Azure/go-autorest/autorest/adal/token_1.13.go b/vendor/github.com/Azure/go-autorest/autorest/adal/token_1.13.go
index 45e01a7eee..54b4defefd 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/adal/token_1.13.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/adal/token_1.13.go
@@ -18,6 +18,7 @@ package adal
import (
"context"
+ "fmt"
"net/http"
"time"
)
@@ -34,3 +35,43 @@ func getMSIEndpoint(ctx context.Context, sender Sender) (*http.Response, error)
req.URL.RawQuery = q.Encode()
return sender.Do(req)
}
+
+// EnsureFreshWithContext will refresh the token if it will expire within the refresh window (as set by
+// RefreshWithin) and autoRefresh flag is on. This method is safe for concurrent use.
+func (mt *MultiTenantServicePrincipalToken) EnsureFreshWithContext(ctx context.Context) error {
+ if err := mt.PrimaryToken.EnsureFreshWithContext(ctx); err != nil {
+ return fmt.Errorf("failed to refresh primary token: %w", err)
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.EnsureFreshWithContext(ctx); err != nil {
+ return fmt.Errorf("failed to refresh auxiliary token: %w", err)
+ }
+ }
+ return nil
+}
+
+// RefreshWithContext obtains a fresh token for the Service Principal.
+func (mt *MultiTenantServicePrincipalToken) RefreshWithContext(ctx context.Context) error {
+ if err := mt.PrimaryToken.RefreshWithContext(ctx); err != nil {
+ return fmt.Errorf("failed to refresh primary token: %w", err)
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.RefreshWithContext(ctx); err != nil {
+ return fmt.Errorf("failed to refresh auxiliary token: %w", err)
+ }
+ }
+ return nil
+}
+
+// RefreshExchangeWithContext refreshes the token, but for a different resource.
+func (mt *MultiTenantServicePrincipalToken) RefreshExchangeWithContext(ctx context.Context, resource string) error {
+ if err := mt.PrimaryToken.RefreshExchangeWithContext(ctx, resource); err != nil {
+ return fmt.Errorf("failed to refresh primary token: %w", err)
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.RefreshExchangeWithContext(ctx, resource); err != nil {
+ return fmt.Errorf("failed to refresh auxiliary token: %w", err)
+ }
+ }
+ return nil
+}
diff --git a/vendor/github.com/Azure/go-autorest/autorest/adal/token_legacy.go b/vendor/github.com/Azure/go-autorest/autorest/adal/token_legacy.go
index 6f7ad8078c..6d73bae15e 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/adal/token_legacy.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/adal/token_legacy.go
@@ -34,3 +34,43 @@ func getMSIEndpoint(ctx context.Context, sender Sender) (*http.Response, error)
req.URL.RawQuery = q.Encode()
return sender.Do(req)
}
+
+// EnsureFreshWithContext will refresh the token if it will expire within the refresh window (as set by
+// RefreshWithin) and autoRefresh flag is on. This method is safe for concurrent use.
+func (mt *MultiTenantServicePrincipalToken) EnsureFreshWithContext(ctx context.Context) error {
+ if err := mt.PrimaryToken.EnsureFreshWithContext(ctx); err != nil {
+ return err
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.EnsureFreshWithContext(ctx); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// RefreshWithContext obtains a fresh token for the Service Principal.
+func (mt *MultiTenantServicePrincipalToken) RefreshWithContext(ctx context.Context) error {
+ if err := mt.PrimaryToken.RefreshWithContext(ctx); err != nil {
+ return err
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.RefreshWithContext(ctx); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// RefreshExchangeWithContext refreshes the token, but for a different resource.
+func (mt *MultiTenantServicePrincipalToken) RefreshExchangeWithContext(ctx context.Context, resource string) error {
+ if err := mt.PrimaryToken.RefreshExchangeWithContext(ctx, resource); err != nil {
+ return err
+ }
+ for _, aux := range mt.AuxiliaryTokens {
+ if err := aux.RefreshExchangeWithContext(ctx, resource); err != nil {
+ return err
+ }
+ }
+ return nil
+}
diff --git a/vendor/github.com/Azure/go-autorest/autorest/azure/async.go b/vendor/github.com/Azure/go-autorest/autorest/azure/async.go
index 5326f1fd3b..42e28cf2e4 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/azure/async.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/azure/async.go
@@ -42,6 +42,52 @@ const (
var pollingCodes = [...]int{http.StatusNoContent, http.StatusAccepted, http.StatusCreated, http.StatusOK}
+// FutureAPI contains the set of methods on the Future type.
+type FutureAPI interface {
+ // Response returns the last HTTP response.
+ Response() *http.Response
+
+ // Status returns the last status message of the operation.
+ Status() string
+
+ // PollingMethod returns the method used to monitor the status of the asynchronous operation.
+ PollingMethod() PollingMethodType
+
+ // DoneWithContext queries the service to see if the operation has completed.
+ DoneWithContext(context.Context, autorest.Sender) (bool, error)
+
+ // GetPollingDelay returns a duration the application should wait before checking
+ // the status of the asynchronous request and true; this value is returned from
+ // the service via the Retry-After response header. If the header wasn't returned
+ // then the function returns the zero-value time.Duration and false.
+ GetPollingDelay() (time.Duration, bool)
+
+ // WaitForCompletionRef will return when one of the following conditions is met: the long
+ // running operation has completed, the provided context is cancelled, or the client's
+ // polling duration has been exceeded. It will retry failed polling attempts based on
+ // the retry value defined in the client up to the maximum retry attempts.
+ // If no deadline is specified in the context then the client.PollingDuration will be
+ // used to determine if a default deadline should be used.
+ // If PollingDuration is greater than zero the value will be used as the context's timeout.
+ // If PollingDuration is zero then no default deadline will be used.
+ WaitForCompletionRef(context.Context, autorest.Client) error
+
+ // MarshalJSON implements the json.Marshaler interface.
+ MarshalJSON() ([]byte, error)
+
+ // MarshalJSON implements the json.Unmarshaler interface.
+ UnmarshalJSON([]byte) error
+
+ // PollingURL returns the URL used for retrieving the status of the long-running operation.
+ PollingURL() string
+
+ // GetResult should be called once polling has completed successfully.
+ // It makes the final GET call to retrieve the resultant payload.
+ GetResult(autorest.Sender) (*http.Response, error)
+}
+
+var _ FutureAPI = (*Future)(nil)
+
// Future provides a mechanism to access the status and results of an asynchronous request.
// Since futures are stateful they should be passed by value to avoid race conditions.
type Future struct {
@@ -413,12 +459,12 @@ func (pt *pollingTrackerBase) updateRawBody() error {
if err != nil {
return autorest.NewErrorWithError(err, "pollingTrackerBase", "updateRawBody", nil, "failed to read response body")
}
+ // put the body back so it's available to other callers
+ pt.resp.Body = ioutil.NopCloser(bytes.NewReader(b))
// observed in 204 responses over HTTP/2.0; the content length is -1 but body is empty
if len(b) == 0 {
return nil
}
- // put the body back so it's available to other callers
- pt.resp.Body = ioutil.NopCloser(bytes.NewReader(b))
if err = json.Unmarshal(b, &pt.rawBody); err != nil {
return autorest.NewErrorWithError(err, "pollingTrackerBase", "updateRawBody", nil, "failed to unmarshal response body")
}
@@ -466,7 +512,12 @@ func (pt *pollingTrackerBase) updateErrorFromResponse() {
re := respErr{}
defer pt.resp.Body.Close()
var b []byte
- if b, err = ioutil.ReadAll(pt.resp.Body); err != nil || len(b) == 0 {
+ if b, err = ioutil.ReadAll(pt.resp.Body); err != nil {
+ goto Default
+ }
+ // put the body back so it's available to other callers
+ pt.resp.Body = ioutil.NopCloser(bytes.NewReader(b))
+ if len(b) == 0 {
goto Default
}
if err = json.Unmarshal(b, &re); err != nil {
diff --git a/vendor/github.com/Azure/go-autorest/autorest/client.go b/vendor/github.com/Azure/go-autorest/autorest/client.go
index e04f9fd4ec..898db8b954 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/client.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/client.go
@@ -165,7 +165,8 @@ type Client struct {
// Setting this to zero will use the provided context to control the duration.
PollingDuration time.Duration
- // RetryAttempts sets the default number of retry attempts for client.
+ // RetryAttempts sets the total number of times the client will attempt to make an HTTP request.
+ // Set the value to 1 to disable retries. DO NOT set the value to less than 1.
RetryAttempts int
// RetryDuration sets the delay duration for retries.
diff --git a/vendor/github.com/Azure/go-autorest/autorest/error.go b/vendor/github.com/Azure/go-autorest/autorest/error.go
index f724f33327..35098eda8e 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/error.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/error.go
@@ -96,3 +96,8 @@ func (e DetailedError) Error() string {
}
return fmt.Sprintf("%s#%s: %s: StatusCode=%d -- Original Error: %v", e.PackageType, e.Method, e.Message, e.StatusCode, e.Original)
}
+
+// Unwrap returns the original error.
+func (e DetailedError) Unwrap() error {
+ return e.Original
+}
diff --git a/vendor/github.com/Azure/go-autorest/autorest/utility.go b/vendor/github.com/Azure/go-autorest/autorest/utility.go
index 416041c3f3..3467b8fa60 100644
--- a/vendor/github.com/Azure/go-autorest/autorest/utility.go
+++ b/vendor/github.com/Azure/go-autorest/autorest/utility.go
@@ -26,8 +26,6 @@ import (
"net/url"
"reflect"
"strings"
-
- "github.com/Azure/go-autorest/autorest/adal"
)
// EncodedAs is a series of constants specifying various data encodings
@@ -207,18 +205,6 @@ func ChangeToGet(req *http.Request) *http.Request {
return req
}
-// IsTokenRefreshError returns true if the specified error implements the TokenRefreshError
-// interface. If err is a DetailedError it will walk the chain of Original errors.
-func IsTokenRefreshError(err error) bool {
- if _, ok := err.(adal.TokenRefreshError); ok {
- return true
- }
- if de, ok := err.(DetailedError); ok {
- return IsTokenRefreshError(de.Original)
- }
- return false
-}
-
// IsTemporaryNetworkError returns true if the specified error is a temporary network error or false
// if it's not. If the error doesn't implement the net.Error interface the return value is true.
func IsTemporaryNetworkError(err error) bool {
diff --git a/vendor/github.com/Azure/go-autorest/autorest/utility_1.13.go b/vendor/github.com/Azure/go-autorest/autorest/utility_1.13.go
new file mode 100644
index 0000000000..4cb5e6849f
--- /dev/null
+++ b/vendor/github.com/Azure/go-autorest/autorest/utility_1.13.go
@@ -0,0 +1,29 @@
+// +build go1.13
+
+// Copyright 2017 Microsoft Corporation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package autorest
+
+import (
+ "errors"
+
+ "github.com/Azure/go-autorest/autorest/adal"
+)
+
+// IsTokenRefreshError returns true if the specified error implements the TokenRefreshError interface.
+func IsTokenRefreshError(err error) bool {
+ var tre adal.TokenRefreshError
+ return errors.As(err, &tre)
+}
diff --git a/vendor/github.com/Azure/go-autorest/autorest/utility_legacy.go b/vendor/github.com/Azure/go-autorest/autorest/utility_legacy.go
new file mode 100644
index 0000000000..ebb51b4f53
--- /dev/null
+++ b/vendor/github.com/Azure/go-autorest/autorest/utility_legacy.go
@@ -0,0 +1,31 @@
+// +build !go1.13
+
+// Copyright 2017 Microsoft Corporation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package autorest
+
+import "github.com/Azure/go-autorest/autorest/adal"
+
+// IsTokenRefreshError returns true if the specified error implements the TokenRefreshError
+// interface. If err is a DetailedError it will walk the chain of Original errors.
+func IsTokenRefreshError(err error) bool {
+ if _, ok := err.(adal.TokenRefreshError); ok {
+ return true
+ }
+ if de, ok := err.(DetailedError); ok {
+ return IsTokenRefreshError(de.Original)
+ }
+ return false
+}
diff --git a/vendor/github.com/alecthomas/units/go.mod b/vendor/github.com/alecthomas/units/go.mod
index c7fb91f2b2..f77ddea73a 100644
--- a/vendor/github.com/alecthomas/units/go.mod
+++ b/vendor/github.com/alecthomas/units/go.mod
@@ -1,3 +1,5 @@
module github.com/alecthomas/units
+go 1.15
+
require github.com/stretchr/testify v1.4.0
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
index 1b447aea58..35db88d995 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
@@ -344,6 +344,20 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "airflow": service{
+
+ Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-southeast-1": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-central-1": endpoint{},
+ "eu-north-1": endpoint{},
+ "eu-west-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"api.detective": service{
Defaults: endpoint{
Protocols: []string{"https"},
@@ -664,6 +678,18 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "app-integrations": service{
+
+ Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-southeast-1": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-central-1": endpoint{},
+ "eu-west-2": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"appflow": service{
Endpoints: endpoints{
@@ -801,12 +827,36 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
- "me-south-1": endpoint{},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "fips-us-east-1": endpoint{
+ Hostname: "athena-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ "fips-us-east-2": endpoint{
+ Hostname: "athena-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
+ "fips-us-west-1": endpoint{
+ Hostname: "athena-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ },
+ "fips-us-west-2": endpoint{
+ Hostname: "athena-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ },
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"autoscaling": service{
@@ -966,8 +1016,7 @@ var awsPartition = partition{
PartitionEndpoint: "aws-global",
IsRegionalized: boxedFalse,
Defaults: endpoint{
- SSLCommonName: "service.chime.aws.amazon.com",
- Protocols: []string{"https"},
+ Protocols: []string{"https"},
},
Endpoints: endpoints{
"aws-global": endpoint{
@@ -1206,6 +1255,7 @@ var awsPartition = partition{
"codebuild": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -1330,9 +1380,25 @@ var awsPartition = partition{
},
},
},
+ "codeguru-reviewer": service{
+
+ Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-southeast-1": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-central-1": endpoint{},
+ "eu-north-1": endpoint{},
+ "eu-west-1": endpoint{},
+ "eu-west-2": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"codepipeline": service{
Endpoints: endpoints{
+ "ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"ap-south-1": endpoint{},
@@ -1430,8 +1496,10 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
+ "eu-north-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
+ "eu-west-3": endpoint{},
"fips-us-east-1": endpoint{
Hostname: "cognito-identity-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -1450,8 +1518,10 @@ var awsPartition = partition{
Region: "us-west-2",
},
},
+ "sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
+ "us-west-1": endpoint{},
"us-west-2": endpoint{},
},
},
@@ -1465,8 +1535,10 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
+ "eu-north-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
+ "eu-west-3": endpoint{},
"fips-us-east-1": endpoint{
Hostname: "cognito-idp-fips.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -1485,8 +1557,10 @@ var awsPartition = partition{
Region: "us-west-2",
},
},
+ "sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
+ "us-west-1": endpoint{},
"us-west-2": endpoint{},
},
},
@@ -1576,6 +1650,7 @@ var awsPartition = partition{
"config": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -1585,15 +1660,40 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
+ "eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
- "me-south-1": endpoint{},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "fips-us-east-1": endpoint{
+ Hostname: "config-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ "fips-us-east-2": endpoint{
+ Hostname: "config-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
+ "fips-us-west-1": endpoint{
+ Hostname: "config-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ },
+ "fips-us-west-2": endpoint{
+ Hostname: "config-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ },
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"connect": service{
@@ -1608,6 +1708,14 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "contact-lens": service{
+
+ Endpoints: endpoints{
+ "ap-southeast-2": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"cur": service{
Endpoints: endpoints{
@@ -1888,6 +1996,12 @@ var awsPartition = partition{
Region: "eu-west-3",
},
},
+ "sa-east-1": endpoint{
+ Hostname: "rds.sa-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "sa-east-1",
+ },
+ },
"us-east-1": endpoint{
Hostname: "rds.us-east-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -2612,6 +2726,14 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "emr-containers": service{
+
+ Endpoints: endpoints{
+ "eu-west-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"entitlement.marketplace": service{
Defaults: endpoint{
CredentialScope: credentialScope{
@@ -2770,6 +2892,18 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
+ "fips-af-south-1": endpoint{
+ Hostname: "fms-fips.af-south-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "af-south-1",
+ },
+ },
+ "fips-ap-east-1": endpoint{
+ Hostname: "fms-fips.ap-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ap-east-1",
+ },
+ },
"fips-ap-northeast-1": endpoint{
Hostname: "fms-fips.ap-northeast-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -2812,6 +2946,12 @@ var awsPartition = partition{
Region: "eu-central-1",
},
},
+ "fips-eu-south-1": endpoint{
+ Hostname: "fms-fips.eu-south-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "eu-south-1",
+ },
+ },
"fips-eu-west-1": endpoint{
Hostname: "fms-fips.eu-west-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -2830,6 +2970,12 @@ var awsPartition = partition{
Region: "eu-west-3",
},
},
+ "fips-me-south-1": endpoint{
+ Hostname: "fms-fips.me-south-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "me-south-1",
+ },
+ },
"fips-sa-east-1": endpoint{
Hostname: "fms-fips.sa-east-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -3151,6 +3297,14 @@ var awsPartition = partition{
},
},
},
+ "healthlake": service{
+ Defaults: endpoint{
+ Protocols: []string{"https"},
+ },
+ Endpoints: endpoints{
+ "us-east-1": endpoint{},
+ },
+ },
"honeycode": service{
Endpoints: endpoints{
@@ -3407,6 +3561,23 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "iotwireless": service{
+
+ Endpoints: endpoints{
+ "eu-west-1": endpoint{
+ Hostname: "api.iotwireless.eu-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "eu-west-1",
+ },
+ },
+ "us-east-1": endpoint{
+ Hostname: "api.iotwireless.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ },
+ },
"kafka": service{
Endpoints: endpoints{
@@ -3760,6 +3931,18 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
+ "lookoutvision": service{
+
+ Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-northeast-2": endpoint{},
+ "eu-central-1": endpoint{},
+ "eu-west-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"machinelearning": service{
Endpoints: endpoints{
@@ -3789,6 +3972,7 @@ var awsPartition = partition{
"macie2": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -3798,6 +3982,7 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
+ "eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
@@ -3825,11 +4010,12 @@ var awsPartition = partition{
Region: "us-west-2",
},
},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"managedblockchain": service{
@@ -4616,6 +4802,18 @@ var awsPartition = partition{
},
},
},
+ "profile": service{
+
+ Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-southeast-1": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-central-1": endpoint{},
+ "eu-west-2": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
+ },
+ },
"projects.iot1click": service{
Endpoints: endpoints{
@@ -5499,6 +5697,7 @@ var awsPartition = partition{
"servicediscovery": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -5508,6 +5707,7 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
+ "eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
@@ -5640,6 +5840,7 @@ var awsPartition = partition{
"snowball": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -6253,11 +6454,14 @@ var awsPartition = partition{
"transcribestreaming": service{
Endpoints: endpoints{
+ "ap-northeast-1": endpoint{},
+ "ap-northeast-2": endpoint{},
"ap-southeast-2": endpoint{},
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
+ "sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
@@ -6697,12 +6901,36 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
- "me-south-1": endpoint{},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "fips-us-east-1": endpoint{
+ Hostname: "xray-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ "fips-us-east-2": endpoint{
+ Hostname: "xray-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
+ "fips-us-west-1": endpoint{
+ Hostname: "xray-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ },
+ "fips-us-west-2": endpoint{
+ Hostname: "xray-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ },
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
},
@@ -6951,6 +7179,17 @@ var awscnPartition = partition{
"cn-northwest-1": endpoint{},
},
},
+ "docdb": service{
+
+ Endpoints: endpoints{
+ "cn-northwest-1": endpoint{
+ Hostname: "rds.cn-northwest-1.amazonaws.com.cn",
+ CredentialScope: credentialScope{
+ Region: "cn-northwest-1",
+ },
+ },
+ },
+ },
"ds": service{
Endpoints: endpoints{
@@ -7278,12 +7517,6 @@ var awscnPartition = partition{
Region: "cn-northwest-1",
},
},
- "fips-aws-cn-global": endpoint{
- Hostname: "organizations.cn-northwest-1.amazonaws.com.cn",
- CredentialScope: credentialScope{
- Region: "cn-northwest-1",
- },
- },
},
},
"polly": service{
@@ -7292,6 +7525,13 @@ var awscnPartition = partition{
"cn-northwest-1": endpoint{},
},
},
+ "ram": service{
+
+ Endpoints: endpoints{
+ "cn-north-1": endpoint{},
+ "cn-northwest-1": endpoint{},
+ },
+ },
"rds": service{
Endpoints: endpoints{
@@ -7977,6 +8217,18 @@ var awsusgovPartition = partition{
"config": service{
Endpoints: endpoints{
+ "fips-us-gov-east-1": endpoint{
+ Hostname: "config.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ "fips-us-gov-west-1": endpoint{
+ Hostname: "config.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
"us-gov-east-1": endpoint{},
"us-gov-west-1": endpoint{},
},
@@ -8306,6 +8558,25 @@ var awsusgovPartition = partition{
"us-gov-west-1": endpoint{},
},
},
+ "fsx": service{
+
+ Endpoints: endpoints{
+ "fips-prod-us-gov-east-1": endpoint{
+ Hostname: "fsx-fips.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ "fips-prod-us-gov-west-1": endpoint{
+ Hostname: "fsx-fips.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ "us-gov-east-1": endpoint{},
+ "us-gov-west-1": endpoint{},
+ },
+ },
"glacier": service{
Endpoints: endpoints{
@@ -8349,12 +8620,25 @@ var awsusgovPartition = partition{
Protocols: []string{"https"},
},
Endpoints: endpoints{
+ "dataplane-us-gov-east-1": endpoint{
+ Hostname: "greengrass-ats.iot.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
"dataplane-us-gov-west-1": endpoint{
Hostname: "greengrass-ats.iot.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
},
+ "fips-us-gov-east-1": endpoint{
+ Hostname: "greengrass-fips.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ "us-gov-east-1": endpoint{},
"us-gov-west-1": endpoint{
Hostname: "greengrass.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -8370,6 +8654,12 @@ var awsusgovPartition = partition{
},
Endpoints: endpoints{
"us-gov-east-1": endpoint{},
+ "us-gov-east-1-fips": endpoint{
+ Hostname: "guardduty.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
"us-gov-west-1": endpoint{},
"us-gov-west-1-fips": endpoint{
Hostname: "guardduty.us-gov-west-1.amazonaws.com",
@@ -9198,12 +9488,24 @@ var awsusgovPartition = partition{
"waf-regional": service{
Endpoints: endpoints{
+ "fips-us-gov-east-1": endpoint{
+ Hostname: "waf-regional-fips.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
"fips-us-gov-west-1": endpoint{
Hostname: "waf-regional-fips.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
},
+ "us-gov-east-1": endpoint{
+ Hostname: "waf-regional.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
"us-gov-west-1": endpoint{
Hostname: "waf-regional.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -9227,6 +9529,18 @@ var awsusgovPartition = partition{
"xray": service{
Endpoints: endpoints{
+ "fips-us-gov-east-1": endpoint{
+ Hostname: "xray-fips.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ "fips-us-gov-west-1": endpoint{
+ Hostname: "xray-fips.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
"us-gov-east-1": endpoint{},
"us-gov-west-1": endpoint{},
},
@@ -9531,6 +9845,12 @@ var awsisoPartition = partition{
},
},
},
+ "secretsmanager": service{
+
+ Endpoints: endpoints{
+ "us-iso-east-1": endpoint{},
+ },
+ },
"snowball": service{
Endpoints: endpoints{
@@ -9692,6 +10012,12 @@ var awsisobPartition = partition{
"us-isob-east-1": endpoint{},
},
},
+ "codedeploy": service{
+
+ Endpoints: endpoints{
+ "us-isob-east-1": endpoint{},
+ },
+ },
"config": service{
Endpoints: endpoints{
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport.go b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport.go
new file mode 100644
index 0000000000..593aedc421
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport.go
@@ -0,0 +1,27 @@
+// +build go1.13
+
+package session
+
+import (
+ "net"
+ "net/http"
+ "time"
+)
+
+// Transport that should be used when a custom CA bundle is specified with the
+// SDK.
+func getCustomTransport() *http.Transport {
+ return &http.Transport{
+ Proxy: http.ProxyFromEnvironment,
+ DialContext: (&net.Dialer{
+ Timeout: 30 * time.Second,
+ KeepAlive: 30 * time.Second,
+ DualStack: true,
+ }).DialContext,
+ ForceAttemptHTTP2: true,
+ MaxIdleConns: 100,
+ IdleConnTimeout: 90 * time.Second,
+ TLSHandshakeTimeout: 10 * time.Second,
+ ExpectContinueTimeout: 1 * time.Second,
+ }
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport.go b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.12.go
similarity index 88%
rename from vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport.go
rename to vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.12.go
index ea9ebb6f6a..1bf31cf8e5 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.12.go
@@ -1,4 +1,4 @@
-// +build go1.7
+// +build !go1.13,go1.7
package session
@@ -10,7 +10,7 @@ import (
// Transport that should be used when a custom CA bundle is specified with the
// SDK.
-func getCABundleTransport() *http.Transport {
+func getCustomTransport() *http.Transport {
return &http.Transport{
Proxy: http.ProxyFromEnvironment,
DialContext: (&net.Dialer{
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_5.go b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.5.go
similarity index 88%
rename from vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_5.go
rename to vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.5.go
index fec39dfc12..253d7bc9d5 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_5.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.5.go
@@ -10,7 +10,7 @@ import (
// Transport that should be used when a custom CA bundle is specified with the
// SDK.
-func getCABundleTransport() *http.Transport {
+func getCustomTransport() *http.Transport {
return &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_6.go b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.6.go
similarity index 90%
rename from vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_6.go
rename to vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.6.go
index 1c5a5391e6..db24060544 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/cabundle_transport_1_6.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/custom_transport_go1.6.go
@@ -10,7 +10,7 @@ import (
// Transport that should be used when a custom CA bundle is specified with the
// SDK.
-func getCABundleTransport() *http.Transport {
+func getCustomTransport() *http.Transport {
return &http.Transport{
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go b/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go
index cc461bd323..9419b518d5 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/doc.go
@@ -208,6 +208,8 @@ env values as well.
AWS_SDK_LOAD_CONFIG=1
+Custom Shared Config and Credential Files
+
Shared credentials file path can be set to instruct the SDK to use an alternative
file for the shared credentials. If not set the file will be loaded from
$HOME/.aws/credentials on Linux/Unix based systems, and
@@ -222,6 +224,8 @@ $HOME/.aws/config on Linux/Unix based systems, and
AWS_CONFIG_FILE=$HOME/my_shared_config
+Custom CA Bundle
+
Path to a custom Credentials Authority (CA) bundle PEM file that the SDK
will use instead of the default system's root CA bundle. Use this only
if you want to replace the CA bundle the SDK uses for TLS requests.
@@ -242,6 +246,29 @@ Setting a custom HTTPClient in the aws.Config options will override this setting
To use this option and custom HTTP client, the HTTP client needs to be provided
when creating the session. Not the service client.
+Custom Client TLS Certificate
+
+The SDK supports the environment and session option being configured with
+Client TLS certificates that are sent as a part of the client's TLS handshake
+for client authentication. If used, both Cert and Key values are required. If
+one is missing, or either fail to load the contents of the file an error will
+be returned.
+
+HTTP Client's Transport concrete implementation must be a http.Transport
+or creating the session will fail.
+
+ AWS_SDK_GO_CLIENT_TLS_KEY=$HOME/my_client_key
+ AWS_SDK_GO_CLIENT_TLS_CERT=$HOME/my_client_cert
+
+This can also be configured via the session.Options ClientTLSCert and ClientTLSKey.
+
+ sess, err := session.NewSessionWithOptions(session.Options{
+ ClientTLSCert: myCertFile,
+ ClientTLSKey: myKeyFile,
+ })
+
+Custom EC2 IMDS Endpoint
+
The endpoint of the EC2 IMDS client can be configured via the environment
variable, AWS_EC2_METADATA_SERVICE_ENDPOINT when creating the client with a
Session. See Options.EC2IMDSEndpoint for more details.
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go b/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
index d67c261d74..3cd5d4b5ae 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
@@ -101,6 +101,18 @@ type envConfig struct {
// AWS_CA_BUNDLE=$HOME/my_custom_ca_bundle
CustomCABundle string
+ // Sets the TLC client certificate that should be used by the SDK's HTTP transport
+ // when making requests. The certificate must be paired with a TLS client key file.
+ //
+ // AWS_SDK_GO_CLIENT_TLS_CERT=$HOME/my_client_cert
+ ClientTLSCert string
+
+ // Sets the TLC client key that should be used by the SDK's HTTP transport
+ // when making requests. The key must be paired with a TLS client certificate file.
+ //
+ // AWS_SDK_GO_CLIENT_TLS_KEY=$HOME/my_client_key
+ ClientTLSKey string
+
csmEnabled string
CSMEnabled *bool
CSMPort string
@@ -219,6 +231,15 @@ var (
ec2IMDSEndpointEnvKey = []string{
"AWS_EC2_METADATA_SERVICE_ENDPOINT",
}
+ useCABundleKey = []string{
+ "AWS_CA_BUNDLE",
+ }
+ useClientTLSCert = []string{
+ "AWS_SDK_GO_CLIENT_TLS_CERT",
+ }
+ useClientTLSKey = []string{
+ "AWS_SDK_GO_CLIENT_TLS_KEY",
+ }
)
// loadEnvConfig retrieves the SDK's environment configuration.
@@ -302,7 +323,9 @@ func envConfigLoad(enableSharedConfig bool) (envConfig, error) {
cfg.SharedConfigFile = defaults.SharedConfigFilename()
}
- cfg.CustomCABundle = os.Getenv("AWS_CA_BUNDLE")
+ setFromEnvVal(&cfg.CustomCABundle, useCABundleKey)
+ setFromEnvVal(&cfg.ClientTLSCert, useClientTLSCert)
+ setFromEnvVal(&cfg.ClientTLSKey, useClientTLSKey)
var err error
// STS Regional Endpoint variable
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/session.go b/vendor/github.com/aws/aws-sdk-go/aws/session/session.go
index 6430a7f152..08713cc347 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/session.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/session.go
@@ -25,6 +25,13 @@ const (
// ErrCodeSharedConfig represents an error that occurs in the shared
// configuration logic
ErrCodeSharedConfig = "SharedConfigErr"
+
+ // ErrCodeLoadCustomCABundle error code for unable to load custom CA bundle.
+ ErrCodeLoadCustomCABundle = "LoadCustomCABundleError"
+
+ // ErrCodeLoadClientTLSCert error code for unable to load client TLS
+ // certificate or key
+ ErrCodeLoadClientTLSCert = "LoadClientTLSCertError"
)
// ErrSharedConfigSourceCollision will be returned if a section contains both
@@ -229,17 +236,46 @@ type Options struct {
// the SDK will use instead of the default system's root CA bundle. Use this
// only if you want to replace the CA bundle the SDK uses for TLS requests.
//
- // Enabling this option will attempt to merge the Transport into the SDK's HTTP
- // client. If the client's Transport is not a http.Transport an error will be
- // returned. If the Transport's TLS config is set this option will cause the SDK
+ // HTTP Client's Transport concrete implementation must be a http.Transport
+ // or creating the session will fail.
+ //
+ // If the Transport's TLS config is set this option will cause the SDK
// to overwrite the Transport's TLS config's RootCAs value. If the CA
// bundle reader contains multiple certificates all of them will be loaded.
//
- // The Session option CustomCABundle is also available when creating sessions
- // to also enable this feature. CustomCABundle session option field has priority
- // over the AWS_CA_BUNDLE environment variable, and will be used if both are set.
+ // Can also be specified via the environment variable:
+ //
+ // AWS_CA_BUNDLE=$HOME/ca_bundle
+ //
+ // Can also be specified via the shared config field:
+ //
+ // ca_bundle = $HOME/ca_bundle
CustomCABundle io.Reader
+ // Reader for the TLC client certificate that should be used by the SDK's
+ // HTTP transport when making requests. The certificate must be paired with
+ // a TLS client key file. Will be ignored if both are not provided.
+ //
+ // HTTP Client's Transport concrete implementation must be a http.Transport
+ // or creating the session will fail.
+ //
+ // Can also be specified via the environment variable:
+ //
+ // AWS_SDK_GO_CLIENT_TLS_CERT=$HOME/my_client_cert
+ ClientTLSCert io.Reader
+
+ // Reader for the TLC client key that should be used by the SDK's HTTP
+ // transport when making requests. The key must be paired with a TLS client
+ // certificate file. Will be ignored if both are not provided.
+ //
+ // HTTP Client's Transport concrete implementation must be a http.Transport
+ // or creating the session will fail.
+ //
+ // Can also be specified via the environment variable:
+ //
+ // AWS_SDK_GO_CLIENT_TLS_KEY=$HOME/my_client_key
+ ClientTLSKey io.Reader
+
// The handlers that the session and all API clients will be created with.
// This must be a complete set of handlers. Use the defaults.Handlers()
// function to initialize this value before changing the handlers to be
@@ -319,17 +355,6 @@ func NewSessionWithOptions(opts Options) (*Session, error) {
envCfg.EnableSharedConfig = true
}
- // Only use AWS_CA_BUNDLE if session option is not provided.
- if len(envCfg.CustomCABundle) != 0 && opts.CustomCABundle == nil {
- f, err := os.Open(envCfg.CustomCABundle)
- if err != nil {
- return nil, awserr.New("LoadCustomCABundleError",
- "failed to open custom CA bundle PEM file", err)
- }
- defer f.Close()
- opts.CustomCABundle = f
- }
-
return newSession(opts, envCfg, &opts.Config)
}
@@ -460,6 +485,10 @@ func newSession(opts Options, envCfg envConfig, cfgs ...*aws.Config) (*Session,
return nil, err
}
+ if err := setTLSOptions(&opts, cfg, envCfg, sharedCfg); err != nil {
+ return nil, err
+ }
+
s := &Session{
Config: cfg,
Handlers: handlers,
@@ -479,13 +508,6 @@ func newSession(opts Options, envCfg envConfig, cfgs ...*aws.Config) (*Session,
}
}
- // Setup HTTP client with custom cert bundle if enabled
- if opts.CustomCABundle != nil {
- if err := loadCustomCABundle(s, opts.CustomCABundle); err != nil {
- return nil, err
- }
- }
-
return s, nil
}
@@ -529,22 +551,83 @@ func loadCSMConfig(envCfg envConfig, cfgFiles []string) (csmConfig, error) {
return csmConfig{}, nil
}
-func loadCustomCABundle(s *Session, bundle io.Reader) error {
+func setTLSOptions(opts *Options, cfg *aws.Config, envCfg envConfig, sharedCfg sharedConfig) error {
+ // CA Bundle can be specified in both environment variable shared config file.
+ var caBundleFilename = envCfg.CustomCABundle
+ if len(caBundleFilename) == 0 {
+ caBundleFilename = sharedCfg.CustomCABundle
+ }
+
+ // Only use environment value if session option is not provided.
+ customTLSOptions := map[string]struct {
+ filename string
+ field *io.Reader
+ errCode string
+ }{
+ "custom CA bundle PEM": {filename: caBundleFilename, field: &opts.CustomCABundle, errCode: ErrCodeLoadCustomCABundle},
+ "custom client TLS cert": {filename: envCfg.ClientTLSCert, field: &opts.ClientTLSCert, errCode: ErrCodeLoadClientTLSCert},
+ "custom client TLS key": {filename: envCfg.ClientTLSKey, field: &opts.ClientTLSKey, errCode: ErrCodeLoadClientTLSCert},
+ }
+ for name, v := range customTLSOptions {
+ if len(v.filename) != 0 && *v.field == nil {
+ f, err := os.Open(v.filename)
+ if err != nil {
+ return awserr.New(v.errCode, fmt.Sprintf("failed to open %s file", name), err)
+ }
+ defer f.Close()
+ *v.field = f
+ }
+ }
+
+ // Setup HTTP client with custom cert bundle if enabled
+ if opts.CustomCABundle != nil {
+ if err := loadCustomCABundle(cfg.HTTPClient, opts.CustomCABundle); err != nil {
+ return err
+ }
+ }
+
+ // Setup HTTP client TLS certificate and key for client TLS authentication.
+ if opts.ClientTLSCert != nil && opts.ClientTLSKey != nil {
+ if err := loadClientTLSCert(cfg.HTTPClient, opts.ClientTLSCert, opts.ClientTLSKey); err != nil {
+ return err
+ }
+ } else if opts.ClientTLSCert == nil && opts.ClientTLSKey == nil {
+ // Do nothing if neither values are available.
+
+ } else {
+ return awserr.New(ErrCodeLoadClientTLSCert,
+ fmt.Sprintf("client TLS cert(%t) and key(%t) must both be provided",
+ opts.ClientTLSCert != nil, opts.ClientTLSKey != nil), nil)
+ }
+
+ return nil
+}
+
+func getHTTPTransport(client *http.Client) (*http.Transport, error) {
var t *http.Transport
- switch v := s.Config.HTTPClient.Transport.(type) {
+ switch v := client.Transport.(type) {
case *http.Transport:
t = v
default:
- if s.Config.HTTPClient.Transport != nil {
- return awserr.New("LoadCustomCABundleError",
- "unable to load custom CA bundle, HTTPClient's transport unsupported type", nil)
+ if client.Transport != nil {
+ return nil, fmt.Errorf("unsupported transport, %T", client.Transport)
}
}
if t == nil {
// Nil transport implies `http.DefaultTransport` should be used. Since
// the SDK cannot modify, nor copy the `DefaultTransport` specifying
// the values the next closest behavior.
- t = getCABundleTransport()
+ t = getCustomTransport()
+ }
+
+ return t, nil
+}
+
+func loadCustomCABundle(client *http.Client, bundle io.Reader) error {
+ t, err := getHTTPTransport(client)
+ if err != nil {
+ return awserr.New(ErrCodeLoadCustomCABundle,
+ "unable to load custom CA bundle, HTTPClient's transport unsupported type", err)
}
p, err := loadCertPool(bundle)
@@ -556,7 +639,7 @@ func loadCustomCABundle(s *Session, bundle io.Reader) error {
}
t.TLSClientConfig.RootCAs = p
- s.Config.HTTPClient.Transport = t
+ client.Transport = t
return nil
}
@@ -564,19 +647,57 @@ func loadCustomCABundle(s *Session, bundle io.Reader) error {
func loadCertPool(r io.Reader) (*x509.CertPool, error) {
b, err := ioutil.ReadAll(r)
if err != nil {
- return nil, awserr.New("LoadCustomCABundleError",
+ return nil, awserr.New(ErrCodeLoadCustomCABundle,
"failed to read custom CA bundle PEM file", err)
}
p := x509.NewCertPool()
if !p.AppendCertsFromPEM(b) {
- return nil, awserr.New("LoadCustomCABundleError",
+ return nil, awserr.New(ErrCodeLoadCustomCABundle,
"failed to load custom CA bundle PEM file", err)
}
return p, nil
}
+func loadClientTLSCert(client *http.Client, certFile, keyFile io.Reader) error {
+ t, err := getHTTPTransport(client)
+ if err != nil {
+ return awserr.New(ErrCodeLoadClientTLSCert,
+ "unable to get usable HTTP transport from client", err)
+ }
+
+ cert, err := ioutil.ReadAll(certFile)
+ if err != nil {
+ return awserr.New(ErrCodeLoadClientTLSCert,
+ "unable to get read client TLS cert file", err)
+ }
+
+ key, err := ioutil.ReadAll(keyFile)
+ if err != nil {
+ return awserr.New(ErrCodeLoadClientTLSCert,
+ "unable to get read client TLS key file", err)
+ }
+
+ clientCert, err := tls.X509KeyPair(cert, key)
+ if err != nil {
+ return awserr.New(ErrCodeLoadClientTLSCert,
+ "unable to load x509 key pair from client cert", err)
+ }
+
+ tlsCfg := t.TLSClientConfig
+ if tlsCfg == nil {
+ tlsCfg = &tls.Config{}
+ }
+
+ tlsCfg.Certificates = append(tlsCfg.Certificates, clientCert)
+
+ t.TLSClientConfig = tlsCfg
+ client.Transport = t
+
+ return nil
+}
+
func mergeConfigSrcs(cfg, userCfg *aws.Config,
envCfg envConfig, sharedCfg sharedConfig,
handlers request.Handlers,
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go b/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go
index 680805a38a..be7daacf30 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go
@@ -34,6 +34,9 @@ const (
// Additional Config fields
regionKey = `region`
+ // custom CA Bundle filename
+ customCABundleKey = `ca_bundle`
+
// endpoint discovery group
enableEndpointDiscoveryKey = `endpoint_discovery_enabled` // optional
@@ -90,6 +93,15 @@ type sharedConfig struct {
// region
Region string
+ // CustomCABundle is the file path to a PEM file the SDK will read and
+ // use to configure the HTTP transport with additional CA certs that are
+ // not present in the platforms default CA store.
+ //
+ // This value will be ignored if the file does not exist.
+ //
+ // ca_bundle
+ CustomCABundle string
+
// EnableEndpointDiscovery can be enabled in the shared config by setting
// endpoint_discovery_enabled to true
//
@@ -276,6 +288,7 @@ func (cfg *sharedConfig) setFromIniFile(profile string, file sharedConfigFile, e
updateString(&cfg.SourceProfileName, section, sourceProfileKey)
updateString(&cfg.CredentialSource, section, credentialSourceKey)
updateString(&cfg.Region, section, regionKey)
+ updateString(&cfg.CustomCABundle, section, customCABundleKey)
if section.Has(roleDurationSecondsKey) {
d := time.Duration(section.Int(roleDurationSecondsKey)) * time.Second
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go
index a849fbc75b..919084d52f 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/version.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.35.31"
+const SDKVersion = "1.36.15"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
index 3986270247..59ea423d98 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
@@ -88,6 +88,80 @@ func (c *EC2) AcceptReservedInstancesExchangeQuoteWithContext(ctx aws.Context, i
return out, req.Send()
}
+const opAcceptTransitGatewayMulticastDomainAssociations = "AcceptTransitGatewayMulticastDomainAssociations"
+
+// AcceptTransitGatewayMulticastDomainAssociationsRequest generates a "aws/request.Request" representing the
+// client's request for the AcceptTransitGatewayMulticastDomainAssociations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See AcceptTransitGatewayMulticastDomainAssociations for more information on using the AcceptTransitGatewayMulticastDomainAssociations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the AcceptTransitGatewayMulticastDomainAssociationsRequest method.
+// req, resp := client.AcceptTransitGatewayMulticastDomainAssociationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayMulticastDomainAssociations
+func (c *EC2) AcceptTransitGatewayMulticastDomainAssociationsRequest(input *AcceptTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *AcceptTransitGatewayMulticastDomainAssociationsOutput) {
+ op := &request.Operation{
+ Name: opAcceptTransitGatewayMulticastDomainAssociations,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &AcceptTransitGatewayMulticastDomainAssociationsInput{}
+ }
+
+ output = &AcceptTransitGatewayMulticastDomainAssociationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// AcceptTransitGatewayMulticastDomainAssociations API operation for Amazon Elastic Compute Cloud.
+//
+// Accepts a request to associate subnets with a transit gateway multicast domain.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation AcceptTransitGatewayMulticastDomainAssociations for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayMulticastDomainAssociations
+func (c *EC2) AcceptTransitGatewayMulticastDomainAssociations(input *AcceptTransitGatewayMulticastDomainAssociationsInput) (*AcceptTransitGatewayMulticastDomainAssociationsOutput, error) {
+ req, out := c.AcceptTransitGatewayMulticastDomainAssociationsRequest(input)
+ return out, req.Send()
+}
+
+// AcceptTransitGatewayMulticastDomainAssociationsWithContext is the same as AcceptTransitGatewayMulticastDomainAssociations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See AcceptTransitGatewayMulticastDomainAssociations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) AcceptTransitGatewayMulticastDomainAssociationsWithContext(ctx aws.Context, input *AcceptTransitGatewayMulticastDomainAssociationsInput, opts ...request.Option) (*AcceptTransitGatewayMulticastDomainAssociationsOutput, error) {
+ req, out := c.AcceptTransitGatewayMulticastDomainAssociationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opAcceptTransitGatewayPeeringAttachment = "AcceptTransitGatewayPeeringAttachment"
// AcceptTransitGatewayPeeringAttachmentRequest generates a "aws/request.Request" representing the
@@ -2039,7 +2113,7 @@ func (c *EC2) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Reques
// the instance with the specified device name.
//
// Encrypted EBS volumes must be attached to instances that support Amazon EBS
-// encryption. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// encryption. For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// After you attach an EBS volume, you must make it available. For more information,
@@ -5448,6 +5522,84 @@ func (c *EC2) CreateNetworkAclEntryWithContext(ctx aws.Context, input *CreateNet
return out, req.Send()
}
+const opCreateNetworkInsightsPath = "CreateNetworkInsightsPath"
+
+// CreateNetworkInsightsPathRequest generates a "aws/request.Request" representing the
+// client's request for the CreateNetworkInsightsPath operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateNetworkInsightsPath for more information on using the CreateNetworkInsightsPath
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the CreateNetworkInsightsPathRequest method.
+// req, resp := client.CreateNetworkInsightsPathRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsPath
+func (c *EC2) CreateNetworkInsightsPathRequest(input *CreateNetworkInsightsPathInput) (req *request.Request, output *CreateNetworkInsightsPathOutput) {
+ op := &request.Operation{
+ Name: opCreateNetworkInsightsPath,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CreateNetworkInsightsPathInput{}
+ }
+
+ output = &CreateNetworkInsightsPathOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateNetworkInsightsPath API operation for Amazon Elastic Compute Cloud.
+//
+// Creates a path to analyze for reachability.
+//
+// Reachability Analyzer enables you to analyze and debug network reachability
+// between two resources in your virtual private cloud (VPC). For more information,
+// see What is Reachability Analyzer (https://docs.aws.amazon.com/vpc/latest/reachability/).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation CreateNetworkInsightsPath for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsPath
+func (c *EC2) CreateNetworkInsightsPath(input *CreateNetworkInsightsPathInput) (*CreateNetworkInsightsPathOutput, error) {
+ req, out := c.CreateNetworkInsightsPathRequest(input)
+ return out, req.Send()
+}
+
+// CreateNetworkInsightsPathWithContext is the same as CreateNetworkInsightsPath with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateNetworkInsightsPath for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) CreateNetworkInsightsPathWithContext(ctx aws.Context, input *CreateNetworkInsightsPathInput, opts ...request.Option) (*CreateNetworkInsightsPathOutput, error) {
+ req, out := c.CreateNetworkInsightsPathRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateNetworkInterface = "CreateNetworkInterface"
// CreateNetworkInterfaceRequest generates a "aws/request.Request" representing the
@@ -6108,7 +6260,7 @@ func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re
//
// You can take a snapshot of an attached volume that is in use. However, snapshots
// only capture data that has been written to your EBS volume at the time the
-// snapshot command is issued; this may exclude any data that has been cached
+// snapshot command is issued; this might exclude any data that has been cached
// by any applications or the operating system. If you can pause any file systems
// on the volume long enough to take a snapshot, your snapshot should be complete.
// However, if you cannot pause all file writes to the volume, you should unmount
@@ -6129,7 +6281,7 @@ func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re
// in the Amazon Elastic Compute Cloud User Guide.
//
// For more information, see Amazon Elastic Block Store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html)
-// and Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// and Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -6916,6 +7068,166 @@ func (c *EC2) CreateTransitGatewayWithContext(ctx aws.Context, input *CreateTran
return out, req.Send()
}
+const opCreateTransitGatewayConnect = "CreateTransitGatewayConnect"
+
+// CreateTransitGatewayConnectRequest generates a "aws/request.Request" representing the
+// client's request for the CreateTransitGatewayConnect operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateTransitGatewayConnect for more information on using the CreateTransitGatewayConnect
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the CreateTransitGatewayConnectRequest method.
+// req, resp := client.CreateTransitGatewayConnectRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnect
+func (c *EC2) CreateTransitGatewayConnectRequest(input *CreateTransitGatewayConnectInput) (req *request.Request, output *CreateTransitGatewayConnectOutput) {
+ op := &request.Operation{
+ Name: opCreateTransitGatewayConnect,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CreateTransitGatewayConnectInput{}
+ }
+
+ output = &CreateTransitGatewayConnectOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateTransitGatewayConnect API operation for Amazon Elastic Compute Cloud.
+//
+// Creates a Connect attachment from a specified transit gateway attachment.
+// A Connect attachment is a GRE-based tunnel attachment that you can use to
+// establish a connection between a transit gateway and an appliance.
+//
+// A Connect attachment uses an existing VPC or AWS Direct Connect attachment
+// as the underlying transport mechanism.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation CreateTransitGatewayConnect for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnect
+func (c *EC2) CreateTransitGatewayConnect(input *CreateTransitGatewayConnectInput) (*CreateTransitGatewayConnectOutput, error) {
+ req, out := c.CreateTransitGatewayConnectRequest(input)
+ return out, req.Send()
+}
+
+// CreateTransitGatewayConnectWithContext is the same as CreateTransitGatewayConnect with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateTransitGatewayConnect for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) CreateTransitGatewayConnectWithContext(ctx aws.Context, input *CreateTransitGatewayConnectInput, opts ...request.Option) (*CreateTransitGatewayConnectOutput, error) {
+ req, out := c.CreateTransitGatewayConnectRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opCreateTransitGatewayConnectPeer = "CreateTransitGatewayConnectPeer"
+
+// CreateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the
+// client's request for the CreateTransitGatewayConnectPeer operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateTransitGatewayConnectPeer for more information on using the CreateTransitGatewayConnectPeer
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the CreateTransitGatewayConnectPeerRequest method.
+// req, resp := client.CreateTransitGatewayConnectPeerRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnectPeer
+func (c *EC2) CreateTransitGatewayConnectPeerRequest(input *CreateTransitGatewayConnectPeerInput) (req *request.Request, output *CreateTransitGatewayConnectPeerOutput) {
+ op := &request.Operation{
+ Name: opCreateTransitGatewayConnectPeer,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CreateTransitGatewayConnectPeerInput{}
+ }
+
+ output = &CreateTransitGatewayConnectPeerOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateTransitGatewayConnectPeer API operation for Amazon Elastic Compute Cloud.
+//
+// Creates a Connect peer for a specified transit gateway Connect attachment
+// between a transit gateway and an appliance.
+//
+// The peer address and transit gateway address must be the same IP address
+// family (IPv4 or IPv6).
+//
+// For more information, see Connect peers (https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html#tgw-connect-peer)
+// in the Transit Gateways Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation CreateTransitGatewayConnectPeer for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnectPeer
+func (c *EC2) CreateTransitGatewayConnectPeer(input *CreateTransitGatewayConnectPeerInput) (*CreateTransitGatewayConnectPeerOutput, error) {
+ req, out := c.CreateTransitGatewayConnectPeerRequest(input)
+ return out, req.Send()
+}
+
+// CreateTransitGatewayConnectPeerWithContext is the same as CreateTransitGatewayConnectPeer with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateTransitGatewayConnectPeer for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) CreateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *CreateTransitGatewayConnectPeerInput, opts ...request.Option) (*CreateTransitGatewayConnectPeerOutput, error) {
+ req, out := c.CreateTransitGatewayConnectPeerRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateTransitGatewayMulticastDomain = "CreateTransitGatewayMulticastDomain"
// CreateTransitGatewayMulticastDomainRequest generates a "aws/request.Request" representing the
@@ -7423,8 +7735,7 @@ func (c *EC2) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Reques
// CreateVolume API operation for Amazon Elastic Compute Cloud.
//
// Creates an EBS volume that can be attached to an instance in the same Availability
-// Zone. The volume is created in the regional endpoint that you send the HTTP
-// request to. For more information see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
+// Zone.
//
// You can create a new empty volume or restore a volume from an EBS snapshot.
// Any AWS Marketplace product codes from the snapshot are propagated to the
@@ -7433,7 +7744,7 @@ func (c *EC2) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Reques
// You can create encrypted volumes. Encrypted volumes must be attached to instances
// that support Amazon EBS encryption. Volumes that are created from encrypted
// snapshots are also automatically encrypted. For more information, see Amazon
-// EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// You can tag your volumes during creation. For more information, see Tagging
@@ -9631,6 +9942,154 @@ func (c *EC2) DeleteNetworkAclEntryWithContext(ctx aws.Context, input *DeleteNet
return out, req.Send()
}
+const opDeleteNetworkInsightsAnalysis = "DeleteNetworkInsightsAnalysis"
+
+// DeleteNetworkInsightsAnalysisRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteNetworkInsightsAnalysis operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteNetworkInsightsAnalysis for more information on using the DeleteNetworkInsightsAnalysis
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DeleteNetworkInsightsAnalysisRequest method.
+// req, resp := client.DeleteNetworkInsightsAnalysisRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAnalysis
+func (c *EC2) DeleteNetworkInsightsAnalysisRequest(input *DeleteNetworkInsightsAnalysisInput) (req *request.Request, output *DeleteNetworkInsightsAnalysisOutput) {
+ op := &request.Operation{
+ Name: opDeleteNetworkInsightsAnalysis,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteNetworkInsightsAnalysisInput{}
+ }
+
+ output = &DeleteNetworkInsightsAnalysisOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteNetworkInsightsAnalysis API operation for Amazon Elastic Compute Cloud.
+//
+// Deletes the specified network insights analysis.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DeleteNetworkInsightsAnalysis for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAnalysis
+func (c *EC2) DeleteNetworkInsightsAnalysis(input *DeleteNetworkInsightsAnalysisInput) (*DeleteNetworkInsightsAnalysisOutput, error) {
+ req, out := c.DeleteNetworkInsightsAnalysisRequest(input)
+ return out, req.Send()
+}
+
+// DeleteNetworkInsightsAnalysisWithContext is the same as DeleteNetworkInsightsAnalysis with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteNetworkInsightsAnalysis for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DeleteNetworkInsightsAnalysisWithContext(ctx aws.Context, input *DeleteNetworkInsightsAnalysisInput, opts ...request.Option) (*DeleteNetworkInsightsAnalysisOutput, error) {
+ req, out := c.DeleteNetworkInsightsAnalysisRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteNetworkInsightsPath = "DeleteNetworkInsightsPath"
+
+// DeleteNetworkInsightsPathRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteNetworkInsightsPath operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteNetworkInsightsPath for more information on using the DeleteNetworkInsightsPath
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DeleteNetworkInsightsPathRequest method.
+// req, resp := client.DeleteNetworkInsightsPathRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsPath
+func (c *EC2) DeleteNetworkInsightsPathRequest(input *DeleteNetworkInsightsPathInput) (req *request.Request, output *DeleteNetworkInsightsPathOutput) {
+ op := &request.Operation{
+ Name: opDeleteNetworkInsightsPath,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteNetworkInsightsPathInput{}
+ }
+
+ output = &DeleteNetworkInsightsPathOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteNetworkInsightsPath API operation for Amazon Elastic Compute Cloud.
+//
+// Deletes the specified path.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DeleteNetworkInsightsPath for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsPath
+func (c *EC2) DeleteNetworkInsightsPath(input *DeleteNetworkInsightsPathInput) (*DeleteNetworkInsightsPathOutput, error) {
+ req, out := c.DeleteNetworkInsightsPathRequest(input)
+ return out, req.Send()
+}
+
+// DeleteNetworkInsightsPathWithContext is the same as DeleteNetworkInsightsPath with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteNetworkInsightsPath for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DeleteNetworkInsightsPathWithContext(ctx aws.Context, input *DeleteNetworkInsightsPathInput, opts ...request.Option) (*DeleteNetworkInsightsPathOutput, error) {
+ req, out := c.DeleteNetworkInsightsPathRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opDeleteNetworkInterface = "DeleteNetworkInterface"
// DeleteNetworkInterfaceRequest generates a "aws/request.Request" representing the
@@ -10862,6 +11321,155 @@ func (c *EC2) DeleteTransitGatewayWithContext(ctx aws.Context, input *DeleteTran
return out, req.Send()
}
+const opDeleteTransitGatewayConnect = "DeleteTransitGatewayConnect"
+
+// DeleteTransitGatewayConnectRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteTransitGatewayConnect operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteTransitGatewayConnect for more information on using the DeleteTransitGatewayConnect
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DeleteTransitGatewayConnectRequest method.
+// req, resp := client.DeleteTransitGatewayConnectRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnect
+func (c *EC2) DeleteTransitGatewayConnectRequest(input *DeleteTransitGatewayConnectInput) (req *request.Request, output *DeleteTransitGatewayConnectOutput) {
+ op := &request.Operation{
+ Name: opDeleteTransitGatewayConnect,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteTransitGatewayConnectInput{}
+ }
+
+ output = &DeleteTransitGatewayConnectOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteTransitGatewayConnect API operation for Amazon Elastic Compute Cloud.
+//
+// Deletes the specified Connect attachment. You must first delete any Connect
+// peers for the attachment.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DeleteTransitGatewayConnect for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnect
+func (c *EC2) DeleteTransitGatewayConnect(input *DeleteTransitGatewayConnectInput) (*DeleteTransitGatewayConnectOutput, error) {
+ req, out := c.DeleteTransitGatewayConnectRequest(input)
+ return out, req.Send()
+}
+
+// DeleteTransitGatewayConnectWithContext is the same as DeleteTransitGatewayConnect with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteTransitGatewayConnect for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DeleteTransitGatewayConnectWithContext(ctx aws.Context, input *DeleteTransitGatewayConnectInput, opts ...request.Option) (*DeleteTransitGatewayConnectOutput, error) {
+ req, out := c.DeleteTransitGatewayConnectRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteTransitGatewayConnectPeer = "DeleteTransitGatewayConnectPeer"
+
+// DeleteTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteTransitGatewayConnectPeer operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteTransitGatewayConnectPeer for more information on using the DeleteTransitGatewayConnectPeer
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DeleteTransitGatewayConnectPeerRequest method.
+// req, resp := client.DeleteTransitGatewayConnectPeerRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnectPeer
+func (c *EC2) DeleteTransitGatewayConnectPeerRequest(input *DeleteTransitGatewayConnectPeerInput) (req *request.Request, output *DeleteTransitGatewayConnectPeerOutput) {
+ op := &request.Operation{
+ Name: opDeleteTransitGatewayConnectPeer,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteTransitGatewayConnectPeerInput{}
+ }
+
+ output = &DeleteTransitGatewayConnectPeerOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteTransitGatewayConnectPeer API operation for Amazon Elastic Compute Cloud.
+//
+// Deletes the specified Connect peer.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DeleteTransitGatewayConnectPeer for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnectPeer
+func (c *EC2) DeleteTransitGatewayConnectPeer(input *DeleteTransitGatewayConnectPeerInput) (*DeleteTransitGatewayConnectPeerOutput, error) {
+ req, out := c.DeleteTransitGatewayConnectPeerRequest(input)
+ return out, req.Send()
+}
+
+// DeleteTransitGatewayConnectPeerWithContext is the same as DeleteTransitGatewayConnectPeer with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteTransitGatewayConnectPeer for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DeleteTransitGatewayConnectPeerWithContext(ctx aws.Context, input *DeleteTransitGatewayConnectPeerInput, opts ...request.Option) (*DeleteTransitGatewayConnectPeerOutput, error) {
+ req, out := c.DeleteTransitGatewayConnectPeerRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opDeleteTransitGatewayMulticastDomain = "DeleteTransitGatewayMulticastDomain"
// DeleteTransitGatewayMulticastDomainRequest generates a "aws/request.Request" representing the
@@ -19584,6 +20192,270 @@ func (c *EC2) DescribeNetworkAclsPagesWithContext(ctx aws.Context, input *Descri
return p.Err()
}
+const opDescribeNetworkInsightsAnalyses = "DescribeNetworkInsightsAnalyses"
+
+// DescribeNetworkInsightsAnalysesRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeNetworkInsightsAnalyses operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeNetworkInsightsAnalyses for more information on using the DescribeNetworkInsightsAnalyses
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DescribeNetworkInsightsAnalysesRequest method.
+// req, resp := client.DescribeNetworkInsightsAnalysesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAnalyses
+func (c *EC2) DescribeNetworkInsightsAnalysesRequest(input *DescribeNetworkInsightsAnalysesInput) (req *request.Request, output *DescribeNetworkInsightsAnalysesOutput) {
+ op := &request.Operation{
+ Name: opDescribeNetworkInsightsAnalyses,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &DescribeNetworkInsightsAnalysesInput{}
+ }
+
+ output = &DescribeNetworkInsightsAnalysesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeNetworkInsightsAnalyses API operation for Amazon Elastic Compute Cloud.
+//
+// Describes one or more of your network insights analyses.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DescribeNetworkInsightsAnalyses for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAnalyses
+func (c *EC2) DescribeNetworkInsightsAnalyses(input *DescribeNetworkInsightsAnalysesInput) (*DescribeNetworkInsightsAnalysesOutput, error) {
+ req, out := c.DescribeNetworkInsightsAnalysesRequest(input)
+ return out, req.Send()
+}
+
+// DescribeNetworkInsightsAnalysesWithContext is the same as DescribeNetworkInsightsAnalyses with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeNetworkInsightsAnalyses for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeNetworkInsightsAnalysesWithContext(ctx aws.Context, input *DescribeNetworkInsightsAnalysesInput, opts ...request.Option) (*DescribeNetworkInsightsAnalysesOutput, error) {
+ req, out := c.DescribeNetworkInsightsAnalysesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// DescribeNetworkInsightsAnalysesPages iterates over the pages of a DescribeNetworkInsightsAnalyses operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeNetworkInsightsAnalyses method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAnalyses operation.
+// pageNum := 0
+// err := client.DescribeNetworkInsightsAnalysesPages(params,
+// func(page *ec2.DescribeNetworkInsightsAnalysesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *EC2) DescribeNetworkInsightsAnalysesPages(input *DescribeNetworkInsightsAnalysesInput, fn func(*DescribeNetworkInsightsAnalysesOutput, bool) bool) error {
+ return c.DescribeNetworkInsightsAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeNetworkInsightsAnalysesPagesWithContext same as DescribeNetworkInsightsAnalysesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeNetworkInsightsAnalysesPagesWithContext(ctx aws.Context, input *DescribeNetworkInsightsAnalysesInput, fn func(*DescribeNetworkInsightsAnalysesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeNetworkInsightsAnalysesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeNetworkInsightsAnalysesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeNetworkInsightsAnalysesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeNetworkInsightsPaths = "DescribeNetworkInsightsPaths"
+
+// DescribeNetworkInsightsPathsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeNetworkInsightsPaths operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeNetworkInsightsPaths for more information on using the DescribeNetworkInsightsPaths
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DescribeNetworkInsightsPathsRequest method.
+// req, resp := client.DescribeNetworkInsightsPathsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsPaths
+func (c *EC2) DescribeNetworkInsightsPathsRequest(input *DescribeNetworkInsightsPathsInput) (req *request.Request, output *DescribeNetworkInsightsPathsOutput) {
+ op := &request.Operation{
+ Name: opDescribeNetworkInsightsPaths,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &DescribeNetworkInsightsPathsInput{}
+ }
+
+ output = &DescribeNetworkInsightsPathsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeNetworkInsightsPaths API operation for Amazon Elastic Compute Cloud.
+//
+// Describes one or more of your paths.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DescribeNetworkInsightsPaths for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsPaths
+func (c *EC2) DescribeNetworkInsightsPaths(input *DescribeNetworkInsightsPathsInput) (*DescribeNetworkInsightsPathsOutput, error) {
+ req, out := c.DescribeNetworkInsightsPathsRequest(input)
+ return out, req.Send()
+}
+
+// DescribeNetworkInsightsPathsWithContext is the same as DescribeNetworkInsightsPaths with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeNetworkInsightsPaths for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeNetworkInsightsPathsWithContext(ctx aws.Context, input *DescribeNetworkInsightsPathsInput, opts ...request.Option) (*DescribeNetworkInsightsPathsOutput, error) {
+ req, out := c.DescribeNetworkInsightsPathsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// DescribeNetworkInsightsPathsPages iterates over the pages of a DescribeNetworkInsightsPaths operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeNetworkInsightsPaths method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeNetworkInsightsPaths operation.
+// pageNum := 0
+// err := client.DescribeNetworkInsightsPathsPages(params,
+// func(page *ec2.DescribeNetworkInsightsPathsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *EC2) DescribeNetworkInsightsPathsPages(input *DescribeNetworkInsightsPathsInput, fn func(*DescribeNetworkInsightsPathsOutput, bool) bool) error {
+ return c.DescribeNetworkInsightsPathsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeNetworkInsightsPathsPagesWithContext same as DescribeNetworkInsightsPathsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeNetworkInsightsPathsPagesWithContext(ctx aws.Context, input *DescribeNetworkInsightsPathsInput, fn func(*DescribeNetworkInsightsPathsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeNetworkInsightsPathsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeNetworkInsightsPathsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeNetworkInsightsPathsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opDescribeNetworkInterfaceAttribute = "DescribeNetworkInterfaceAttribute"
// DescribeNetworkInterfaceAttributeRequest generates a "aws/request.Request" representing the
@@ -21620,7 +22492,7 @@ func (c *EC2) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeI
// Describes the specified attribute of the specified snapshot. You can specify
// only one attribute at a time.
//
-// For more information about EBS snapshots, see Amazon EBS Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html)
+// For more information about EBS snapshots, see Amazon EBS snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -21749,7 +22621,7 @@ func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ
//
// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores.
//
-// For more information about EBS snapshots, see Amazon EBS Snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html)
+// For more information about EBS snapshots, see Amazon EBS snapshots (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -23420,6 +24292,270 @@ func (c *EC2) DescribeTransitGatewayAttachmentsPagesWithContext(ctx aws.Context,
return p.Err()
}
+const opDescribeTransitGatewayConnectPeers = "DescribeTransitGatewayConnectPeers"
+
+// DescribeTransitGatewayConnectPeersRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeTransitGatewayConnectPeers operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeTransitGatewayConnectPeers for more information on using the DescribeTransitGatewayConnectPeers
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DescribeTransitGatewayConnectPeersRequest method.
+// req, resp := client.DescribeTransitGatewayConnectPeersRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnectPeers
+func (c *EC2) DescribeTransitGatewayConnectPeersRequest(input *DescribeTransitGatewayConnectPeersInput) (req *request.Request, output *DescribeTransitGatewayConnectPeersOutput) {
+ op := &request.Operation{
+ Name: opDescribeTransitGatewayConnectPeers,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &DescribeTransitGatewayConnectPeersInput{}
+ }
+
+ output = &DescribeTransitGatewayConnectPeersOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeTransitGatewayConnectPeers API operation for Amazon Elastic Compute Cloud.
+//
+// Describes one or more Connect peers.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DescribeTransitGatewayConnectPeers for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnectPeers
+func (c *EC2) DescribeTransitGatewayConnectPeers(input *DescribeTransitGatewayConnectPeersInput) (*DescribeTransitGatewayConnectPeersOutput, error) {
+ req, out := c.DescribeTransitGatewayConnectPeersRequest(input)
+ return out, req.Send()
+}
+
+// DescribeTransitGatewayConnectPeersWithContext is the same as DescribeTransitGatewayConnectPeers with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeTransitGatewayConnectPeers for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeTransitGatewayConnectPeersWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectPeersInput, opts ...request.Option) (*DescribeTransitGatewayConnectPeersOutput, error) {
+ req, out := c.DescribeTransitGatewayConnectPeersRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// DescribeTransitGatewayConnectPeersPages iterates over the pages of a DescribeTransitGatewayConnectPeers operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeTransitGatewayConnectPeers method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnectPeers operation.
+// pageNum := 0
+// err := client.DescribeTransitGatewayConnectPeersPages(params,
+// func(page *ec2.DescribeTransitGatewayConnectPeersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *EC2) DescribeTransitGatewayConnectPeersPages(input *DescribeTransitGatewayConnectPeersInput, fn func(*DescribeTransitGatewayConnectPeersOutput, bool) bool) error {
+ return c.DescribeTransitGatewayConnectPeersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeTransitGatewayConnectPeersPagesWithContext same as DescribeTransitGatewayConnectPeersPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeTransitGatewayConnectPeersPagesWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectPeersInput, fn func(*DescribeTransitGatewayConnectPeersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeTransitGatewayConnectPeersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeTransitGatewayConnectPeersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeTransitGatewayConnectPeersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeTransitGatewayConnects = "DescribeTransitGatewayConnects"
+
+// DescribeTransitGatewayConnectsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeTransitGatewayConnects operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeTransitGatewayConnects for more information on using the DescribeTransitGatewayConnects
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the DescribeTransitGatewayConnectsRequest method.
+// req, resp := client.DescribeTransitGatewayConnectsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnects
+func (c *EC2) DescribeTransitGatewayConnectsRequest(input *DescribeTransitGatewayConnectsInput) (req *request.Request, output *DescribeTransitGatewayConnectsOutput) {
+ op := &request.Operation{
+ Name: opDescribeTransitGatewayConnects,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &DescribeTransitGatewayConnectsInput{}
+ }
+
+ output = &DescribeTransitGatewayConnectsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeTransitGatewayConnects API operation for Amazon Elastic Compute Cloud.
+//
+// Describes one or more Connect attachments.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation DescribeTransitGatewayConnects for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnects
+func (c *EC2) DescribeTransitGatewayConnects(input *DescribeTransitGatewayConnectsInput) (*DescribeTransitGatewayConnectsOutput, error) {
+ req, out := c.DescribeTransitGatewayConnectsRequest(input)
+ return out, req.Send()
+}
+
+// DescribeTransitGatewayConnectsWithContext is the same as DescribeTransitGatewayConnects with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeTransitGatewayConnects for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeTransitGatewayConnectsWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectsInput, opts ...request.Option) (*DescribeTransitGatewayConnectsOutput, error) {
+ req, out := c.DescribeTransitGatewayConnectsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// DescribeTransitGatewayConnectsPages iterates over the pages of a DescribeTransitGatewayConnects operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeTransitGatewayConnects method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnects operation.
+// pageNum := 0
+// err := client.DescribeTransitGatewayConnectsPages(params,
+// func(page *ec2.DescribeTransitGatewayConnectsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *EC2) DescribeTransitGatewayConnectsPages(input *DescribeTransitGatewayConnectsInput, fn func(*DescribeTransitGatewayConnectsOutput, bool) bool) error {
+ return c.DescribeTransitGatewayConnectsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeTransitGatewayConnectsPagesWithContext same as DescribeTransitGatewayConnectsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) DescribeTransitGatewayConnectsPagesWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectsInput, fn func(*DescribeTransitGatewayConnectsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeTransitGatewayConnectsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeTransitGatewayConnectsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeTransitGatewayConnectsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opDescribeTransitGatewayMulticastDomains = "DescribeTransitGatewayMulticastDomains"
// DescribeTransitGatewayMulticastDomainsRequest generates a "aws/request.Request" representing the
@@ -24130,7 +25266,7 @@ func (c *EC2) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput
// Describes the specified attribute of the specified volume. You can specify
// only one attribute at a time.
//
-// For more information about EBS volumes, see Amazon EBS Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html)
+// For more information about EBS volumes, see Amazon EBS volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -24226,19 +25362,19 @@ func (c *EC2) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) (req
// Status: Reflects the current status of the volume. The possible values are
// ok, impaired , warning, or insufficient-data. If all checks pass, the overall
// status of the volume is ok. If the check fails, the overall status is impaired.
-// If the status is insufficient-data, then the checks may still be taking place
-// on your volume at the time. We recommend that you retry the request. For
-// more information about volume status, see Monitoring the status of your volumes
-// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html)
+// If the status is insufficient-data, then the checks might still be taking
+// place on your volume at the time. We recommend that you retry the request.
+// For more information about volume status, see Monitoring the status of your
+// volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
-// Events: Reflect the cause of a volume status and may require you to take
+// Events: Reflect the cause of a volume status and might require you to take
// action. For example, if your volume returns an impaired status, then the
// volume event might be potential-data-inconsistency. This means that your
// volume has been affected by an issue with the underlying host, has all I/O
-// operations disabled, and may have inconsistent data.
+// operations disabled, and might have inconsistent data.
//
-// Actions: Reflect the actions you may have to take in response to an event.
+// Actions: Reflect the actions you might have to take in response to an event.
// For example, if the status of the volume is impaired and the volume event
// shows potential-data-inconsistency, then the action shows enable-volume-io.
// This means that you may want to enable the I/O operations for the volume
@@ -24387,7 +25523,7 @@ func (c *EC2) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.
// with a NextToken value that can be passed to a subsequent DescribeVolumes
// request to retrieve the remaining results.
//
-// For more information about EBS volumes, see Amazon EBS Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html)
+// For more information about EBS volumes, see Amazon EBS volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -26511,7 +27647,7 @@ func (c *EC2) DisableEbsEncryptionByDefaultRequest(input *DisableEbsEncryptionBy
// Disabling encryption by default does not change the encryption status of
// your existing volumes.
//
-// For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -27678,7 +28814,7 @@ func (c *EC2) EnableEbsEncryptionByDefaultRequest(input *EnableEbsEncryptionByDe
//
// After you enable encryption by default, the EBS volumes that you create are
// are always encrypted, either using the default CMK or the CMK that you specified
-// when you created each volume. For more information, see Amazon EBS Encryption
+// when you created each volume. For more information, see Amazon EBS encryption
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
@@ -29155,7 +30291,7 @@ func (c *EC2) GetEbsDefaultKmsKeyIdRequest(input *GetEbsDefaultKmsKeyIdInput) (r
// for your account in this Region. You can change the default CMK for encryption
// by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
//
-// For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -29233,7 +30369,7 @@ func (c *EC2) GetEbsEncryptionByDefaultRequest(input *GetEbsEncryptionByDefaultI
// Describes whether EBS encryption by default is enabled for your account in
// the current Region.
//
-// For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -31498,7 +32634,7 @@ func (c *EC2) ModifyEbsDefaultKmsKeyIdRequest(input *ModifyEbsDefaultKmsKeyIdInp
// If you delete or disable the customer managed CMK that you specified for
// use with encryption by default, your instances will fail to launch.
//
-// For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -33642,7 +34778,7 @@ func (c *EC2) ModifyVolumeRequest(input *ModifyVolumeInput) (req *request.Reques
//
// You can modify several parameters of an existing EBS volume, including volume
// size, volume type, and IOPS capacity. If your EBS volume is attached to a
-// current-generation EC2 instance type, you may be able to apply these changes
+// current-generation EC2 instance type, you might be able to apply these changes
// without stopping the instance or detaching the volume from it. For more information
// about modifying an EBS volume running Linux, see Modifying the size, IOPS,
// or type of an EBS volume on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html).
@@ -33663,11 +34799,11 @@ func (c *EC2) ModifyVolumeRequest(input *ModifyVolumeInput) (req *request.Reques
// For information about tracking status changes using either method, see Monitoring
// volume modifications (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods).
//
-// With previous-generation instance types, resizing an EBS volume may require
+// With previous-generation instance types, resizing an EBS volume might require
// detaching and reattaching the volume or stopping and restarting the instance.
-// For more information, see Modifying the size, IOPS, or type of an EBS volume
-// on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html)
-// and Modifying the size, IOPS, or type of an EBS volume on Windows (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html).
+// For more information, see Amazon EBS Elastic Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html)
+// (Linux) or Amazon EBS Elastic Volumes (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html)
+// (Windows).
//
// If you reach the maximum volume modification rate per volume limit, you will
// need to wait at least six hours before applying further modifications to
@@ -35639,6 +36775,81 @@ func (c *EC2) RegisterTransitGatewayMulticastGroupSourcesWithContext(ctx aws.Con
return out, req.Send()
}
+const opRejectTransitGatewayMulticastDomainAssociations = "RejectTransitGatewayMulticastDomainAssociations"
+
+// RejectTransitGatewayMulticastDomainAssociationsRequest generates a "aws/request.Request" representing the
+// client's request for the RejectTransitGatewayMulticastDomainAssociations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See RejectTransitGatewayMulticastDomainAssociations for more information on using the RejectTransitGatewayMulticastDomainAssociations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the RejectTransitGatewayMulticastDomainAssociationsRequest method.
+// req, resp := client.RejectTransitGatewayMulticastDomainAssociationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayMulticastDomainAssociations
+func (c *EC2) RejectTransitGatewayMulticastDomainAssociationsRequest(input *RejectTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *RejectTransitGatewayMulticastDomainAssociationsOutput) {
+ op := &request.Operation{
+ Name: opRejectTransitGatewayMulticastDomainAssociations,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &RejectTransitGatewayMulticastDomainAssociationsInput{}
+ }
+
+ output = &RejectTransitGatewayMulticastDomainAssociationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// RejectTransitGatewayMulticastDomainAssociations API operation for Amazon Elastic Compute Cloud.
+//
+// Rejects a request to associate cross-account subnets with a transit gateway
+// multicast domain.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation RejectTransitGatewayMulticastDomainAssociations for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayMulticastDomainAssociations
+func (c *EC2) RejectTransitGatewayMulticastDomainAssociations(input *RejectTransitGatewayMulticastDomainAssociationsInput) (*RejectTransitGatewayMulticastDomainAssociationsOutput, error) {
+ req, out := c.RejectTransitGatewayMulticastDomainAssociationsRequest(input)
+ return out, req.Send()
+}
+
+// RejectTransitGatewayMulticastDomainAssociationsWithContext is the same as RejectTransitGatewayMulticastDomainAssociations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See RejectTransitGatewayMulticastDomainAssociations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) RejectTransitGatewayMulticastDomainAssociationsWithContext(ctx aws.Context, input *RejectTransitGatewayMulticastDomainAssociationsInput, opts ...request.Option) (*RejectTransitGatewayMulticastDomainAssociationsOutput, error) {
+ req, out := c.RejectTransitGatewayMulticastDomainAssociationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opRejectTransitGatewayPeeringAttachment = "RejectTransitGatewayPeeringAttachment"
// RejectTransitGatewayPeeringAttachmentRequest generates a "aws/request.Request" representing the
@@ -36897,7 +38108,7 @@ func (c *EC2) ResetEbsDefaultKmsKeyIdRequest(input *ResetEbsDefaultKmsKeyIdInput
//
// After resetting the default CMK to the AWS managed CMK, you can continue
// to encrypt by a customer managed CMK by specifying it when you create the
-// volume. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+// volume. For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -38467,6 +39678,81 @@ func (c *EC2) StartInstancesWithContext(ctx aws.Context, input *StartInstancesIn
return out, req.Send()
}
+const opStartNetworkInsightsAnalysis = "StartNetworkInsightsAnalysis"
+
+// StartNetworkInsightsAnalysisRequest generates a "aws/request.Request" representing the
+// client's request for the StartNetworkInsightsAnalysis operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StartNetworkInsightsAnalysis for more information on using the StartNetworkInsightsAnalysis
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the StartNetworkInsightsAnalysisRequest method.
+// req, resp := client.StartNetworkInsightsAnalysisRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAnalysis
+func (c *EC2) StartNetworkInsightsAnalysisRequest(input *StartNetworkInsightsAnalysisInput) (req *request.Request, output *StartNetworkInsightsAnalysisOutput) {
+ op := &request.Operation{
+ Name: opStartNetworkInsightsAnalysis,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &StartNetworkInsightsAnalysisInput{}
+ }
+
+ output = &StartNetworkInsightsAnalysisOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartNetworkInsightsAnalysis API operation for Amazon Elastic Compute Cloud.
+//
+// Starts analyzing the specified path. If the path is reachable, the operation
+// returns the shortest feasible path.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Elastic Compute Cloud's
+// API operation StartNetworkInsightsAnalysis for usage and error information.
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAnalysis
+func (c *EC2) StartNetworkInsightsAnalysis(input *StartNetworkInsightsAnalysisInput) (*StartNetworkInsightsAnalysisOutput, error) {
+ req, out := c.StartNetworkInsightsAnalysisRequest(input)
+ return out, req.Send()
+}
+
+// StartNetworkInsightsAnalysisWithContext is the same as StartNetworkInsightsAnalysis with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartNetworkInsightsAnalysis for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *EC2) StartNetworkInsightsAnalysisWithContext(ctx aws.Context, input *StartNetworkInsightsAnalysisInput, opts ...request.Option) (*StartNetworkInsightsAnalysisOutput, error) {
+ req, out := c.StartNetworkInsightsAnalysisRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opStartVpcEndpointServicePrivateDnsVerification = "StartVpcEndpointServicePrivateDnsVerification"
// StartVpcEndpointServicePrivateDnsVerificationRequest generates a "aws/request.Request" representing the
@@ -39403,6 +40689,82 @@ func (s *AcceptReservedInstancesExchangeQuoteOutput) SetExchangeId(v string) *Ac
return s
}
+type AcceptTransitGatewayMulticastDomainAssociationsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The IDs of the subnets to associate with the transit gateway multicast domain.
+ SubnetIds []*string `locationNameList:"item" type:"list"`
+
+ // The ID of the transit gateway attachment.
+ TransitGatewayAttachmentId *string `type:"string"`
+
+ // The ID of the transit gateway multicast domain.
+ TransitGatewayMulticastDomainId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s AcceptTransitGatewayMulticastDomainAssociationsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AcceptTransitGatewayMulticastDomainAssociationsInput) GoString() string {
+ return s.String()
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetDryRun(v bool) *AcceptTransitGatewayMulticastDomainAssociationsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetSubnetIds(v []*string) *AcceptTransitGatewayMulticastDomainAssociationsInput {
+ s.SubnetIds = v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayAttachmentId(v string) *AcceptTransitGatewayMulticastDomainAssociationsInput {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+// SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value.
+func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayMulticastDomainId(v string) *AcceptTransitGatewayMulticastDomainAssociationsInput {
+ s.TransitGatewayMulticastDomainId = &v
+ return s
+}
+
+type AcceptTransitGatewayMulticastDomainAssociationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Describes the multicast domain associations.
+ Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"`
+}
+
+// String returns the string representation
+func (s AcceptTransitGatewayMulticastDomainAssociationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AcceptTransitGatewayMulticastDomainAssociationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAssociations sets the Associations field's value.
+func (s *AcceptTransitGatewayMulticastDomainAssociationsOutput) SetAssociations(v *TransitGatewayMulticastDomainAssociations) *AcceptTransitGatewayMulticastDomainAssociationsOutput {
+ s.Associations = v
+ return s
+}
+
type AcceptTransitGatewayPeeringAttachmentInput struct {
_ struct{} `type:"structure"`
@@ -40116,6 +41478,9 @@ type AllocateAddressInput struct {
// EC2 select an address from the address pool. To specify a specific address
// from the address pool, use the Address parameter instead.
PublicIpv4Pool *string `type:"string"`
+
+ // The tags to assign to the Elastic IP address.
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
}
// String returns the string representation
@@ -40164,6 +41529,12 @@ func (s *AllocateAddressInput) SetPublicIpv4Pool(v string) *AllocateAddressInput
return s
}
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *AllocateAddressInput) SetTagSpecifications(v []*TagSpecification) *AllocateAddressInput {
+ s.TagSpecifications = v
+ return s
+}
+
type AllocateAddressOutput struct {
_ struct{} `type:"structure"`
@@ -40442,6 +41813,472 @@ func (s *AllowedPrincipal) SetPrincipalType(v string) *AllowedPrincipal {
return s
}
+// Describes an potential intermediate component of a feasible path.
+type AlternatePathHint struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ ComponentArn *string `locationName:"componentArn" type:"string"`
+
+ // The ID of the component.
+ ComponentId *string `locationName:"componentId" type:"string"`
+}
+
+// String returns the string representation
+func (s AlternatePathHint) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AlternatePathHint) GoString() string {
+ return s.String()
+}
+
+// SetComponentArn sets the ComponentArn field's value.
+func (s *AlternatePathHint) SetComponentArn(v string) *AlternatePathHint {
+ s.ComponentArn = &v
+ return s
+}
+
+// SetComponentId sets the ComponentId field's value.
+func (s *AlternatePathHint) SetComponentId(v string) *AlternatePathHint {
+ s.ComponentId = &v
+ return s
+}
+
+// Describes a network access control (ACL) rule.
+type AnalysisAclRule struct {
+ _ struct{} `type:"structure"`
+
+ // The IPv4 address range, in CIDR notation.
+ Cidr *string `locationName:"cidr" type:"string"`
+
+ // Indicates whether the rule is an outbound rule.
+ Egress *bool `locationName:"egress" type:"boolean"`
+
+ // The range of ports.
+ PortRange *PortRange `locationName:"portRange" type:"structure"`
+
+ // The protocol.
+ Protocol *string `locationName:"protocol" type:"string"`
+
+ // Indicates whether to allow or deny traffic that matches the rule.
+ RuleAction *string `locationName:"ruleAction" type:"string"`
+
+ // The rule number.
+ RuleNumber *int64 `locationName:"ruleNumber" type:"integer"`
+}
+
+// String returns the string representation
+func (s AnalysisAclRule) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisAclRule) GoString() string {
+ return s.String()
+}
+
+// SetCidr sets the Cidr field's value.
+func (s *AnalysisAclRule) SetCidr(v string) *AnalysisAclRule {
+ s.Cidr = &v
+ return s
+}
+
+// SetEgress sets the Egress field's value.
+func (s *AnalysisAclRule) SetEgress(v bool) *AnalysisAclRule {
+ s.Egress = &v
+ return s
+}
+
+// SetPortRange sets the PortRange field's value.
+func (s *AnalysisAclRule) SetPortRange(v *PortRange) *AnalysisAclRule {
+ s.PortRange = v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *AnalysisAclRule) SetProtocol(v string) *AnalysisAclRule {
+ s.Protocol = &v
+ return s
+}
+
+// SetRuleAction sets the RuleAction field's value.
+func (s *AnalysisAclRule) SetRuleAction(v string) *AnalysisAclRule {
+ s.RuleAction = &v
+ return s
+}
+
+// SetRuleNumber sets the RuleNumber field's value.
+func (s *AnalysisAclRule) SetRuleNumber(v int64) *AnalysisAclRule {
+ s.RuleNumber = &v
+ return s
+}
+
+// Describes a path component.
+type AnalysisComponent struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // The ID of the component.
+ Id *string `locationName:"id" type:"string"`
+}
+
+// String returns the string representation
+func (s AnalysisComponent) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisComponent) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *AnalysisComponent) SetArn(v string) *AnalysisComponent {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *AnalysisComponent) SetId(v string) *AnalysisComponent {
+ s.Id = &v
+ return s
+}
+
+// Describes a load balancer listener.
+type AnalysisLoadBalancerListener struct {
+ _ struct{} `type:"structure"`
+
+ // [Classic Load Balancers] The back-end port for the listener.
+ InstancePort *int64 `locationName:"instancePort" min:"1" type:"integer"`
+
+ // The port on which the load balancer is listening.
+ LoadBalancerPort *int64 `locationName:"loadBalancerPort" min:"1" type:"integer"`
+}
+
+// String returns the string representation
+func (s AnalysisLoadBalancerListener) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisLoadBalancerListener) GoString() string {
+ return s.String()
+}
+
+// SetInstancePort sets the InstancePort field's value.
+func (s *AnalysisLoadBalancerListener) SetInstancePort(v int64) *AnalysisLoadBalancerListener {
+ s.InstancePort = &v
+ return s
+}
+
+// SetLoadBalancerPort sets the LoadBalancerPort field's value.
+func (s *AnalysisLoadBalancerListener) SetLoadBalancerPort(v int64) *AnalysisLoadBalancerListener {
+ s.LoadBalancerPort = &v
+ return s
+}
+
+// Describes a load balancer target.
+type AnalysisLoadBalancerTarget struct {
+ _ struct{} `type:"structure"`
+
+ // The IP address.
+ Address *string `locationName:"address" type:"string"`
+
+ // The Availability Zone.
+ AvailabilityZone *string `locationName:"availabilityZone" type:"string"`
+
+ // Information about the instance.
+ Instance *AnalysisComponent `locationName:"instance" type:"structure"`
+
+ // The port on which the target is listening.
+ Port *int64 `locationName:"port" min:"1" type:"integer"`
+}
+
+// String returns the string representation
+func (s AnalysisLoadBalancerTarget) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisLoadBalancerTarget) GoString() string {
+ return s.String()
+}
+
+// SetAddress sets the Address field's value.
+func (s *AnalysisLoadBalancerTarget) SetAddress(v string) *AnalysisLoadBalancerTarget {
+ s.Address = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *AnalysisLoadBalancerTarget) SetAvailabilityZone(v string) *AnalysisLoadBalancerTarget {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetInstance sets the Instance field's value.
+func (s *AnalysisLoadBalancerTarget) SetInstance(v *AnalysisComponent) *AnalysisLoadBalancerTarget {
+ s.Instance = v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *AnalysisLoadBalancerTarget) SetPort(v int64) *AnalysisLoadBalancerTarget {
+ s.Port = &v
+ return s
+}
+
+// Describes a header. Reflects any changes made by a component as traffic passes
+// through. The fields of an inbound header are null except for the first component
+// of a path.
+type AnalysisPacketHeader struct {
+ _ struct{} `type:"structure"`
+
+ // The destination addresses.
+ DestinationAddresses []*string `locationName:"destinationAddressSet" locationNameList:"item" type:"list"`
+
+ // The destination port ranges.
+ DestinationPortRanges []*PortRange `locationName:"destinationPortRangeSet" locationNameList:"item" type:"list"`
+
+ // The protocol.
+ Protocol *string `locationName:"protocol" type:"string"`
+
+ // The source addresses.
+ SourceAddresses []*string `locationName:"sourceAddressSet" locationNameList:"item" type:"list"`
+
+ // The source port ranges.
+ SourcePortRanges []*PortRange `locationName:"sourcePortRangeSet" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s AnalysisPacketHeader) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisPacketHeader) GoString() string {
+ return s.String()
+}
+
+// SetDestinationAddresses sets the DestinationAddresses field's value.
+func (s *AnalysisPacketHeader) SetDestinationAddresses(v []*string) *AnalysisPacketHeader {
+ s.DestinationAddresses = v
+ return s
+}
+
+// SetDestinationPortRanges sets the DestinationPortRanges field's value.
+func (s *AnalysisPacketHeader) SetDestinationPortRanges(v []*PortRange) *AnalysisPacketHeader {
+ s.DestinationPortRanges = v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *AnalysisPacketHeader) SetProtocol(v string) *AnalysisPacketHeader {
+ s.Protocol = &v
+ return s
+}
+
+// SetSourceAddresses sets the SourceAddresses field's value.
+func (s *AnalysisPacketHeader) SetSourceAddresses(v []*string) *AnalysisPacketHeader {
+ s.SourceAddresses = v
+ return s
+}
+
+// SetSourcePortRanges sets the SourcePortRanges field's value.
+func (s *AnalysisPacketHeader) SetSourcePortRanges(v []*PortRange) *AnalysisPacketHeader {
+ s.SourcePortRanges = v
+ return s
+}
+
+// Describes a route table route.
+type AnalysisRouteTableRoute struct {
+ _ struct{} `type:"structure"`
+
+ // The destination IPv4 address, in CIDR notation.
+ DestinationCidr *string `locationName:"destinationCidr" type:"string"`
+
+ // The prefix of the AWS service.
+ DestinationPrefixListId *string `locationName:"destinationPrefixListId" type:"string"`
+
+ // The ID of an egress-only internet gateway.
+ EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"`
+
+ // The ID of the gateway, such as an internet gateway or virtual private gateway.
+ GatewayId *string `locationName:"gatewayId" type:"string"`
+
+ // The ID of the instance, such as a NAT instance.
+ InstanceId *string `locationName:"instanceId" type:"string"`
+
+ // The ID of a NAT gateway.
+ NatGatewayId *string `locationName:"natGatewayId" type:"string"`
+
+ // The ID of a network interface.
+ NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"`
+
+ // Describes how the route was created. The following are possible values:
+ //
+ // * CreateRouteTable - The route was automatically created when the route
+ // table was created.
+ //
+ // * CreateRoute - The route was manually added to the route table.
+ //
+ // * EnableVgwRoutePropagation - The route was propagated by route propagation.
+ Origin *string `locationName:"origin" type:"string"`
+
+ // The ID of a transit gateway.
+ TransitGatewayId *string `locationName:"transitGatewayId" type:"string"`
+
+ // The ID of a VPC peering connection.
+ VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"`
+}
+
+// String returns the string representation
+func (s AnalysisRouteTableRoute) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisRouteTableRoute) GoString() string {
+ return s.String()
+}
+
+// SetDestinationCidr sets the DestinationCidr field's value.
+func (s *AnalysisRouteTableRoute) SetDestinationCidr(v string) *AnalysisRouteTableRoute {
+ s.DestinationCidr = &v
+ return s
+}
+
+// SetDestinationPrefixListId sets the DestinationPrefixListId field's value.
+func (s *AnalysisRouteTableRoute) SetDestinationPrefixListId(v string) *AnalysisRouteTableRoute {
+ s.DestinationPrefixListId = &v
+ return s
+}
+
+// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value.
+func (s *AnalysisRouteTableRoute) SetEgressOnlyInternetGatewayId(v string) *AnalysisRouteTableRoute {
+ s.EgressOnlyInternetGatewayId = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *AnalysisRouteTableRoute) SetGatewayId(v string) *AnalysisRouteTableRoute {
+ s.GatewayId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AnalysisRouteTableRoute) SetInstanceId(v string) *AnalysisRouteTableRoute {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *AnalysisRouteTableRoute) SetNatGatewayId(v string) *AnalysisRouteTableRoute {
+ s.NatGatewayId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *AnalysisRouteTableRoute) SetNetworkInterfaceId(v string) *AnalysisRouteTableRoute {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetOrigin sets the Origin field's value.
+func (s *AnalysisRouteTableRoute) SetOrigin(v string) *AnalysisRouteTableRoute {
+ s.Origin = &v
+ return s
+}
+
+// SetTransitGatewayId sets the TransitGatewayId field's value.
+func (s *AnalysisRouteTableRoute) SetTransitGatewayId(v string) *AnalysisRouteTableRoute {
+ s.TransitGatewayId = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *AnalysisRouteTableRoute) SetVpcPeeringConnectionId(v string) *AnalysisRouteTableRoute {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
+// Describes a security group rule.
+type AnalysisSecurityGroupRule struct {
+ _ struct{} `type:"structure"`
+
+ // The IPv4 address range, in CIDR notation.
+ Cidr *string `locationName:"cidr" type:"string"`
+
+ // The direction. The following are possible values:
+ //
+ // * egress
+ //
+ // * ingress
+ Direction *string `locationName:"direction" type:"string"`
+
+ // The port range.
+ PortRange *PortRange `locationName:"portRange" type:"structure"`
+
+ // The prefix list ID.
+ PrefixListId *string `locationName:"prefixListId" type:"string"`
+
+ // The protocol name.
+ Protocol *string `locationName:"protocol" type:"string"`
+
+ // The security group ID.
+ SecurityGroupId *string `locationName:"securityGroupId" type:"string"`
+}
+
+// String returns the string representation
+func (s AnalysisSecurityGroupRule) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AnalysisSecurityGroupRule) GoString() string {
+ return s.String()
+}
+
+// SetCidr sets the Cidr field's value.
+func (s *AnalysisSecurityGroupRule) SetCidr(v string) *AnalysisSecurityGroupRule {
+ s.Cidr = &v
+ return s
+}
+
+// SetDirection sets the Direction field's value.
+func (s *AnalysisSecurityGroupRule) SetDirection(v string) *AnalysisSecurityGroupRule {
+ s.Direction = &v
+ return s
+}
+
+// SetPortRange sets the PortRange field's value.
+func (s *AnalysisSecurityGroupRule) SetPortRange(v *PortRange) *AnalysisSecurityGroupRule {
+ s.PortRange = v
+ return s
+}
+
+// SetPrefixListId sets the PrefixListId field's value.
+func (s *AnalysisSecurityGroupRule) SetPrefixListId(v string) *AnalysisSecurityGroupRule {
+ s.PrefixListId = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *AnalysisSecurityGroupRule) SetProtocol(v string) *AnalysisSecurityGroupRule {
+ s.Protocol = &v
+ return s
+}
+
+// SetSecurityGroupId sets the SecurityGroupId field's value.
+func (s *AnalysisSecurityGroupRule) SetSecurityGroupId(v string) *AnalysisSecurityGroupRule {
+ s.SecurityGroupId = &v
+ return s
+}
+
type ApplySecurityGroupsToClientVpnTargetNetworkInput struct {
_ struct{} `type:"structure"`
@@ -46645,7 +48482,7 @@ type CopySnapshotInput struct {
// not enabled, enable encryption using this parameter. Otherwise, omit this
// parameter. Encrypted snapshots are encrypted, even if you omit this parameter
// and encryption by default is not enabled. You cannot set this parameter to
- // false. For more information, see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
+ // false. For more information, see Amazon EBS encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html)
// in the Amazon Elastic Compute Cloud User Guide.
Encrypted *bool `locationName:"encrypted" type:"boolean"`
@@ -46671,14 +48508,14 @@ type CopySnapshotInput struct {
// When you copy an encrypted source snapshot using the Amazon EC2 Query API,
// you must supply a pre-signed URL. This parameter is optional for unencrypted
- // snapshots. For more information, see Query Requests (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html).
+ // snapshots. For more information, see Query requests (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html).
//
// The PresignedUrl should use the snapshot source endpoint, the CopySnapshot
// action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion
// parameters. The PresignedUrl must be signed using AWS Signature Version 4.
// Because EBS snapshots are stored in Amazon S3, the signing algorithm for
- // this parameter uses the same logic that is described in Authenticating Requests
- // by Using Query Parameters (AWS Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html)
+ // this parameter uses the same logic that is described in Authenticating Requests:
+ // Using Query Parameters (AWS Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html)
// in the Amazon Simple Storage Service API Reference. An invalid or improperly
// signed PresignedUrl will cause the copy operation to fail asynchronously,
// and the snapshot will move to an error state.
@@ -48805,10 +50642,25 @@ type CreateImageInput struct {
Name *string `locationName:"name" type:"string" required:"true"`
// By default, Amazon EC2 attempts to shut down and reboot the instance before
- // creating the image. If the 'No Reboot' option is set, Amazon EC2 doesn't
- // shut down the instance before creating the image. When this option is used,
- // file system integrity on the created image can't be guaranteed.
+ // creating the image. If the No Reboot option is set, Amazon EC2 doesn't shut
+ // down the instance before creating the image. When this option is used, file
+ // system integrity on the created image can't be guaranteed.
NoReboot *bool `locationName:"noReboot" type:"boolean"`
+
+ // The tags to apply to the AMI and snapshots on creation. You can tag the AMI,
+ // the snapshots, or both.
+ //
+ // * To tag the AMI, the value for ResourceType must be image.
+ //
+ // * To tag the snapshots that are created of the root volume and of other
+ // EBS volumes that are attached to the instance, the value for ResourceType
+ // must be snapshot. The same tag is applied to all of the snapshots that
+ // are created.
+ //
+ // If you specify other values for ResourceType, the request fails.
+ //
+ // To tag an AMI or snapshot after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
}
// String returns the string representation
@@ -48873,6 +50725,12 @@ func (s *CreateImageInput) SetNoReboot(v bool) *CreateImageInput {
return s
}
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *CreateImageInput) SetTagSpecifications(v []*TagSpecification) *CreateImageInput {
+ s.TagSpecifications = v
+ return s
+}
+
type CreateImageOutput struct {
_ struct{} `type:"structure"`
@@ -50181,6 +52039,156 @@ func (s *CreateNetworkAclOutput) SetNetworkAcl(v *NetworkAcl) *CreateNetworkAclO
return s
}
+type CreateNetworkInsightsPathInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
+ ClientToken *string `type:"string" idempotencyToken:"true"`
+
+ // The AWS resource that is the destination of the path.
+ //
+ // Destination is a required field
+ Destination *string `type:"string" required:"true"`
+
+ // The IP address of the AWS resource that is the destination of the path.
+ DestinationIp *string `type:"string"`
+
+ // The destination port.
+ DestinationPort *int64 `min:"1" type:"integer"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The protocol.
+ //
+ // Protocol is a required field
+ Protocol *string `type:"string" required:"true" enum:"Protocol"`
+
+ // The AWS resource that is the source of the path.
+ //
+ // Source is a required field
+ Source *string `type:"string" required:"true"`
+
+ // The IP address of the AWS resource that is the source of the path.
+ SourceIp *string `type:"string"`
+
+ // The tags to add to the path.
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s CreateNetworkInsightsPathInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateNetworkInsightsPathInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateNetworkInsightsPathInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateNetworkInsightsPathInput"}
+ if s.Destination == nil {
+ invalidParams.Add(request.NewErrParamRequired("Destination"))
+ }
+ if s.DestinationPort != nil && *s.DestinationPort < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("DestinationPort", 1))
+ }
+ if s.Protocol == nil {
+ invalidParams.Add(request.NewErrParamRequired("Protocol"))
+ }
+ if s.Source == nil {
+ invalidParams.Add(request.NewErrParamRequired("Source"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateNetworkInsightsPathInput) SetClientToken(v string) *CreateNetworkInsightsPathInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDestination sets the Destination field's value.
+func (s *CreateNetworkInsightsPathInput) SetDestination(v string) *CreateNetworkInsightsPathInput {
+ s.Destination = &v
+ return s
+}
+
+// SetDestinationIp sets the DestinationIp field's value.
+func (s *CreateNetworkInsightsPathInput) SetDestinationIp(v string) *CreateNetworkInsightsPathInput {
+ s.DestinationIp = &v
+ return s
+}
+
+// SetDestinationPort sets the DestinationPort field's value.
+func (s *CreateNetworkInsightsPathInput) SetDestinationPort(v int64) *CreateNetworkInsightsPathInput {
+ s.DestinationPort = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateNetworkInsightsPathInput) SetDryRun(v bool) *CreateNetworkInsightsPathInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *CreateNetworkInsightsPathInput) SetProtocol(v string) *CreateNetworkInsightsPathInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *CreateNetworkInsightsPathInput) SetSource(v string) *CreateNetworkInsightsPathInput {
+ s.Source = &v
+ return s
+}
+
+// SetSourceIp sets the SourceIp field's value.
+func (s *CreateNetworkInsightsPathInput) SetSourceIp(v string) *CreateNetworkInsightsPathInput {
+ s.SourceIp = &v
+ return s
+}
+
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *CreateNetworkInsightsPathInput) SetTagSpecifications(v []*TagSpecification) *CreateNetworkInsightsPathInput {
+ s.TagSpecifications = v
+ return s
+}
+
+type CreateNetworkInsightsPathOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the path.
+ NetworkInsightsPath *NetworkInsightsPath `locationName:"networkInsightsPath" type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateNetworkInsightsPathOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateNetworkInsightsPathOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsPath sets the NetworkInsightsPath field's value.
+func (s *CreateNetworkInsightsPathOutput) SetNetworkInsightsPath(v *NetworkInsightsPath) *CreateNetworkInsightsPathOutput {
+ s.NetworkInsightsPath = v
+ return s
+}
+
// Contains the parameters for CreateNetworkInterface.
type CreateNetworkInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -52136,6 +54144,283 @@ func (s *CreateTrafficMirrorTargetOutput) SetTrafficMirrorTarget(v *TrafficMirro
return s
}
+type CreateTransitGatewayConnectInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The Connect attachment options.
+ //
+ // Options is a required field
+ Options *CreateTransitGatewayConnectRequestOptions `type:"structure" required:"true"`
+
+ // The tags to apply to the Connect attachment.
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
+
+ // The ID of the transit gateway attachment. You can specify a VPC attachment
+ // or a AWS Direct Connect attachment.
+ //
+ // TransportTransitGatewayAttachmentId is a required field
+ TransportTransitGatewayAttachmentId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayConnectInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayConnectInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateTransitGatewayConnectInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectInput"}
+ if s.Options == nil {
+ invalidParams.Add(request.NewErrParamRequired("Options"))
+ }
+ if s.TransportTransitGatewayAttachmentId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TransportTransitGatewayAttachmentId"))
+ }
+ if s.Options != nil {
+ if err := s.Options.Validate(); err != nil {
+ invalidParams.AddNested("Options", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateTransitGatewayConnectInput) SetDryRun(v bool) *CreateTransitGatewayConnectInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *CreateTransitGatewayConnectInput) SetOptions(v *CreateTransitGatewayConnectRequestOptions) *CreateTransitGatewayConnectInput {
+ s.Options = v
+ return s
+}
+
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *CreateTransitGatewayConnectInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayConnectInput {
+ s.TagSpecifications = v
+ return s
+}
+
+// SetTransportTransitGatewayAttachmentId sets the TransportTransitGatewayAttachmentId field's value.
+func (s *CreateTransitGatewayConnectInput) SetTransportTransitGatewayAttachmentId(v string) *CreateTransitGatewayConnectInput {
+ s.TransportTransitGatewayAttachmentId = &v
+ return s
+}
+
+type CreateTransitGatewayConnectOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the Connect attachment.
+ TransitGatewayConnect *TransitGatewayConnect `locationName:"transitGatewayConnect" type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayConnectOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayConnectOutput) GoString() string {
+ return s.String()
+}
+
+// SetTransitGatewayConnect sets the TransitGatewayConnect field's value.
+func (s *CreateTransitGatewayConnectOutput) SetTransitGatewayConnect(v *TransitGatewayConnect) *CreateTransitGatewayConnectOutput {
+ s.TransitGatewayConnect = v
+ return s
+}
+
+type CreateTransitGatewayConnectPeerInput struct {
+ _ struct{} `type:"structure"`
+
+ // The BGP options for the Connect peer.
+ BgpOptions *TransitGatewayConnectRequestBgpOptions `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The range of inside IP addresses that are used for BGP peering. You must
+ // specify a size /29 IPv4 CIDR block from the 169.254.0.0/16 range. The first
+ // address from the range must be configured on the appliance as the BGP IP
+ // address. You can also optionally specify a size /125 IPv6 CIDR block from
+ // the fd00::/8 range.
+ //
+ // InsideCidrBlocks is a required field
+ InsideCidrBlocks []*string `locationNameList:"item" type:"list" required:"true"`
+
+ // The peer IP address (GRE outer IP address) on the appliance side of the Connect
+ // peer.
+ //
+ // PeerAddress is a required field
+ PeerAddress *string `type:"string" required:"true"`
+
+ // The tags to apply to the Connect peer.
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
+
+ // The peer IP address (GRE outer IP address) on the transit gateway side of
+ // the Connect peer, which must be specified from a transit gateway CIDR block.
+ // If not specified, Amazon automatically assigns the first available IP address
+ // from the transit gateway CIDR block.
+ TransitGatewayAddress *string `type:"string"`
+
+ // The ID of the Connect attachment.
+ //
+ // TransitGatewayAttachmentId is a required field
+ TransitGatewayAttachmentId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayConnectPeerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayConnectPeerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateTransitGatewayConnectPeerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectPeerInput"}
+ if s.InsideCidrBlocks == nil {
+ invalidParams.Add(request.NewErrParamRequired("InsideCidrBlocks"))
+ }
+ if s.PeerAddress == nil {
+ invalidParams.Add(request.NewErrParamRequired("PeerAddress"))
+ }
+ if s.TransitGatewayAttachmentId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TransitGatewayAttachmentId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBgpOptions sets the BgpOptions field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetBgpOptions(v *TransitGatewayConnectRequestBgpOptions) *CreateTransitGatewayConnectPeerInput {
+ s.BgpOptions = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetDryRun(v bool) *CreateTransitGatewayConnectPeerInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInsideCidrBlocks sets the InsideCidrBlocks field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetInsideCidrBlocks(v []*string) *CreateTransitGatewayConnectPeerInput {
+ s.InsideCidrBlocks = v
+ return s
+}
+
+// SetPeerAddress sets the PeerAddress field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetPeerAddress(v string) *CreateTransitGatewayConnectPeerInput {
+ s.PeerAddress = &v
+ return s
+}
+
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayConnectPeerInput {
+ s.TagSpecifications = v
+ return s
+}
+
+// SetTransitGatewayAddress sets the TransitGatewayAddress field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetTransitGatewayAddress(v string) *CreateTransitGatewayConnectPeerInput {
+ s.TransitGatewayAddress = &v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *CreateTransitGatewayConnectPeerInput) SetTransitGatewayAttachmentId(v string) *CreateTransitGatewayConnectPeerInput {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+type CreateTransitGatewayConnectPeerOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the Connect peer.
+ TransitGatewayConnectPeer *TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeer" type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayConnectPeerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayConnectPeerOutput) GoString() string {
+ return s.String()
+}
+
+// SetTransitGatewayConnectPeer sets the TransitGatewayConnectPeer field's value.
+func (s *CreateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeer(v *TransitGatewayConnectPeer) *CreateTransitGatewayConnectPeerOutput {
+ s.TransitGatewayConnectPeer = v
+ return s
+}
+
+// The options for a Connect attachment.
+type CreateTransitGatewayConnectRequestOptions struct {
+ _ struct{} `type:"structure"`
+
+ // The tunnel protocol.
+ //
+ // Protocol is a required field
+ Protocol *string `type:"string" required:"true" enum:"ProtocolValue"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayConnectRequestOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayConnectRequestOptions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateTransitGatewayConnectRequestOptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectRequestOptions"}
+ if s.Protocol == nil {
+ invalidParams.Add(request.NewErrParamRequired("Protocol"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *CreateTransitGatewayConnectRequestOptions) SetProtocol(v string) *CreateTransitGatewayConnectRequestOptions {
+ s.Protocol = &v
+ return s
+}
+
type CreateTransitGatewayInput struct {
_ struct{} `type:"structure"`
@@ -52198,6 +54483,9 @@ type CreateTransitGatewayMulticastDomainInput struct {
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
+ // The options for the transit gateway multicast domain.
+ Options *CreateTransitGatewayMulticastDomainRequestOptions `type:"structure"`
+
// The tags for the transit gateway multicast domain.
TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
@@ -52236,6 +54524,12 @@ func (s *CreateTransitGatewayMulticastDomainInput) SetDryRun(v bool) *CreateTran
return s
}
+// SetOptions sets the Options field's value.
+func (s *CreateTransitGatewayMulticastDomainInput) SetOptions(v *CreateTransitGatewayMulticastDomainRequestOptions) *CreateTransitGatewayMulticastDomainInput {
+ s.Options = v
+ return s
+}
+
// SetTagSpecifications sets the TagSpecifications field's value.
func (s *CreateTransitGatewayMulticastDomainInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayMulticastDomainInput {
s.TagSpecifications = v
@@ -52271,6 +54565,51 @@ func (s *CreateTransitGatewayMulticastDomainOutput) SetTransitGatewayMulticastDo
return s
}
+// The options for the transit gateway multicast domain.
+type CreateTransitGatewayMulticastDomainRequestOptions struct {
+ _ struct{} `type:"structure"`
+
+ // Indicates whether to automatically accept cross-account subnet associations
+ // that are associated with the transit gateway multicast domain.
+ AutoAcceptSharedAssociations *string `type:"string" enum:"AutoAcceptSharedAssociationsValue"`
+
+ // Specify whether to enable Internet Group Management Protocol (IGMP) version
+ // 2 for the transit gateway multicast domain.
+ Igmpv2Support *string `type:"string" enum:"Igmpv2SupportValue"`
+
+ // Specify whether to enable support for statically configuring multicast group
+ // sources for a domain.
+ StaticSourcesSupport *string `type:"string" enum:"StaticSourcesSupportValue"`
+}
+
+// String returns the string representation
+func (s CreateTransitGatewayMulticastDomainRequestOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateTransitGatewayMulticastDomainRequestOptions) GoString() string {
+ return s.String()
+}
+
+// SetAutoAcceptSharedAssociations sets the AutoAcceptSharedAssociations field's value.
+func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetAutoAcceptSharedAssociations(v string) *CreateTransitGatewayMulticastDomainRequestOptions {
+ s.AutoAcceptSharedAssociations = &v
+ return s
+}
+
+// SetIgmpv2Support sets the Igmpv2Support field's value.
+func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetIgmpv2Support(v string) *CreateTransitGatewayMulticastDomainRequestOptions {
+ s.Igmpv2Support = &v
+ return s
+}
+
+// SetStaticSourcesSupport sets the StaticSourcesSupport field's value.
+func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetStaticSourcesSupport(v string) *CreateTransitGatewayMulticastDomainRequestOptions {
+ s.StaticSourcesSupport = &v
+ return s
+}
+
type CreateTransitGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -52845,7 +55184,7 @@ type CreateTransitGatewayVpcAttachmentRequestOptions struct {
// Enable or disable DNS support. The default is enable.
DnsSupport *string `type:"string" enum:"DnsSupportValue"`
- // Enable or disable IPv6 support.
+ // Enable or disable IPv6 support. The default is disable.
Ipv6Support *string `type:"string" enum:"Ipv6SupportValue"`
}
@@ -52891,7 +55230,7 @@ type CreateVolumeInput struct {
// it is UnauthorizedOperation.
DryRun *bool `locationName:"dryRun" type:"boolean"`
- // Specifies whether the volume should be encrypted. The effect of setting the
+ // Indicates whether the volume should be encrypted. The effect of setting the
// encryption state to true depends on the volume origin (new or from a snapshot),
// starting encryption state, ownership, and whether encryption by default is
// enabled. For more information, see Encryption by default (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default)
@@ -52901,15 +55240,26 @@ type CreateVolumeInput struct {
// EBS encryption. For more information, see Supported instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances).
Encrypted *bool `locationName:"encrypted" type:"boolean"`
- // The number of I/O operations per second (IOPS) to provision for an io1 or
- // io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB
- // for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum
- // IOPS of 64,000 is guaranteed only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
- // Other instance families guarantee performance up to 32,000 IOPS. For more
- // information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
- // in the Amazon Elastic Compute Cloud User Guide.
+ // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes,
+ // this represents the number of IOPS that are provisioned for the volume. For
+ // gp2 volumes, this represents the baseline performance of the volume and the
+ // rate at which the volume accumulates I/O credits for bursting.
//
- // This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.
+ // The following are the supported values for each volume type:
+ //
+ // * gp3: 3,000-16,000 IOPS
+ //
+ // * io1: 100-64,000 IOPS
+ //
+ // * io2: 100-64,000 IOPS
+ //
+ // For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built
+ // on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
+ // Other instance families guarantee performance up to 32,000 IOPS.
+ //
+ // This parameter is required for io1 and io2 volumes. The default for gp3 volumes
+ // is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard
+ // volumes.
Iops *int64 `type:"integer"`
// The identifier of the AWS Key Management Service (AWS KMS) customer master
@@ -52932,10 +55282,11 @@ type CreateVolumeInput struct {
// fails.
KmsKeyId *string `type:"string"`
- // Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach,
- // you can attach the volume to up to 16 Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances)
- // in the same Availability Zone. For more information, see Amazon EBS Multi-Attach
- // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html)
+ // Indicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach,
+ // you can attach the volume to up to 16 Instances built on the Nitro System
+ // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances)
+ // in the same Availability Zone. This parameter is supported with io1 and io2
+ // volumes only. For more information, see Amazon EBS Multi-Attach (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html)
// in the Amazon Elastic Compute Cloud User Guide.
MultiAttachEnabled *bool `type:"boolean"`
@@ -52943,14 +55294,19 @@ type CreateVolumeInput struct {
OutpostArn *string `type:"string"`
// The size of the volume, in GiBs. You must specify either a snapshot ID or
- // a volume size.
+ // a volume size. If you specify a snapshot, the default is the snapshot size.
+ // You can specify a volume size that is equal to or larger than the snapshot
+ // size.
//
- // Constraints: 1-16,384 for gp2, 4-16,384 for io1 and io2, 500-16,384 for st1,
- // 500-16,384 for sc1, and 1-1,024 for standard. If you specify a snapshot,
- // the volume size must be equal to or larger than the snapshot size.
+ // The following are the supported volumes sizes for each volume type:
//
- // Default: If you're creating the volume from a snapshot and don't specify
- // a volume size, the default is the snapshot size.
+ // * gp2 and gp3: 1-16,384
+ //
+ // * io1 and io2: 4-16,384
+ //
+ // * st1 and sc1: 125-16,384
+ //
+ // * standard: 1-1,024
Size *int64 `type:"integer"`
// The snapshot from which to create the volume. You must specify either a snapshot
@@ -52960,9 +55316,27 @@ type CreateVolumeInput struct {
// The tags to apply to the volume during creation.
TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
- // The volume type. This can be gp2 for General Purpose SSD, io1 or io2 for
- // Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD,
- // or standard for Magnetic volumes.
+ // The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
+ //
+ // This parameter is valid only for gp3 volumes.
+ //
+ // Valid Range: Minimum value of 125. Maximum value of 1000.
+ Throughput *int64 `type:"integer"`
+
+ // The volume type. This parameter can be one of the following values:
+ //
+ // * General Purpose SSD: gp2 | gp3
+ //
+ // * Provisioned IOPS SSD: io1 | io2
+ //
+ // * Throughput Optimized HDD: st1
+ //
+ // * Cold HDD: sc1
+ //
+ // * Magnetic: standard
+ //
+ // For more information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
+ // in the Amazon Elastic Compute Cloud User Guide.
//
// Default: gp2
VolumeType *string `type:"string" enum:"VolumeType"`
@@ -53051,6 +55425,12 @@ func (s *CreateVolumeInput) SetTagSpecifications(v []*TagSpecification) *CreateV
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *CreateVolumeInput) SetThroughput(v int64) *CreateVolumeInput {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeType sets the VolumeType field's value.
func (s *CreateVolumeInput) SetVolumeType(v string) *CreateVolumeInput {
s.VolumeType = &v
@@ -55927,6 +58307,152 @@ func (s DeleteNetworkAclOutput) GoString() string {
return s.String()
}
+type DeleteNetworkInsightsAnalysisInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The ID of the network insights analysis.
+ //
+ // NetworkInsightsAnalysisId is a required field
+ NetworkInsightsAnalysisId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteNetworkInsightsAnalysisInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteNetworkInsightsAnalysisInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteNetworkInsightsAnalysisInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInsightsAnalysisInput"}
+ if s.NetworkInsightsAnalysisId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NetworkInsightsAnalysisId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteNetworkInsightsAnalysisInput) SetDryRun(v bool) *DeleteNetworkInsightsAnalysisInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value.
+func (s *DeleteNetworkInsightsAnalysisInput) SetNetworkInsightsAnalysisId(v string) *DeleteNetworkInsightsAnalysisInput {
+ s.NetworkInsightsAnalysisId = &v
+ return s
+}
+
+type DeleteNetworkInsightsAnalysisOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the network insights analysis.
+ NetworkInsightsAnalysisId *string `locationName:"networkInsightsAnalysisId" type:"string"`
+}
+
+// String returns the string representation
+func (s DeleteNetworkInsightsAnalysisOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteNetworkInsightsAnalysisOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value.
+func (s *DeleteNetworkInsightsAnalysisOutput) SetNetworkInsightsAnalysisId(v string) *DeleteNetworkInsightsAnalysisOutput {
+ s.NetworkInsightsAnalysisId = &v
+ return s
+}
+
+type DeleteNetworkInsightsPathInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The ID of the path.
+ //
+ // NetworkInsightsPathId is a required field
+ NetworkInsightsPathId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteNetworkInsightsPathInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteNetworkInsightsPathInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteNetworkInsightsPathInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInsightsPathInput"}
+ if s.NetworkInsightsPathId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NetworkInsightsPathId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteNetworkInsightsPathInput) SetDryRun(v bool) *DeleteNetworkInsightsPathInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *DeleteNetworkInsightsPathInput) SetNetworkInsightsPathId(v string) *DeleteNetworkInsightsPathInput {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
+type DeleteNetworkInsightsPathOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the path.
+ NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"`
+}
+
+// String returns the string representation
+func (s DeleteNetworkInsightsPathOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteNetworkInsightsPathOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *DeleteNetworkInsightsPathOutput) SetNetworkInsightsPathId(v string) *DeleteNetworkInsightsPathOutput {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
// Contains the parameters for DeleteNetworkInterface.
type DeleteNetworkInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -57020,6 +59546,152 @@ func (s *DeleteTrafficMirrorTargetOutput) SetTrafficMirrorTargetId(v string) *De
return s
}
+type DeleteTransitGatewayConnectInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The ID of the Connect attachment.
+ //
+ // TransitGatewayAttachmentId is a required field
+ TransitGatewayAttachmentId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteTransitGatewayConnectInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteTransitGatewayConnectInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteTransitGatewayConnectInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteTransitGatewayConnectInput"}
+ if s.TransitGatewayAttachmentId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TransitGatewayAttachmentId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteTransitGatewayConnectInput) SetDryRun(v bool) *DeleteTransitGatewayConnectInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *DeleteTransitGatewayConnectInput) SetTransitGatewayAttachmentId(v string) *DeleteTransitGatewayConnectInput {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+type DeleteTransitGatewayConnectOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the deleted Connect attachment.
+ TransitGatewayConnect *TransitGatewayConnect `locationName:"transitGatewayConnect" type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteTransitGatewayConnectOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteTransitGatewayConnectOutput) GoString() string {
+ return s.String()
+}
+
+// SetTransitGatewayConnect sets the TransitGatewayConnect field's value.
+func (s *DeleteTransitGatewayConnectOutput) SetTransitGatewayConnect(v *TransitGatewayConnect) *DeleteTransitGatewayConnectOutput {
+ s.TransitGatewayConnect = v
+ return s
+}
+
+type DeleteTransitGatewayConnectPeerInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The ID of the Connect peer.
+ //
+ // TransitGatewayConnectPeerId is a required field
+ TransitGatewayConnectPeerId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteTransitGatewayConnectPeerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteTransitGatewayConnectPeerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteTransitGatewayConnectPeerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteTransitGatewayConnectPeerInput"}
+ if s.TransitGatewayConnectPeerId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TransitGatewayConnectPeerId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteTransitGatewayConnectPeerInput) SetDryRun(v bool) *DeleteTransitGatewayConnectPeerInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetTransitGatewayConnectPeerId sets the TransitGatewayConnectPeerId field's value.
+func (s *DeleteTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerId(v string) *DeleteTransitGatewayConnectPeerInput {
+ s.TransitGatewayConnectPeerId = &v
+ return s
+}
+
+type DeleteTransitGatewayConnectPeerOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the deleted Connect peer.
+ TransitGatewayConnectPeer *TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeer" type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteTransitGatewayConnectPeerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteTransitGatewayConnectPeerOutput) GoString() string {
+ return s.String()
+}
+
+// SetTransitGatewayConnectPeer sets the TransitGatewayConnectPeer field's value.
+func (s *DeleteTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeer(v *TransitGatewayConnectPeer) *DeleteTransitGatewayConnectPeerOutput {
+ s.TransitGatewayConnectPeer = v
+ return s
+}
+
type DeleteTransitGatewayInput struct {
_ struct{} `type:"structure"`
@@ -66240,6 +68912,267 @@ func (s *DescribeNetworkAclsOutput) SetNextToken(v string) *DescribeNetworkAclsO
return s
}
+type DescribeNetworkInsightsAnalysesInput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the network insights analyses ended.
+ AnalysisEndTime *time.Time `type:"timestamp"`
+
+ // The time when the network insights analyses started.
+ AnalysisStartTime *time.Time `type:"timestamp"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The filters. The following are possible values:
+ //
+ // * PathFound - A Boolean value that indicates whether a feasible path is
+ // found.
+ //
+ // * Status - The status of the analysis (running | succeeded | failed).
+ Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
+
+ // The maximum number of results to return with a single call. To retrieve the
+ // remaining results, make another call with the returned nextToken value.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The ID of the network insights analyses. You must specify either analysis
+ // IDs or a path ID.
+ NetworkInsightsAnalysisIds []*string `locationName:"NetworkInsightsAnalysisId" locationNameList:"item" type:"list"`
+
+ // The ID of the path. You must specify either a path ID or analysis IDs.
+ NetworkInsightsPathId *string `type:"string"`
+
+ // The token for the next page of results.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s DescribeNetworkInsightsAnalysesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeNetworkInsightsAnalysesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeNetworkInsightsAnalysesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeNetworkInsightsAnalysesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnalysisEndTime sets the AnalysisEndTime field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetAnalysisEndTime(v time.Time) *DescribeNetworkInsightsAnalysesInput {
+ s.AnalysisEndTime = &v
+ return s
+}
+
+// SetAnalysisStartTime sets the AnalysisStartTime field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetAnalysisStartTime(v time.Time) *DescribeNetworkInsightsAnalysesInput {
+ s.AnalysisStartTime = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetDryRun(v bool) *DescribeNetworkInsightsAnalysesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetFilters(v []*Filter) *DescribeNetworkInsightsAnalysesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetMaxResults(v int64) *DescribeNetworkInsightsAnalysesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNetworkInsightsAnalysisIds sets the NetworkInsightsAnalysisIds field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetNetworkInsightsAnalysisIds(v []*string) *DescribeNetworkInsightsAnalysesInput {
+ s.NetworkInsightsAnalysisIds = v
+ return s
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetNetworkInsightsPathId(v string) *DescribeNetworkInsightsAnalysesInput {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNetworkInsightsAnalysesInput) SetNextToken(v string) *DescribeNetworkInsightsAnalysesInput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeNetworkInsightsAnalysesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the network insights analyses.
+ NetworkInsightsAnalyses []*NetworkInsightsAnalysis `locationName:"networkInsightsAnalysisSet" locationNameList:"item" type:"list"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation
+func (s DescribeNetworkInsightsAnalysesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeNetworkInsightsAnalysesOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsAnalyses sets the NetworkInsightsAnalyses field's value.
+func (s *DescribeNetworkInsightsAnalysesOutput) SetNetworkInsightsAnalyses(v []*NetworkInsightsAnalysis) *DescribeNetworkInsightsAnalysesOutput {
+ s.NetworkInsightsAnalyses = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNetworkInsightsAnalysesOutput) SetNextToken(v string) *DescribeNetworkInsightsAnalysesOutput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeNetworkInsightsPathsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The filters. The following are possible values:
+ //
+ // * Destination - The ID of the resource.
+ //
+ // * DestinationPort - The destination port.
+ //
+ // * Name - The path name.
+ //
+ // * Protocol - The protocol.
+ //
+ // * Source - The ID of the resource.
+ Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
+
+ // The maximum number of results to return with a single call. To retrieve the
+ // remaining results, make another call with the returned nextToken value.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The IDs of the paths.
+ NetworkInsightsPathIds []*string `locationName:"NetworkInsightsPathId" locationNameList:"item" type:"list"`
+
+ // The token for the next page of results.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s DescribeNetworkInsightsPathsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeNetworkInsightsPathsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeNetworkInsightsPathsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeNetworkInsightsPathsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeNetworkInsightsPathsInput) SetDryRun(v bool) *DescribeNetworkInsightsPathsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeNetworkInsightsPathsInput) SetFilters(v []*Filter) *DescribeNetworkInsightsPathsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeNetworkInsightsPathsInput) SetMaxResults(v int64) *DescribeNetworkInsightsPathsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNetworkInsightsPathIds sets the NetworkInsightsPathIds field's value.
+func (s *DescribeNetworkInsightsPathsInput) SetNetworkInsightsPathIds(v []*string) *DescribeNetworkInsightsPathsInput {
+ s.NetworkInsightsPathIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNetworkInsightsPathsInput) SetNextToken(v string) *DescribeNetworkInsightsPathsInput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeNetworkInsightsPathsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the paths.
+ NetworkInsightsPaths []*NetworkInsightsPath `locationName:"networkInsightsPathSet" locationNameList:"item" type:"list"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation
+func (s DescribeNetworkInsightsPathsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeNetworkInsightsPathsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsPaths sets the NetworkInsightsPaths field's value.
+func (s *DescribeNetworkInsightsPathsOutput) SetNetworkInsightsPaths(v []*NetworkInsightsPath) *DescribeNetworkInsightsPathsOutput {
+ s.NetworkInsightsPaths = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNetworkInsightsPathsOutput) SetNextToken(v string) *DescribeNetworkInsightsPathsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeNetworkInterfaceAttribute.
type DescribeNetworkInterfaceAttributeInput struct {
_ struct{} `type:"structure"`
@@ -68636,7 +71569,7 @@ type DescribeSnapshotsInput struct {
// results in a single page along with a NextToken response element. The remaining
// results of the initial request can be seen by sending another DescribeSnapshots
// request with the returned NextToken value. This value can be between 5 and
- // 1000; if MaxResults is given a value larger than 1000, only 1000 results
+ // 1,000; if MaxResults is given a value larger than 1,000, only 1,000 results
// are returned. If this parameter is not used, then DescribeSnapshots returns
// all results. You cannot specify this parameter and the snapshot IDs parameter
// in the same request.
@@ -70283,7 +73216,7 @@ type DescribeTransitGatewayAttachmentsInput struct {
// * resource-owner-id - The ID of the AWS account that owns the resource.
//
// * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway
- // | peering.
+ // | peering | connect.
//
// * state - The state of the attachment. Valid values are available | deleted
// | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance
@@ -70394,6 +73327,244 @@ func (s *DescribeTransitGatewayAttachmentsOutput) SetTransitGatewayAttachments(v
return s
}
+type DescribeTransitGatewayConnectPeersInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // One or more filters. The possible values are:
+ //
+ // * state - The state of the Connect peer (pending | available | deleting
+ // | deleted).
+ //
+ // * transit-gateway-attachment-id - The ID of the attachment.
+ //
+ // * transit-gateway-connect-peer-id - The ID of the Connect peer.
+ Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
+
+ // The maximum number of results to return with a single call. To retrieve the
+ // remaining results, make another call with the returned nextToken value.
+ MaxResults *int64 `min:"5" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `type:"string"`
+
+ // The IDs of the Connect peers.
+ TransitGatewayConnectPeerIds []*string `locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeTransitGatewayConnectPeersInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTransitGatewayConnectPeersInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeTransitGatewayConnectPeersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeTransitGatewayConnectPeersInput"}
+ if s.MaxResults != nil && *s.MaxResults < 5 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeTransitGatewayConnectPeersInput) SetDryRun(v bool) *DescribeTransitGatewayConnectPeersInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeTransitGatewayConnectPeersInput) SetFilters(v []*Filter) *DescribeTransitGatewayConnectPeersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeTransitGatewayConnectPeersInput) SetMaxResults(v int64) *DescribeTransitGatewayConnectPeersInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTransitGatewayConnectPeersInput) SetNextToken(v string) *DescribeTransitGatewayConnectPeersInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTransitGatewayConnectPeerIds sets the TransitGatewayConnectPeerIds field's value.
+func (s *DescribeTransitGatewayConnectPeersInput) SetTransitGatewayConnectPeerIds(v []*string) *DescribeTransitGatewayConnectPeersInput {
+ s.TransitGatewayConnectPeerIds = v
+ return s
+}
+
+type DescribeTransitGatewayConnectPeersOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // Information about the Connect peers.
+ TransitGatewayConnectPeers []*TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeerSet" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeTransitGatewayConnectPeersOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTransitGatewayConnectPeersOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTransitGatewayConnectPeersOutput) SetNextToken(v string) *DescribeTransitGatewayConnectPeersOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTransitGatewayConnectPeers sets the TransitGatewayConnectPeers field's value.
+func (s *DescribeTransitGatewayConnectPeersOutput) SetTransitGatewayConnectPeers(v []*TransitGatewayConnectPeer) *DescribeTransitGatewayConnectPeersOutput {
+ s.TransitGatewayConnectPeers = v
+ return s
+}
+
+type DescribeTransitGatewayConnectsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // One or more filters. The possible values are:
+ //
+ // * options.protocol - The tunnel protocol (gre).
+ //
+ // * state - The state of the attachment (initiating | initiatingRequest
+ // | pendingAcceptance | rollingBack | pending | available | modifying |
+ // deleting | deleted | failed | rejected | rejecting | failing).
+ //
+ // * transit-gateway-attachment-id - The ID of the Connect attachment.
+ //
+ // * transit-gateway-id - The ID of the transit gateway.
+ //
+ // * transport-transit-gateway-attachment-id - The ID of the transit gateway
+ // attachment from which the Connect attachment was created.
+ Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
+
+ // The maximum number of results to return with a single call. To retrieve the
+ // remaining results, make another call with the returned nextToken value.
+ MaxResults *int64 `min:"5" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `type:"string"`
+
+ // The IDs of the attachments.
+ TransitGatewayAttachmentIds []*string `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeTransitGatewayConnectsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTransitGatewayConnectsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeTransitGatewayConnectsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeTransitGatewayConnectsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 5 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeTransitGatewayConnectsInput) SetDryRun(v bool) *DescribeTransitGatewayConnectsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeTransitGatewayConnectsInput) SetFilters(v []*Filter) *DescribeTransitGatewayConnectsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeTransitGatewayConnectsInput) SetMaxResults(v int64) *DescribeTransitGatewayConnectsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTransitGatewayConnectsInput) SetNextToken(v string) *DescribeTransitGatewayConnectsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTransitGatewayAttachmentIds sets the TransitGatewayAttachmentIds field's value.
+func (s *DescribeTransitGatewayConnectsInput) SetTransitGatewayAttachmentIds(v []*string) *DescribeTransitGatewayConnectsInput {
+ s.TransitGatewayAttachmentIds = v
+ return s
+}
+
+type DescribeTransitGatewayConnectsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // Information about the Connect attachments.
+ TransitGatewayConnects []*TransitGatewayConnect `locationName:"transitGatewayConnectSet" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeTransitGatewayConnectsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTransitGatewayConnectsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTransitGatewayConnectsOutput) SetNextToken(v string) *DescribeTransitGatewayConnectsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTransitGatewayConnects sets the TransitGatewayConnects field's value.
+func (s *DescribeTransitGatewayConnectsOutput) SetTransitGatewayConnects(v []*TransitGatewayConnect) *DescribeTransitGatewayConnectsOutput {
+ s.TransitGatewayConnects = v
+ return s
+}
+
type DescribeTransitGatewayMulticastDomainsInput struct {
_ struct{} `type:"structure"`
@@ -71178,8 +74349,8 @@ type DescribeVolumeStatusInput struct {
// paginated output. When this parameter is used, the request only returns MaxResults
// results in a single page along with a NextToken response element. The remaining
// results of the initial request can be seen by sending another request with
- // the returned NextToken value. This value can be between 5 and 1000; if MaxResults
- // is given a value larger than 1000, only 1000 results are returned. If this
+ // the returned NextToken value. This value can be between 5 and 1,000; if MaxResults
+ // is given a value larger than 1,000, only 1,000 results are returned. If this
// parameter is not used, then DescribeVolumeStatus returns all results. You
// cannot specify this parameter and the volume IDs parameter in the same request.
MaxResults *int64 `type:"integer"`
@@ -71324,9 +74495,8 @@ type DescribeVolumesInput struct {
//
// * volume-id - The volume ID.
//
- // * volume-type - The Amazon EBS volume type. This can be gp2 for General
- // Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized
- // HDD, sc1 for Cold HDD, or standard for Magnetic volumes.
+ // * volume-type - The Amazon EBS volume type (gp2 | gp3 | io1 | io2 | st1
+ // | sc1| standard)
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
// The maximum number of volume results returned by DescribeVolumes in paginated
@@ -75270,22 +78440,25 @@ type EbsBlockDevice struct {
// This parameter is not returned by .
Encrypted *bool `locationName:"encrypted" type:"boolean"`
- // The number of I/O operations per second (IOPS) that the volume supports.
- // For io1 and io2 volumes, this represents the number of IOPS that are provisioned
- // for the volume. For gp2 volumes, this represents the baseline performance
- // of the volume and the rate at which the volume accumulates I/O credits for
- // bursting. For more information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
- // in the Amazon Elastic Compute Cloud User Guide.
+ // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes,
+ // this represents the number of IOPS that are provisioned for the volume. For
+ // gp2 volumes, this represents the baseline performance of the volume and the
+ // rate at which the volume accumulates I/O credits for bursting.
//
- // Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000 IOPS
- // for io1 and io2 volumes in most Regions. Maximum io1 and io2 IOPS of 64,000
- // is guaranteed only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
- // Other instance families guarantee performance up to 32,000 IOPS. For more
- // information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
- // in the Amazon Elastic Compute Cloud User Guide.
+ // The following are the supported values for each volume type:
//
- // Condition: This parameter is required for requests to create io1 and io2
- // volumes; it is not used in requests to create gp2, st1, sc1, or standard
+ // * gp3: 3,000-16,000 IOPS
+ //
+ // * io1: 100-64,000 IOPS
+ //
+ // * io2: 100-64,000 IOPS
+ //
+ // For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built
+ // on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
+ // Other instance families guarantee performance up to 32,000 IOPS.
+ //
+ // This parameter is required for io1 and io2 volumes. The default for gp3 volumes
+ // is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard
// volumes.
Iops *int64 `locationName:"iops" type:"integer"`
@@ -75301,23 +78474,34 @@ type EbsBlockDevice struct {
// The ID of the snapshot.
SnapshotId *string `locationName:"snapshotId" type:"string"`
- // The size of the volume, in GiB.
+ // The throughput that the volume supports, in MiB/s.
//
- // Default: If you're creating the volume from a snapshot and don't specify
- // a volume size, the default is the snapshot size.
+ // This parameter is valid only for gp3 volumes.
//
- // Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned
- // IOPS SSD (io1 and io2), 500-16384 for Throughput Optimized HDD (st1), 500-16384
- // for Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify
- // a snapshot, the volume size must be equal to or larger than the snapshot
+ // Valid Range: Minimum value of 125. Maximum value of 1000.
+ Throughput *int64 `locationName:"throughput" type:"integer"`
+
+ // The size of the volume, in GiBs. You must specify either a snapshot ID or
+ // a volume size. If you specify a snapshot, the default is the snapshot size.
+ // You can specify a volume size that is equal to or larger than the snapshot
// size.
+ //
+ // The following are the supported volumes sizes for each volume type:
+ //
+ // * gp2 and gp3:1-16,384
+ //
+ // * io1 and io2: 4-16,384
+ //
+ // * st1: 500-16,384
+ //
+ // * sc1: 500-16,384
+ //
+ // * standard: 1-1,024
VolumeSize *int64 `locationName:"volumeSize" type:"integer"`
- // The volume type. If you set the type to io1 or io2, you must also specify
- // the Iops parameter. If you set the type to gp2, st1, sc1, or standard, you
- // must omit the Iops parameter.
- //
- // Default: gp2
+ // The volume type. For more information, see Amazon EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
+ // in the Amazon Elastic Compute Cloud User Guide. If the volume type is io1
+ // or io2, you must specify the IOPS that the volume supports.
VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"`
}
@@ -75361,6 +78545,12 @@ func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice {
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *EbsBlockDevice) SetThroughput(v int64) *EbsBlockDevice {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeSize sets the VolumeSize field's value.
func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice {
s.VolumeSize = &v
@@ -76832,6 +80022,431 @@ func (s *EventInformation) SetInstanceId(v string) *EventInformation {
return s
}
+// Describes an explanation code for an unreachable path. For more information,
+// see Reachability Analyzer explanation codes (https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html).
+type Explanation struct {
+ _ struct{} `type:"structure"`
+
+ // The network ACL.
+ Acl *AnalysisComponent `locationName:"acl" type:"structure"`
+
+ // The network ACL rule.
+ AclRule *AnalysisAclRule `locationName:"aclRule" type:"structure"`
+
+ // The IPv4 address, in CIDR notation.
+ Address *string `locationName:"address" type:"string"`
+
+ // The IPv4 addresses, in CIDR notation.
+ Addresses []*string `locationName:"addressSet" locationNameList:"item" type:"list"`
+
+ // The resource to which the component is attached.
+ AttachedTo *AnalysisComponent `locationName:"attachedTo" type:"structure"`
+
+ // The Availability Zones.
+ AvailabilityZones []*string `locationName:"availabilityZoneSet" locationNameList:"item" type:"list"`
+
+ // The CIDR ranges.
+ Cidrs []*string `locationName:"cidrSet" locationNameList:"item" type:"list"`
+
+ // The listener for a Classic Load Balancer.
+ ClassicLoadBalancerListener *AnalysisLoadBalancerListener `locationName:"classicLoadBalancerListener" type:"structure"`
+
+ // The component.
+ Component *AnalysisComponent `locationName:"component" type:"structure"`
+
+ // The customer gateway.
+ CustomerGateway *AnalysisComponent `locationName:"customerGateway" type:"structure"`
+
+ // The destination.
+ Destination *AnalysisComponent `locationName:"destination" type:"structure"`
+
+ // The destination VPC.
+ DestinationVpc *AnalysisComponent `locationName:"destinationVpc" type:"structure"`
+
+ // The direction. The following are possible values:
+ //
+ // * egress
+ //
+ // * ingress
+ Direction *string `locationName:"direction" type:"string"`
+
+ // The load balancer listener.
+ ElasticLoadBalancerListener *AnalysisComponent `locationName:"elasticLoadBalancerListener" type:"structure"`
+
+ // The explanation code.
+ ExplanationCode *string `locationName:"explanationCode" type:"string"`
+
+ // The route table.
+ IngressRouteTable *AnalysisComponent `locationName:"ingressRouteTable" type:"structure"`
+
+ // The internet gateway.
+ InternetGateway *AnalysisComponent `locationName:"internetGateway" type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the load balancer.
+ LoadBalancerArn *string `locationName:"loadBalancerArn" min:"1" type:"string"`
+
+ // The listener port of the load balancer.
+ LoadBalancerListenerPort *int64 `locationName:"loadBalancerListenerPort" min:"1" type:"integer"`
+
+ // The target.
+ LoadBalancerTarget *AnalysisLoadBalancerTarget `locationName:"loadBalancerTarget" type:"structure"`
+
+ // The target group.
+ LoadBalancerTargetGroup *AnalysisComponent `locationName:"loadBalancerTargetGroup" type:"structure"`
+
+ // The target groups.
+ LoadBalancerTargetGroups []*AnalysisComponent `locationName:"loadBalancerTargetGroupSet" locationNameList:"item" type:"list"`
+
+ // The target port.
+ LoadBalancerTargetPort *int64 `locationName:"loadBalancerTargetPort" min:"1" type:"integer"`
+
+ // The missing component.
+ MissingComponent *string `locationName:"missingComponent" type:"string"`
+
+ // The NAT gateway.
+ NatGateway *AnalysisComponent `locationName:"natGateway" type:"structure"`
+
+ // The network interface.
+ NetworkInterface *AnalysisComponent `locationName:"networkInterface" type:"structure"`
+
+ // The packet field.
+ PacketField *string `locationName:"packetField" type:"string"`
+
+ // The port.
+ Port *int64 `locationName:"port" min:"1" type:"integer"`
+
+ // The port ranges.
+ PortRanges []*PortRange `locationName:"portRangeSet" locationNameList:"item" type:"list"`
+
+ // The prefix list.
+ PrefixList *AnalysisComponent `locationName:"prefixList" type:"structure"`
+
+ // The protocols.
+ Protocols []*string `locationName:"protocolSet" locationNameList:"item" type:"list"`
+
+ // The route table.
+ RouteTable *AnalysisComponent `locationName:"routeTable" type:"structure"`
+
+ // The route table route.
+ RouteTableRoute *AnalysisRouteTableRoute `locationName:"routeTableRoute" type:"structure"`
+
+ // The security group.
+ SecurityGroup *AnalysisComponent `locationName:"securityGroup" type:"structure"`
+
+ // The security group rule.
+ SecurityGroupRule *AnalysisSecurityGroupRule `locationName:"securityGroupRule" type:"structure"`
+
+ // The security groups.
+ SecurityGroups []*AnalysisComponent `locationName:"securityGroupSet" locationNameList:"item" type:"list"`
+
+ // The source VPC.
+ SourceVpc *AnalysisComponent `locationName:"sourceVpc" type:"structure"`
+
+ // The state.
+ State *string `locationName:"state" type:"string"`
+
+ // The subnet.
+ Subnet *AnalysisComponent `locationName:"subnet" type:"structure"`
+
+ // The route table for the subnet.
+ SubnetRouteTable *AnalysisComponent `locationName:"subnetRouteTable" type:"structure"`
+
+ // The component VPC.
+ Vpc *AnalysisComponent `locationName:"vpc" type:"structure"`
+
+ // The VPC endpoint.
+ VpcEndpoint *AnalysisComponent `locationName:"vpcEndpoint" type:"structure"`
+
+ // The VPC peering connection.
+ VpcPeeringConnection *AnalysisComponent `locationName:"vpcPeeringConnection" type:"structure"`
+
+ // The VPN connection.
+ VpnConnection *AnalysisComponent `locationName:"vpnConnection" type:"structure"`
+
+ // The VPN gateway.
+ VpnGateway *AnalysisComponent `locationName:"vpnGateway" type:"structure"`
+}
+
+// String returns the string representation
+func (s Explanation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Explanation) GoString() string {
+ return s.String()
+}
+
+// SetAcl sets the Acl field's value.
+func (s *Explanation) SetAcl(v *AnalysisComponent) *Explanation {
+ s.Acl = v
+ return s
+}
+
+// SetAclRule sets the AclRule field's value.
+func (s *Explanation) SetAclRule(v *AnalysisAclRule) *Explanation {
+ s.AclRule = v
+ return s
+}
+
+// SetAddress sets the Address field's value.
+func (s *Explanation) SetAddress(v string) *Explanation {
+ s.Address = &v
+ return s
+}
+
+// SetAddresses sets the Addresses field's value.
+func (s *Explanation) SetAddresses(v []*string) *Explanation {
+ s.Addresses = v
+ return s
+}
+
+// SetAttachedTo sets the AttachedTo field's value.
+func (s *Explanation) SetAttachedTo(v *AnalysisComponent) *Explanation {
+ s.AttachedTo = v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *Explanation) SetAvailabilityZones(v []*string) *Explanation {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetCidrs sets the Cidrs field's value.
+func (s *Explanation) SetCidrs(v []*string) *Explanation {
+ s.Cidrs = v
+ return s
+}
+
+// SetClassicLoadBalancerListener sets the ClassicLoadBalancerListener field's value.
+func (s *Explanation) SetClassicLoadBalancerListener(v *AnalysisLoadBalancerListener) *Explanation {
+ s.ClassicLoadBalancerListener = v
+ return s
+}
+
+// SetComponent sets the Component field's value.
+func (s *Explanation) SetComponent(v *AnalysisComponent) *Explanation {
+ s.Component = v
+ return s
+}
+
+// SetCustomerGateway sets the CustomerGateway field's value.
+func (s *Explanation) SetCustomerGateway(v *AnalysisComponent) *Explanation {
+ s.CustomerGateway = v
+ return s
+}
+
+// SetDestination sets the Destination field's value.
+func (s *Explanation) SetDestination(v *AnalysisComponent) *Explanation {
+ s.Destination = v
+ return s
+}
+
+// SetDestinationVpc sets the DestinationVpc field's value.
+func (s *Explanation) SetDestinationVpc(v *AnalysisComponent) *Explanation {
+ s.DestinationVpc = v
+ return s
+}
+
+// SetDirection sets the Direction field's value.
+func (s *Explanation) SetDirection(v string) *Explanation {
+ s.Direction = &v
+ return s
+}
+
+// SetElasticLoadBalancerListener sets the ElasticLoadBalancerListener field's value.
+func (s *Explanation) SetElasticLoadBalancerListener(v *AnalysisComponent) *Explanation {
+ s.ElasticLoadBalancerListener = v
+ return s
+}
+
+// SetExplanationCode sets the ExplanationCode field's value.
+func (s *Explanation) SetExplanationCode(v string) *Explanation {
+ s.ExplanationCode = &v
+ return s
+}
+
+// SetIngressRouteTable sets the IngressRouteTable field's value.
+func (s *Explanation) SetIngressRouteTable(v *AnalysisComponent) *Explanation {
+ s.IngressRouteTable = v
+ return s
+}
+
+// SetInternetGateway sets the InternetGateway field's value.
+func (s *Explanation) SetInternetGateway(v *AnalysisComponent) *Explanation {
+ s.InternetGateway = v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *Explanation) SetLoadBalancerArn(v string) *Explanation {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetLoadBalancerListenerPort sets the LoadBalancerListenerPort field's value.
+func (s *Explanation) SetLoadBalancerListenerPort(v int64) *Explanation {
+ s.LoadBalancerListenerPort = &v
+ return s
+}
+
+// SetLoadBalancerTarget sets the LoadBalancerTarget field's value.
+func (s *Explanation) SetLoadBalancerTarget(v *AnalysisLoadBalancerTarget) *Explanation {
+ s.LoadBalancerTarget = v
+ return s
+}
+
+// SetLoadBalancerTargetGroup sets the LoadBalancerTargetGroup field's value.
+func (s *Explanation) SetLoadBalancerTargetGroup(v *AnalysisComponent) *Explanation {
+ s.LoadBalancerTargetGroup = v
+ return s
+}
+
+// SetLoadBalancerTargetGroups sets the LoadBalancerTargetGroups field's value.
+func (s *Explanation) SetLoadBalancerTargetGroups(v []*AnalysisComponent) *Explanation {
+ s.LoadBalancerTargetGroups = v
+ return s
+}
+
+// SetLoadBalancerTargetPort sets the LoadBalancerTargetPort field's value.
+func (s *Explanation) SetLoadBalancerTargetPort(v int64) *Explanation {
+ s.LoadBalancerTargetPort = &v
+ return s
+}
+
+// SetMissingComponent sets the MissingComponent field's value.
+func (s *Explanation) SetMissingComponent(v string) *Explanation {
+ s.MissingComponent = &v
+ return s
+}
+
+// SetNatGateway sets the NatGateway field's value.
+func (s *Explanation) SetNatGateway(v *AnalysisComponent) *Explanation {
+ s.NatGateway = v
+ return s
+}
+
+// SetNetworkInterface sets the NetworkInterface field's value.
+func (s *Explanation) SetNetworkInterface(v *AnalysisComponent) *Explanation {
+ s.NetworkInterface = v
+ return s
+}
+
+// SetPacketField sets the PacketField field's value.
+func (s *Explanation) SetPacketField(v string) *Explanation {
+ s.PacketField = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Explanation) SetPort(v int64) *Explanation {
+ s.Port = &v
+ return s
+}
+
+// SetPortRanges sets the PortRanges field's value.
+func (s *Explanation) SetPortRanges(v []*PortRange) *Explanation {
+ s.PortRanges = v
+ return s
+}
+
+// SetPrefixList sets the PrefixList field's value.
+func (s *Explanation) SetPrefixList(v *AnalysisComponent) *Explanation {
+ s.PrefixList = v
+ return s
+}
+
+// SetProtocols sets the Protocols field's value.
+func (s *Explanation) SetProtocols(v []*string) *Explanation {
+ s.Protocols = v
+ return s
+}
+
+// SetRouteTable sets the RouteTable field's value.
+func (s *Explanation) SetRouteTable(v *AnalysisComponent) *Explanation {
+ s.RouteTable = v
+ return s
+}
+
+// SetRouteTableRoute sets the RouteTableRoute field's value.
+func (s *Explanation) SetRouteTableRoute(v *AnalysisRouteTableRoute) *Explanation {
+ s.RouteTableRoute = v
+ return s
+}
+
+// SetSecurityGroup sets the SecurityGroup field's value.
+func (s *Explanation) SetSecurityGroup(v *AnalysisComponent) *Explanation {
+ s.SecurityGroup = v
+ return s
+}
+
+// SetSecurityGroupRule sets the SecurityGroupRule field's value.
+func (s *Explanation) SetSecurityGroupRule(v *AnalysisSecurityGroupRule) *Explanation {
+ s.SecurityGroupRule = v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *Explanation) SetSecurityGroups(v []*AnalysisComponent) *Explanation {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSourceVpc sets the SourceVpc field's value.
+func (s *Explanation) SetSourceVpc(v *AnalysisComponent) *Explanation {
+ s.SourceVpc = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Explanation) SetState(v string) *Explanation {
+ s.State = &v
+ return s
+}
+
+// SetSubnet sets the Subnet field's value.
+func (s *Explanation) SetSubnet(v *AnalysisComponent) *Explanation {
+ s.Subnet = v
+ return s
+}
+
+// SetSubnetRouteTable sets the SubnetRouteTable field's value.
+func (s *Explanation) SetSubnetRouteTable(v *AnalysisComponent) *Explanation {
+ s.SubnetRouteTable = v
+ return s
+}
+
+// SetVpc sets the Vpc field's value.
+func (s *Explanation) SetVpc(v *AnalysisComponent) *Explanation {
+ s.Vpc = v
+ return s
+}
+
+// SetVpcEndpoint sets the VpcEndpoint field's value.
+func (s *Explanation) SetVpcEndpoint(v *AnalysisComponent) *Explanation {
+ s.VpcEndpoint = v
+ return s
+}
+
+// SetVpcPeeringConnection sets the VpcPeeringConnection field's value.
+func (s *Explanation) SetVpcPeeringConnection(v *AnalysisComponent) *Explanation {
+ s.VpcPeeringConnection = v
+ return s
+}
+
+// SetVpnConnection sets the VpnConnection field's value.
+func (s *Explanation) SetVpnConnection(v *AnalysisComponent) *Explanation {
+ s.VpnConnection = v
+ return s
+}
+
+// SetVpnGateway sets the VpnGateway field's value.
+func (s *Explanation) SetVpnGateway(v *AnalysisComponent) *Explanation {
+ s.VpnGateway = v
+ return s
+}
+
type ExportClientVpnClientCertificateRevocationListInput struct {
_ struct{} `type:"structure"`
@@ -81086,7 +84701,7 @@ type GetTransitGatewayRouteTableAssociationsInput struct {
// * resource-id - The ID of the resource.
//
// * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway
- // | peering.
+ // | peering | connect.
//
// * transit-gateway-attachment-id - The ID of the attachment.
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
@@ -81207,7 +84822,7 @@ type GetTransitGatewayRouteTablePropagationsInput struct {
// * resource-id - The ID of the resource.
//
// * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway
- // | peering.
+ // | peering | connect.
//
// * transit-gateway-attachment-id - The ID of the attachment.
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
@@ -87711,6 +91326,9 @@ type LaunchTemplateEbsBlockDevice struct {
// The ID of the snapshot.
SnapshotId *string `locationName:"snapshotId" type:"string"`
+ // The throughput that the volume supports, in MiB/s.
+ Throughput *int64 `locationName:"throughput" type:"integer"`
+
// The size of the volume, in GiB.
VolumeSize *int64 `locationName:"volumeSize" type:"integer"`
@@ -87758,6 +91376,12 @@ func (s *LaunchTemplateEbsBlockDevice) SetSnapshotId(v string) *LaunchTemplateEb
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *LaunchTemplateEbsBlockDevice) SetThroughput(v int64) *LaunchTemplateEbsBlockDevice {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeSize sets the VolumeSize field's value.
func (s *LaunchTemplateEbsBlockDevice) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDevice {
s.VolumeSize = &v
@@ -87782,15 +91406,26 @@ type LaunchTemplateEbsBlockDeviceRequest struct {
// a volume from a snapshot, you can't specify an encryption value.
Encrypted *bool `type:"boolean"`
- // The number of I/O operations per second (IOPS) to provision for an io1 or
- // io2 volume, with a maximum ratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB
- // for io2. Range is 100 to 64,000 IOPS for volumes in most Regions. Maximum
- // IOPS of 64,000 is guaranteed only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
- // Other instance families guarantee performance up to 32,000 IOPS. For more
- // information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
- // in the Amazon Elastic Compute Cloud User Guide.
+ // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes,
+ // this represents the number of IOPS that are provisioned for the volume. For
+ // gp2 volumes, this represents the baseline performance of the volume and the
+ // rate at which the volume accumulates I/O credits for bursting.
//
- // This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.
+ // The following are the supported values for each volume type:
+ //
+ // * gp3: 3,000-16,000 IOPS
+ //
+ // * io1: 100-64,000 IOPS
+ //
+ // * io2: 100-64,000 IOPS
+ //
+ // For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built
+ // on the Nitro System (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
+ // Other instance families guarantee performance up to 32,000 IOPS.
+ //
+ // This parameter is required for io1 and io2 volumes. The default for gp3 volumes
+ // is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard
+ // volumes.
Iops *int64 `type:"integer"`
// The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK used for
@@ -87800,13 +91435,30 @@ type LaunchTemplateEbsBlockDeviceRequest struct {
// The ID of the snapshot.
SnapshotId *string `type:"string"`
- // The size of the volume, in GiB.
+ // The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
//
- // Default: If you're creating the volume from a snapshot and don't specify
- // a volume size, the default is the snapshot size.
+ // Valid Range: Minimum value of 125. Maximum value of 1000.
+ Throughput *int64 `type:"integer"`
+
+ // The size of the volume, in GiBs. You must specify either a snapshot ID or
+ // a volume size. If you specify a snapshot, the default is the snapshot size.
+ // You can specify a volume size that is equal to or larger than the snapshot
+ // size.
+ //
+ // The following are the supported volumes sizes for each volume type:
+ //
+ // * gp2 and gp3: 1-16,384
+ //
+ // * io1 and io2: 4-16,384
+ //
+ // * st1 and sc1: 125-16,384
+ //
+ // * standard: 1-1,024
VolumeSize *int64 `type:"integer"`
- // The volume type.
+ // The volume type. The default is gp2. For more information, see Amazon EBS
+ // volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
+ // in the Amazon Elastic Compute Cloud User Guide.
VolumeType *string `type:"string" enum:"VolumeType"`
}
@@ -87850,6 +91502,12 @@ func (s *LaunchTemplateEbsBlockDeviceRequest) SetSnapshotId(v string) *LaunchTem
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *LaunchTemplateEbsBlockDeviceRequest) SetThroughput(v int64) *LaunchTemplateEbsBlockDeviceRequest {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeSize sets the VolumeSize field's value.
func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDeviceRequest {
s.VolumeSize = &v
@@ -93478,6 +97136,10 @@ func (s *ModifyTransitGatewayInput) SetTransitGatewayId(v string) *ModifyTransit
type ModifyTransitGatewayOptions struct {
_ struct{} `type:"structure"`
+ // Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24
+ // CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
+ AddTransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"`
+
// The ID of the default association route table.
AssociationDefaultRouteTableId *string `type:"string"`
@@ -93498,6 +97160,9 @@ type ModifyTransitGatewayOptions struct {
// The ID of the default propagation route table.
PropagationDefaultRouteTableId *string `type:"string"`
+ // Removes CIDR blocks for the transit gateway.
+ RemoveTransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"`
+
// Enable or disable Equal Cost Multipath Protocol support.
VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"`
}
@@ -93512,6 +97177,12 @@ func (s ModifyTransitGatewayOptions) GoString() string {
return s.String()
}
+// SetAddTransitGatewayCidrBlocks sets the AddTransitGatewayCidrBlocks field's value.
+func (s *ModifyTransitGatewayOptions) SetAddTransitGatewayCidrBlocks(v []*string) *ModifyTransitGatewayOptions {
+ s.AddTransitGatewayCidrBlocks = v
+ return s
+}
+
// SetAssociationDefaultRouteTableId sets the AssociationDefaultRouteTableId field's value.
func (s *ModifyTransitGatewayOptions) SetAssociationDefaultRouteTableId(v string) *ModifyTransitGatewayOptions {
s.AssociationDefaultRouteTableId = &v
@@ -93548,6 +97219,12 @@ func (s *ModifyTransitGatewayOptions) SetPropagationDefaultRouteTableId(v string
return s
}
+// SetRemoveTransitGatewayCidrBlocks sets the RemoveTransitGatewayCidrBlocks field's value.
+func (s *ModifyTransitGatewayOptions) SetRemoveTransitGatewayCidrBlocks(v []*string) *ModifyTransitGatewayOptions {
+ s.RemoveTransitGatewayCidrBlocks = v
+ return s
+}
+
// SetVpnEcmpSupport sets the VpnEcmpSupport field's value.
func (s *ModifyTransitGatewayOptions) SetVpnEcmpSupport(v string) *ModifyTransitGatewayOptions {
s.VpnEcmpSupport = &v
@@ -93911,27 +97588,59 @@ type ModifyVolumeInput struct {
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
- // The target IOPS rate of the volume.
+ // The target IOPS rate of the volume. This parameter is valid only for gp3,
+ // io1, and io2 volumes.
//
- // This is only valid for Provisioned IOPS SSD (io1 and io2) volumes. For moreinformation,
- // see Provisioned IOPS SSD (io1 and io2) volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops).
+ // The following are the supported values for each volume type:
+ //
+ // * gp3: 3,000-16,000 IOPS
+ //
+ // * io1: 100-64,000 IOPS
+ //
+ // * io2: 100-64,000 IOPS
//
// Default: If no IOPS value is specified, the existing value is retained.
Iops *int64 `type:"integer"`
+ // Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach,
+ // you can attach the volume to up to 16 Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances)
+ // in the same Availability Zone. This parameter is supported with io1 and io2
+ // volumes only. For more information, see Amazon EBS Multi-Attach (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html)
+ // in the Amazon Elastic Compute Cloud User Guide.
+ MultiAttachEnabled *bool `type:"boolean"`
+
// The target size of the volume, in GiB. The target volume size must be greater
- // than or equal to than the existing size of the volume. For information about
- // available EBS volume sizes, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html).
+ // than or equal to the existing size of the volume.
+ //
+ // The following are the supported volumes sizes for each volume type:
+ //
+ // * gp2 and gp3: 1-16,384
+ //
+ // * io1 and io2: 4-16,384
+ //
+ // * st1 and sc1: 125-16,384
+ //
+ // * standard: 1-1,024
//
// Default: If no size is specified, the existing size is retained.
Size *int64 `type:"integer"`
+ // The target throughput of the volume, in MiB/s. This parameter is valid only
+ // for gp3 volumes. The maximum value is 1,000.
+ //
+ // Default: If no throughput value is specified, the existing value is retained.
+ //
+ // Valid Range: Minimum value of 125. Maximum value of 1000.
+ Throughput *int64 `type:"integer"`
+
// The ID of the volume.
//
// VolumeId is a required field
VolumeId *string `type:"string" required:"true"`
- // The target EBS volume type of the volume.
+ // The target EBS volume type of the volume. For more information, see Amazon
+ // EBS volume types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
+ // in the Amazon Elastic Compute Cloud User Guide.
//
// Default: If no type is specified, the existing type is retained.
VolumeType *string `type:"string" enum:"VolumeType"`
@@ -93972,12 +97681,24 @@ func (s *ModifyVolumeInput) SetIops(v int64) *ModifyVolumeInput {
return s
}
+// SetMultiAttachEnabled sets the MultiAttachEnabled field's value.
+func (s *ModifyVolumeInput) SetMultiAttachEnabled(v bool) *ModifyVolumeInput {
+ s.MultiAttachEnabled = &v
+ return s
+}
+
// SetSize sets the Size field's value.
func (s *ModifyVolumeInput) SetSize(v int64) *ModifyVolumeInput {
s.Size = &v
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *ModifyVolumeInput) SetThroughput(v int64) *ModifyVolumeInput {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeId sets the VolumeId field's value.
func (s *ModifyVolumeInput) SetVolumeId(v string) *ModifyVolumeInput {
s.VolumeId = &v
@@ -96218,6 +99939,244 @@ func (s *NetworkInfo) SetNetworkPerformance(v string) *NetworkInfo {
return s
}
+// Describes a network insights analysis.
+type NetworkInsightsAnalysis struct {
+ _ struct{} `type:"structure"`
+
+ // Potential intermediate components.
+ AlternatePathHints []*AlternatePathHint `locationName:"alternatePathHintSet" locationNameList:"item" type:"list"`
+
+ // The explanations. For more information, see Reachability Analyzer explanation
+ // codes (https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html).
+ Explanations []*Explanation `locationName:"explanationSet" locationNameList:"item" type:"list"`
+
+ // The Amazon Resource Names (ARN) of the AWS resources that the path must traverse.
+ FilterInArns []*string `locationName:"filterInArnSet" locationNameList:"item" type:"list"`
+
+ // The components in the path from source to destination.
+ ForwardPathComponents []*PathComponent `locationName:"forwardPathComponentSet" locationNameList:"item" type:"list"`
+
+ // The Amazon Resource Name (ARN) of the network insights analysis.
+ NetworkInsightsAnalysisArn *string `locationName:"networkInsightsAnalysisArn" min:"1" type:"string"`
+
+ // The ID of the network insights analysis.
+ NetworkInsightsAnalysisId *string `locationName:"networkInsightsAnalysisId" type:"string"`
+
+ // The ID of the path.
+ NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"`
+
+ // Indicates whether the destination is reachable from the source.
+ NetworkPathFound *bool `locationName:"networkPathFound" type:"boolean"`
+
+ // The components in the path from destination to source.
+ ReturnPathComponents []*PathComponent `locationName:"returnPathComponentSet" locationNameList:"item" type:"list"`
+
+ // The time the analysis started.
+ StartDate *time.Time `locationName:"startDate" type:"timestamp"`
+
+ // The status of the network insights analysis.
+ Status *string `locationName:"status" type:"string" enum:"AnalysisStatus"`
+
+ // The status message, if the status is failed.
+ StatusMessage *string `locationName:"statusMessage" type:"string"`
+
+ // The tags.
+ Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s NetworkInsightsAnalysis) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s NetworkInsightsAnalysis) GoString() string {
+ return s.String()
+}
+
+// SetAlternatePathHints sets the AlternatePathHints field's value.
+func (s *NetworkInsightsAnalysis) SetAlternatePathHints(v []*AlternatePathHint) *NetworkInsightsAnalysis {
+ s.AlternatePathHints = v
+ return s
+}
+
+// SetExplanations sets the Explanations field's value.
+func (s *NetworkInsightsAnalysis) SetExplanations(v []*Explanation) *NetworkInsightsAnalysis {
+ s.Explanations = v
+ return s
+}
+
+// SetFilterInArns sets the FilterInArns field's value.
+func (s *NetworkInsightsAnalysis) SetFilterInArns(v []*string) *NetworkInsightsAnalysis {
+ s.FilterInArns = v
+ return s
+}
+
+// SetForwardPathComponents sets the ForwardPathComponents field's value.
+func (s *NetworkInsightsAnalysis) SetForwardPathComponents(v []*PathComponent) *NetworkInsightsAnalysis {
+ s.ForwardPathComponents = v
+ return s
+}
+
+// SetNetworkInsightsAnalysisArn sets the NetworkInsightsAnalysisArn field's value.
+func (s *NetworkInsightsAnalysis) SetNetworkInsightsAnalysisArn(v string) *NetworkInsightsAnalysis {
+ s.NetworkInsightsAnalysisArn = &v
+ return s
+}
+
+// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value.
+func (s *NetworkInsightsAnalysis) SetNetworkInsightsAnalysisId(v string) *NetworkInsightsAnalysis {
+ s.NetworkInsightsAnalysisId = &v
+ return s
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *NetworkInsightsAnalysis) SetNetworkInsightsPathId(v string) *NetworkInsightsAnalysis {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
+// SetNetworkPathFound sets the NetworkPathFound field's value.
+func (s *NetworkInsightsAnalysis) SetNetworkPathFound(v bool) *NetworkInsightsAnalysis {
+ s.NetworkPathFound = &v
+ return s
+}
+
+// SetReturnPathComponents sets the ReturnPathComponents field's value.
+func (s *NetworkInsightsAnalysis) SetReturnPathComponents(v []*PathComponent) *NetworkInsightsAnalysis {
+ s.ReturnPathComponents = v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *NetworkInsightsAnalysis) SetStartDate(v time.Time) *NetworkInsightsAnalysis {
+ s.StartDate = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *NetworkInsightsAnalysis) SetStatus(v string) *NetworkInsightsAnalysis {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *NetworkInsightsAnalysis) SetStatusMessage(v string) *NetworkInsightsAnalysis {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *NetworkInsightsAnalysis) SetTags(v []*Tag) *NetworkInsightsAnalysis {
+ s.Tags = v
+ return s
+}
+
+// Describes a path.
+type NetworkInsightsPath struct {
+ _ struct{} `type:"structure"`
+
+ // The time stamp when the path was created.
+ CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"`
+
+ // The AWS resource that is the destination of the path.
+ Destination *string `locationName:"destination" type:"string"`
+
+ // The IP address of the AWS resource that is the destination of the path.
+ DestinationIp *string `locationName:"destinationIp" type:"string"`
+
+ // The destination port.
+ DestinationPort *int64 `locationName:"destinationPort" type:"integer"`
+
+ // The Amazon Resource Name (ARN) of the path.
+ NetworkInsightsPathArn *string `locationName:"networkInsightsPathArn" min:"1" type:"string"`
+
+ // The ID of the path.
+ NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"`
+
+ // The protocol.
+ Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"`
+
+ // The AWS resource that is the source of the path.
+ Source *string `locationName:"source" type:"string"`
+
+ // The IP address of the AWS resource that is the source of the path.
+ SourceIp *string `locationName:"sourceIp" type:"string"`
+
+ // The tags associated with the path.
+ Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s NetworkInsightsPath) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s NetworkInsightsPath) GoString() string {
+ return s.String()
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *NetworkInsightsPath) SetCreatedDate(v time.Time) *NetworkInsightsPath {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDestination sets the Destination field's value.
+func (s *NetworkInsightsPath) SetDestination(v string) *NetworkInsightsPath {
+ s.Destination = &v
+ return s
+}
+
+// SetDestinationIp sets the DestinationIp field's value.
+func (s *NetworkInsightsPath) SetDestinationIp(v string) *NetworkInsightsPath {
+ s.DestinationIp = &v
+ return s
+}
+
+// SetDestinationPort sets the DestinationPort field's value.
+func (s *NetworkInsightsPath) SetDestinationPort(v int64) *NetworkInsightsPath {
+ s.DestinationPort = &v
+ return s
+}
+
+// SetNetworkInsightsPathArn sets the NetworkInsightsPathArn field's value.
+func (s *NetworkInsightsPath) SetNetworkInsightsPathArn(v string) *NetworkInsightsPath {
+ s.NetworkInsightsPathArn = &v
+ return s
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *NetworkInsightsPath) SetNetworkInsightsPathId(v string) *NetworkInsightsPath {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *NetworkInsightsPath) SetProtocol(v string) *NetworkInsightsPath {
+ s.Protocol = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *NetworkInsightsPath) SetSource(v string) *NetworkInsightsPath {
+ s.Source = &v
+ return s
+}
+
+// SetSourceIp sets the SourceIp field's value.
+func (s *NetworkInsightsPath) SetSourceIp(v string) *NetworkInsightsPath {
+ s.SourceIp = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *NetworkInsightsPath) SetTags(v []*Tag) *NetworkInsightsPath {
+ s.Tags = v
+ return s
+}
+
// Describes a network interface.
type NetworkInterface struct {
_ struct{} `type:"structure"`
@@ -96994,6 +100953,120 @@ func (s *OnDemandOptionsRequest) SetSingleInstanceType(v bool) *OnDemandOptionsR
return s
}
+// Describes a path component.
+type PathComponent struct {
+ _ struct{} `type:"structure"`
+
+ // The network ACL rule.
+ AclRule *AnalysisAclRule `locationName:"aclRule" type:"structure"`
+
+ // The component.
+ Component *AnalysisComponent `locationName:"component" type:"structure"`
+
+ // The destination VPC.
+ DestinationVpc *AnalysisComponent `locationName:"destinationVpc" type:"structure"`
+
+ // The inbound header.
+ InboundHeader *AnalysisPacketHeader `locationName:"inboundHeader" type:"structure"`
+
+ // The outbound header.
+ OutboundHeader *AnalysisPacketHeader `locationName:"outboundHeader" type:"structure"`
+
+ // The route table route.
+ RouteTableRoute *AnalysisRouteTableRoute `locationName:"routeTableRoute" type:"structure"`
+
+ // The security group rule.
+ SecurityGroupRule *AnalysisSecurityGroupRule `locationName:"securityGroupRule" type:"structure"`
+
+ // The sequence number.
+ SequenceNumber *int64 `locationName:"sequenceNumber" type:"integer"`
+
+ // The source VPC.
+ SourceVpc *AnalysisComponent `locationName:"sourceVpc" type:"structure"`
+
+ // The subnet.
+ Subnet *AnalysisComponent `locationName:"subnet" type:"structure"`
+
+ // The component VPC.
+ Vpc *AnalysisComponent `locationName:"vpc" type:"structure"`
+}
+
+// String returns the string representation
+func (s PathComponent) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PathComponent) GoString() string {
+ return s.String()
+}
+
+// SetAclRule sets the AclRule field's value.
+func (s *PathComponent) SetAclRule(v *AnalysisAclRule) *PathComponent {
+ s.AclRule = v
+ return s
+}
+
+// SetComponent sets the Component field's value.
+func (s *PathComponent) SetComponent(v *AnalysisComponent) *PathComponent {
+ s.Component = v
+ return s
+}
+
+// SetDestinationVpc sets the DestinationVpc field's value.
+func (s *PathComponent) SetDestinationVpc(v *AnalysisComponent) *PathComponent {
+ s.DestinationVpc = v
+ return s
+}
+
+// SetInboundHeader sets the InboundHeader field's value.
+func (s *PathComponent) SetInboundHeader(v *AnalysisPacketHeader) *PathComponent {
+ s.InboundHeader = v
+ return s
+}
+
+// SetOutboundHeader sets the OutboundHeader field's value.
+func (s *PathComponent) SetOutboundHeader(v *AnalysisPacketHeader) *PathComponent {
+ s.OutboundHeader = v
+ return s
+}
+
+// SetRouteTableRoute sets the RouteTableRoute field's value.
+func (s *PathComponent) SetRouteTableRoute(v *AnalysisRouteTableRoute) *PathComponent {
+ s.RouteTableRoute = v
+ return s
+}
+
+// SetSecurityGroupRule sets the SecurityGroupRule field's value.
+func (s *PathComponent) SetSecurityGroupRule(v *AnalysisSecurityGroupRule) *PathComponent {
+ s.SecurityGroupRule = v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *PathComponent) SetSequenceNumber(v int64) *PathComponent {
+ s.SequenceNumber = &v
+ return s
+}
+
+// SetSourceVpc sets the SourceVpc field's value.
+func (s *PathComponent) SetSourceVpc(v *AnalysisComponent) *PathComponent {
+ s.SourceVpc = v
+ return s
+}
+
+// SetSubnet sets the Subnet field's value.
+func (s *PathComponent) SetSubnet(v *AnalysisComponent) *PathComponent {
+ s.Subnet = v
+ return s
+}
+
+// SetVpc sets the Vpc field's value.
+func (s *PathComponent) SetVpc(v *AnalysisComponent) *PathComponent {
+ s.Vpc = v
+ return s
+}
+
// Describes the data that identifies an Amazon FPGA image (AFI) on the PCI
// bus.
type PciId struct {
@@ -98106,6 +102179,30 @@ func (s *PrincipalIdFormat) SetStatuses(v []*IdFormat) *PrincipalIdFormat {
return s
}
+// Information about the Private DNS name for interface endpoints.
+type PrivateDnsDetails struct {
+ _ struct{} `type:"structure"`
+
+ // The private DNS name assigned to the VPC endpoint service.
+ PrivateDnsName *string `locationName:"privateDnsName" type:"string"`
+}
+
+// String returns the string representation
+func (s PrivateDnsDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PrivateDnsDetails) GoString() string {
+ return s.String()
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *PrivateDnsDetails) SetPrivateDnsName(v string) *PrivateDnsDetails {
+ s.PrivateDnsName = &v
+ return s
+}
+
// Information about the private DNS name for the service endpoint. For more
// information about these parameters, see VPC Endpoint Service Private DNS
// Name Verification (https://docs.aws.amazon.com/vpc/latest/userguide/ndpoint-services-dns-validation.html)
@@ -99707,6 +103804,82 @@ func (s *RegisterTransitGatewayMulticastGroupSourcesOutput) SetRegisteredMultica
return s
}
+type RejectTransitGatewayMulticastDomainAssociationsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The IDs of the subnets to associate with the transit gateway multicast domain.
+ SubnetIds []*string `locationNameList:"item" type:"list"`
+
+ // The ID of the transit gateway attachment.
+ TransitGatewayAttachmentId *string `type:"string"`
+
+ // The ID of the transit gateway multicast domain.
+ TransitGatewayMulticastDomainId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s RejectTransitGatewayMulticastDomainAssociationsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s RejectTransitGatewayMulticastDomainAssociationsInput) GoString() string {
+ return s.String()
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetDryRun(v bool) *RejectTransitGatewayMulticastDomainAssociationsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetSubnetIds(v []*string) *RejectTransitGatewayMulticastDomainAssociationsInput {
+ s.SubnetIds = v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayAttachmentId(v string) *RejectTransitGatewayMulticastDomainAssociationsInput {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+// SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value.
+func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayMulticastDomainId(v string) *RejectTransitGatewayMulticastDomainAssociationsInput {
+ s.TransitGatewayMulticastDomainId = &v
+ return s
+}
+
+type RejectTransitGatewayMulticastDomainAssociationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Describes the multicast domain associations.
+ Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"`
+}
+
+// String returns the string representation
+func (s RejectTransitGatewayMulticastDomainAssociationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s RejectTransitGatewayMulticastDomainAssociationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAssociations sets the Associations field's value.
+func (s *RejectTransitGatewayMulticastDomainAssociationsOutput) SetAssociations(v *TransitGatewayMulticastDomainAssociations) *RejectTransitGatewayMulticastDomainAssociationsOutput {
+ s.Associations = v
+ return s
+}
+
type RejectTransitGatewayPeeringAttachmentInput struct {
_ struct{} `type:"structure"`
@@ -106455,7 +110628,7 @@ type SearchTransitGatewayRoutesInput struct {
// * attachment.resource-id - The resource id of the transit gateway attachment.
//
// * attachment.resource-type - The attachment resource type. Valid values
- // are vpc | vpn | direct-connect-gateway | peering.
+ // are vpc | vpn | direct-connect-gateway | peering | connect.
//
// * prefix-list-id - The ID of the prefix list.
//
@@ -106963,6 +111136,9 @@ type ServiceDetail struct {
// is not verified.
PrivateDnsNameVerificationState *string `locationName:"privateDnsNameVerificationState" type:"string" enum:"DnsNameState"`
+ // The private DNS names assigned to the VPC endpoint service.
+ PrivateDnsNames []*PrivateDnsDetails `locationName:"privateDnsNameSet" locationNameList:"item" type:"list"`
+
// The ID of the endpoint service.
ServiceId *string `locationName:"serviceId" type:"string"`
@@ -107031,6 +111207,12 @@ func (s *ServiceDetail) SetPrivateDnsNameVerificationState(v string) *ServiceDet
return s
}
+// SetPrivateDnsNames sets the PrivateDnsNames field's value.
+func (s *ServiceDetail) SetPrivateDnsNames(v []*PrivateDnsDetails) *ServiceDetail {
+ s.PrivateDnsNames = v
+ return s
+}
+
// SetServiceId sets the ServiceId field's value.
func (s *ServiceDetail) SetServiceId(v string) *ServiceDetail {
s.ServiceId = &v
@@ -109438,6 +113620,107 @@ func (s *StartInstancesOutput) SetStartingInstances(v []*InstanceStateChange) *S
return s
}
+type StartNetworkInsightsAnalysisInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
+ ClientToken *string `type:"string" idempotencyToken:"true"`
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have
+ // the required permissions, the error response is DryRunOperation. Otherwise,
+ // it is UnauthorizedOperation.
+ DryRun *bool `type:"boolean"`
+
+ // The Amazon Resource Names (ARN) of the resources that the path must traverse.
+ FilterInArns []*string `locationName:"FilterInArn" locationNameList:"item" type:"list"`
+
+ // The ID of the path.
+ //
+ // NetworkInsightsPathId is a required field
+ NetworkInsightsPathId *string `type:"string" required:"true"`
+
+ // The tags to apply.
+ TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
+}
+
+// String returns the string representation
+func (s StartNetworkInsightsAnalysisInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s StartNetworkInsightsAnalysisInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartNetworkInsightsAnalysisInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartNetworkInsightsAnalysisInput"}
+ if s.NetworkInsightsPathId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NetworkInsightsPathId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *StartNetworkInsightsAnalysisInput) SetClientToken(v string) *StartNetworkInsightsAnalysisInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *StartNetworkInsightsAnalysisInput) SetDryRun(v bool) *StartNetworkInsightsAnalysisInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilterInArns sets the FilterInArns field's value.
+func (s *StartNetworkInsightsAnalysisInput) SetFilterInArns(v []*string) *StartNetworkInsightsAnalysisInput {
+ s.FilterInArns = v
+ return s
+}
+
+// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value.
+func (s *StartNetworkInsightsAnalysisInput) SetNetworkInsightsPathId(v string) *StartNetworkInsightsAnalysisInput {
+ s.NetworkInsightsPathId = &v
+ return s
+}
+
+// SetTagSpecifications sets the TagSpecifications field's value.
+func (s *StartNetworkInsightsAnalysisInput) SetTagSpecifications(v []*TagSpecification) *StartNetworkInsightsAnalysisInput {
+ s.TagSpecifications = v
+ return s
+}
+
+type StartNetworkInsightsAnalysisOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the network insights analysis.
+ NetworkInsightsAnalysis *NetworkInsightsAnalysis `locationName:"networkInsightsAnalysis" type:"structure"`
+}
+
+// String returns the string representation
+func (s StartNetworkInsightsAnalysisOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s StartNetworkInsightsAnalysisOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInsightsAnalysis sets the NetworkInsightsAnalysis field's value.
+func (s *StartNetworkInsightsAnalysisOutput) SetNetworkInsightsAnalysis(v *NetworkInsightsAnalysis) *StartNetworkInsightsAnalysisOutput {
+ s.NetworkInsightsAnalysis = v
+ return s
+}
+
type StartVpcEndpointServicePrivateDnsVerificationInput struct {
_ struct{} `type:"structure"`
@@ -110166,16 +114449,18 @@ type TagSpecification struct {
// The type of resource to tag. Currently, the resource types that support tagging
// on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint
- // | customer-gateway | dedicated-host | dhcp-options | export-image-task |
- // export-instance-task | fleet | fpga-image | host-reservation | import-image-task
- // | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2
- // | key-pair | launch-template | placement-group | prefix-list | natgateway
- // | network-acl | route-table | security-group | spot-fleet-request | spot-instances-request
+ // | customer-gateway | dedicated-host | dhcp-options | egress-only-internet-gateway
+ // | elastic-ip | elastic-gpu | export-image-task | export-instance-task | fleet
+ // | fpga-image | host-reservation | image| import-image-task | import-snapshot-task
+ // | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair |
+ // launch-template | local-gateway-route-table-vpc-association | placement-group
+ // | prefix-list | natgateway | network-acl | network-interface | reserved-instances
+ // |route-table | security-group| snapshot | spot-fleet-request | spot-instances-request
// | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target
- // | transit-gateway | transit-gateway-attachment | transit-gateway-route-table
- // | volume |vpc | vpc-peering-connection | vpc-endpoint (for interface and
- // gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log
- // | vpn-connection | vpn-gateway.
+ // | transit-gateway | transit-gateway-attachment | transit-gateway-multicast-domain
+ // | transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint
+ // (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink)
+ // | vpc-flow-log | vpn-connection | vpn-gateway.
//
// To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).
ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"`
@@ -111564,6 +115849,66 @@ func (s *TransitGatewayAttachmentAssociation) SetTransitGatewayRouteTableId(v st
return s
}
+// The BGP configuration information.
+type TransitGatewayAttachmentBgpConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The BGP status.
+ BgpStatus *string `locationName:"bgpStatus" type:"string" enum:"BgpStatus"`
+
+ // The interior BGP peer IP address for the appliance.
+ PeerAddress *string `locationName:"peerAddress" type:"string"`
+
+ // The peer Autonomous System Number (ASN).
+ PeerAsn *int64 `locationName:"peerAsn" type:"long"`
+
+ // The interior BGP peer IP address for the transit gateway.
+ TransitGatewayAddress *string `locationName:"transitGatewayAddress" type:"string"`
+
+ // The transit gateway Autonomous System Number (ASN).
+ TransitGatewayAsn *int64 `locationName:"transitGatewayAsn" type:"long"`
+}
+
+// String returns the string representation
+func (s TransitGatewayAttachmentBgpConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayAttachmentBgpConfiguration) GoString() string {
+ return s.String()
+}
+
+// SetBgpStatus sets the BgpStatus field's value.
+func (s *TransitGatewayAttachmentBgpConfiguration) SetBgpStatus(v string) *TransitGatewayAttachmentBgpConfiguration {
+ s.BgpStatus = &v
+ return s
+}
+
+// SetPeerAddress sets the PeerAddress field's value.
+func (s *TransitGatewayAttachmentBgpConfiguration) SetPeerAddress(v string) *TransitGatewayAttachmentBgpConfiguration {
+ s.PeerAddress = &v
+ return s
+}
+
+// SetPeerAsn sets the PeerAsn field's value.
+func (s *TransitGatewayAttachmentBgpConfiguration) SetPeerAsn(v int64) *TransitGatewayAttachmentBgpConfiguration {
+ s.PeerAsn = &v
+ return s
+}
+
+// SetTransitGatewayAddress sets the TransitGatewayAddress field's value.
+func (s *TransitGatewayAttachmentBgpConfiguration) SetTransitGatewayAddress(v string) *TransitGatewayAttachmentBgpConfiguration {
+ s.TransitGatewayAddress = &v
+ return s
+}
+
+// SetTransitGatewayAsn sets the TransitGatewayAsn field's value.
+func (s *TransitGatewayAttachmentBgpConfiguration) SetTransitGatewayAsn(v int64) *TransitGatewayAttachmentBgpConfiguration {
+ s.TransitGatewayAsn = &v
+ return s
+}
+
// Describes a propagation route table.
type TransitGatewayAttachmentPropagation struct {
_ struct{} `type:"structure"`
@@ -111597,6 +115942,261 @@ func (s *TransitGatewayAttachmentPropagation) SetTransitGatewayRouteTableId(v st
return s
}
+// Describes a transit gateway Connect attachment.
+type TransitGatewayConnect struct {
+ _ struct{} `type:"structure"`
+
+ // The creation time.
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`
+
+ // The Connect attachment options.
+ Options *TransitGatewayConnectOptions `locationName:"options" type:"structure"`
+
+ // The state of the attachment.
+ State *string `locationName:"state" type:"string" enum:"TransitGatewayAttachmentState"`
+
+ // The tags for the attachment.
+ Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"`
+
+ // The ID of the Connect attachment.
+ TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"`
+
+ // The ID of the transit gateway.
+ TransitGatewayId *string `locationName:"transitGatewayId" type:"string"`
+
+ // The ID of the attachment from which the Connect attachment was created.
+ TransportTransitGatewayAttachmentId *string `locationName:"transportTransitGatewayAttachmentId" type:"string"`
+}
+
+// String returns the string representation
+func (s TransitGatewayConnect) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayConnect) GoString() string {
+ return s.String()
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *TransitGatewayConnect) SetCreationTime(v time.Time) *TransitGatewayConnect {
+ s.CreationTime = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *TransitGatewayConnect) SetOptions(v *TransitGatewayConnectOptions) *TransitGatewayConnect {
+ s.Options = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *TransitGatewayConnect) SetState(v string) *TransitGatewayConnect {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TransitGatewayConnect) SetTags(v []*Tag) *TransitGatewayConnect {
+ s.Tags = v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *TransitGatewayConnect) SetTransitGatewayAttachmentId(v string) *TransitGatewayConnect {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+// SetTransitGatewayId sets the TransitGatewayId field's value.
+func (s *TransitGatewayConnect) SetTransitGatewayId(v string) *TransitGatewayConnect {
+ s.TransitGatewayId = &v
+ return s
+}
+
+// SetTransportTransitGatewayAttachmentId sets the TransportTransitGatewayAttachmentId field's value.
+func (s *TransitGatewayConnect) SetTransportTransitGatewayAttachmentId(v string) *TransitGatewayConnect {
+ s.TransportTransitGatewayAttachmentId = &v
+ return s
+}
+
+// Describes the Connect attachment options.
+type TransitGatewayConnectOptions struct {
+ _ struct{} `type:"structure"`
+
+ // The tunnel protocol.
+ Protocol *string `locationName:"protocol" type:"string" enum:"ProtocolValue"`
+}
+
+// String returns the string representation
+func (s TransitGatewayConnectOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayConnectOptions) GoString() string {
+ return s.String()
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *TransitGatewayConnectOptions) SetProtocol(v string) *TransitGatewayConnectOptions {
+ s.Protocol = &v
+ return s
+}
+
+// Describes a transit gateway Connect peer.
+type TransitGatewayConnectPeer struct {
+ _ struct{} `type:"structure"`
+
+ // The Connect peer details.
+ ConnectPeerConfiguration *TransitGatewayConnectPeerConfiguration `locationName:"connectPeerConfiguration" type:"structure"`
+
+ // The creation time.
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`
+
+ // The state of the Connect peer.
+ State *string `locationName:"state" type:"string" enum:"TransitGatewayConnectPeerState"`
+
+ // The tags for the Connect peer.
+ Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"`
+
+ // The ID of the Connect attachment.
+ TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"`
+
+ // The ID of the Connect peer.
+ TransitGatewayConnectPeerId *string `locationName:"transitGatewayConnectPeerId" type:"string"`
+}
+
+// String returns the string representation
+func (s TransitGatewayConnectPeer) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayConnectPeer) GoString() string {
+ return s.String()
+}
+
+// SetConnectPeerConfiguration sets the ConnectPeerConfiguration field's value.
+func (s *TransitGatewayConnectPeer) SetConnectPeerConfiguration(v *TransitGatewayConnectPeerConfiguration) *TransitGatewayConnectPeer {
+ s.ConnectPeerConfiguration = v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *TransitGatewayConnectPeer) SetCreationTime(v time.Time) *TransitGatewayConnectPeer {
+ s.CreationTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *TransitGatewayConnectPeer) SetState(v string) *TransitGatewayConnectPeer {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TransitGatewayConnectPeer) SetTags(v []*Tag) *TransitGatewayConnectPeer {
+ s.Tags = v
+ return s
+}
+
+// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value.
+func (s *TransitGatewayConnectPeer) SetTransitGatewayAttachmentId(v string) *TransitGatewayConnectPeer {
+ s.TransitGatewayAttachmentId = &v
+ return s
+}
+
+// SetTransitGatewayConnectPeerId sets the TransitGatewayConnectPeerId field's value.
+func (s *TransitGatewayConnectPeer) SetTransitGatewayConnectPeerId(v string) *TransitGatewayConnectPeer {
+ s.TransitGatewayConnectPeerId = &v
+ return s
+}
+
+// Describes the Connect peer details.
+type TransitGatewayConnectPeerConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The BGP configuration details.
+ BgpConfigurations []*TransitGatewayAttachmentBgpConfiguration `locationName:"bgpConfigurations" locationNameList:"item" type:"list"`
+
+ // The range of interior BGP peer IP addresses.
+ InsideCidrBlocks []*string `locationName:"insideCidrBlocks" locationNameList:"item" type:"list"`
+
+ // The Connect peer IP address on the appliance side of the tunnel.
+ PeerAddress *string `locationName:"peerAddress" type:"string"`
+
+ // The tunnel protocol.
+ Protocol *string `locationName:"protocol" type:"string" enum:"ProtocolValue"`
+
+ // The Connect peer IP address on the transit gateway side of the tunnel.
+ TransitGatewayAddress *string `locationName:"transitGatewayAddress" type:"string"`
+}
+
+// String returns the string representation
+func (s TransitGatewayConnectPeerConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayConnectPeerConfiguration) GoString() string {
+ return s.String()
+}
+
+// SetBgpConfigurations sets the BgpConfigurations field's value.
+func (s *TransitGatewayConnectPeerConfiguration) SetBgpConfigurations(v []*TransitGatewayAttachmentBgpConfiguration) *TransitGatewayConnectPeerConfiguration {
+ s.BgpConfigurations = v
+ return s
+}
+
+// SetInsideCidrBlocks sets the InsideCidrBlocks field's value.
+func (s *TransitGatewayConnectPeerConfiguration) SetInsideCidrBlocks(v []*string) *TransitGatewayConnectPeerConfiguration {
+ s.InsideCidrBlocks = v
+ return s
+}
+
+// SetPeerAddress sets the PeerAddress field's value.
+func (s *TransitGatewayConnectPeerConfiguration) SetPeerAddress(v string) *TransitGatewayConnectPeerConfiguration {
+ s.PeerAddress = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *TransitGatewayConnectPeerConfiguration) SetProtocol(v string) *TransitGatewayConnectPeerConfiguration {
+ s.Protocol = &v
+ return s
+}
+
+// SetTransitGatewayAddress sets the TransitGatewayAddress field's value.
+func (s *TransitGatewayConnectPeerConfiguration) SetTransitGatewayAddress(v string) *TransitGatewayConnectPeerConfiguration {
+ s.TransitGatewayAddress = &v
+ return s
+}
+
+// The BGP options for the Connect attachment.
+type TransitGatewayConnectRequestBgpOptions struct {
+ _ struct{} `type:"structure"`
+
+ // The peer Autonomous System Number (ASN).
+ PeerAsn *int64 `type:"long"`
+}
+
+// String returns the string representation
+func (s TransitGatewayConnectRequestBgpOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayConnectRequestBgpOptions) GoString() string {
+ return s.String()
+}
+
+// SetPeerAsn sets the PeerAsn field's value.
+func (s *TransitGatewayConnectRequestBgpOptions) SetPeerAsn(v int64) *TransitGatewayConnectRequestBgpOptions {
+ s.PeerAsn = &v
+ return s
+}
+
// Describes the deregistered transit gateway multicast group members.
type TransitGatewayMulticastDeregisteredGroupMembers struct {
_ struct{} `type:"structure"`
@@ -111688,6 +116288,12 @@ type TransitGatewayMulticastDomain struct {
// The time the transit gateway multicast domain was created.
CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`
+ // The options for the transit gateway multicast domain.
+ Options *TransitGatewayMulticastDomainOptions `locationName:"options" type:"structure"`
+
+ // The ID of the AWS account that owns the transit gateway multiicast domain.
+ OwnerId *string `locationName:"ownerId" type:"string"`
+
// The state of the transit gateway multicast domain.
State *string `locationName:"state" type:"string" enum:"TransitGatewayMulticastDomainState"`
@@ -111697,6 +116303,9 @@ type TransitGatewayMulticastDomain struct {
// The ID of the transit gateway.
TransitGatewayId *string `locationName:"transitGatewayId" type:"string"`
+ // The Amazon Resource Name (ARN) of the transit gateway multicast domain.
+ TransitGatewayMulticastDomainArn *string `locationName:"transitGatewayMulticastDomainArn" type:"string"`
+
// The ID of the transit gateway multicast domain.
TransitGatewayMulticastDomainId *string `locationName:"transitGatewayMulticastDomainId" type:"string"`
}
@@ -111717,6 +116326,18 @@ func (s *TransitGatewayMulticastDomain) SetCreationTime(v time.Time) *TransitGat
return s
}
+// SetOptions sets the Options field's value.
+func (s *TransitGatewayMulticastDomain) SetOptions(v *TransitGatewayMulticastDomainOptions) *TransitGatewayMulticastDomain {
+ s.Options = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *TransitGatewayMulticastDomain) SetOwnerId(v string) *TransitGatewayMulticastDomain {
+ s.OwnerId = &v
+ return s
+}
+
// SetState sets the State field's value.
func (s *TransitGatewayMulticastDomain) SetState(v string) *TransitGatewayMulticastDomain {
s.State = &v
@@ -111735,6 +116356,12 @@ func (s *TransitGatewayMulticastDomain) SetTransitGatewayId(v string) *TransitGa
return s
}
+// SetTransitGatewayMulticastDomainArn sets the TransitGatewayMulticastDomainArn field's value.
+func (s *TransitGatewayMulticastDomain) SetTransitGatewayMulticastDomainArn(v string) *TransitGatewayMulticastDomain {
+ s.TransitGatewayMulticastDomainArn = &v
+ return s
+}
+
// SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value.
func (s *TransitGatewayMulticastDomain) SetTransitGatewayMulticastDomainId(v string) *TransitGatewayMulticastDomain {
s.TransitGatewayMulticastDomainId = &v
@@ -111748,6 +116375,10 @@ type TransitGatewayMulticastDomainAssociation struct {
// The ID of the resource.
ResourceId *string `locationName:"resourceId" type:"string"`
+ // The ID of the AWS account that owns the transit gateway multicast domain
+ // association resource.
+ ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"`
+
// The type of resource, for example a VPC attachment.
ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"`
@@ -111774,6 +116405,12 @@ func (s *TransitGatewayMulticastDomainAssociation) SetResourceId(v string) *Tran
return s
}
+// SetResourceOwnerId sets the ResourceOwnerId field's value.
+func (s *TransitGatewayMulticastDomainAssociation) SetResourceOwnerId(v string) *TransitGatewayMulticastDomainAssociation {
+ s.ResourceOwnerId = &v
+ return s
+}
+
// SetResourceType sets the ResourceType field's value.
func (s *TransitGatewayMulticastDomainAssociation) SetResourceType(v string) *TransitGatewayMulticastDomainAssociation {
s.ResourceType = &v
@@ -111799,6 +116436,9 @@ type TransitGatewayMulticastDomainAssociations struct {
// The ID of the resource.
ResourceId *string `locationName:"resourceId" type:"string"`
+ // The ID of the AWS account that owns the resource.
+ ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"`
+
// The type of resource, for example a VPC attachment.
ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"`
@@ -111828,6 +116468,12 @@ func (s *TransitGatewayMulticastDomainAssociations) SetResourceId(v string) *Tra
return s
}
+// SetResourceOwnerId sets the ResourceOwnerId field's value.
+func (s *TransitGatewayMulticastDomainAssociations) SetResourceOwnerId(v string) *TransitGatewayMulticastDomainAssociations {
+ s.ResourceOwnerId = &v
+ return s
+}
+
// SetResourceType sets the ResourceType field's value.
func (s *TransitGatewayMulticastDomainAssociations) SetResourceType(v string) *TransitGatewayMulticastDomainAssociations {
s.ResourceType = &v
@@ -111852,6 +116498,51 @@ func (s *TransitGatewayMulticastDomainAssociations) SetTransitGatewayMulticastDo
return s
}
+// Describes the options for a transit gateway multicast domain.
+type TransitGatewayMulticastDomainOptions struct {
+ _ struct{} `type:"structure"`
+
+ // Indicates whether to automatically cross-account subnet associations that
+ // are associated with the transit gateway multicast domain.
+ AutoAcceptSharedAssociations *string `locationName:"autoAcceptSharedAssociations" type:"string" enum:"AutoAcceptSharedAssociationsValue"`
+
+ // Indicates whether Internet Group Management Protocol (IGMP) version 2 is
+ // turned on for the transit gateway multicast domain.
+ Igmpv2Support *string `locationName:"igmpv2Support" type:"string" enum:"Igmpv2SupportValue"`
+
+ // Indicates whether support for statically configuring transit gateway multicast
+ // group sources is turned on.
+ StaticSourcesSupport *string `locationName:"staticSourcesSupport" type:"string" enum:"StaticSourcesSupportValue"`
+}
+
+// String returns the string representation
+func (s TransitGatewayMulticastDomainOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TransitGatewayMulticastDomainOptions) GoString() string {
+ return s.String()
+}
+
+// SetAutoAcceptSharedAssociations sets the AutoAcceptSharedAssociations field's value.
+func (s *TransitGatewayMulticastDomainOptions) SetAutoAcceptSharedAssociations(v string) *TransitGatewayMulticastDomainOptions {
+ s.AutoAcceptSharedAssociations = &v
+ return s
+}
+
+// SetIgmpv2Support sets the Igmpv2Support field's value.
+func (s *TransitGatewayMulticastDomainOptions) SetIgmpv2Support(v string) *TransitGatewayMulticastDomainOptions {
+ s.Igmpv2Support = &v
+ return s
+}
+
+// SetStaticSourcesSupport sets the StaticSourcesSupport field's value.
+func (s *TransitGatewayMulticastDomainOptions) SetStaticSourcesSupport(v string) *TransitGatewayMulticastDomainOptions {
+ s.StaticSourcesSupport = &v
+ return s
+}
+
// Describes the transit gateway multicast group resources.
type TransitGatewayMulticastGroup struct {
_ struct{} `type:"structure"`
@@ -111874,6 +116565,10 @@ type TransitGatewayMulticastGroup struct {
// The ID of the resource.
ResourceId *string `locationName:"resourceId" type:"string"`
+ // The ID of the AWS account that owns the transit gateway multicast domain
+ // group resource.
+ ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"`
+
// The type of resource, for example a VPC attachment.
ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"`
@@ -111933,6 +116628,12 @@ func (s *TransitGatewayMulticastGroup) SetResourceId(v string) *TransitGatewayMu
return s
}
+// SetResourceOwnerId sets the ResourceOwnerId field's value.
+func (s *TransitGatewayMulticastGroup) SetResourceOwnerId(v string) *TransitGatewayMulticastGroup {
+ s.ResourceOwnerId = &v
+ return s
+}
+
// SetResourceType sets the ResourceType field's value.
func (s *TransitGatewayMulticastGroup) SetResourceType(v string) *TransitGatewayMulticastGroup {
s.ResourceType = &v
@@ -112074,6 +116775,9 @@ type TransitGatewayOptions struct {
// The ID of the default propagation route table.
PropagationDefaultRouteTableId *string `locationName:"propagationDefaultRouteTableId" type:"string"`
+ // The transit gateway CIDR blocks.
+ TransitGatewayCidrBlocks []*string `locationName:"transitGatewayCidrBlocks" locationNameList:"item" type:"list"`
+
// Indicates whether Equal Cost Multipath Protocol support is enabled.
VpnEcmpSupport *string `locationName:"vpnEcmpSupport" type:"string" enum:"VpnEcmpSupportValue"`
}
@@ -112136,6 +116840,12 @@ func (s *TransitGatewayOptions) SetPropagationDefaultRouteTableId(v string) *Tra
return s
}
+// SetTransitGatewayCidrBlocks sets the TransitGatewayCidrBlocks field's value.
+func (s *TransitGatewayOptions) SetTransitGatewayCidrBlocks(v []*string) *TransitGatewayOptions {
+ s.TransitGatewayCidrBlocks = v
+ return s
+}
+
// SetVpnEcmpSupport sets the VpnEcmpSupport field's value.
func (s *TransitGatewayOptions) SetVpnEcmpSupport(v string) *TransitGatewayOptions {
s.VpnEcmpSupport = &v
@@ -112419,6 +117129,11 @@ type TransitGatewayRequestOptions struct {
// Indicates whether multicast is enabled on the transit gateway
MulticastSupport *string `type:"string" enum:"MulticastSupportValue"`
+ // One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size
+ // /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for
+ // IPv6.
+ TransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"`
+
// Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"`
}
@@ -112469,6 +117184,12 @@ func (s *TransitGatewayRequestOptions) SetMulticastSupport(v string) *TransitGat
return s
}
+// SetTransitGatewayCidrBlocks sets the TransitGatewayCidrBlocks field's value.
+func (s *TransitGatewayRequestOptions) SetTransitGatewayCidrBlocks(v []*string) *TransitGatewayRequestOptions {
+ s.TransitGatewayCidrBlocks = v
+ return s
+}
+
// SetVpnEcmpSupport sets the VpnEcmpSupport field's value.
func (s *TransitGatewayRequestOptions) SetVpnEcmpSupport(v string) *TransitGatewayRequestOptions {
s.VpnEcmpSupport = &v
@@ -114038,22 +118759,10 @@ type Volume struct {
// Indicates whether the volume was created using fast snapshot restore.
FastRestored *bool `locationName:"fastRestored" type:"boolean"`
- // The number of I/O operations per second (IOPS) that the volume supports.
- // For Provisioned IOPS SSD volumes, this represents the number of IOPS that
- // are provisioned for the volume. For General Purpose SSD volumes, this represents
- // the baseline performance of the volume and the rate at which the volume accumulates
- // I/O credits for bursting. For more information, see Amazon EBS volume types
- // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
- // in the Amazon Elastic Compute Cloud User Guide.
- //
- // Constraints: Range is 100-16,000 IOPS for gp2 volumes and 100 to 64,000 IOPS
- // for io1 and io2 volumes, in most Regions. The maximum IOPS for io1 and io2
- // of 64,000 is guaranteed only on Nitro-based instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
- // Other instance families guarantee performance up to 32,000 IOPS.
- //
- // Condition: This parameter is required for requests to create io1 and io2
- // volumes; it is not used in requests to create gp2, st1, sc1, or standard
- // volumes.
+ // The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes,
+ // this represents the number of IOPS that are provisioned for the volume. For
+ // gp2 volumes, this represents the baseline performance of the volume and the
+ // rate at which the volume accumulates I/O credits for bursting.
Iops *int64 `locationName:"iops" type:"integer"`
// The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS)
@@ -114079,12 +118788,13 @@ type Volume struct {
// Any tags assigned to the volume.
Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"`
+ // The throughput that the volume supports, in MiB/s.
+ Throughput *int64 `locationName:"throughput" type:"integer"`
+
// The ID of the volume.
VolumeId *string `locationName:"volumeId" type:"string"`
- // The volume type. This can be gp2 for General Purpose SSD, io1 or io2 for
- // Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD,
- // or standard for Magnetic volumes.
+ // The volume type.
VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"`
}
@@ -114176,6 +118886,12 @@ func (s *Volume) SetTags(v []*Tag) *Volume {
return s
}
+// SetThroughput sets the Throughput field's value.
+func (s *Volume) SetThroughput(v int64) *Volume {
+ s.Throughput = &v
+ return s
+}
+
// SetVolumeId sets the VolumeId field's value.
func (s *Volume) SetVolumeId(v string) *Volume {
s.VolumeId = &v
@@ -114312,9 +119028,15 @@ type VolumeModification struct {
// The original IOPS rate of the volume.
OriginalIops *int64 `locationName:"originalIops" type:"integer"`
+ // The original setting for Amazon EBS Multi-Attach.
+ OriginalMultiAttachEnabled *bool `locationName:"originalMultiAttachEnabled" type:"boolean"`
+
// The original size of the volume, in GiB.
OriginalSize *int64 `locationName:"originalSize" type:"integer"`
+ // The original throughput of the volume, in MiB/s.
+ OriginalThroughput *int64 `locationName:"originalThroughput" type:"integer"`
+
// The original EBS volume type of the volume.
OriginalVolumeType *string `locationName:"originalVolumeType" type:"string" enum:"VolumeType"`
@@ -114330,9 +119052,15 @@ type VolumeModification struct {
// The target IOPS rate of the volume.
TargetIops *int64 `locationName:"targetIops" type:"integer"`
+ // The target setting for Amazon EBS Multi-Attach.
+ TargetMultiAttachEnabled *bool `locationName:"targetMultiAttachEnabled" type:"boolean"`
+
// The target size of the volume, in GiB.
TargetSize *int64 `locationName:"targetSize" type:"integer"`
+ // The target throughput of the volume, in MiB/s.
+ TargetThroughput *int64 `locationName:"targetThroughput" type:"integer"`
+
// The target EBS volume type of the volume.
TargetVolumeType *string `locationName:"targetVolumeType" type:"string" enum:"VolumeType"`
@@ -114368,12 +119096,24 @@ func (s *VolumeModification) SetOriginalIops(v int64) *VolumeModification {
return s
}
+// SetOriginalMultiAttachEnabled sets the OriginalMultiAttachEnabled field's value.
+func (s *VolumeModification) SetOriginalMultiAttachEnabled(v bool) *VolumeModification {
+ s.OriginalMultiAttachEnabled = &v
+ return s
+}
+
// SetOriginalSize sets the OriginalSize field's value.
func (s *VolumeModification) SetOriginalSize(v int64) *VolumeModification {
s.OriginalSize = &v
return s
}
+// SetOriginalThroughput sets the OriginalThroughput field's value.
+func (s *VolumeModification) SetOriginalThroughput(v int64) *VolumeModification {
+ s.OriginalThroughput = &v
+ return s
+}
+
// SetOriginalVolumeType sets the OriginalVolumeType field's value.
func (s *VolumeModification) SetOriginalVolumeType(v string) *VolumeModification {
s.OriginalVolumeType = &v
@@ -114404,12 +119144,24 @@ func (s *VolumeModification) SetTargetIops(v int64) *VolumeModification {
return s
}
+// SetTargetMultiAttachEnabled sets the TargetMultiAttachEnabled field's value.
+func (s *VolumeModification) SetTargetMultiAttachEnabled(v bool) *VolumeModification {
+ s.TargetMultiAttachEnabled = &v
+ return s
+}
+
// SetTargetSize sets the TargetSize field's value.
func (s *VolumeModification) SetTargetSize(v int64) *VolumeModification {
s.TargetSize = &v
return s
}
+// SetTargetThroughput sets the TargetThroughput field's value.
+func (s *VolumeModification) SetTargetThroughput(v int64) *VolumeModification {
+ s.TargetThroughput = &v
+ return s
+}
+
// SetTargetVolumeType sets the TargetVolumeType field's value.
func (s *VolumeModification) SetTargetVolumeType(v string) *VolumeModification {
s.TargetVolumeType = &v
@@ -116419,6 +121171,26 @@ func AllowsMultipleInstanceTypes_Values() []string {
}
}
+const (
+ // AnalysisStatusRunning is a AnalysisStatus enum value
+ AnalysisStatusRunning = "running"
+
+ // AnalysisStatusSucceeded is a AnalysisStatus enum value
+ AnalysisStatusSucceeded = "succeeded"
+
+ // AnalysisStatusFailed is a AnalysisStatus enum value
+ AnalysisStatusFailed = "failed"
+)
+
+// AnalysisStatus_Values returns all elements of the AnalysisStatus enum
+func AnalysisStatus_Values() []string {
+ return []string{
+ AnalysisStatusRunning,
+ AnalysisStatusSucceeded,
+ AnalysisStatusFailed,
+ }
+}
+
const (
// ApplianceModeSupportValueEnable is a ApplianceModeSupportValue enum value
ApplianceModeSupportValueEnable = "enable"
@@ -116539,6 +121311,22 @@ func AttachmentStatus_Values() []string {
}
}
+const (
+ // AutoAcceptSharedAssociationsValueEnable is a AutoAcceptSharedAssociationsValue enum value
+ AutoAcceptSharedAssociationsValueEnable = "enable"
+
+ // AutoAcceptSharedAssociationsValueDisable is a AutoAcceptSharedAssociationsValue enum value
+ AutoAcceptSharedAssociationsValueDisable = "disable"
+)
+
+// AutoAcceptSharedAssociationsValue_Values returns all elements of the AutoAcceptSharedAssociationsValue enum
+func AutoAcceptSharedAssociationsValue_Values() []string {
+ return []string{
+ AutoAcceptSharedAssociationsValueEnable,
+ AutoAcceptSharedAssociationsValueDisable,
+ }
+}
+
const (
// AutoAcceptSharedAttachmentsValueEnable is a AutoAcceptSharedAttachmentsValue enum value
AutoAcceptSharedAttachmentsValueEnable = "enable"
@@ -116651,6 +121439,22 @@ func BatchState_Values() []string {
}
}
+const (
+ // BgpStatusUp is a BgpStatus enum value
+ BgpStatusUp = "up"
+
+ // BgpStatusDown is a BgpStatus enum value
+ BgpStatusDown = "down"
+)
+
+// BgpStatus_Values returns all elements of the BgpStatus enum
+func BgpStatus_Values() []string {
+ return []string{
+ BgpStatusUp,
+ BgpStatusDown,
+ }
+}
+
const (
// BundleTaskStatePending is a BundleTaskState enum value
BundleTaskStatePending = "pending"
@@ -117967,6 +122771,22 @@ func IamInstanceProfileAssociationState_Values() []string {
}
}
+const (
+ // Igmpv2SupportValueEnable is a Igmpv2SupportValue enum value
+ Igmpv2SupportValueEnable = "enable"
+
+ // Igmpv2SupportValueDisable is a Igmpv2SupportValue enum value
+ Igmpv2SupportValueDisable = "disable"
+)
+
+// Igmpv2SupportValue_Values returns all elements of the Igmpv2SupportValue enum
+func Igmpv2SupportValue_Values() []string {
+ return []string{
+ Igmpv2SupportValueEnable,
+ Igmpv2SupportValueDisable,
+ }
+}
+
const (
// ImageAttributeNameDescription is a ImageAttributeName enum value
ImageAttributeNameDescription = "description"
@@ -118501,6 +123321,33 @@ const (
// InstanceTypeR5a24xlarge is a InstanceType enum value
InstanceTypeR5a24xlarge = "r5a.24xlarge"
+ // InstanceTypeR5bLarge is a InstanceType enum value
+ InstanceTypeR5bLarge = "r5b.large"
+
+ // InstanceTypeR5bXlarge is a InstanceType enum value
+ InstanceTypeR5bXlarge = "r5b.xlarge"
+
+ // InstanceTypeR5b2xlarge is a InstanceType enum value
+ InstanceTypeR5b2xlarge = "r5b.2xlarge"
+
+ // InstanceTypeR5b4xlarge is a InstanceType enum value
+ InstanceTypeR5b4xlarge = "r5b.4xlarge"
+
+ // InstanceTypeR5b8xlarge is a InstanceType enum value
+ InstanceTypeR5b8xlarge = "r5b.8xlarge"
+
+ // InstanceTypeR5b12xlarge is a InstanceType enum value
+ InstanceTypeR5b12xlarge = "r5b.12xlarge"
+
+ // InstanceTypeR5b16xlarge is a InstanceType enum value
+ InstanceTypeR5b16xlarge = "r5b.16xlarge"
+
+ // InstanceTypeR5b24xlarge is a InstanceType enum value
+ InstanceTypeR5b24xlarge = "r5b.24xlarge"
+
+ // InstanceTypeR5bMetal is a InstanceType enum value
+ InstanceTypeR5bMetal = "r5b.metal"
+
// InstanceTypeR5dLarge is a InstanceType enum value
InstanceTypeR5dLarge = "r5d.large"
@@ -118849,6 +123696,9 @@ const (
// InstanceTypeC5n18xlarge is a InstanceType enum value
InstanceTypeC5n18xlarge = "c5n.18xlarge"
+ // InstanceTypeC5nMetal is a InstanceType enum value
+ InstanceTypeC5nMetal = "c5n.metal"
+
// InstanceTypeC6gMetal is a InstanceType enum value
InstanceTypeC6gMetal = "c6g.metal"
@@ -118903,6 +123753,30 @@ const (
// InstanceTypeC6gd16xlarge is a InstanceType enum value
InstanceTypeC6gd16xlarge = "c6gd.16xlarge"
+ // InstanceTypeC6gnMedium is a InstanceType enum value
+ InstanceTypeC6gnMedium = "c6gn.medium"
+
+ // InstanceTypeC6gnLarge is a InstanceType enum value
+ InstanceTypeC6gnLarge = "c6gn.large"
+
+ // InstanceTypeC6gnXlarge is a InstanceType enum value
+ InstanceTypeC6gnXlarge = "c6gn.xlarge"
+
+ // InstanceTypeC6gn2xlarge is a InstanceType enum value
+ InstanceTypeC6gn2xlarge = "c6gn.2xlarge"
+
+ // InstanceTypeC6gn4xlarge is a InstanceType enum value
+ InstanceTypeC6gn4xlarge = "c6gn.4xlarge"
+
+ // InstanceTypeC6gn8xlarge is a InstanceType enum value
+ InstanceTypeC6gn8xlarge = "c6gn.8xlarge"
+
+ // InstanceTypeC6gn12xlarge is a InstanceType enum value
+ InstanceTypeC6gn12xlarge = "c6gn.12xlarge"
+
+ // InstanceTypeC6gn16xlarge is a InstanceType enum value
+ InstanceTypeC6gn16xlarge = "c6gn.16xlarge"
+
// InstanceTypeCc14xlarge is a InstanceType enum value
InstanceTypeCc14xlarge = "cc1.4xlarge"
@@ -118927,6 +123801,15 @@ const (
// InstanceTypeG3sXlarge is a InstanceType enum value
InstanceTypeG3sXlarge = "g3s.xlarge"
+ // InstanceTypeG4ad4xlarge is a InstanceType enum value
+ InstanceTypeG4ad4xlarge = "g4ad.4xlarge"
+
+ // InstanceTypeG4ad8xlarge is a InstanceType enum value
+ InstanceTypeG4ad8xlarge = "g4ad.8xlarge"
+
+ // InstanceTypeG4ad16xlarge is a InstanceType enum value
+ InstanceTypeG4ad16xlarge = "g4ad.16xlarge"
+
// InstanceTypeG4dnXlarge is a InstanceType enum value
InstanceTypeG4dnXlarge = "g4dn.xlarge"
@@ -118987,6 +123870,36 @@ const (
// InstanceTypeD28xlarge is a InstanceType enum value
InstanceTypeD28xlarge = "d2.8xlarge"
+ // InstanceTypeD3Xlarge is a InstanceType enum value
+ InstanceTypeD3Xlarge = "d3.xlarge"
+
+ // InstanceTypeD32xlarge is a InstanceType enum value
+ InstanceTypeD32xlarge = "d3.2xlarge"
+
+ // InstanceTypeD34xlarge is a InstanceType enum value
+ InstanceTypeD34xlarge = "d3.4xlarge"
+
+ // InstanceTypeD38xlarge is a InstanceType enum value
+ InstanceTypeD38xlarge = "d3.8xlarge"
+
+ // InstanceTypeD3enXlarge is a InstanceType enum value
+ InstanceTypeD3enXlarge = "d3en.xlarge"
+
+ // InstanceTypeD3en2xlarge is a InstanceType enum value
+ InstanceTypeD3en2xlarge = "d3en.2xlarge"
+
+ // InstanceTypeD3en4xlarge is a InstanceType enum value
+ InstanceTypeD3en4xlarge = "d3en.4xlarge"
+
+ // InstanceTypeD3en6xlarge is a InstanceType enum value
+ InstanceTypeD3en6xlarge = "d3en.6xlarge"
+
+ // InstanceTypeD3en8xlarge is a InstanceType enum value
+ InstanceTypeD3en8xlarge = "d3en.8xlarge"
+
+ // InstanceTypeD3en12xlarge is a InstanceType enum value
+ InstanceTypeD3en12xlarge = "d3en.12xlarge"
+
// InstanceTypeF12xlarge is a InstanceType enum value
InstanceTypeF12xlarge = "f1.2xlarge"
@@ -119098,6 +124011,27 @@ const (
// InstanceTypeM5ad24xlarge is a InstanceType enum value
InstanceTypeM5ad24xlarge = "m5ad.24xlarge"
+ // InstanceTypeM5znLarge is a InstanceType enum value
+ InstanceTypeM5znLarge = "m5zn.large"
+
+ // InstanceTypeM5znXlarge is a InstanceType enum value
+ InstanceTypeM5znXlarge = "m5zn.xlarge"
+
+ // InstanceTypeM5zn2xlarge is a InstanceType enum value
+ InstanceTypeM5zn2xlarge = "m5zn.2xlarge"
+
+ // InstanceTypeM5zn3xlarge is a InstanceType enum value
+ InstanceTypeM5zn3xlarge = "m5zn.3xlarge"
+
+ // InstanceTypeM5zn6xlarge is a InstanceType enum value
+ InstanceTypeM5zn6xlarge = "m5zn.6xlarge"
+
+ // InstanceTypeM5zn12xlarge is a InstanceType enum value
+ InstanceTypeM5zn12xlarge = "m5zn.12xlarge"
+
+ // InstanceTypeM5znMetal is a InstanceType enum value
+ InstanceTypeM5znMetal = "m5zn.metal"
+
// InstanceTypeH12xlarge is a InstanceType enum value
InstanceTypeH12xlarge = "h1.2xlarge"
@@ -119325,6 +124259,9 @@ const (
// InstanceTypeM6gd16xlarge is a InstanceType enum value
InstanceTypeM6gd16xlarge = "m6gd.16xlarge"
+
+ // InstanceTypeMac1Metal is a InstanceType enum value
+ InstanceTypeMac1Metal = "mac1.metal"
)
// InstanceType_Values returns all elements of the InstanceType enum
@@ -119405,6 +124342,15 @@ func InstanceType_Values() []string {
InstanceTypeR5a12xlarge,
InstanceTypeR5a16xlarge,
InstanceTypeR5a24xlarge,
+ InstanceTypeR5bLarge,
+ InstanceTypeR5bXlarge,
+ InstanceTypeR5b2xlarge,
+ InstanceTypeR5b4xlarge,
+ InstanceTypeR5b8xlarge,
+ InstanceTypeR5b12xlarge,
+ InstanceTypeR5b16xlarge,
+ InstanceTypeR5b24xlarge,
+ InstanceTypeR5bMetal,
InstanceTypeR5dLarge,
InstanceTypeR5dXlarge,
InstanceTypeR5d2xlarge,
@@ -119521,6 +124467,7 @@ func InstanceType_Values() []string {
InstanceTypeC5n4xlarge,
InstanceTypeC5n9xlarge,
InstanceTypeC5n18xlarge,
+ InstanceTypeC5nMetal,
InstanceTypeC6gMetal,
InstanceTypeC6gMedium,
InstanceTypeC6gLarge,
@@ -119539,6 +124486,14 @@ func InstanceType_Values() []string {
InstanceTypeC6gd8xlarge,
InstanceTypeC6gd12xlarge,
InstanceTypeC6gd16xlarge,
+ InstanceTypeC6gnMedium,
+ InstanceTypeC6gnLarge,
+ InstanceTypeC6gnXlarge,
+ InstanceTypeC6gn2xlarge,
+ InstanceTypeC6gn4xlarge,
+ InstanceTypeC6gn8xlarge,
+ InstanceTypeC6gn12xlarge,
+ InstanceTypeC6gn16xlarge,
InstanceTypeCc14xlarge,
InstanceTypeCc28xlarge,
InstanceTypeG22xlarge,
@@ -119547,6 +124502,9 @@ func InstanceType_Values() []string {
InstanceTypeG38xlarge,
InstanceTypeG316xlarge,
InstanceTypeG3sXlarge,
+ InstanceTypeG4ad4xlarge,
+ InstanceTypeG4ad8xlarge,
+ InstanceTypeG4ad16xlarge,
InstanceTypeG4dnXlarge,
InstanceTypeG4dn2xlarge,
InstanceTypeG4dn4xlarge,
@@ -119567,6 +124525,16 @@ func InstanceType_Values() []string {
InstanceTypeD22xlarge,
InstanceTypeD24xlarge,
InstanceTypeD28xlarge,
+ InstanceTypeD3Xlarge,
+ InstanceTypeD32xlarge,
+ InstanceTypeD34xlarge,
+ InstanceTypeD38xlarge,
+ InstanceTypeD3enXlarge,
+ InstanceTypeD3en2xlarge,
+ InstanceTypeD3en4xlarge,
+ InstanceTypeD3en6xlarge,
+ InstanceTypeD3en8xlarge,
+ InstanceTypeD3en12xlarge,
InstanceTypeF12xlarge,
InstanceTypeF14xlarge,
InstanceTypeF116xlarge,
@@ -119604,6 +124572,13 @@ func InstanceType_Values() []string {
InstanceTypeM5ad12xlarge,
InstanceTypeM5ad16xlarge,
InstanceTypeM5ad24xlarge,
+ InstanceTypeM5znLarge,
+ InstanceTypeM5znXlarge,
+ InstanceTypeM5zn2xlarge,
+ InstanceTypeM5zn3xlarge,
+ InstanceTypeM5zn6xlarge,
+ InstanceTypeM5zn12xlarge,
+ InstanceTypeM5znMetal,
InstanceTypeH12xlarge,
InstanceTypeH14xlarge,
InstanceTypeH18xlarge,
@@ -119680,6 +124655,7 @@ func InstanceType_Values() []string {
InstanceTypeM6gd8xlarge,
InstanceTypeM6gd12xlarge,
InstanceTypeM6gd16xlarge,
+ InstanceTypeMac1Metal,
}
}
@@ -120467,6 +125443,34 @@ func ProductCodeValues_Values() []string {
}
}
+const (
+ // ProtocolTcp is a Protocol enum value
+ ProtocolTcp = "tcp"
+
+ // ProtocolUdp is a Protocol enum value
+ ProtocolUdp = "udp"
+)
+
+// Protocol_Values returns all elements of the Protocol enum
+func Protocol_Values() []string {
+ return []string{
+ ProtocolTcp,
+ ProtocolUdp,
+ }
+}
+
+const (
+ // ProtocolValueGre is a ProtocolValue enum value
+ ProtocolValueGre = "gre"
+)
+
+// ProtocolValue_Values returns all elements of the ProtocolValue enum
+func ProtocolValue_Values() []string {
+ return []string{
+ ProtocolValueGre,
+ }
+}
+
const (
// RIProductDescriptionLinuxUnix is a RIProductDescription enum value
RIProductDescriptionLinuxUnix = "Linux/UNIX"
@@ -120725,6 +125729,12 @@ const (
// ResourceTypeNetworkInterface is a ResourceType enum value
ResourceTypeNetworkInterface = "network-interface"
+ // ResourceTypeNetworkInsightsAnalysis is a ResourceType enum value
+ ResourceTypeNetworkInsightsAnalysis = "network-insights-analysis"
+
+ // ResourceTypeNetworkInsightsPath is a ResourceType enum value
+ ResourceTypeNetworkInsightsPath = "network-insights-path"
+
// ResourceTypePlacementGroup is a ResourceType enum value
ResourceTypePlacementGroup = "placement-group"
@@ -120764,6 +125774,9 @@ const (
// ResourceTypeTransitGatewayAttachment is a ResourceType enum value
ResourceTypeTransitGatewayAttachment = "transit-gateway-attachment"
+ // ResourceTypeTransitGatewayConnectPeer is a ResourceType enum value
+ ResourceTypeTransitGatewayConnectPeer = "transit-gateway-connect-peer"
+
// ResourceTypeTransitGatewayMulticastDomain is a ResourceType enum value
ResourceTypeTransitGatewayMulticastDomain = "transit-gateway-multicast-domain"
@@ -120815,6 +125828,8 @@ func ResourceType_Values() []string {
ResourceTypeNatgateway,
ResourceTypeNetworkAcl,
ResourceTypeNetworkInterface,
+ ResourceTypeNetworkInsightsAnalysis,
+ ResourceTypeNetworkInsightsPath,
ResourceTypePlacementGroup,
ResourceTypeReservedInstances,
ResourceTypeRouteTable,
@@ -120828,6 +125843,7 @@ func ResourceType_Values() []string {
ResourceTypeTrafficMirrorTarget,
ResourceTypeTransitGateway,
ResourceTypeTransitGatewayAttachment,
+ ResourceTypeTransitGatewayConnectPeer,
ResourceTypeTransitGatewayMulticastDomain,
ResourceTypeTransitGatewayRouteTable,
ResourceTypeVolume,
@@ -121191,6 +126207,22 @@ func State_Values() []string {
}
}
+const (
+ // StaticSourcesSupportValueEnable is a StaticSourcesSupportValue enum value
+ StaticSourcesSupportValueEnable = "enable"
+
+ // StaticSourcesSupportValueDisable is a StaticSourcesSupportValue enum value
+ StaticSourcesSupportValueDisable = "disable"
+)
+
+// StaticSourcesSupportValue_Values returns all elements of the StaticSourcesSupportValue enum
+func StaticSourcesSupportValue_Values() []string {
+ return []string{
+ StaticSourcesSupportValueEnable,
+ StaticSourcesSupportValueDisable,
+ }
+}
+
const (
// StatusMoveInProgress is a Status enum value
StatusMoveInProgress = "MoveInProgress"
@@ -121517,6 +126549,9 @@ const (
// TransitGatewayAttachmentResourceTypeDirectConnectGateway is a TransitGatewayAttachmentResourceType enum value
TransitGatewayAttachmentResourceTypeDirectConnectGateway = "direct-connect-gateway"
+ // TransitGatewayAttachmentResourceTypeConnect is a TransitGatewayAttachmentResourceType enum value
+ TransitGatewayAttachmentResourceTypeConnect = "connect"
+
// TransitGatewayAttachmentResourceTypePeering is a TransitGatewayAttachmentResourceType enum value
TransitGatewayAttachmentResourceTypePeering = "peering"
@@ -121530,6 +126565,7 @@ func TransitGatewayAttachmentResourceType_Values() []string {
TransitGatewayAttachmentResourceTypeVpc,
TransitGatewayAttachmentResourceTypeVpn,
TransitGatewayAttachmentResourceTypeDirectConnectGateway,
+ TransitGatewayAttachmentResourceTypeConnect,
TransitGatewayAttachmentResourceTypePeering,
TransitGatewayAttachmentResourceTypeTgwPeering,
}
@@ -121596,6 +126632,33 @@ func TransitGatewayAttachmentState_Values() []string {
}
const (
+ // TransitGatewayConnectPeerStatePending is a TransitGatewayConnectPeerState enum value
+ TransitGatewayConnectPeerStatePending = "pending"
+
+ // TransitGatewayConnectPeerStateAvailable is a TransitGatewayConnectPeerState enum value
+ TransitGatewayConnectPeerStateAvailable = "available"
+
+ // TransitGatewayConnectPeerStateDeleting is a TransitGatewayConnectPeerState enum value
+ TransitGatewayConnectPeerStateDeleting = "deleting"
+
+ // TransitGatewayConnectPeerStateDeleted is a TransitGatewayConnectPeerState enum value
+ TransitGatewayConnectPeerStateDeleted = "deleted"
+)
+
+// TransitGatewayConnectPeerState_Values returns all elements of the TransitGatewayConnectPeerState enum
+func TransitGatewayConnectPeerState_Values() []string {
+ return []string{
+ TransitGatewayConnectPeerStatePending,
+ TransitGatewayConnectPeerStateAvailable,
+ TransitGatewayConnectPeerStateDeleting,
+ TransitGatewayConnectPeerStateDeleted,
+ }
+}
+
+const (
+ // TransitGatewayMulitcastDomainAssociationStatePendingAcceptance is a TransitGatewayMulitcastDomainAssociationState enum value
+ TransitGatewayMulitcastDomainAssociationStatePendingAcceptance = "pendingAcceptance"
+
// TransitGatewayMulitcastDomainAssociationStateAssociating is a TransitGatewayMulitcastDomainAssociationState enum value
TransitGatewayMulitcastDomainAssociationStateAssociating = "associating"
@@ -121607,15 +126670,24 @@ const (
// TransitGatewayMulitcastDomainAssociationStateDisassociated is a TransitGatewayMulitcastDomainAssociationState enum value
TransitGatewayMulitcastDomainAssociationStateDisassociated = "disassociated"
+
+ // TransitGatewayMulitcastDomainAssociationStateRejected is a TransitGatewayMulitcastDomainAssociationState enum value
+ TransitGatewayMulitcastDomainAssociationStateRejected = "rejected"
+
+ // TransitGatewayMulitcastDomainAssociationStateFailed is a TransitGatewayMulitcastDomainAssociationState enum value
+ TransitGatewayMulitcastDomainAssociationStateFailed = "failed"
)
// TransitGatewayMulitcastDomainAssociationState_Values returns all elements of the TransitGatewayMulitcastDomainAssociationState enum
func TransitGatewayMulitcastDomainAssociationState_Values() []string {
return []string{
+ TransitGatewayMulitcastDomainAssociationStatePendingAcceptance,
TransitGatewayMulitcastDomainAssociationStateAssociating,
TransitGatewayMulitcastDomainAssociationStateAssociated,
TransitGatewayMulitcastDomainAssociationStateDisassociating,
TransitGatewayMulitcastDomainAssociationStateDisassociated,
+ TransitGatewayMulitcastDomainAssociationStateRejected,
+ TransitGatewayMulitcastDomainAssociationStateFailed,
}
}
@@ -122053,6 +127125,9 @@ const (
// VolumeTypeSt1 is a VolumeType enum value
VolumeTypeSt1 = "st1"
+
+ // VolumeTypeGp3 is a VolumeType enum value
+ VolumeTypeGp3 = "gp3"
)
// VolumeType_Values returns all elements of the VolumeType enum
@@ -122064,6 +127139,7 @@ func VolumeType_Values() []string {
VolumeTypeGp2,
VolumeTypeSc1,
VolumeTypeSt1,
+ VolumeTypeGp3,
}
}
diff --git a/vendor/github.com/containerd/containerd/log/context.go b/vendor/github.com/containerd/containerd/log/context.go
new file mode 100644
index 0000000000..31f1a3ac09
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/log/context.go
@@ -0,0 +1,90 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package log
+
+import (
+ "context"
+ "sync/atomic"
+
+ "github.com/sirupsen/logrus"
+)
+
+var (
+ // G is an alias for GetLogger.
+ //
+ // We may want to define this locally to a package to get package tagged log
+ // messages.
+ G = GetLogger
+
+ // L is an alias for the standard logger.
+ L = logrus.NewEntry(logrus.StandardLogger())
+)
+
+type (
+ loggerKey struct{}
+)
+
+// TraceLevel is the log level for tracing. Trace level is lower than debug level,
+// and is usually used to trace detailed behavior of the program.
+const TraceLevel = logrus.Level(uint32(logrus.DebugLevel + 1))
+
+// RFC3339NanoFixed is time.RFC3339Nano with nanoseconds padded using zeros to
+// ensure the formatted time is always the same number of characters.
+const RFC3339NanoFixed = "2006-01-02T15:04:05.000000000Z07:00"
+
+// ParseLevel takes a string level and returns the Logrus log level constant.
+// It supports trace level.
+func ParseLevel(lvl string) (logrus.Level, error) {
+ if lvl == "trace" {
+ return TraceLevel, nil
+ }
+ return logrus.ParseLevel(lvl)
+}
+
+// WithLogger returns a new context with the provided logger. Use in
+// combination with logger.WithField(s) for great effect.
+func WithLogger(ctx context.Context, logger *logrus.Entry) context.Context {
+ return context.WithValue(ctx, loggerKey{}, logger)
+}
+
+// GetLogger retrieves the current logger from the context. If no logger is
+// available, the default logger is returned.
+func GetLogger(ctx context.Context) *logrus.Entry {
+ logger := ctx.Value(loggerKey{})
+
+ if logger == nil {
+ return L
+ }
+
+ return logger.(*logrus.Entry)
+}
+
+// Trace logs a message at level Trace with the log entry passed-in.
+func Trace(e *logrus.Entry, args ...interface{}) {
+ level := logrus.Level(atomic.LoadUint32((*uint32)(&e.Logger.Level)))
+ if level >= TraceLevel {
+ e.Debug(args...)
+ }
+}
+
+// Tracef logs a message at level Trace with the log entry passed-in.
+func Tracef(e *logrus.Entry, format string, args ...interface{}) {
+ level := logrus.Level(atomic.LoadUint32((*uint32)(&e.Logger.Level)))
+ if level >= TraceLevel {
+ e.Debugf(format, args...)
+ }
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/compare.go b/vendor/github.com/containerd/containerd/platforms/compare.go
new file mode 100644
index 0000000000..3ad22a10d0
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/compare.go
@@ -0,0 +1,229 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+import specs "github.com/opencontainers/image-spec/specs-go/v1"
+
+// MatchComparer is able to match and compare platforms to
+// filter and sort platforms.
+type MatchComparer interface {
+ Matcher
+
+ Less(specs.Platform, specs.Platform) bool
+}
+
+// Only returns a match comparer for a single platform
+// using default resolution logic for the platform.
+//
+// For ARMv8, will also match ARMv7, ARMv6 and ARMv5 (for 32bit runtimes)
+// For ARMv7, will also match ARMv6 and ARMv5
+// For ARMv6, will also match ARMv5
+func Only(platform specs.Platform) MatchComparer {
+ platform = Normalize(platform)
+ if platform.Architecture == "arm" {
+ if platform.Variant == "v8" {
+ return orderedPlatformComparer{
+ matchers: []Matcher{
+ &matcher{
+ Platform: platform,
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v7",
+ },
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v6",
+ },
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v5",
+ },
+ },
+ },
+ }
+ }
+ if platform.Variant == "v7" {
+ return orderedPlatformComparer{
+ matchers: []Matcher{
+ &matcher{
+ Platform: platform,
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v6",
+ },
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v5",
+ },
+ },
+ },
+ }
+ }
+ if platform.Variant == "v6" {
+ return orderedPlatformComparer{
+ matchers: []Matcher{
+ &matcher{
+ Platform: platform,
+ },
+ &matcher{
+ Platform: specs.Platform{
+ Architecture: platform.Architecture,
+ OS: platform.OS,
+ OSVersion: platform.OSVersion,
+ OSFeatures: platform.OSFeatures,
+ Variant: "v5",
+ },
+ },
+ },
+ }
+ }
+ }
+
+ return singlePlatformComparer{
+ Matcher: &matcher{
+ Platform: platform,
+ },
+ }
+}
+
+// Ordered returns a platform MatchComparer which matches any of the platforms
+// but orders them in order they are provided.
+func Ordered(platforms ...specs.Platform) MatchComparer {
+ matchers := make([]Matcher, len(platforms))
+ for i := range platforms {
+ matchers[i] = NewMatcher(platforms[i])
+ }
+ return orderedPlatformComparer{
+ matchers: matchers,
+ }
+}
+
+// Any returns a platform MatchComparer which matches any of the platforms
+// with no preference for ordering.
+func Any(platforms ...specs.Platform) MatchComparer {
+ matchers := make([]Matcher, len(platforms))
+ for i := range platforms {
+ matchers[i] = NewMatcher(platforms[i])
+ }
+ return anyPlatformComparer{
+ matchers: matchers,
+ }
+}
+
+// All is a platform MatchComparer which matches all platforms
+// with preference for ordering.
+var All MatchComparer = allPlatformComparer{}
+
+type singlePlatformComparer struct {
+ Matcher
+}
+
+func (c singlePlatformComparer) Less(p1, p2 specs.Platform) bool {
+ return c.Match(p1) && !c.Match(p2)
+}
+
+type orderedPlatformComparer struct {
+ matchers []Matcher
+}
+
+func (c orderedPlatformComparer) Match(platform specs.Platform) bool {
+ for _, m := range c.matchers {
+ if m.Match(platform) {
+ return true
+ }
+ }
+ return false
+}
+
+func (c orderedPlatformComparer) Less(p1 specs.Platform, p2 specs.Platform) bool {
+ for _, m := range c.matchers {
+ p1m := m.Match(p1)
+ p2m := m.Match(p2)
+ if p1m && !p2m {
+ return true
+ }
+ if p1m || p2m {
+ return false
+ }
+ }
+ return false
+}
+
+type anyPlatformComparer struct {
+ matchers []Matcher
+}
+
+func (c anyPlatformComparer) Match(platform specs.Platform) bool {
+ for _, m := range c.matchers {
+ if m.Match(platform) {
+ return true
+ }
+ }
+ return false
+}
+
+func (c anyPlatformComparer) Less(p1, p2 specs.Platform) bool {
+ var p1m, p2m bool
+ for _, m := range c.matchers {
+ if !p1m && m.Match(p1) {
+ p1m = true
+ }
+ if !p2m && m.Match(p2) {
+ p2m = true
+ }
+ if p1m && p2m {
+ return false
+ }
+ }
+ // If one matches, and the other does, sort match first
+ return p1m && !p2m
+}
+
+type allPlatformComparer struct{}
+
+func (allPlatformComparer) Match(specs.Platform) bool {
+ return true
+}
+
+func (allPlatformComparer) Less(specs.Platform, specs.Platform) bool {
+ return false
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/cpuinfo.go b/vendor/github.com/containerd/containerd/platforms/cpuinfo.go
new file mode 100644
index 0000000000..69b336d67f
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/cpuinfo.go
@@ -0,0 +1,117 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+import (
+ "bufio"
+ "os"
+ "runtime"
+ "strings"
+
+ "github.com/containerd/containerd/errdefs"
+ "github.com/containerd/containerd/log"
+ "github.com/pkg/errors"
+)
+
+// Present the ARM instruction set architecture, eg: v7, v8
+var cpuVariant string
+
+func init() {
+ if isArmArch(runtime.GOARCH) {
+ cpuVariant = getCPUVariant()
+ } else {
+ cpuVariant = ""
+ }
+}
+
+// For Linux, the kernel has already detected the ABI, ISA and Features.
+// So we don't need to access the ARM registers to detect platform information
+// by ourselves. We can just parse these information from /proc/cpuinfo
+func getCPUInfo(pattern string) (info string, err error) {
+ if !isLinuxOS(runtime.GOOS) {
+ return "", errors.Wrapf(errdefs.ErrNotImplemented, "getCPUInfo for OS %s", runtime.GOOS)
+ }
+
+ cpuinfo, err := os.Open("/proc/cpuinfo")
+ if err != nil {
+ return "", err
+ }
+ defer cpuinfo.Close()
+
+ // Start to Parse the Cpuinfo line by line. For SMP SoC, we parse
+ // the first core is enough.
+ scanner := bufio.NewScanner(cpuinfo)
+ for scanner.Scan() {
+ newline := scanner.Text()
+ list := strings.Split(newline, ":")
+
+ if len(list) > 1 && strings.EqualFold(strings.TrimSpace(list[0]), pattern) {
+ return strings.TrimSpace(list[1]), nil
+ }
+ }
+
+ // Check whether the scanner encountered errors
+ err = scanner.Err()
+ if err != nil {
+ return "", err
+ }
+
+ return "", errors.Wrapf(errdefs.ErrNotFound, "getCPUInfo for pattern: %s", pattern)
+}
+
+func getCPUVariant() string {
+ if runtime.GOOS == "windows" {
+ // Windows only supports v7 for ARM32 and v8 for ARM64 and so we can use
+ // runtime.GOARCH to determine the variants
+ var variant string
+ switch runtime.GOARCH {
+ case "arm64":
+ variant = "v8"
+ case "arm":
+ variant = "v7"
+ default:
+ variant = "unknown"
+ }
+
+ return variant
+ }
+
+ variant, err := getCPUInfo("Cpu architecture")
+ if err != nil {
+ log.L.WithError(err).Error("failure getting variant")
+ return ""
+ }
+
+ switch variant {
+ case "8", "AArch64":
+ variant = "v8"
+ case "7", "7M", "?(12)", "?(13)", "?(14)", "?(15)", "?(16)", "?(17)":
+ variant = "v7"
+ case "6", "6TEJ":
+ variant = "v6"
+ case "5", "5T", "5TE", "5TEJ":
+ variant = "v5"
+ case "4", "4T":
+ variant = "v4"
+ case "3":
+ variant = "v3"
+ default:
+ variant = "unknown"
+ }
+
+ return variant
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/database.go b/vendor/github.com/containerd/containerd/platforms/database.go
new file mode 100644
index 0000000000..6ede94061e
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/database.go
@@ -0,0 +1,114 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+import (
+ "runtime"
+ "strings"
+)
+
+// isLinuxOS returns true if the operating system is Linux.
+//
+// The OS value should be normalized before calling this function.
+func isLinuxOS(os string) bool {
+ return os == "linux"
+}
+
+// These function are generated from https://golang.org/src/go/build/syslist.go.
+//
+// We use switch statements because they are slightly faster than map lookups
+// and use a little less memory.
+
+// isKnownOS returns true if we know about the operating system.
+//
+// The OS value should be normalized before calling this function.
+func isKnownOS(os string) bool {
+ switch os {
+ case "aix", "android", "darwin", "dragonfly", "freebsd", "hurd", "illumos", "js", "linux", "nacl", "netbsd", "openbsd", "plan9", "solaris", "windows", "zos":
+ return true
+ }
+ return false
+}
+
+// isArmArch returns true if the architecture is ARM.
+//
+// The arch value should be normalized before being passed to this function.
+func isArmArch(arch string) bool {
+ switch arch {
+ case "arm", "arm64":
+ return true
+ }
+ return false
+}
+
+// isKnownArch returns true if we know about the architecture.
+//
+// The arch value should be normalized before being passed to this function.
+func isKnownArch(arch string) bool {
+ switch arch {
+ case "386", "amd64", "amd64p32", "arm", "armbe", "arm64", "arm64be", "ppc64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "mips64p32", "mips64p32le", "ppc", "riscv", "riscv64", "s390", "s390x", "sparc", "sparc64", "wasm":
+ return true
+ }
+ return false
+}
+
+func normalizeOS(os string) string {
+ if os == "" {
+ return runtime.GOOS
+ }
+ os = strings.ToLower(os)
+
+ switch os {
+ case "macos":
+ os = "darwin"
+ }
+ return os
+}
+
+// normalizeArch normalizes the architecture.
+func normalizeArch(arch, variant string) (string, string) {
+ arch, variant = strings.ToLower(arch), strings.ToLower(variant)
+ switch arch {
+ case "i386":
+ arch = "386"
+ variant = ""
+ case "x86_64", "x86-64":
+ arch = "amd64"
+ variant = ""
+ case "aarch64", "arm64":
+ arch = "arm64"
+ switch variant {
+ case "8", "v8":
+ variant = ""
+ }
+ case "armhf":
+ arch = "arm"
+ variant = "v7"
+ case "armel":
+ arch = "arm"
+ variant = "v6"
+ case "arm":
+ switch variant {
+ case "", "7":
+ variant = "v7"
+ case "5", "6", "8":
+ variant = "v" + variant
+ }
+ }
+
+ return arch, variant
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/defaults.go b/vendor/github.com/containerd/containerd/platforms/defaults.go
new file mode 100644
index 0000000000..a14d80e58c
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/defaults.go
@@ -0,0 +1,38 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+import (
+ "runtime"
+
+ specs "github.com/opencontainers/image-spec/specs-go/v1"
+)
+
+// DefaultString returns the default string specifier for the platform.
+func DefaultString() string {
+ return Format(DefaultSpec())
+}
+
+// DefaultSpec returns the current platform's default platform specification.
+func DefaultSpec() specs.Platform {
+ return specs.Platform{
+ OS: runtime.GOOS,
+ Architecture: runtime.GOARCH,
+ // The Variant field will be empty if arch != ARM.
+ Variant: cpuVariant,
+ }
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/defaults_unix.go b/vendor/github.com/containerd/containerd/platforms/defaults_unix.go
new file mode 100644
index 0000000000..e8a7d5ffa0
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/defaults_unix.go
@@ -0,0 +1,24 @@
+// +build !windows
+
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+// Default returns the default matcher for the platform.
+func Default() MatchComparer {
+ return Only(DefaultSpec())
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/defaults_windows.go b/vendor/github.com/containerd/containerd/platforms/defaults_windows.go
new file mode 100644
index 0000000000..0defbd36c0
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/defaults_windows.go
@@ -0,0 +1,31 @@
+// +build windows
+
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+package platforms
+
+import (
+ specs "github.com/opencontainers/image-spec/specs-go/v1"
+)
+
+// Default returns the default matcher for the platform.
+func Default() MatchComparer {
+ return Ordered(DefaultSpec(), specs.Platform{
+ OS: "linux",
+ Architecture: "amd64",
+ })
+}
diff --git a/vendor/github.com/containerd/containerd/platforms/platforms.go b/vendor/github.com/containerd/containerd/platforms/platforms.go
new file mode 100644
index 0000000000..77d3f184ec
--- /dev/null
+++ b/vendor/github.com/containerd/containerd/platforms/platforms.go
@@ -0,0 +1,278 @@
+/*
+ Copyright The containerd Authors.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+// Package platforms provides a toolkit for normalizing, matching and
+// specifying container platforms.
+//
+// Centered around OCI platform specifications, we define a string-based
+// specifier syntax that can be used for user input. With a specifier, users
+// only need to specify the parts of the platform that are relevant to their
+// context, providing an operating system or architecture or both.
+//
+// How do I use this package?
+//
+// The vast majority of use cases should simply use the match function with
+// user input. The first step is to parse a specifier into a matcher:
+//
+// m, err := Parse("linux")
+// if err != nil { ... }
+//
+// Once you have a matcher, use it to match against the platform declared by a
+// component, typically from an image or runtime. Since extracting an images
+// platform is a little more involved, we'll use an example against the
+// platform default:
+//
+// if ok := m.Match(Default()); !ok { /* doesn't match */ }
+//
+// This can be composed in loops for resolving runtimes or used as a filter for
+// fetch and select images.
+//
+// More details of the specifier syntax and platform spec follow.
+//
+// Declaring Platform Support
+//
+// Components that have strict platform requirements should use the OCI
+// platform specification to declare their support. Typically, this will be
+// images and runtimes that should make these declaring which platform they
+// support specifically. This looks roughly as follows:
+//
+// type Platform struct {
+// Architecture string
+// OS string
+// Variant string
+// }
+//
+// Most images and runtimes should at least set Architecture and OS, according
+// to their GOARCH and GOOS values, respectively (follow the OCI image
+// specification when in doubt). ARM should set variant under certain
+// discussions, which are outlined below.
+//
+// Platform Specifiers
+//
+// While the OCI platform specifications provide a tool for components to
+// specify structured information, user input typically doesn't need the full
+// context and much can be inferred. To solve this problem, we introduced
+// "specifiers". A specifier has the format
+// `||/[/]`. The user can provide either the
+// operating system or the architecture or both.
+//
+// An example of a common specifier is `linux/amd64`. If the host has a default
+// of runtime that matches this, the user can simply provide the component that
+// matters. For example, if a image provides amd64 and arm64 support, the
+// operating system, `linux` can be inferred, so they only have to provide
+// `arm64` or `amd64`. Similar behavior is implemented for operating systems,
+// where the architecture may be known but a runtime may support images from
+// different operating systems.
+//
+// Normalization
+//
+// Because not all users are familiar with the way the Go runtime represents
+// platforms, several normalizations have been provided to make this package
+// easier to user.
+//
+// The following are performed for architectures:
+//
+// Value Normalized
+// aarch64 arm64
+// armhf arm
+// armel arm/v6
+// i386 386
+// x86_64 amd64
+// x86-64 amd64
+//
+// We also normalize the operating system `macos` to `darwin`.
+//
+// ARM Support
+//
+// To qualify ARM architecture, the Variant field is used to qualify the arm
+// version. The most common arm version, v7, is represented without the variant
+// unless it is explicitly provided. This is treated as equivalent to armhf. A
+// previous architecture, armel, will be normalized to arm/v6.
+//
+// While these normalizations are provided, their support on arm platforms has
+// not yet been fully implemented and tested.
+package platforms
+
+import (
+ "regexp"
+ "runtime"
+ "strconv"
+ "strings"
+
+ "github.com/containerd/containerd/errdefs"
+ specs "github.com/opencontainers/image-spec/specs-go/v1"
+ "github.com/pkg/errors"
+)
+
+var (
+ specifierRe = regexp.MustCompile(`^[A-Za-z0-9_-]+$`)
+)
+
+// Matcher matches platforms specifications, provided by an image or runtime.
+type Matcher interface {
+ Match(platform specs.Platform) bool
+}
+
+// NewMatcher returns a simple matcher based on the provided platform
+// specification. The returned matcher only looks for equality based on os,
+// architecture and variant.
+//
+// One may implement their own matcher if this doesn't provide the required
+// functionality.
+//
+// Applications should opt to use `Match` over directly parsing specifiers.
+func NewMatcher(platform specs.Platform) Matcher {
+ return &matcher{
+ Platform: Normalize(platform),
+ }
+}
+
+type matcher struct {
+ specs.Platform
+}
+
+func (m *matcher) Match(platform specs.Platform) bool {
+ normalized := Normalize(platform)
+ return m.OS == normalized.OS &&
+ m.Architecture == normalized.Architecture &&
+ m.Variant == normalized.Variant
+}
+
+func (m *matcher) String() string {
+ return Format(m.Platform)
+}
+
+// Parse parses the platform specifier syntax into a platform declaration.
+//
+// Platform specifiers are in the format `||/[/]`.
+// The minimum required information for a platform specifier is the operating
+// system or architecture. If there is only a single string (no slashes), the
+// value will be matched against the known set of operating systems, then fall
+// back to the known set of architectures. The missing component will be
+// inferred based on the local environment.
+func Parse(specifier string) (specs.Platform, error) {
+ if strings.Contains(specifier, "*") {
+ // TODO(stevvooe): need to work out exact wildcard handling
+ return specs.Platform{}, errors.Wrapf(errdefs.ErrInvalidArgument, "%q: wildcards not yet supported", specifier)
+ }
+
+ parts := strings.Split(specifier, "/")
+
+ for _, part := range parts {
+ if !specifierRe.MatchString(part) {
+ return specs.Platform{}, errors.Wrapf(errdefs.ErrInvalidArgument, "%q is an invalid component of %q: platform specifier component must match %q", part, specifier, specifierRe.String())
+ }
+ }
+
+ var p specs.Platform
+ switch len(parts) {
+ case 1:
+ // in this case, we will test that the value might be an OS, then look
+ // it up. If it is not known, we'll treat it as an architecture. Since
+ // we have very little information about the platform here, we are
+ // going to be a little more strict if we don't know about the argument
+ // value.
+ p.OS = normalizeOS(parts[0])
+ if isKnownOS(p.OS) {
+ // picks a default architecture
+ p.Architecture = runtime.GOARCH
+ if p.Architecture == "arm" && cpuVariant != "v7" {
+ p.Variant = cpuVariant
+ }
+
+ return p, nil
+ }
+
+ p.Architecture, p.Variant = normalizeArch(parts[0], "")
+ if p.Architecture == "arm" && p.Variant == "v7" {
+ p.Variant = ""
+ }
+ if isKnownArch(p.Architecture) {
+ p.OS = runtime.GOOS
+ return p, nil
+ }
+
+ return specs.Platform{}, errors.Wrapf(errdefs.ErrInvalidArgument, "%q: unknown operating system or architecture", specifier)
+ case 2:
+ // In this case, we treat as a regular os/arch pair. We don't care
+ // about whether or not we know of the platform.
+ p.OS = normalizeOS(parts[0])
+ p.Architecture, p.Variant = normalizeArch(parts[1], "")
+ if p.Architecture == "arm" && p.Variant == "v7" {
+ p.Variant = ""
+ }
+
+ return p, nil
+ case 3:
+ // we have a fully specified variant, this is rare
+ p.OS = normalizeOS(parts[0])
+ p.Architecture, p.Variant = normalizeArch(parts[1], parts[2])
+ if p.Architecture == "arm64" && p.Variant == "" {
+ p.Variant = "v8"
+ }
+
+ return p, nil
+ }
+
+ return specs.Platform{}, errors.Wrapf(errdefs.ErrInvalidArgument, "%q: cannot parse platform specifier", specifier)
+}
+
+// MustParse is like Parses but panics if the specifier cannot be parsed.
+// Simplifies initialization of global variables.
+func MustParse(specifier string) specs.Platform {
+ p, err := Parse(specifier)
+ if err != nil {
+ panic("platform: Parse(" + strconv.Quote(specifier) + "): " + err.Error())
+ }
+ return p
+}
+
+// Format returns a string specifier from the provided platform specification.
+func Format(platform specs.Platform) string {
+ if platform.OS == "" {
+ return "unknown"
+ }
+
+ return joinNotEmpty(platform.OS, platform.Architecture, platform.Variant)
+}
+
+func joinNotEmpty(s ...string) string {
+ var ss []string
+ for _, s := range s {
+ if s == "" {
+ continue
+ }
+
+ ss = append(ss, s)
+ }
+
+ return strings.Join(ss, "/")
+}
+
+// Normalize validates and translate the platform to the canonical value.
+//
+// For example, if "Aarch64" is encountered, we change it to "arm64" or if
+// "x86_64" is encountered, it becomes "amd64".
+func Normalize(platform specs.Platform) specs.Platform {
+ platform.OS = normalizeOS(platform.OS)
+ platform.Architecture, platform.Variant = normalizeArch(platform.Architecture, platform.Variant)
+
+ // these fields are deprecated, remove them
+ platform.OSFeatures = nil
+ platform.OSVersion = ""
+
+ return platform
+}
diff --git a/vendor/github.com/digitalocean/godo/CHANGELOG.md b/vendor/github.com/digitalocean/godo/CHANGELOG.md
index 24fdacbf9e..f4b6f71619 100644
--- a/vendor/github.com/digitalocean/godo/CHANGELOG.md
+++ b/vendor/github.com/digitalocean/godo/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change Log
+## [v1.54.0] - 2020-11-24
+
+- #417 - @waynr - registry: add support for garbage collection types
+
+## [v1.53.0] - 2020-11-20
+
+- #414 - @varshavaradarajan - kubernetes: add clusterlint support
+- #413 - @andrewsomething - images: Support updating distribution and description.
+
## [v1.52.0] - 2020-11-05
- #411 - @nicktate - apps: add unspecified type to image source registry types
diff --git a/vendor/github.com/digitalocean/godo/godo.go b/vendor/github.com/digitalocean/godo/godo.go
index 47bb339b1b..67b670117f 100644
--- a/vendor/github.com/digitalocean/godo/godo.go
+++ b/vendor/github.com/digitalocean/godo/godo.go
@@ -19,7 +19,7 @@ import (
)
const (
- libraryVersion = "1.52.0"
+ libraryVersion = "1.54.0"
defaultBaseURL = "https://api.digitalocean.com/"
userAgent = "godo/" + libraryVersion
mediaType = "application/json"
diff --git a/vendor/github.com/digitalocean/godo/images.go b/vendor/github.com/digitalocean/godo/images.go
index 30882531ac..cf57a3d520 100644
--- a/vendor/github.com/digitalocean/godo/images.go
+++ b/vendor/github.com/digitalocean/godo/images.go
@@ -52,7 +52,9 @@ type Image struct {
// ImageUpdateRequest represents a request to update an image.
type ImageUpdateRequest struct {
- Name string `json:"name"`
+ Name string `json:"name,omitempty"`
+ Distribution string `json:"distribution,omitempty"`
+ Description string `json:"description,omitempty"`
}
// CustomImageCreateRequest represents a request to create a custom image.
diff --git a/vendor/github.com/digitalocean/godo/kubernetes.go b/vendor/github.com/digitalocean/godo/kubernetes.go
index 12de4e04b4..93b4025674 100644
--- a/vendor/github.com/digitalocean/godo/kubernetes.go
+++ b/vendor/github.com/digitalocean/godo/kubernetes.go
@@ -48,6 +48,9 @@ type KubernetesService interface {
GetOptions(context.Context) (*KubernetesOptions, *Response, error)
AddRegistry(ctx context.Context, req *KubernetesClusterRegistryRequest) (*Response, error)
RemoveRegistry(ctx context.Context, req *KubernetesClusterRegistryRequest) (*Response, error)
+
+ RunClusterlint(ctx context.Context, clusterID string, req *KubernetesRunClusterlintRequest) (string, *Response, error)
+ GetClusterlintResults(ctx context.Context, clusterID string, req *KubernetesGetClusterlintRequest) ([]*ClusterlintDiagnostic, *Response, error)
}
var _ KubernetesService = &KubernetesServiceOp{}
@@ -153,6 +156,17 @@ type KubernetesClusterRegistryRequest struct {
ClusterUUIDs []string `json:"cluster_uuids,omitempty"`
}
+type KubernetesRunClusterlintRequest struct {
+ IncludeGroups []string `json:"include_groups"`
+ ExcludeGroups []string `json:"exclude_groups"`
+ IncludeChecks []string `json:"include_checks"`
+ ExcludeChecks []string `json:"exclude_checks"`
+}
+
+type KubernetesGetClusterlintRequest struct {
+ RunId string `json:"run_id"`
+}
+
// KubernetesCluster represents a Kubernetes cluster.
type KubernetesCluster struct {
ID string `json:"id,omitempty"`
@@ -409,6 +423,28 @@ type KubernetesRegion struct {
Slug string `json:"slug"`
}
+// ClusterlintDiagnostic is a diagnostic returned from clusterlint.
+type ClusterlintDiagnostic struct {
+ CheckName string `json:"check_name"`
+ Severity string `json:"severity"`
+ Message string `json:"message"`
+ Object *ClusterlintObject `json:"object"`
+}
+
+// ClusterlintObject is the object a clusterlint diagnostic refers to.
+type ClusterlintObject struct {
+ Kind string `json:"kind"`
+ Name string `json:"name"`
+ Namespace string `json:"namespace"`
+ Owners []*ClusterlintOwner `json:"owners,omitempty"`
+}
+
+// ClusterlintOwner indicates the resource that owns the offending object.
+type ClusterlintOwner struct {
+ Kind string `json:"kind"`
+ Name string `json:"name"`
+}
+
type kubernetesClustersRoot struct {
Clusters []*KubernetesCluster `json:"kubernetes_clusters,omitempty"`
Links *Links `json:"links,omitempty"`
@@ -799,3 +835,51 @@ func (svc *KubernetesServiceOp) RemoveRegistry(ctx context.Context, req *Kuberne
}
return resp, nil
}
+
+type runClusterlintRoot struct {
+ RunID string `json:"run_id"`
+}
+
+// RunClusterlint schedules a clusterlint run for the specified cluster
+func (svc *KubernetesServiceOp) RunClusterlint(ctx context.Context, clusterID string, req *KubernetesRunClusterlintRequest) (string, *Response, error) {
+ path := fmt.Sprintf("%s/%s/clusterlint", kubernetesClustersPath, clusterID)
+ request, err := svc.client.NewRequest(ctx, http.MethodPost, path, req)
+ if err != nil {
+ return "", nil, err
+ }
+ root := new(runClusterlintRoot)
+ resp, err := svc.client.Do(ctx, request, root)
+ if err != nil {
+ return "", resp, err
+ }
+ return root.RunID, resp, nil
+}
+
+type clusterlintDiagnosticsRoot struct {
+ Diagnostics []*ClusterlintDiagnostic
+}
+
+// GetClusterlintResults fetches the diagnostics after clusterlint run completes
+func (svc *KubernetesServiceOp) GetClusterlintResults(ctx context.Context, clusterID string, req *KubernetesGetClusterlintRequest) ([]*ClusterlintDiagnostic, *Response, error) {
+ path := fmt.Sprintf("%s/%s/clusterlint", kubernetesClustersPath, clusterID)
+ if req != nil {
+ v := make(url.Values)
+ if req.RunId != "" {
+ v.Set("run_id", req.RunId)
+ }
+ if query := v.Encode(); query != "" {
+ path = path + "?" + query
+ }
+ }
+
+ request, err := svc.client.NewRequest(ctx, http.MethodGet, path, nil)
+ if err != nil {
+ return nil, nil, err
+ }
+ root := new(clusterlintDiagnosticsRoot)
+ resp, err := svc.client.Do(ctx, request, root)
+ if err != nil {
+ return nil, resp, err
+ }
+ return root.Diagnostics, resp, nil
+}
diff --git a/vendor/github.com/digitalocean/godo/registry.go b/vendor/github.com/digitalocean/godo/registry.go
index 51c9eb7057..edcfe4f835 100644
--- a/vendor/github.com/digitalocean/godo/registry.go
+++ b/vendor/github.com/digitalocean/godo/registry.go
@@ -28,7 +28,7 @@ type RegistryService interface {
ListRepositoryTags(context.Context, string, string, *ListOptions) ([]*RepositoryTag, *Response, error)
DeleteTag(context.Context, string, string, string) (*Response, error)
DeleteManifest(context.Context, string, string, string) (*Response, error)
- StartGarbageCollection(context.Context, string) (*GarbageCollection, *Response, error)
+ StartGarbageCollection(context.Context, string, ...*StartGarbageCollectionRequest) (*GarbageCollection, *Response, error)
GetGarbageCollection(context.Context, string) (*GarbageCollection, *Response, error)
ListGarbageCollections(context.Context, string, *ListOptions) ([]*GarbageCollection, *Response, error)
UpdateGarbageCollection(context.Context, string, string, *UpdateGarbageCollectionRequest) (*GarbageCollection, *Response, error)
@@ -100,13 +100,14 @@ type repositoryTagsRoot struct {
// GarbageCollection represents a garbage collection.
type GarbageCollection struct {
- UUID string `json:"uuid"`
- RegistryName string `json:"registry_name"`
- Status string `json:"status"`
- CreatedAt time.Time `json:"created_at"`
- UpdatedAt time.Time `json:"updated_at"`
- BlobsDeleted uint64 `json:"blobs_deleted"`
- FreedBytes uint64 `json:"freed_bytes"`
+ UUID string `json:"uuid"`
+ RegistryName string `json:"registry_name"`
+ Status string `json:"status"`
+ Type GarbageCollectionType `json:"type"`
+ CreatedAt time.Time `json:"created_at"`
+ UpdatedAt time.Time `json:"updated_at"`
+ BlobsDeleted uint64 `json:"blobs_deleted"`
+ FreedBytes uint64 `json:"freed_bytes"`
}
type garbageCollectionRoot struct {
@@ -119,6 +120,26 @@ type garbageCollectionsRoot struct {
Meta *Meta `json:"meta"`
}
+type GarbageCollectionType string
+
+const (
+ // GCTypeUntaggedManifestsOnly indicates that a garbage collection should
+ // only delete untagged manifests.
+ GCTypeUntaggedManifestsOnly = GarbageCollectionType("untagged manifests only")
+ // GCTypeUnreferencedBlobsOnly indicates that a garbage collection should
+ // only delete unreferenced blobs.
+ GCTypeUnreferencedBlobsOnly = GarbageCollectionType("unreferenced blobs only")
+ // GCTypeUntaggedManifestsAndUnreferencedBlobs indicates that a garbage
+ // collection should delete both untagged manifests and unreferenced blobs.
+ GCTypeUntaggedManifestsAndUnreferencedBlobs = GarbageCollectionType("untagged manifests and unreferenced blobs")
+)
+
+// StartGarbageCollectionRequest represents options to a garbage collection
+// start request.
+type StartGarbageCollectionRequest struct {
+ Type GarbageCollectionType `json:"type"`
+}
+
// UpdateGarbageCollectionRequest represents a request to update a garbage
// collection.
type UpdateGarbageCollectionRequest struct {
@@ -330,9 +351,19 @@ func (svc *RegistryServiceOp) DeleteManifest(ctx context.Context, registry, repo
// StartGarbageCollection requests a garbage collection for the specified
// registry.
-func (svc *RegistryServiceOp) StartGarbageCollection(ctx context.Context, registry string) (*GarbageCollection, *Response, error) {
+func (svc *RegistryServiceOp) StartGarbageCollection(ctx context.Context, registry string, request ...*StartGarbageCollectionRequest) (*GarbageCollection, *Response, error) {
path := fmt.Sprintf("%s/%s/garbage-collection", registryPath, registry)
- req, err := svc.client.NewRequest(ctx, http.MethodPost, path, nil)
+ var requestParams interface{}
+ if len(request) < 1 {
+ // default to only garbage collecting unreferenced blobs for backwards
+ // compatibility
+ requestParams = &StartGarbageCollectionRequest{
+ Type: GCTypeUnreferencedBlobsOnly,
+ }
+ } else {
+ requestParams = request[0]
+ }
+ req, err := svc.client.NewRequest(ctx, http.MethodPost, path, requestParams)
if err != nil {
return nil, nil, err
}
diff --git a/vendor/github.com/docker/docker/AUTHORS b/vendor/github.com/docker/docker/AUTHORS
index c5f725bc19..dffacff112 100644
--- a/vendor/github.com/docker/docker/AUTHORS
+++ b/vendor/github.com/docker/docker/AUTHORS
@@ -4,6 +4,7 @@
Aanand Prasad
Aaron Davidson
Aaron Feng
+Aaron Hnatiw
Aaron Huslage
Aaron L. Xu
Aaron Lehmann
@@ -17,6 +18,7 @@ Abhishek Chanda
Abhishek Sharma
Abin Shahab
Adam Avilla
+Adam Dobrawy
Adam Eijdenberg
Adam Kunk
Adam Miller
@@ -43,6 +45,7 @@ AJ Bowen
Ajey Charantimath
ajneu
Akash Gupta
+Akhil Mohan
Akihiro Matsushima
Akihiro Suda
Akim Demaille
@@ -50,10 +53,12 @@ Akira Koyasu
Akshay Karle
Al Tobey
alambike
+Alan Hoyle
Alan Scherger
Alan Thompson
Albert Callarisa
Albert Zhang
+Albin Kerouanton
Alejandro González Hevia
Aleksa Sarai
Aleksandrs Fadins
@@ -107,11 +112,13 @@ Amy Lindburg
Anand Patil
AnandkumarPatel
Anatoly Borodin
+Anca Iordache
Anchal Agrawal
Anda Xu
Anders Janmyr
Andre Dublin <81dublin@gmail.com>
Andre Granovsky
+Andrea Denisse Gómez
Andrea Luzzardi
Andrea Turli
Andreas Elvers
@@ -176,8 +183,10 @@ Anusha Ragunathan
apocas
Arash Deshmeh
ArikaChen
+Arko Dasgupta
Arnaud Lefebvre
Arnaud Porterie
+Arnaud Rebillout
Arthur Barr
Arthur Gautier
Artur Meyster
@@ -210,10 +219,12 @@ Benjamin Atkin
Benjamin Baker
Benjamin Boudreau
Benjamin Yolken
+Benny Ng
Benoit Chesneau
Bernerd Schaefer
Bernhard M. Wiedemann
Bert Goethals
+Bertrand Roussel
Bevisy Zhang
Bharath Thiruveedula
Bhiraj Butala
@@ -226,6 +237,7 @@ Bingshen Wang
Blake Geno
Boaz Shuster
bobby abbott
+Boqin Qin
Boris Pruessmann
Boshi Lian
Bouke Haarsma
@@ -279,6 +291,7 @@ Carl Loa Odin
Carl X. Su
Carlo Mion
Carlos Alexandro Becker
+Carlos de Paula
Carlos Sanchez
Carol Fager-Higgins
Cary
@@ -328,6 +341,7 @@ Chris Gibson
Chris Khoo
Chris McKinnel
Chris McKinnel
+Chris Price
Chris Seto
Chris Snow
Chris St. Pierre
@@ -354,7 +368,7 @@ Christopher Currie
Christopher Jones
Christopher Latham
Christopher Rigor
-Christy Perez
+Christy Norman
Chun Chen
Ciro S. Costa
Clayton Coleman
@@ -374,8 +388,10 @@ Corey Farrell
Cory Forsyth
cressie176
CrimsonGlory
+Cristian Ariza
Cristian Staretu
cristiano balducci
+Cristina Yenyxe Gonzalez Garcia
Cruceru Calin-Cristian
CUI Wei
Cyprian Gracz
@@ -402,12 +418,14 @@ Dan Williams
Dani Hodovic
Dani Louca
Daniel Antlinger
+Daniel Black
Daniel Dao
Daniel Exner
Daniel Farrell
Daniel Garcia
Daniel Gasienica
Daniel Grunwell
+Daniel Helfand
Daniel Hiltgen
Daniel J Walsh
Daniel Menet
@@ -417,12 +435,14 @@ Daniel Norberg
Daniel Nordberg
Daniel Robinson
Daniel S
+Daniel Sweet
Daniel Von Fange
Daniel Watkins
Daniel X Moore
Daniel YC Lin
Daniel Zhang
Danny Berger
+Danny Milosavljevic
Danny Yates
Danyal Khaliq
Darren Coxall
@@ -487,6 +507,7 @@ Derek McGowan
Deric Crago
Deshi Xiao
devmeyster
+Devon Estes
Devvyn Murphy
Dharmit Shah
Dhawal Yogesh Bhanushali
@@ -516,6 +537,8 @@ Dmitry Smirnov
Dmitry V. Krivenok
Dmitry Vorobev
Dolph Mathews
+Dominic Tubach
+Dominic Yin
Dominik Dingel
Dominik Finkbeiner
Dominik Honnef
@@ -534,7 +557,7 @@ Douglas Curtis
Dr Nic Williams
dragon788
Dražen Lučanin
-Drew Erny
+Drew Erny
Drew Hubl
Dustin Sallings
Ed Costello
@@ -584,6 +607,7 @@ Erik Weathers
Erno Hopearuoho
Erwin van der Koogh
Ethan Bell
+Ethan Mosbaugh
Euan Kemp
Eugen Krizo
Eugene Yakubovich
@@ -595,6 +619,7 @@ Evan Phoenix
Evan Wies
Evelyn Xu
Everett Toews
+Evgeniy Makhrov
Evgeny Shmarnev
Evgeny Vereshchagin
Ewa Czechowska
@@ -620,6 +645,7 @@ Fareed Dudhia
Fathi Boudra
Federico Gimenez
Felipe Oliveira
+Felipe Ruhland
Felix Abecassis
Felix Geisendörfer
Felix Hupfeld
@@ -640,6 +666,7 @@ Florian
Florian Klein
Florian Maier
Florian Noeding
+Florian Schmaus
Florian Weingarten
Florin Asavoaie
Florin Patan
@@ -654,6 +681,7 @@ Frank Groeneveld
Frank Herrmann
Frank Macreery
Frank Rosquin
+frankyang
Fred Lifton
Frederick F. Kautz IV
Frederik Loeffert
@@ -675,7 +703,7 @@ Gareth Rushgrove
Garrett Barboza
Gary Schaetz
Gaurav
-gautam, prasanna
+Gaurav Singh
Gaël PORTAY
Genki Takiuchi
GennadySpb
@@ -701,11 +729,12 @@ Gleb M Borisov
Glyn Normington
GoBella
Goffert van Gool
+Goldwyn Rodrigues
Gopikannan Venugopalsamy
Gosuke Miyashita
Gou Rao
Govinda Fichtner
-Grant Millar
+Grant Millar
Grant Reaber
Graydon Hoare
Greg Fausak
@@ -724,14 +753,17 @@ Guruprasad
Gustav Sinder
gwx296173
Günter Zöchbauer
+Haichao Yang
haikuoliu
Hakan Özler