From f7cb9cf87fc9222fc96849fbd2473458becfc57f Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 14 May 2021 13:50:38 +0000 Subject: [PATCH] chore: only get vmset when it's needed --- go.mod | 4 +- go.sum | 8 +- .../mgmt/2020-12-01/compute/CHANGELOG.md | 148 +--- .../mgmt/2020-12-01/compute/_meta.json | 11 + .../compute/mgmt/2020-12-01/compute/models.go | 100 +++ .../2020-04-01/containerservice/CHANGELOG.md | 20 +- .../2020-04-01/containerservice/_meta.json | 11 + .../2020-04-01/containerservice/models.go | 13 + .../mgmt/2019-06-01/network/CHANGELOG.md | 186 +---- .../mgmt/2019-06-01/network/_meta.json | 11 + .../network/mgmt/2019-06-01/network/models.go | 179 +++++ .../mgmt/2020-08-01/network/CHANGELOG.md | 227 +----- .../mgmt/2020-08-01/network/_meta.json | 11 + .../network/mgmt/2020-08-01/network/models.go | 220 ++++++ .../mgmt/2017-05-10/resources/CHANGELOG.md | 18 +- .../mgmt/2017-05-10/resources/_meta.json | 11 + .../mgmt/2017-05-10/resources/models.go | 11 + .../mgmt/2018-05-01/resources/CHANGELOG.md | 20 +- .../mgmt/2018-05-01/resources/_meta.json | 11 + .../mgmt/2018-05-01/resources/models.go | 13 + .../mgmt/2019-06-01/storage/CHANGELOG.md | 10 - .../mgmt/2021-02-01/storage/CHANGELOG.md | 201 +++++ .../mgmt/2021-02-01/storage/_meta.json | 11 + .../storage/accounts.go | 92 ++- .../storage/blobcontainers.go | 26 +- .../storage/blobinventorypolicies.go | 411 ++++++++++ .../storage/blobservices.go | 14 +- .../storage/client.go | 2 +- .../2021-02-01/storage/deletedaccounts.go | 236 ++++++ .../storage/encryptionscopes.go | 8 +- .../storage/enums.go | 493 +++++++----- .../storage/fileservices.go | 6 +- .../storage/fileshares.go | 44 +- .../storage/managementpolicies.go | 6 +- .../storage/models.go | 720 ++++++++++++++++-- .../storage/objectreplicationpolicies.go | 8 +- .../storage/operations.go | 2 +- .../storage/privateendpointconnections.go | 8 +- .../storage/privatelinkresources.go | 2 +- .../storage/queue.go | 10 +- .../storage/queueservices.go | 6 +- .../storage/skus.go | 2 +- .../storage/table.go | 10 +- .../storage/tableservices.go | 6 +- .../storage/usages.go | 2 +- .../storage/version.go | 2 +- .../Azure/azure-sdk-for-go/storage/client.go | 8 +- .../Azure/azure-sdk-for-go/version/version.go | 20 +- vendor/modules.txt | 8 +- .../fileclient/azure_fileclient.go | 12 +- .../pkg/azureclients/fileclient/interface.go | 2 +- .../azure_storageaccountclient.go | 2 +- .../storageaccountclient/interface.go | 2 +- .../cloud-provider-azure/pkg/consts/consts.go | 11 +- .../pkg/provider/azure_blobDiskController.go | 6 +- .../pkg/provider/azure_controller_common.go | 23 +- .../pkg/provider/azure_file.go | 2 +- .../pkg/provider/azure_loadbalancer.go | 3 - .../pkg/provider/azure_storage.go | 4 +- .../pkg/provider/azure_storageaccount.go | 18 +- .../pkg/provider/azure_vmss.go | 4 - 61 files changed, 2653 insertions(+), 1043 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/_meta.json create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/_meta.json create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/_meta.json create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/_meta.json create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/_meta.json create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/_meta.json delete mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/CHANGELOG.md create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/_meta.json rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/accounts.go (95%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/blobcontainers.go (99%) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobinventorypolicies.go rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/blobservices.go (94%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/client.go (98%) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/deletedaccounts.go rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/encryptionscopes.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/enums.go (59%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/fileservices.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/fileshares.go (96%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/managementpolicies.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/models.go (83%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/objectreplicationpolicies.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/operations.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/privateendpointconnections.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/privatelinkresources.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/queue.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/queueservices.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/skus.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/table.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/tableservices.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/usages.go (99%) rename vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/{2019-06-01 => 2021-02-01}/storage/version.go (90%) diff --git a/go.mod b/go.mod index 4c6dd4c1c6..54e8ec053a 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module sigs.k8s.io/azuredisk-csi-driver go 1.16 require ( - github.com/Azure/azure-sdk-for-go v53.1.0+incompatible + github.com/Azure/azure-sdk-for-go v54.1.0+incompatible github.com/Azure/go-autorest/autorest v0.11.17 github.com/Azure/go-autorest/autorest/adal v0.9.10 github.com/Azure/go-autorest/autorest/date v0.3.0 @@ -68,5 +68,5 @@ replace ( k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.21.0 k8s.io/sample-controller => k8s.io/sample-controller v0.21.0 - sigs.k8s.io/cloud-provider-azure => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210513111225-15b9d069044d + sigs.k8s.io/cloud-provider-azure => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210514132804-2fe4926f176d ) diff --git a/go.sum b/go.sum index 3ffc149b35..ec60e58986 100644 --- a/go.sum +++ b/go.sum @@ -26,8 +26,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v43.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v53.1.0+incompatible h1:f2h0KLVGa3zIaMDMHBe5Lazc0FT5+L78z0B8K9PmDyg= -github.com/Azure/azure-sdk-for-go v53.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v54.1.0+incompatible h1:vCRLxG2d7KIdhVodEk+0ki4lVYr0GvtjOgJaAk6fs9Y= +github.com/Azure/azure-sdk-for-go v54.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= 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= @@ -1201,8 +1201,8 @@ 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/apiserver-network-proxy/konnectivity-client v0.0.15 h1:4uqm9Mv+w2MmBYD+F4qf/v6tDFUdPOk29C095RbU5mY= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210513111225-15b9d069044d h1:S96oorNgpb4Iqq5/2Y//cjzjdLm6ArL5mZJg2CEgBls= -sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210513111225-15b9d069044d/go.mod h1:wt7ijmWLw2zKIqr2Ncjtgjc/b0uWOqrS5BeXy5AAsio= +sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210514132804-2fe4926f176d h1:htzCVIGPbZKoQiyGIVqdvot7EunB7qnSodTMp1Dg0Ws= +sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210514132804-2fe4926f176d/go.mod h1:tVaahhbgqUi1GEIG9uKjAt/MgiLZCfqw9erMIvMK4dA= sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5QeXV4WCbnt/PEpU= sigs.k8s.io/kustomize/api v0.8.5/go.mod h1:M377apnKT5ZHJS++6H4rQoCHmWtt6qTpp3mbe7p6OLY= sigs.k8s.io/kustomize/cmd/config v0.9.7/go.mod h1:MvXCpHs77cfyxRmCNUQjIqCmZyYsbn5PyQpWiq44nW0= diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/CHANGELOG.md index 0923113707..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/CHANGELOG.md @@ -1,148 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/e0f8b9ab0f5fe5e71b7429ebfea8a33c19ec9d8d/specification/compute/resource-manager/readme.md tag: `package-2020-12-01` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -## Breaking Changes - -## Signature Changes - -### Const Types - -1. TrustedLaunch changed type from SecurityTypes to DiskSecurityTypes - -### New Constants - -1. DiskStorageAccountTypes.PremiumZRS -1. DiskStorageAccountTypes.StandardSSDZRS -1. SecurityTypes.SecurityTypesTrustedLaunch -1. StorageAccountTypes.StorageAccountTypesPremiumZRS -1. StorageAccountTypes.StorageAccountTypesStandardSSDZRS - -### New Funcs - -1. *DedicatedHostsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DedicatedHostsDeleteFuture.UnmarshalJSON([]byte) error -1. *DedicatedHostsUpdateFuture.UnmarshalJSON([]byte) error -1. *DiskAccessesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DiskAccessesDeleteAPrivateEndpointConnectionFuture.UnmarshalJSON([]byte) error -1. *DiskAccessesDeleteFuture.UnmarshalJSON([]byte) error -1. *DiskAccessesUpdateAPrivateEndpointConnectionFuture.UnmarshalJSON([]byte) error -1. *DiskAccessesUpdateFuture.UnmarshalJSON([]byte) error -1. *DiskEncryptionSetsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DiskEncryptionSetsDeleteFuture.UnmarshalJSON([]byte) error -1. *DiskEncryptionSetsUpdateFuture.UnmarshalJSON([]byte) error -1. *DisksCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DisksDeleteFuture.UnmarshalJSON([]byte) error -1. *DisksGrantAccessFuture.UnmarshalJSON([]byte) error -1. *DisksRevokeAccessFuture.UnmarshalJSON([]byte) error -1. *DisksUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleriesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleriesDeleteFuture.UnmarshalJSON([]byte) error -1. *GalleriesUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationVersionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationVersionsDeleteFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationVersionsUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationsDeleteFuture.UnmarshalJSON([]byte) error -1. *GalleryApplicationsUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryImageVersionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryImageVersionsDeleteFuture.UnmarshalJSON([]byte) error -1. *GalleryImageVersionsUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryImagesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *GalleryImagesDeleteFuture.UnmarshalJSON([]byte) error -1. *GalleryImagesUpdateFuture.UnmarshalJSON([]byte) error -1. *ImagesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ImagesDeleteFuture.UnmarshalJSON([]byte) error -1. *ImagesUpdateFuture.UnmarshalJSON([]byte) error -1. *LogAnalyticsExportRequestRateByIntervalFuture.UnmarshalJSON([]byte) error -1. *LogAnalyticsExportThrottledRequestsFuture.UnmarshalJSON([]byte) error -1. *SnapshotsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SnapshotsDeleteFuture.UnmarshalJSON([]byte) error -1. *SnapshotsGrantAccessFuture.UnmarshalJSON([]byte) error -1. *SnapshotsRevokeAccessFuture.UnmarshalJSON([]byte) error -1. *SnapshotsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineExtensionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineExtensionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineExtensionsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineRunCommandsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineRunCommandsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineRunCommandsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetExtensionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetExtensionsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetRollingUpgradesCancelFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMExtensionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMExtensionsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMRunCommandsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMRunCommandsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsDeallocateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsPerformMaintenanceFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsPowerOffFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsRedeployFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsReimageAllFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsReimageFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsRestartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsRunCommandFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsStartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetVMsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsDeallocateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsDeleteInstancesFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsPerformMaintenanceFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsPowerOffFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsRedeployFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsReimageAllFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsReimageFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsRestartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsSetOrchestrationServiceStateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsStartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachineScaleSetsUpdateInstancesFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesAssessPatchesFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesCaptureFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesConvertToManagedDisksFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesDeallocateFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesInstallPatchesFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesPerformMaintenanceFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesPowerOffFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesReapplyFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesRedeployFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesReimageFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesRestartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesRunCommandFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesStartFuture.UnmarshalJSON([]byte) error -1. *VirtualMachinesUpdateFuture.UnmarshalJSON([]byte) error -1. DiskUpdateProperties.MarshalJSON() ([]byte, error) -1. PossibleDiskSecurityTypesValues() []DiskSecurityTypes -1. PrivateEndpointConnectionProperties.MarshalJSON() ([]byte, error) - -## Struct Changes - -### New Structs - -1. DiskSecurityProfile -1. PropertyUpdatesInProgress - -### New Struct Fields - -1. DiskEncryptionSetUpdate.Identity -1. DiskEncryptionSetUpdateProperties.RotationToLatestKeyVersionEnabled -1. DiskProperties.PropertyUpdatesInProgress -1. DiskProperties.SecurityProfile -1. DiskProperties.SupportsHibernation -1. DiskRestorePointProperties.SupportsHibernation -1. DiskUpdateProperties.PropertyUpdatesInProgress -1. DiskUpdateProperties.SupportsHibernation -1. EncryptionSetProperties.LastKeyRotationTimestamp -1. EncryptionSetProperties.RotationToLatestKeyVersionEnabled -1. SnapshotProperties.SupportsHibernation -1. SnapshotUpdateProperties.SupportsHibernation diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/_meta.json new file mode 100644 index 0000000000..5b97d54c93 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "e0f8b9ab0f5fe5e71b7429ebfea8a33c19ec9d8d", + "readme": "/_/azure-rest-api-specs/specification/compute/resource-manager/readme.md", + "tag": "package-2020-12-01", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2020-12-01 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/compute/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/models.go index aa810cce7b..4ddc76f433 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute/models.go @@ -1441,6 +1441,7 @@ func (future *DedicatedHostsCreateOrUpdateFuture) result(client DedicatedHostsCl return } if !done { + dh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsCreateOrUpdateFuture") return } @@ -1483,6 +1484,7 @@ func (future *DedicatedHostsDeleteFuture) result(client DedicatedHostsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsDeleteFuture") return } @@ -1519,6 +1521,7 @@ func (future *DedicatedHostsUpdateFuture) result(client DedicatedHostsClient) (d return } if !done { + dh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DedicatedHostsUpdateFuture") return } @@ -1905,6 +1908,7 @@ func (future *DiskAccessesCreateOrUpdateFuture) result(client DiskAccessesClient return } if !done { + da.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskAccessesCreateOrUpdateFuture") return } @@ -1947,6 +1951,7 @@ func (future *DiskAccessesDeleteAPrivateEndpointConnectionFuture) result(client return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskAccessesDeleteAPrivateEndpointConnectionFuture") return } @@ -1983,6 +1988,7 @@ func (future *DiskAccessesDeleteFuture) result(client DiskAccessesClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskAccessesDeleteFuture") return } @@ -2019,6 +2025,7 @@ func (future *DiskAccessesUpdateAPrivateEndpointConnectionFuture) result(client return } if !done { + pec.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskAccessesUpdateAPrivateEndpointConnectionFuture") return } @@ -2061,6 +2068,7 @@ func (future *DiskAccessesUpdateFuture) result(client DiskAccessesClient) (da Di return } if !done { + da.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskAccessesUpdateFuture") return } @@ -2567,6 +2575,7 @@ func (future *DiskEncryptionSetsCreateOrUpdateFuture) result(client DiskEncrypti return } if !done { + desVar.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskEncryptionSetsCreateOrUpdateFuture") return } @@ -2609,6 +2618,7 @@ func (future *DiskEncryptionSetsDeleteFuture) result(client DiskEncryptionSetsCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskEncryptionSetsDeleteFuture") return } @@ -2645,6 +2655,7 @@ func (future *DiskEncryptionSetsUpdateFuture) result(client DiskEncryptionSetsCl return } if !done { + desVar.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DiskEncryptionSetsUpdateFuture") return } @@ -3331,6 +3342,7 @@ func (future *DisksCreateOrUpdateFuture) result(client DisksClient) (d Disk, err return } if !done { + d.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DisksCreateOrUpdateFuture") return } @@ -3372,6 +3384,7 @@ func (future *DisksDeleteFuture) result(client DisksClient) (ar autorest.Respons return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DisksDeleteFuture") return } @@ -3414,6 +3427,7 @@ func (future *DisksGrantAccessFuture) result(client DisksClient) (au AccessURI, return } if !done { + au.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DisksGrantAccessFuture") return } @@ -3474,6 +3488,7 @@ func (future *DisksRevokeAccessFuture) result(client DisksClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DisksRevokeAccessFuture") return } @@ -3509,6 +3524,7 @@ func (future *DisksUpdateFuture) result(client DisksClient) (d Disk, err error) return } if !done { + d.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.DisksUpdateFuture") return } @@ -3796,6 +3812,7 @@ func (future *GalleriesCreateOrUpdateFuture) result(client GalleriesClient) (g G return } if !done { + g.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleriesCreateOrUpdateFuture") return } @@ -3838,6 +3855,7 @@ func (future *GalleriesDeleteFuture) result(client GalleriesClient) (ar autorest return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleriesDeleteFuture") return } @@ -3874,6 +3892,7 @@ func (future *GalleriesUpdateFuture) result(client GalleriesClient) (g Gallery, return } if !done { + g.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleriesUpdateFuture") return } @@ -4292,6 +4311,7 @@ func (future *GalleryApplicationsCreateOrUpdateFuture) result(client GalleryAppl return } if !done { + ga.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationsCreateOrUpdateFuture") return } @@ -4334,6 +4354,7 @@ func (future *GalleryApplicationsDeleteFuture) result(client GalleryApplications return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationsDeleteFuture") return } @@ -4370,6 +4391,7 @@ func (future *GalleryApplicationsUpdateFuture) result(client GalleryApplications return } if !done { + ga.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationsUpdateFuture") return } @@ -4827,6 +4849,7 @@ func (future *GalleryApplicationVersionsCreateOrUpdateFuture) result(client Gall return } if !done { + gav.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationVersionsCreateOrUpdateFuture") return } @@ -4869,6 +4892,7 @@ func (future *GalleryApplicationVersionsDeleteFuture) result(client GalleryAppli return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationVersionsDeleteFuture") return } @@ -4905,6 +4929,7 @@ func (future *GalleryApplicationVersionsUpdateFuture) result(client GalleryAppli return } if !done { + gav.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryApplicationVersionsUpdateFuture") return } @@ -5471,6 +5496,7 @@ func (future *GalleryImagesCreateOrUpdateFuture) result(client GalleryImagesClie return } if !done { + gi.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImagesCreateOrUpdateFuture") return } @@ -5513,6 +5539,7 @@ func (future *GalleryImagesDeleteFuture) result(client GalleryImagesClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImagesDeleteFuture") return } @@ -5549,6 +5576,7 @@ func (future *GalleryImagesUpdateFuture) result(client GalleryImagesClient) (gi return } if !done { + gi.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImagesUpdateFuture") return } @@ -5995,6 +6023,7 @@ func (future *GalleryImageVersionsCreateOrUpdateFuture) result(client GalleryIma return } if !done { + giv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImageVersionsCreateOrUpdateFuture") return } @@ -6037,6 +6066,7 @@ func (future *GalleryImageVersionsDeleteFuture) result(client GalleryImageVersio return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImageVersionsDeleteFuture") return } @@ -6081,6 +6111,7 @@ func (future *GalleryImageVersionsUpdateFuture) result(client GalleryImageVersio return } if !done { + giv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.GalleryImageVersionsUpdateFuture") return } @@ -6929,6 +6960,7 @@ func (future *ImagesCreateOrUpdateFuture) result(client ImagesClient) (i Image, return } if !done { + i.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.ImagesCreateOrUpdateFuture") return } @@ -6970,6 +7002,7 @@ func (future *ImagesDeleteFuture) result(client ImagesClient) (ar autorest.Respo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.ImagesDeleteFuture") return } @@ -7015,6 +7048,7 @@ func (future *ImagesUpdateFuture) result(client ImagesClient) (i Image, err erro return } if !done { + i.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.ImagesUpdateFuture") return } @@ -7404,6 +7438,7 @@ func (future *LogAnalyticsExportRequestRateByIntervalFuture) result(client LogAn return } if !done { + laor.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.LogAnalyticsExportRequestRateByIntervalFuture") return } @@ -7446,6 +7481,7 @@ func (future *LogAnalyticsExportThrottledRequestsFuture) result(client LogAnalyt return } if !done { + laor.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.LogAnalyticsExportThrottledRequestsFuture") return } @@ -9843,6 +9879,7 @@ func (future *SnapshotsCreateOrUpdateFuture) result(client SnapshotsClient) (s S return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.SnapshotsCreateOrUpdateFuture") return } @@ -9885,6 +9922,7 @@ func (future *SnapshotsDeleteFuture) result(client SnapshotsClient) (ar autorest return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.SnapshotsDeleteFuture") return } @@ -9921,6 +9959,7 @@ func (future *SnapshotsGrantAccessFuture) result(client SnapshotsClient) (au Acc return } if !done { + au.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.SnapshotsGrantAccessFuture") return } @@ -9982,6 +10021,7 @@ func (future *SnapshotsRevokeAccessFuture) result(client SnapshotsClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.SnapshotsRevokeAccessFuture") return } @@ -10018,6 +10058,7 @@ func (future *SnapshotsUpdateFuture) result(client SnapshotsClient) (s Snapshot, return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.SnapshotsUpdateFuture") return } @@ -11245,6 +11286,7 @@ func (future *VirtualMachineExtensionsCreateOrUpdateFuture) result(client Virtua return } if !done { + vme.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsCreateOrUpdateFuture") return } @@ -11287,6 +11329,7 @@ func (future *VirtualMachineExtensionsDeleteFuture) result(client VirtualMachine return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsDeleteFuture") return } @@ -11330,6 +11373,7 @@ func (future *VirtualMachineExtensionsUpdateFuture) result(client VirtualMachine return } if !done { + vme.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineExtensionsUpdateFuture") return } @@ -12246,6 +12290,7 @@ func (future *VirtualMachineRunCommandsCreateOrUpdateFuture) result(client Virtu return } if !done { + vmrc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineRunCommandsCreateOrUpdateFuture") return } @@ -12298,6 +12343,7 @@ func (future *VirtualMachineRunCommandsDeleteFuture) result(client VirtualMachin return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineRunCommandsDeleteFuture") return } @@ -12494,6 +12540,7 @@ func (future *VirtualMachineRunCommandsUpdateFuture) result(client VirtualMachin return } if !done { + vmrc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineRunCommandsUpdateFuture") return } @@ -12588,6 +12635,7 @@ func (future *VirtualMachinesAssessPatchesFuture) result(client VirtualMachinesC return } if !done { + vmapr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesAssessPatchesFuture") return } @@ -13123,6 +13171,7 @@ func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) result(clien return } if !done { + vmsse.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture") return } @@ -13165,6 +13214,7 @@ func (future *VirtualMachineScaleSetExtensionsDeleteFuture) result(client Virtua return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetExtensionsDeleteFuture") return } @@ -13201,6 +13251,7 @@ func (future *VirtualMachineScaleSetExtensionsUpdateFuture) result(client Virtua return } if !done { + vmsse.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetExtensionsUpdateFuture") return } @@ -14426,6 +14477,7 @@ func (future *VirtualMachineScaleSetRollingUpgradesCancelFuture) result(client V return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesCancelFuture") return } @@ -14462,6 +14514,7 @@ func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture") return } @@ -14498,6 +14551,7 @@ func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) result( return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture") return } @@ -14534,6 +14588,7 @@ func (future *VirtualMachineScaleSetsCreateOrUpdateFuture) result(client Virtual return } if !done { + vmss.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsCreateOrUpdateFuture") return } @@ -14576,6 +14631,7 @@ func (future *VirtualMachineScaleSetsDeallocateFuture) result(client VirtualMach return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeallocateFuture") return } @@ -14612,6 +14668,7 @@ func (future *VirtualMachineScaleSetsDeleteFuture) result(client VirtualMachineS return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeleteFuture") return } @@ -14648,6 +14705,7 @@ func (future *VirtualMachineScaleSetsDeleteInstancesFuture) result(client Virtua return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsDeleteInstancesFuture") return } @@ -14706,6 +14764,7 @@ func (future *VirtualMachineScaleSetsPerformMaintenanceFuture) result(client Vir return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsPerformMaintenanceFuture") return } @@ -14742,6 +14801,7 @@ func (future *VirtualMachineScaleSetsPowerOffFuture) result(client VirtualMachin return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsPowerOffFuture") return } @@ -14778,6 +14838,7 @@ func (future *VirtualMachineScaleSetsRedeployFuture) result(client VirtualMachin return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsRedeployFuture") return } @@ -14814,6 +14875,7 @@ func (future *VirtualMachineScaleSetsReimageAllFuture) result(client VirtualMach return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsReimageAllFuture") return } @@ -14850,6 +14912,7 @@ func (future *VirtualMachineScaleSetsReimageFuture) result(client VirtualMachine return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsReimageFuture") return } @@ -14886,6 +14949,7 @@ func (future *VirtualMachineScaleSetsRestartFuture) result(client VirtualMachine return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsRestartFuture") return } @@ -14922,6 +14986,7 @@ func (future *VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) result( return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsSetOrchestrationServiceStateFuture") return } @@ -14958,6 +15023,7 @@ func (future *VirtualMachineScaleSetsStartFuture) result(client VirtualMachineSc return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsStartFuture") return } @@ -15004,6 +15070,7 @@ func (future *VirtualMachineScaleSetsUpdateFuture) result(client VirtualMachineS return } if !done { + vmss.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsUpdateFuture") return } @@ -15046,6 +15113,7 @@ func (future *VirtualMachineScaleSetsUpdateInstancesFuture) result(client Virtua return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetsUpdateInstancesFuture") return } @@ -15735,6 +15803,7 @@ func (future *VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) result(cli return } if !done { + vmssve.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture") return } @@ -15777,6 +15846,7 @@ func (future *VirtualMachineScaleSetVMExtensionsDeleteFuture) result(client Virt return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMExtensionsDeleteFuture") return } @@ -15829,6 +15899,7 @@ func (future *VirtualMachineScaleSetVMExtensionsUpdateFuture) result(client Virt return } if !done { + vmssve.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMExtensionsUpdateFuture") return } @@ -16304,6 +16375,7 @@ func (future *VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture) result(cl return } if !done { + vmrc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture") return } @@ -16346,6 +16418,7 @@ func (future *VirtualMachineScaleSetVMRunCommandsDeleteFuture) result(client Vir return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMRunCommandsDeleteFuture") return } @@ -16382,6 +16455,7 @@ func (future *VirtualMachineScaleSetVMRunCommandsUpdateFuture) result(client Vir return } if !done { + vmrc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMRunCommandsUpdateFuture") return } @@ -16424,6 +16498,7 @@ func (future *VirtualMachineScaleSetVMsDeallocateFuture) result(client VirtualMa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsDeallocateFuture") return } @@ -16460,6 +16535,7 @@ func (future *VirtualMachineScaleSetVMsDeleteFuture) result(client VirtualMachin return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsDeleteFuture") return } @@ -16496,6 +16572,7 @@ func (future *VirtualMachineScaleSetVMsPerformMaintenanceFuture) result(client V return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsPerformMaintenanceFuture") return } @@ -16532,6 +16609,7 @@ func (future *VirtualMachineScaleSetVMsPowerOffFuture) result(client VirtualMach return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsPowerOffFuture") return } @@ -16568,6 +16646,7 @@ func (future *VirtualMachineScaleSetVMsRedeployFuture) result(client VirtualMach return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRedeployFuture") return } @@ -16604,6 +16683,7 @@ func (future *VirtualMachineScaleSetVMsReimageAllFuture) result(client VirtualMa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsReimageAllFuture") return } @@ -16640,6 +16720,7 @@ func (future *VirtualMachineScaleSetVMsReimageFuture) result(client VirtualMachi return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsReimageFuture") return } @@ -16676,6 +16757,7 @@ func (future *VirtualMachineScaleSetVMsRestartFuture) result(client VirtualMachi return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRestartFuture") return } @@ -16712,6 +16794,7 @@ func (future *VirtualMachineScaleSetVMsRunCommandFuture) result(client VirtualMa return } if !done { + rcr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsRunCommandFuture") return } @@ -16754,6 +16837,7 @@ func (future *VirtualMachineScaleSetVMsStartFuture) result(client VirtualMachine return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsStartFuture") return } @@ -16790,6 +16874,7 @@ func (future *VirtualMachineScaleSetVMsUpdateFuture) result(client VirtualMachin return } if !done { + vmssv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachineScaleSetVMsUpdateFuture") return } @@ -16832,6 +16917,7 @@ func (future *VirtualMachinesCaptureFuture) result(client VirtualMachinesClient) return } if !done { + vmcr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesCaptureFuture") return } @@ -16874,6 +16960,7 @@ func (future *VirtualMachinesConvertToManagedDisksFuture) result(client VirtualM return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesConvertToManagedDisksFuture") return } @@ -16910,6 +16997,7 @@ func (future *VirtualMachinesCreateOrUpdateFuture) result(client VirtualMachines return } if !done { + VM.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesCreateOrUpdateFuture") return } @@ -16952,6 +17040,7 @@ func (future *VirtualMachinesDeallocateFuture) result(client VirtualMachinesClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesDeallocateFuture") return } @@ -16988,6 +17077,7 @@ func (future *VirtualMachinesDeleteFuture) result(client VirtualMachinesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesDeleteFuture") return } @@ -17024,6 +17114,7 @@ func (future *VirtualMachinesInstallPatchesFuture) result(client VirtualMachines return } if !done { + vmipr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesInstallPatchesFuture") return } @@ -17113,6 +17204,7 @@ func (future *VirtualMachinesPerformMaintenanceFuture) result(client VirtualMach return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesPerformMaintenanceFuture") return } @@ -17149,6 +17241,7 @@ func (future *VirtualMachinesPowerOffFuture) result(client VirtualMachinesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesPowerOffFuture") return } @@ -17185,6 +17278,7 @@ func (future *VirtualMachinesReapplyFuture) result(client VirtualMachinesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesReapplyFuture") return } @@ -17221,6 +17315,7 @@ func (future *VirtualMachinesRedeployFuture) result(client VirtualMachinesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRedeployFuture") return } @@ -17257,6 +17352,7 @@ func (future *VirtualMachinesReimageFuture) result(client VirtualMachinesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesReimageFuture") return } @@ -17293,6 +17389,7 @@ func (future *VirtualMachinesRestartFuture) result(client VirtualMachinesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRestartFuture") return } @@ -17329,6 +17426,7 @@ func (future *VirtualMachinesRunCommandFuture) result(client VirtualMachinesClie return } if !done { + rcr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesRunCommandFuture") return } @@ -17371,6 +17469,7 @@ func (future *VirtualMachinesStartFuture) result(client VirtualMachinesClient) ( return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesStartFuture") return } @@ -17416,6 +17515,7 @@ func (future *VirtualMachinesUpdateFuture) result(client VirtualMachinesClient) return } if !done { + VM.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("compute.VirtualMachinesUpdateFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/CHANGELOG.md index 4adb7524e1..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/CHANGELOG.md @@ -1,20 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82//specification/containerservice/resource-manager/readme.md tag: `package-2020-04` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *AgentPoolsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *AgentPoolsDeleteFuture.UnmarshalJSON([]byte) error -1. *ContainerServicesCreateOrUpdateFutureType.UnmarshalJSON([]byte) error -1. *ContainerServicesDeleteFutureType.UnmarshalJSON([]byte) error -1. *ManagedClustersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ManagedClustersDeleteFuture.UnmarshalJSON([]byte) error -1. *ManagedClustersResetAADProfileFuture.UnmarshalJSON([]byte) error -1. *ManagedClustersResetServicePrincipalProfileFuture.UnmarshalJSON([]byte) error -1. *ManagedClustersRotateClusterCertificatesFuture.UnmarshalJSON([]byte) error -1. *ManagedClustersUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *OpenShiftManagedClustersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *OpenShiftManagedClustersDeleteFuture.UnmarshalJSON([]byte) error -1. *OpenShiftManagedClustersUpdateTagsFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/_meta.json new file mode 100644 index 0000000000..95d6e3a8d0 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "readme": "/_/azure-rest-api-specs/specification/containerservice/resource-manager/readme.md", + "tag": "package-2020-04", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2020-04 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/containerservice/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/models.go index 71d00b2460..2dd59d897d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice/models.go @@ -441,6 +441,7 @@ func (future *AgentPoolsCreateOrUpdateFuture) result(client AgentPoolsClient) (a return } if !done { + ap.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.AgentPoolsCreateOrUpdateFuture") return } @@ -483,6 +484,7 @@ func (future *AgentPoolsDeleteFuture) result(client AgentPoolsClient) (ar autore return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.AgentPoolsDeleteFuture") return } @@ -737,6 +739,7 @@ func (future *ContainerServicesCreateOrUpdateFutureType) result(client Container return } if !done { + cs.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ContainerServicesCreateOrUpdateFutureType") return } @@ -779,6 +782,7 @@ func (future *ContainerServicesDeleteFutureType) result(client ContainerServices return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ContainerServicesDeleteFutureType") return } @@ -1929,6 +1933,7 @@ func (future *ManagedClustersCreateOrUpdateFuture) result(client ManagedClusters return } if !done { + mc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersCreateOrUpdateFuture") return } @@ -1971,6 +1976,7 @@ func (future *ManagedClustersDeleteFuture) result(client ManagedClustersClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersDeleteFuture") return } @@ -2024,6 +2030,7 @@ func (future *ManagedClustersResetAADProfileFuture) result(client ManagedCluster return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersResetAADProfileFuture") return } @@ -2060,6 +2067,7 @@ func (future *ManagedClustersResetServicePrincipalProfileFuture) result(client M return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersResetServicePrincipalProfileFuture") return } @@ -2096,6 +2104,7 @@ func (future *ManagedClustersRotateClusterCertificatesFuture) result(client Mana return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersRotateClusterCertificatesFuture") return } @@ -2132,6 +2141,7 @@ func (future *ManagedClustersUpdateTagsFuture) result(client ManagedClustersClie return } if !done { + mc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.ManagedClustersUpdateTagsFuture") return } @@ -2880,6 +2890,7 @@ func (future *OpenShiftManagedClustersCreateOrUpdateFuture) result(client OpenSh return } if !done { + osmc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.OpenShiftManagedClustersCreateOrUpdateFuture") return } @@ -2922,6 +2933,7 @@ func (future *OpenShiftManagedClustersDeleteFuture) result(client OpenShiftManag return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.OpenShiftManagedClustersDeleteFuture") return } @@ -2958,6 +2970,7 @@ func (future *OpenShiftManagedClustersUpdateTagsFuture) result(client OpenShiftM return } if !done { + osmc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("containerservice.OpenShiftManagedClustersUpdateTagsFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/CHANGELOG.md index 31ca48a5d3..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/CHANGELOG.md @@ -1,186 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82//specification/network/resource-manager/readme.md tag: `package-2019-06` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *ApplicationGatewaysBackendHealthFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysBackendHealthOnDemandFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysStartFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysStopFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ApplicationSecurityGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ApplicationSecurityGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *ApplicationSecurityGroupsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *AzureFirewallsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *AzureFirewallsDeleteFuture.UnmarshalJSON([]byte) error -1. *BastionHostsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *BastionHostsDeleteFuture.UnmarshalJSON([]byte) error -1. *BastionHostsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsDeleteFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsQueryFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsStartFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsStopFuture.UnmarshalJSON([]byte) error -1. *DdosCustomPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DdosCustomPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *DdosCustomPoliciesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *DdosProtectionPlansCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DdosProtectionPlansDeleteFuture.UnmarshalJSON([]byte) error -1. *DdosProtectionPlansUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitAuthorizationsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListArpTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListRoutesTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListRoutesTableSummaryFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListArpTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListRoutesTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRoutePortsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRoutePortsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRoutePortsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *FirewallPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *FirewallPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *FirewallPolicyRuleGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *FirewallPolicyRuleGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *InboundNatRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InboundNatRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *InterfaceTapConfigurationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InterfaceTapConfigurationsDeleteFuture.UnmarshalJSON([]byte) error -1. *InterfacesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InterfacesDeleteFuture.UnmarshalJSON([]byte) error -1. *InterfacesGetEffectiveRouteTableFuture.UnmarshalJSON([]byte) error -1. *InterfacesListEffectiveNetworkSecurityGroupsFuture.UnmarshalJSON([]byte) error -1. *InterfacesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *LoadBalancersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *LoadBalancersDeleteFuture.UnmarshalJSON([]byte) error -1. *LoadBalancersUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *LocalNetworkGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *LocalNetworkGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *LocalNetworkGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *NatGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *NatGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysGenerateVpnProfileFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysGetP2sVpnConnectionHealthFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *P2sVpnServerConfigurationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *P2sVpnServerConfigurationsDeleteFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesCreateFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesDeleteFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesGetStatusFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesStopFuture.UnmarshalJSON([]byte) error -1. *PrivateEndpointsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PrivateEndpointsDeleteFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesDeleteFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesDeletePrivateEndpointConnectionFuture.UnmarshalJSON([]byte) error -1. *ProfilesDeleteFuture.UnmarshalJSON([]byte) error -1. *PublicIPAddressesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PublicIPAddressesDeleteFuture.UnmarshalJSON([]byte) error -1. *PublicIPAddressesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *PublicIPPrefixesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PublicIPPrefixesDeleteFuture.UnmarshalJSON([]byte) error -1. *PublicIPPrefixesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *RouteFilterRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteFilterRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *RouteFilterRulesUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteFiltersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteFiltersDeleteFuture.UnmarshalJSON([]byte) error -1. *RouteFiltersUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteTablesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteTablesDeleteFuture.UnmarshalJSON([]byte) error -1. *RouteTablesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *RoutesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RoutesDeleteFuture.UnmarshalJSON([]byte) error -1. *SecurityGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SecurityGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *SecurityGroupsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *SecurityRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SecurityRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPoliciesUpdateFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPolicyDefinitionsDeleteFuture.UnmarshalJSON([]byte) error -1. *SubnetsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SubnetsDeleteFuture.UnmarshalJSON([]byte) error -1. *SubnetsPrepareNetworkPoliciesFuture.UnmarshalJSON([]byte) error -1. *SubnetsUnprepareNetworkPoliciesFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsResetSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsSetSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGenerateVpnProfileFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGeneratevpnclientpackageFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetAdvertisedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetBgpPeerStatusFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetLearnedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysResetFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysResetVpnClientSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkTapsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkTapsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkTapsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworksCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworksDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworksUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualWansCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualWansDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualWansUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysResetFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VpnSitesConfigurationDownloadFuture.UnmarshalJSON([]byte) error -1. *VpnSitesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnSitesDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnSitesUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *WatchersCheckConnectivityFuture.UnmarshalJSON([]byte) error -1. *WatchersDeleteFuture.UnmarshalJSON([]byte) error -1. *WatchersGetAzureReachabilityReportFuture.UnmarshalJSON([]byte) error -1. *WatchersGetFlowLogStatusFuture.UnmarshalJSON([]byte) error -1. *WatchersGetNetworkConfigurationDiagnosticFuture.UnmarshalJSON([]byte) error -1. *WatchersGetNextHopFuture.UnmarshalJSON([]byte) error -1. *WatchersGetTroubleshootingFuture.UnmarshalJSON([]byte) error -1. *WatchersGetTroubleshootingResultFuture.UnmarshalJSON([]byte) error -1. *WatchersGetVMSecurityRulesFuture.UnmarshalJSON([]byte) error -1. *WatchersListAvailableProvidersFuture.UnmarshalJSON([]byte) error -1. *WatchersSetFlowLogConfigurationFuture.UnmarshalJSON([]byte) error -1. *WatchersVerifyIPFlowFuture.UnmarshalJSON([]byte) error -1. *WebApplicationFirewallPoliciesDeleteFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/_meta.json new file mode 100644 index 0000000000..972c140a09 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "readme": "/_/azure-rest-api-specs/specification/network/resource-manager/readme.md", + "tag": "package-2019-06", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2019-06 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/network/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/models.go index fd8d5c5175..a2f4cb3fbc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network/models.go @@ -2410,6 +2410,7 @@ func (future *ApplicationGatewaysBackendHealthFuture) result(client ApplicationG return } if !done { + agbh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysBackendHealthFuture") return } @@ -2452,6 +2453,7 @@ func (future *ApplicationGatewaysBackendHealthOnDemandFuture) result(client Appl return } if !done { + agbhod.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysBackendHealthOnDemandFuture") return } @@ -2494,6 +2496,7 @@ func (future *ApplicationGatewaysCreateOrUpdateFuture) result(client Application return } if !done { + ag.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysCreateOrUpdateFuture") return } @@ -2536,6 +2539,7 @@ func (future *ApplicationGatewaysDeleteFuture) result(client ApplicationGateways return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysDeleteFuture") return } @@ -2783,6 +2787,7 @@ func (future *ApplicationGatewaysStartFuture) result(client ApplicationGatewaysC return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysStartFuture") return } @@ -2819,6 +2824,7 @@ func (future *ApplicationGatewaysStopFuture) result(client ApplicationGatewaysCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysStopFuture") return } @@ -2855,6 +2861,7 @@ func (future *ApplicationGatewaysUpdateTagsFuture) result(client ApplicationGate return } if !done { + ag.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysUpdateTagsFuture") return } @@ -3503,6 +3510,7 @@ func (future *ApplicationSecurityGroupsCreateOrUpdateFuture) result(client Appli return } if !done { + asg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationSecurityGroupsCreateOrUpdateFuture") return } @@ -3545,6 +3553,7 @@ func (future *ApplicationSecurityGroupsDeleteFuture) result(client ApplicationSe return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationSecurityGroupsDeleteFuture") return } @@ -3581,6 +3590,7 @@ func (future *ApplicationSecurityGroupsUpdateTagsFuture) result(client Applicati return } if !done { + asg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationSecurityGroupsUpdateTagsFuture") return } @@ -5480,6 +5490,7 @@ func (future *AzureFirewallsCreateOrUpdateFuture) result(client AzureFirewallsCl return } if !done { + af.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsCreateOrUpdateFuture") return } @@ -5522,6 +5533,7 @@ func (future *AzureFirewallsDeleteFuture) result(client AzureFirewallsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsDeleteFuture") return } @@ -6112,6 +6124,7 @@ func (future *BastionHostsCreateOrUpdateFuture) result(client BastionHostsClient return } if !done { + bh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.BastionHostsCreateOrUpdateFuture") return } @@ -6154,6 +6167,7 @@ func (future *BastionHostsDeleteFuture) result(client BastionHostsClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.BastionHostsDeleteFuture") return } @@ -6190,6 +6204,7 @@ func (future *BastionHostsUpdateTagsFuture) result(client BastionHostsClient) (b return } if !done { + bh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.BastionHostsUpdateTagsFuture") return } @@ -6859,6 +6874,7 @@ func (future *ConnectionMonitorsCreateOrUpdateFuture) result(client ConnectionMo return } if !done { + cmr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsCreateOrUpdateFuture") return } @@ -6901,6 +6917,7 @@ func (future *ConnectionMonitorsDeleteFuture) result(client ConnectionMonitorsCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsDeleteFuture") return } @@ -6945,6 +6962,7 @@ func (future *ConnectionMonitorsQueryFuture) result(client ConnectionMonitorsCli return } if !done { + cmqr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsQueryFuture") return } @@ -6987,6 +7005,7 @@ func (future *ConnectionMonitorsStartFuture) result(client ConnectionMonitorsCli return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsStartFuture") return } @@ -7023,6 +7042,7 @@ func (future *ConnectionMonitorsStopFuture) result(client ConnectionMonitorsClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsStopFuture") return } @@ -7534,6 +7554,7 @@ func (future *DdosCustomPoliciesCreateOrUpdateFuture) result(client DdosCustomPo return } if !done { + dcp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosCustomPoliciesCreateOrUpdateFuture") return } @@ -7576,6 +7597,7 @@ func (future *DdosCustomPoliciesDeleteFuture) result(client DdosCustomPoliciesCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosCustomPoliciesDeleteFuture") return } @@ -7612,6 +7634,7 @@ func (future *DdosCustomPoliciesUpdateTagsFuture) result(client DdosCustomPolici return } if !done { + dcp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosCustomPoliciesUpdateTagsFuture") return } @@ -8080,6 +8103,7 @@ func (future *DdosProtectionPlansCreateOrUpdateFuture) result(client DdosProtect return } if !done { + dpp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosProtectionPlansCreateOrUpdateFuture") return } @@ -8122,6 +8146,7 @@ func (future *DdosProtectionPlansDeleteFuture) result(client DdosProtectionPlans return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosProtectionPlansDeleteFuture") return } @@ -8158,6 +8183,7 @@ func (future *DdosProtectionPlansUpdateTagsFuture) result(client DdosProtectionP return } if !done { + dpp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosProtectionPlansUpdateTagsFuture") return } @@ -8917,6 +8943,7 @@ func (future *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) result(clie return } if !done { + erca.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture") return } @@ -8959,6 +8986,7 @@ func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) result(client Expre return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitAuthorizationsDeleteFuture") return } @@ -9284,6 +9312,7 @@ func (future *ExpressRouteCircuitConnectionsCreateOrUpdateFuture) result(client return } if !done { + ercc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitConnectionsCreateOrUpdateFuture") return } @@ -9326,6 +9355,7 @@ func (future *ExpressRouteCircuitConnectionsDeleteFuture) result(client ExpressR return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitConnectionsDeleteFuture") return } @@ -9902,6 +9932,7 @@ func (future *ExpressRouteCircuitPeeringsCreateOrUpdateFuture) result(client Exp return } if !done { + ercp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitPeeringsCreateOrUpdateFuture") return } @@ -9944,6 +9975,7 @@ func (future *ExpressRouteCircuitPeeringsDeleteFuture) result(client ExpressRout return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitPeeringsDeleteFuture") return } @@ -10101,6 +10133,7 @@ func (future *ExpressRouteCircuitsCreateOrUpdateFuture) result(client ExpressRou return } if !done { + erc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsCreateOrUpdateFuture") return } @@ -10143,6 +10176,7 @@ func (future *ExpressRouteCircuitsDeleteFuture) result(client ExpressRouteCircui return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsDeleteFuture") return } @@ -10200,6 +10234,7 @@ func (future *ExpressRouteCircuitsListArpTableFuture) result(client ExpressRoute return } if !done { + ercatlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListArpTableFuture") return } @@ -10242,6 +10277,7 @@ func (future *ExpressRouteCircuitsListRoutesTableFuture) result(client ExpressRo return } if !done { + ercrtlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListRoutesTableFuture") return } @@ -10284,6 +10320,7 @@ func (future *ExpressRouteCircuitsListRoutesTableSummaryFuture) result(client Ex return } if !done { + ercrtslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListRoutesTableSummaryFuture") return } @@ -10359,6 +10396,7 @@ func (future *ExpressRouteCircuitsUpdateTagsFuture) result(client ExpressRouteCi return } if !done { + erc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsUpdateTagsFuture") return } @@ -10494,6 +10532,7 @@ func (future *ExpressRouteConnectionsCreateOrUpdateFuture) result(client Express return } if !done { + erc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteConnectionsCreateOrUpdateFuture") return } @@ -10536,6 +10575,7 @@ func (future *ExpressRouteConnectionsDeleteFuture) result(client ExpressRouteCon return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteConnectionsDeleteFuture") return } @@ -11178,6 +11218,7 @@ func (future *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) result(cl return } if !done { + erccp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture") return } @@ -11220,6 +11261,7 @@ func (future *ExpressRouteCrossConnectionPeeringsDeleteFuture) result(client Exp return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionPeeringsDeleteFuture") return } @@ -11316,6 +11358,7 @@ func (future *ExpressRouteCrossConnectionsCreateOrUpdateFuture) result(client Ex return } if !done { + ercc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsCreateOrUpdateFuture") return } @@ -11358,6 +11401,7 @@ func (future *ExpressRouteCrossConnectionsListArpTableFuture) result(client Expr return } if !done { + ercatlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListArpTableFuture") return } @@ -11400,6 +11444,7 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableFuture) result(client E return } if !done { + ercrtlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListRoutesTableFuture") return } @@ -11442,6 +11487,7 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture) result(c return } if !done { + erccrtslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListRoutesTableSummaryFuture") return } @@ -11503,6 +11549,7 @@ func (future *ExpressRouteCrossConnectionsUpdateTagsFuture) result(client Expres return } if !done { + ercc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsUpdateTagsFuture") return } @@ -11709,6 +11756,7 @@ func (future *ExpressRouteGatewaysCreateOrUpdateFuture) result(client ExpressRou return } if !done { + erg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteGatewaysCreateOrUpdateFuture") return } @@ -11751,6 +11799,7 @@ func (future *ExpressRouteGatewaysDeleteFuture) result(client ExpressRouteGatewa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteGatewaysDeleteFuture") return } @@ -12373,6 +12422,7 @@ func (future *ExpressRoutePortsCreateOrUpdateFuture) result(client ExpressRouteP return } if !done { + erp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRoutePortsCreateOrUpdateFuture") return } @@ -12415,6 +12465,7 @@ func (future *ExpressRoutePortsDeleteFuture) result(client ExpressRoutePortsClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRoutePortsDeleteFuture") return } @@ -12745,6 +12796,7 @@ func (future *ExpressRoutePortsUpdateTagsFuture) result(client ExpressRoutePorts return } if !done { + erp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRoutePortsUpdateTagsFuture") return } @@ -13069,6 +13121,7 @@ func (future *FirewallPoliciesCreateOrUpdateFuture) result(client FirewallPolici return } if !done { + fp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPoliciesCreateOrUpdateFuture") return } @@ -13111,6 +13164,7 @@ func (future *FirewallPoliciesDeleteFuture) result(client FirewallPoliciesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPoliciesDeleteFuture") return } @@ -14217,6 +14271,7 @@ func (future *FirewallPolicyRuleGroupsCreateOrUpdateFuture) result(client Firewa return } if !done { + fprg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPolicyRuleGroupsCreateOrUpdateFuture") return } @@ -14259,6 +14314,7 @@ func (future *FirewallPolicyRuleGroupsDeleteFuture) result(client FirewallPolicy return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPolicyRuleGroupsDeleteFuture") return } @@ -15129,6 +15185,7 @@ func (future *InboundNatRulesCreateOrUpdateFuture) result(client InboundNatRules return } if !done { + inr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InboundNatRulesCreateOrUpdateFuture") return } @@ -15171,6 +15228,7 @@ func (future *InboundNatRulesDeleteFuture) result(client InboundNatRulesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InboundNatRulesDeleteFuture") return } @@ -16079,6 +16137,7 @@ func (future *InterfacesCreateOrUpdateFuture) result(client InterfacesClient) (i return } if !done { + i.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesCreateOrUpdateFuture") return } @@ -16121,6 +16180,7 @@ func (future *InterfacesDeleteFuture) result(client InterfacesClient) (ar autore return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesDeleteFuture") return } @@ -16157,6 +16217,7 @@ func (future *InterfacesGetEffectiveRouteTableFuture) result(client InterfacesCl return } if !done { + erlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesGetEffectiveRouteTableFuture") return } @@ -16199,6 +16260,7 @@ func (future *InterfacesListEffectiveNetworkSecurityGroupsFuture) result(client return } if !done { + ensglr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesListEffectiveNetworkSecurityGroupsFuture") return } @@ -16241,6 +16303,7 @@ func (future *InterfacesUpdateTagsFuture) result(client InterfacesClient) (i Int return } if !done { + i.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesUpdateTagsFuture") return } @@ -16562,6 +16625,7 @@ func (future *InterfaceTapConfigurationsCreateOrUpdateFuture) result(client Inte return } if !done { + itc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfaceTapConfigurationsCreateOrUpdateFuture") return } @@ -16604,6 +16668,7 @@ func (future *InterfaceTapConfigurationsDeleteFuture) result(client InterfaceTap return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfaceTapConfigurationsDeleteFuture") return } @@ -19670,6 +19735,7 @@ func (future *LoadBalancersCreateOrUpdateFuture) result(client LoadBalancersClie return } if !done { + lb.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancersCreateOrUpdateFuture") return } @@ -19712,6 +19778,7 @@ func (future *LoadBalancersDeleteFuture) result(client LoadBalancersClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancersDeleteFuture") return } @@ -19754,6 +19821,7 @@ func (future *LoadBalancersUpdateTagsFuture) result(client LoadBalancersClient) return } if !done { + lb.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancersUpdateTagsFuture") return } @@ -20236,6 +20304,7 @@ func (future *LocalNetworkGatewaysCreateOrUpdateFuture) result(client LocalNetwo return } if !done { + lng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LocalNetworkGatewaysCreateOrUpdateFuture") return } @@ -20278,6 +20347,7 @@ func (future *LocalNetworkGatewaysDeleteFuture) result(client LocalNetworkGatewa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LocalNetworkGatewaysDeleteFuture") return } @@ -20314,6 +20384,7 @@ func (future *LocalNetworkGatewaysUpdateTagsFuture) result(client LocalNetworkGa return } if !done { + lng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LocalNetworkGatewaysUpdateTagsFuture") return } @@ -20802,6 +20873,7 @@ func (future *NatGatewaysCreateOrUpdateFuture) result(client NatGatewaysClient) return } if !done { + ng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatGatewaysCreateOrUpdateFuture") return } @@ -20844,6 +20916,7 @@ func (future *NatGatewaysDeleteFuture) result(client NatGatewaysClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatGatewaysDeleteFuture") return } @@ -21444,6 +21517,7 @@ func (future *P2sVpnGatewaysCreateOrUpdateFuture) result(client P2sVpnGatewaysCl return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysCreateOrUpdateFuture") return } @@ -21486,6 +21560,7 @@ func (future *P2sVpnGatewaysDeleteFuture) result(client P2sVpnGatewaysClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysDeleteFuture") return } @@ -21522,6 +21597,7 @@ func (future *P2sVpnGatewaysGenerateVpnProfileFuture) result(client P2sVpnGatewa return } if !done { + vpr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysGenerateVpnProfileFuture") return } @@ -21564,6 +21640,7 @@ func (future *P2sVpnGatewaysGetP2sVpnConnectionHealthFuture) result(client P2sVp return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysGetP2sVpnConnectionHealthFuture") return } @@ -21606,6 +21683,7 @@ func (future *P2sVpnGatewaysUpdateTagsFuture) result(client P2sVpnGatewaysClient return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysUpdateTagsFuture") return } @@ -21997,6 +22075,7 @@ func (future *P2sVpnServerConfigurationsCreateOrUpdateFuture) result(client P2sV return } if !done { + pvsc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnServerConfigurationsCreateOrUpdateFuture") return } @@ -22039,6 +22118,7 @@ func (future *P2sVpnServerConfigurationsDeleteFuture) result(client P2sVpnServer return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnServerConfigurationsDeleteFuture") return } @@ -22461,6 +22541,7 @@ func (future *PacketCapturesCreateFuture) result(client PacketCapturesClient) (p return } if !done { + pcr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesCreateFuture") return } @@ -22503,6 +22584,7 @@ func (future *PacketCapturesDeleteFuture) result(client PacketCapturesClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesDeleteFuture") return } @@ -22539,6 +22621,7 @@ func (future *PacketCapturesGetStatusFuture) result(client PacketCapturesClient) return } if !done { + pcqsr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesGetStatusFuture") return } @@ -22581,6 +22664,7 @@ func (future *PacketCapturesStopFuture) result(client PacketCapturesClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesStopFuture") return } @@ -23533,6 +23617,7 @@ func (future *PrivateEndpointsCreateOrUpdateFuture) result(client PrivateEndpoin return } if !done { + peVar.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateEndpointsCreateOrUpdateFuture") return } @@ -23575,6 +23660,7 @@ func (future *PrivateEndpointsDeleteFuture) result(client PrivateEndpointsClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateEndpointsDeleteFuture") return } @@ -24177,6 +24263,7 @@ func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGrou return } if !done { + plsv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture") return } @@ -24219,6 +24306,7 @@ func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture) result return } if !done { + plsv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture") return } @@ -24261,6 +24349,7 @@ func (future *PrivateLinkServicesCreateOrUpdateFuture) result(client PrivateLink return } if !done { + pls.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCreateOrUpdateFuture") return } @@ -24303,6 +24392,7 @@ func (future *PrivateLinkServicesDeleteFuture) result(client PrivateLinkServices return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesDeleteFuture") return } @@ -24339,6 +24429,7 @@ func (future *PrivateLinkServicesDeletePrivateEndpointConnectionFuture) result(c return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesDeletePrivateEndpointConnectionFuture") return } @@ -24818,6 +24909,7 @@ func (future *ProfilesDeleteFuture) result(client ProfilesClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ProfilesDeleteFuture") return } @@ -25028,6 +25120,7 @@ func (future *PublicIPAddressesCreateOrUpdateFuture) result(client PublicIPAddre return } if !done { + pia.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPAddressesCreateOrUpdateFuture") return } @@ -25070,6 +25163,7 @@ func (future *PublicIPAddressesDeleteFuture) result(client PublicIPAddressesClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPAddressesDeleteFuture") return } @@ -25106,6 +25200,7 @@ func (future *PublicIPAddressesUpdateTagsFuture) result(client PublicIPAddresses return } if !done { + pia.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPAddressesUpdateTagsFuture") return } @@ -25521,6 +25616,7 @@ func (future *PublicIPPrefixesCreateOrUpdateFuture) result(client PublicIPPrefix return } if !done { + pip.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPPrefixesCreateOrUpdateFuture") return } @@ -25563,6 +25659,7 @@ func (future *PublicIPPrefixesDeleteFuture) result(client PublicIPPrefixesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPPrefixesDeleteFuture") return } @@ -25599,6 +25696,7 @@ func (future *PublicIPPrefixesUpdateTagsFuture) result(client PublicIPPrefixesCl return } if !done { + pip.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPPrefixesUpdateTagsFuture") return } @@ -26699,6 +26797,7 @@ func (future *RouteFilterRulesCreateOrUpdateFuture) result(client RouteFilterRul return } if !done { + rfr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFilterRulesCreateOrUpdateFuture") return } @@ -26741,6 +26840,7 @@ func (future *RouteFilterRulesDeleteFuture) result(client RouteFilterRulesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFilterRulesDeleteFuture") return } @@ -26777,6 +26877,7 @@ func (future *RouteFilterRulesUpdateFuture) result(client RouteFilterRulesClient return } if !done { + rfr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFilterRulesUpdateFuture") return } @@ -26819,6 +26920,7 @@ func (future *RouteFiltersCreateOrUpdateFuture) result(client RouteFiltersClient return } if !done { + rf.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFiltersCreateOrUpdateFuture") return } @@ -26861,6 +26963,7 @@ func (future *RouteFiltersDeleteFuture) result(client RouteFiltersClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFiltersDeleteFuture") return } @@ -26897,6 +27000,7 @@ func (future *RouteFiltersUpdateFuture) result(client RouteFiltersClient) (rf Ro return } if !done { + rf.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFiltersUpdateFuture") return } @@ -27110,6 +27214,7 @@ func (future *RoutesCreateOrUpdateFuture) result(client RoutesClient) (r Route, return } if !done { + r.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RoutesCreateOrUpdateFuture") return } @@ -27151,6 +27256,7 @@ func (future *RoutesDeleteFuture) result(client RoutesClient) (ar autorest.Respo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RoutesDeleteFuture") return } @@ -27491,6 +27597,7 @@ func (future *RouteTablesCreateOrUpdateFuture) result(client RouteTablesClient) return } if !done { + rt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteTablesCreateOrUpdateFuture") return } @@ -27533,6 +27640,7 @@ func (future *RouteTablesDeleteFuture) result(client RouteTablesClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteTablesDeleteFuture") return } @@ -27569,6 +27677,7 @@ func (future *RouteTablesUpdateTagsFuture) result(client RouteTablesClient) (rt return } if !done { + rt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteTablesUpdateTagsFuture") return } @@ -28013,6 +28122,7 @@ func (future *SecurityGroupsCreateOrUpdateFuture) result(client SecurityGroupsCl return } if !done { + sg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityGroupsCreateOrUpdateFuture") return } @@ -28055,6 +28165,7 @@ func (future *SecurityGroupsDeleteFuture) result(client SecurityGroupsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityGroupsDeleteFuture") return } @@ -28091,6 +28202,7 @@ func (future *SecurityGroupsUpdateTagsFuture) result(client SecurityGroupsClient return } if !done { + sg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityGroupsUpdateTagsFuture") return } @@ -28436,6 +28548,7 @@ func (future *SecurityRulesCreateOrUpdateFuture) result(client SecurityRulesClie return } if !done { + sr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityRulesCreateOrUpdateFuture") return } @@ -28478,6 +28591,7 @@ func (future *SecurityRulesDeleteFuture) result(client SecurityRulesClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityRulesDeleteFuture") return } @@ -28694,6 +28808,7 @@ func (future *ServiceEndpointPoliciesCreateOrUpdateFuture) result(client Service return } if !done { + sep.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPoliciesCreateOrUpdateFuture") return } @@ -28736,6 +28851,7 @@ func (future *ServiceEndpointPoliciesDeleteFuture) result(client ServiceEndpoint return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPoliciesDeleteFuture") return } @@ -28772,6 +28888,7 @@ func (future *ServiceEndpointPoliciesUpdateFuture) result(client ServiceEndpoint return } if !done { + sep.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPoliciesUpdateFuture") return } @@ -29202,6 +29319,7 @@ func (future *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture) result(clien return } if !done { + sepd.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture") return } @@ -29244,6 +29362,7 @@ func (future *ServiceEndpointPolicyDefinitionsDeleteFuture) result(client Servic return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPolicyDefinitionsDeleteFuture") return } @@ -29867,6 +29986,7 @@ func (future *SubnetsCreateOrUpdateFuture) result(client SubnetsClient) (s Subne return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsCreateOrUpdateFuture") return } @@ -29909,6 +30029,7 @@ func (future *SubnetsDeleteFuture) result(client SubnetsClient) (ar autorest.Res return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsDeleteFuture") return } @@ -29945,6 +30066,7 @@ func (future *SubnetsPrepareNetworkPoliciesFuture) result(client SubnetsClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsPrepareNetworkPoliciesFuture") return } @@ -29981,6 +30103,7 @@ func (future *SubnetsUnprepareNetworkPoliciesFuture) result(client SubnetsClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsUnprepareNetworkPoliciesFuture") return } @@ -30615,6 +30738,7 @@ func (future *VirtualHubsCreateOrUpdateFuture) result(client VirtualHubsClient) return } if !done { + vh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsCreateOrUpdateFuture") return } @@ -30657,6 +30781,7 @@ func (future *VirtualHubsDeleteFuture) result(client VirtualHubsClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsDeleteFuture") return } @@ -30693,6 +30818,7 @@ func (future *VirtualHubsUpdateTagsFuture) result(client VirtualHubsClient) (vh return } if !done { + vh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsUpdateTagsFuture") return } @@ -31563,6 +31689,7 @@ func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) result(clien return } if !done { + vngc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsCreateOrUpdateFuture") return } @@ -31605,6 +31732,7 @@ func (future *VirtualNetworkGatewayConnectionsDeleteFuture) result(client Virtua return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsDeleteFuture") return } @@ -31641,6 +31769,7 @@ func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) result(clien return } if !done { + crsk.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsResetSharedKeyFuture") return } @@ -31683,6 +31812,7 @@ func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) result(client return } if !done { + csk.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsSetSharedKeyFuture") return } @@ -31725,6 +31855,7 @@ func (future *VirtualNetworkGatewayConnectionsUpdateTagsFuture) result(client Vi return } if !done { + vngc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsUpdateTagsFuture") return } @@ -32282,6 +32413,7 @@ func (future *VirtualNetworkGatewaysCreateOrUpdateFuture) result(client VirtualN return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysCreateOrUpdateFuture") return } @@ -32324,6 +32456,7 @@ func (future *VirtualNetworkGatewaysDeleteFuture) result(client VirtualNetworkGa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysDeleteFuture") return } @@ -32360,6 +32493,7 @@ func (future *VirtualNetworkGatewaysGeneratevpnclientpackageFuture) result(clien return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGeneratevpnclientpackageFuture") return } @@ -32402,6 +32536,7 @@ func (future *VirtualNetworkGatewaysGenerateVpnProfileFuture) result(client Virt return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGenerateVpnProfileFuture") return } @@ -32444,6 +32579,7 @@ func (future *VirtualNetworkGatewaysGetAdvertisedRoutesFuture) result(client Vir return } if !done { + grlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetAdvertisedRoutesFuture") return } @@ -32486,6 +32622,7 @@ func (future *VirtualNetworkGatewaysGetBgpPeerStatusFuture) result(client Virtua return } if !done { + bpslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetBgpPeerStatusFuture") return } @@ -32528,6 +32665,7 @@ func (future *VirtualNetworkGatewaysGetLearnedRoutesFuture) result(client Virtua return } if !done { + grlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetLearnedRoutesFuture") return } @@ -32570,6 +32708,7 @@ func (future *VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture) result(c return } if !done { + vcchdlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture") return } @@ -32612,6 +32751,7 @@ func (future *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture) result(cl return } if !done { + vcipp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture") return } @@ -32654,6 +32794,7 @@ func (future *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) result(client return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnProfilePackageURLFuture") return } @@ -32706,6 +32847,7 @@ func (future *VirtualNetworkGatewaysResetFuture) result(client VirtualNetworkGat return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysResetFuture") return } @@ -32748,6 +32890,7 @@ func (future *VirtualNetworkGatewaysResetVpnClientSharedKeyFuture) result(client return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysResetVpnClientSharedKeyFuture") return } @@ -32784,6 +32927,7 @@ func (future *VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture) result(cl return } if !done { + vcipp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture") return } @@ -32826,6 +32970,7 @@ func (future *VirtualNetworkGatewaysUpdateTagsFuture) result(client VirtualNetwo return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysUpdateTagsFuture") return } @@ -33459,6 +33604,7 @@ func (future *VirtualNetworkPeeringsCreateOrUpdateFuture) result(client VirtualN return } if !done { + vnp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkPeeringsCreateOrUpdateFuture") return } @@ -33501,6 +33647,7 @@ func (future *VirtualNetworkPeeringsDeleteFuture) result(client VirtualNetworkPe return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkPeeringsDeleteFuture") return } @@ -33559,6 +33706,7 @@ func (future *VirtualNetworksCreateOrUpdateFuture) result(client VirtualNetworks return } if !done { + vn.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworksCreateOrUpdateFuture") return } @@ -33601,6 +33749,7 @@ func (future *VirtualNetworksDeleteFuture) result(client VirtualNetworksClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworksDeleteFuture") return } @@ -33637,6 +33786,7 @@ func (future *VirtualNetworksUpdateTagsFuture) result(client VirtualNetworksClie return } if !done { + vn.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworksUpdateTagsFuture") return } @@ -33987,6 +34137,7 @@ func (future *VirtualNetworkTapsCreateOrUpdateFuture) result(client VirtualNetwo return } if !done { + vnt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkTapsCreateOrUpdateFuture") return } @@ -34029,6 +34180,7 @@ func (future *VirtualNetworkTapsDeleteFuture) result(client VirtualNetworkTapsCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkTapsDeleteFuture") return } @@ -34065,6 +34217,7 @@ func (future *VirtualNetworkTapsUpdateTagsFuture) result(client VirtualNetworkTa return } if !done { + vnt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkTapsUpdateTagsFuture") return } @@ -34293,6 +34446,7 @@ func (future *VirtualWansCreateOrUpdateFuture) result(client VirtualWansClient) return } if !done { + vw.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualWansCreateOrUpdateFuture") return } @@ -34335,6 +34489,7 @@ func (future *VirtualWansDeleteFuture) result(client VirtualWansClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualWansDeleteFuture") return } @@ -34388,6 +34543,7 @@ func (future *VirtualWansUpdateTagsFuture) result(client VirtualWansClient) (vw return } if !done { + vw.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualWansUpdateTagsFuture") return } @@ -34906,6 +35062,7 @@ func (future *VpnConnectionsCreateOrUpdateFuture) result(client VpnConnectionsCl return } if !done { + vc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsCreateOrUpdateFuture") return } @@ -34948,6 +35105,7 @@ func (future *VpnConnectionsDeleteFuture) result(client VpnConnectionsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsDeleteFuture") return } @@ -35123,6 +35281,7 @@ func (future *VpnGatewaysCreateOrUpdateFuture) result(client VpnGatewaysClient) return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysCreateOrUpdateFuture") return } @@ -35165,6 +35324,7 @@ func (future *VpnGatewaysDeleteFuture) result(client VpnGatewaysClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysDeleteFuture") return } @@ -35201,6 +35361,7 @@ func (future *VpnGatewaysResetFuture) result(client VpnGatewaysClient) (vg VpnGa return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysResetFuture") return } @@ -35243,6 +35404,7 @@ func (future *VpnGatewaysUpdateTagsFuture) result(client VpnGatewaysClient) (vg return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysUpdateTagsFuture") return } @@ -35717,6 +35879,7 @@ func (future *VpnSitesConfigurationDownloadFuture) result(client VpnSitesConfigu return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesConfigurationDownloadFuture") return } @@ -35753,6 +35916,7 @@ func (future *VpnSitesCreateOrUpdateFuture) result(client VpnSitesClient) (vs Vp return } if !done { + vs.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesCreateOrUpdateFuture") return } @@ -35795,6 +35959,7 @@ func (future *VpnSitesDeleteFuture) result(client VpnSitesClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesDeleteFuture") return } @@ -35831,6 +35996,7 @@ func (future *VpnSitesUpdateTagsFuture) result(client VpnSitesClient) (vs VpnSit return } if !done { + vs.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesUpdateTagsFuture") return } @@ -36004,6 +36170,7 @@ func (future *WatchersCheckConnectivityFuture) result(client WatchersClient) (ci return } if !done { + ci.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersCheckConnectivityFuture") return } @@ -36046,6 +36213,7 @@ func (future *WatchersDeleteFuture) result(client WatchersClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersDeleteFuture") return } @@ -36082,6 +36250,7 @@ func (future *WatchersGetAzureReachabilityReportFuture) result(client WatchersCl return } if !done { + arr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetAzureReachabilityReportFuture") return } @@ -36124,6 +36293,7 @@ func (future *WatchersGetFlowLogStatusFuture) result(client WatchersClient) (fli return } if !done { + fli.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetFlowLogStatusFuture") return } @@ -36166,6 +36336,7 @@ func (future *WatchersGetNetworkConfigurationDiagnosticFuture) result(client Wat return } if !done { + cdr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetNetworkConfigurationDiagnosticFuture") return } @@ -36208,6 +36379,7 @@ func (future *WatchersGetNextHopFuture) result(client WatchersClient) (nhr NextH return } if !done { + nhr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetNextHopFuture") return } @@ -36250,6 +36422,7 @@ func (future *WatchersGetTroubleshootingFuture) result(client WatchersClient) (t return } if !done { + tr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetTroubleshootingFuture") return } @@ -36292,6 +36465,7 @@ func (future *WatchersGetTroubleshootingResultFuture) result(client WatchersClie return } if !done { + tr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetTroubleshootingResultFuture") return } @@ -36334,6 +36508,7 @@ func (future *WatchersGetVMSecurityRulesFuture) result(client WatchersClient) (s return } if !done { + sgvr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetVMSecurityRulesFuture") return } @@ -36376,6 +36551,7 @@ func (future *WatchersListAvailableProvidersFuture) result(client WatchersClient return } if !done { + apl.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersListAvailableProvidersFuture") return } @@ -36418,6 +36594,7 @@ func (future *WatchersSetFlowLogConfigurationFuture) result(client WatchersClien return } if !done { + fli.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersSetFlowLogConfigurationFuture") return } @@ -36460,6 +36637,7 @@ func (future *WatchersVerifyIPFlowFuture) result(client WatchersClient) (vifr Ve return } if !done { + vifr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersVerifyIPFlowFuture") return } @@ -36539,6 +36717,7 @@ func (future *WebApplicationFirewallPoliciesDeleteFuture) result(client WebAppli return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WebApplicationFirewallPoliciesDeleteFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/CHANGELOG.md index 3b8f9a75be..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/CHANGELOG.md @@ -1,227 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/d4bad535d456ee82c7fd17d1ec2b8802a0b83205//specification/network/resource-manager/readme.md tag: `package-2020-08` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *ApplicationGatewayPrivateEndpointConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewayPrivateEndpointConnectionsUpdateFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysBackendHealthFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysBackendHealthOnDemandFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysStartFuture.UnmarshalJSON([]byte) error -1. *ApplicationGatewaysStopFuture.UnmarshalJSON([]byte) error -1. *ApplicationSecurityGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ApplicationSecurityGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *AzureFirewallsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *AzureFirewallsDeleteFuture.UnmarshalJSON([]byte) error -1. *AzureFirewallsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *BastionHostsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *BastionHostsDeleteFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsDeleteFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsQueryFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsStartFuture.UnmarshalJSON([]byte) error -1. *ConnectionMonitorsStopFuture.UnmarshalJSON([]byte) error -1. *CustomIPPrefixesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *CustomIPPrefixesDeleteFuture.UnmarshalJSON([]byte) error -1. *DdosCustomPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DdosCustomPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *DdosProtectionPlansCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DdosProtectionPlansDeleteFuture.UnmarshalJSON([]byte) error -1. *DeleteBastionShareableLinkFuture.UnmarshalJSON([]byte) error -1. *DscpConfigurationCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DscpConfigurationDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitAuthorizationsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListArpTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListRoutesTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCircuitsListRoutesTableSummaryFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListArpTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListRoutesTableFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *ExpressRouteGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *ExpressRoutePortsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ExpressRoutePortsDeleteFuture.UnmarshalJSON([]byte) error -1. *FirewallPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *FirewallPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *FirewallPolicyRuleCollectionGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *FlowLogsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *FlowLogsDeleteFuture.UnmarshalJSON([]byte) error -1. *GeneratevirtualwanvpnserverconfigurationvpnprofileFuture.UnmarshalJSON([]byte) error -1. *GetActiveSessionsAllFuture.UnmarshalJSON([]byte) error -1. *GetActiveSessionsFuture.UnmarshalJSON([]byte) error -1. *HubRouteTablesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *HubRouteTablesDeleteFuture.UnmarshalJSON([]byte) error -1. *HubVirtualNetworkConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *HubVirtualNetworkConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *IPAllocationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *IPAllocationsDeleteFuture.UnmarshalJSON([]byte) error -1. *IPGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *IPGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *InboundNatRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InboundNatRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *InboundSecurityRuleCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InterfaceTapConfigurationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InterfaceTapConfigurationsDeleteFuture.UnmarshalJSON([]byte) error -1. *InterfacesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *InterfacesDeleteFuture.UnmarshalJSON([]byte) error -1. *InterfacesGetEffectiveRouteTableFuture.UnmarshalJSON([]byte) error -1. *InterfacesListEffectiveNetworkSecurityGroupsFuture.UnmarshalJSON([]byte) error -1. *LoadBalancerBackendAddressPoolsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *LoadBalancerBackendAddressPoolsDeleteFuture.UnmarshalJSON([]byte) error -1. *LoadBalancersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *LoadBalancersDeleteFuture.UnmarshalJSON([]byte) error -1. *LocalNetworkGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *LocalNetworkGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *NatGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *NatGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *NatRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *NatRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *P2SVpnGatewaysResetFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysGenerateVpnProfileFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysGetP2sVpnConnectionHealthFuture.UnmarshalJSON([]byte) error -1. *P2sVpnGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesCreateFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesDeleteFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesGetStatusFuture.UnmarshalJSON([]byte) error -1. *PacketCapturesStopFuture.UnmarshalJSON([]byte) error -1. *PrivateDNSZoneGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PrivateDNSZoneGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *PrivateEndpointsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PrivateEndpointsDeleteFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesDeleteFuture.UnmarshalJSON([]byte) error -1. *PrivateLinkServicesDeletePrivateEndpointConnectionFuture.UnmarshalJSON([]byte) error -1. *ProfilesDeleteFuture.UnmarshalJSON([]byte) error -1. *PublicIPAddressesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PublicIPAddressesDeleteFuture.UnmarshalJSON([]byte) error -1. *PublicIPPrefixesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *PublicIPPrefixesDeleteFuture.UnmarshalJSON([]byte) error -1. *PutBastionShareableLinkAllFuture.UnmarshalJSON([]byte) error -1. *PutBastionShareableLinkFuture.UnmarshalJSON([]byte) error -1. *RouteFilterRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteFilterRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *RouteFiltersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteFiltersDeleteFuture.UnmarshalJSON([]byte) error -1. *RouteTablesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RouteTablesDeleteFuture.UnmarshalJSON([]byte) error -1. *RoutesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *RoutesDeleteFuture.UnmarshalJSON([]byte) error -1. *SecurityGroupsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SecurityGroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *SecurityPartnerProvidersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SecurityPartnerProvidersDeleteFuture.UnmarshalJSON([]byte) error -1. *SecurityRulesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SecurityRulesDeleteFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPoliciesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPoliciesDeleteFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *ServiceEndpointPolicyDefinitionsDeleteFuture.UnmarshalJSON([]byte) error -1. *SubnetsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *SubnetsDeleteFuture.UnmarshalJSON([]byte) error -1. *SubnetsPrepareNetworkPoliciesFuture.UnmarshalJSON([]byte) error -1. *SubnetsUnprepareNetworkPoliciesFuture.UnmarshalJSON([]byte) error -1. *VirtualApplianceSitesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualApplianceSitesDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualAppliancesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualAppliancesDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubBgpConnectionCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualHubBgpConnectionDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubBgpConnectionsListAdvertisedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualHubBgpConnectionsListLearnedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualHubIPConfigurationCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualHubIPConfigurationDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubRouteTableV2sCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualHubRouteTableV2sDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualHubsGetEffectiveVirtualHubRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsGetIkeSasFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsResetSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsSetSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsStartPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsStopPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewayConnectionsUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGenerateVpnProfileFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGeneratevpnclientpackageFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetAdvertisedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetBgpPeerStatusFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetLearnedRoutesFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysResetFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysResetVpnClientSharedKeyFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysStartPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysStopPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkTapsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworkTapsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworksCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualNetworksDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualRouterPeeringsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualRouterPeeringsDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualRoutersCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualRoutersDeleteFuture.UnmarshalJSON([]byte) error -1. *VirtualWansCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VirtualWansDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsStartPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VpnConnectionsStopPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysResetFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysStartPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysStopPacketCaptureFuture.UnmarshalJSON([]byte) error -1. *VpnGatewaysUpdateTagsFuture.UnmarshalJSON([]byte) error -1. *VpnServerConfigurationsAssociatedWithVirtualWanListFuture.UnmarshalJSON([]byte) error -1. *VpnServerConfigurationsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnServerConfigurationsDeleteFuture.UnmarshalJSON([]byte) error -1. *VpnSitesConfigurationDownloadFuture.UnmarshalJSON([]byte) error -1. *VpnSitesCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *VpnSitesDeleteFuture.UnmarshalJSON([]byte) error -1. *WatchersCheckConnectivityFuture.UnmarshalJSON([]byte) error -1. *WatchersDeleteFuture.UnmarshalJSON([]byte) error -1. *WatchersGetAzureReachabilityReportFuture.UnmarshalJSON([]byte) error -1. *WatchersGetFlowLogStatusFuture.UnmarshalJSON([]byte) error -1. *WatchersGetNetworkConfigurationDiagnosticFuture.UnmarshalJSON([]byte) error -1. *WatchersGetNextHopFuture.UnmarshalJSON([]byte) error -1. *WatchersGetTroubleshootingFuture.UnmarshalJSON([]byte) error -1. *WatchersGetTroubleshootingResultFuture.UnmarshalJSON([]byte) error -1. *WatchersGetVMSecurityRulesFuture.UnmarshalJSON([]byte) error -1. *WatchersListAvailableProvidersFuture.UnmarshalJSON([]byte) error -1. *WatchersSetFlowLogConfigurationFuture.UnmarshalJSON([]byte) error -1. *WatchersVerifyIPFlowFuture.UnmarshalJSON([]byte) error -1. *WebApplicationFirewallPoliciesDeleteFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/_meta.json new file mode 100644 index 0000000000..9e2565b8a9 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "d4bad535d456ee82c7fd17d1ec2b8802a0b83205", + "readme": "/_/azure-rest-api-specs/specification/network/resource-manager/readme.md", + "tag": "package-2020-08", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2020-08 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/network/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/models.go index 6d145087f3..e0903124a8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network/models.go @@ -2216,6 +2216,7 @@ func (future *ApplicationGatewayPrivateEndpointConnectionsDeleteFuture) result(c return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewayPrivateEndpointConnectionsDeleteFuture") return } @@ -2252,6 +2253,7 @@ func (future *ApplicationGatewayPrivateEndpointConnectionsUpdateFuture) result(c return } if !done { + agpec.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewayPrivateEndpointConnectionsUpdateFuture") return } @@ -3482,6 +3484,7 @@ func (future *ApplicationGatewaysBackendHealthFuture) result(client ApplicationG return } if !done { + agbh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysBackendHealthFuture") return } @@ -3524,6 +3527,7 @@ func (future *ApplicationGatewaysBackendHealthOnDemandFuture) result(client Appl return } if !done { + agbhod.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysBackendHealthOnDemandFuture") return } @@ -3566,6 +3570,7 @@ func (future *ApplicationGatewaysCreateOrUpdateFuture) result(client Application return } if !done { + ag.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysCreateOrUpdateFuture") return } @@ -3608,6 +3613,7 @@ func (future *ApplicationGatewaysDeleteFuture) result(client ApplicationGateways return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysDeleteFuture") return } @@ -3980,6 +3986,7 @@ func (future *ApplicationGatewaysStartFuture) result(client ApplicationGatewaysC return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysStartFuture") return } @@ -4016,6 +4023,7 @@ func (future *ApplicationGatewaysStopFuture) result(client ApplicationGatewaysCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationGatewaysStopFuture") return } @@ -4821,6 +4829,7 @@ func (future *ApplicationSecurityGroupsCreateOrUpdateFuture) result(client Appli return } if !done { + asg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationSecurityGroupsCreateOrUpdateFuture") return } @@ -4863,6 +4872,7 @@ func (future *ApplicationSecurityGroupsDeleteFuture) result(client ApplicationSe return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ApplicationSecurityGroupsDeleteFuture") return } @@ -7039,6 +7049,7 @@ func (future *AzureFirewallsCreateOrUpdateFuture) result(client AzureFirewallsCl return } if !done { + af.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsCreateOrUpdateFuture") return } @@ -7081,6 +7092,7 @@ func (future *AzureFirewallsDeleteFuture) result(client AzureFirewallsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsDeleteFuture") return } @@ -7125,6 +7137,7 @@ func (future *AzureFirewallsUpdateTagsFuture) result(client AzureFirewallsClient return } if !done { + af.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsUpdateTagsFuture") return } @@ -8190,6 +8203,7 @@ func (future *BastionHostsCreateOrUpdateFuture) result(client BastionHostsClient return } if !done { + bh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.BastionHostsCreateOrUpdateFuture") return } @@ -8232,6 +8246,7 @@ func (future *BastionHostsDeleteFuture) result(client BastionHostsClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.BastionHostsDeleteFuture") return } @@ -9507,6 +9522,7 @@ func (future *ConnectionMonitorsCreateOrUpdateFuture) result(client ConnectionMo return } if !done { + cmr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsCreateOrUpdateFuture") return } @@ -9549,6 +9565,7 @@ func (future *ConnectionMonitorsDeleteFuture) result(client ConnectionMonitorsCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsDeleteFuture") return } @@ -9593,6 +9610,7 @@ func (future *ConnectionMonitorsQueryFuture) result(client ConnectionMonitorsCli return } if !done { + cmqr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsQueryFuture") return } @@ -9635,6 +9653,7 @@ func (future *ConnectionMonitorsStartFuture) result(client ConnectionMonitorsCli return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsStartFuture") return } @@ -9671,6 +9690,7 @@ func (future *ConnectionMonitorsStopFuture) result(client ConnectionMonitorsClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ConnectionMonitorsStopFuture") return } @@ -10385,6 +10405,7 @@ func (future *CustomIPPrefixesCreateOrUpdateFuture) result(client CustomIPPrefix return } if !done { + cip.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.CustomIPPrefixesCreateOrUpdateFuture") return } @@ -10427,6 +10448,7 @@ func (future *CustomIPPrefixesDeleteFuture) result(client CustomIPPrefixesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.CustomIPPrefixesDeleteFuture") return } @@ -10648,6 +10670,7 @@ func (future *DdosCustomPoliciesCreateOrUpdateFuture) result(client DdosCustomPo return } if !done { + dcp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosCustomPoliciesCreateOrUpdateFuture") return } @@ -10690,6 +10713,7 @@ func (future *DdosCustomPoliciesDeleteFuture) result(client DdosCustomPoliciesCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosCustomPoliciesDeleteFuture") return } @@ -11152,6 +11176,7 @@ func (future *DdosProtectionPlansCreateOrUpdateFuture) result(client DdosProtect return } if !done { + dpp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosProtectionPlansCreateOrUpdateFuture") return } @@ -11194,6 +11219,7 @@ func (future *DdosProtectionPlansDeleteFuture) result(client DdosProtectionPlans return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DdosProtectionPlansDeleteFuture") return } @@ -11318,6 +11344,7 @@ func (future *DeleteBastionShareableLinkFuture) result(client BaseClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DeleteBastionShareableLinkFuture") return } @@ -11513,6 +11540,7 @@ func (future *DscpConfigurationCreateOrUpdateFuture) result(client DscpConfigura return } if !done { + dc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DscpConfigurationCreateOrUpdateFuture") return } @@ -11555,6 +11583,7 @@ func (future *DscpConfigurationDeleteFuture) result(client DscpConfigurationClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.DscpConfigurationDeleteFuture") return } @@ -12410,6 +12439,7 @@ func (future *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) result(clie return } if !done { + erca.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture") return } @@ -12452,6 +12482,7 @@ func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) result(client Expre return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitAuthorizationsDeleteFuture") return } @@ -12782,6 +12813,7 @@ func (future *ExpressRouteCircuitConnectionsCreateOrUpdateFuture) result(client return } if !done { + ercc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitConnectionsCreateOrUpdateFuture") return } @@ -12824,6 +12856,7 @@ func (future *ExpressRouteCircuitConnectionsDeleteFuture) result(client ExpressR return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitConnectionsDeleteFuture") return } @@ -13415,6 +13448,7 @@ func (future *ExpressRouteCircuitPeeringsCreateOrUpdateFuture) result(client Exp return } if !done { + ercp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitPeeringsCreateOrUpdateFuture") return } @@ -13457,6 +13491,7 @@ func (future *ExpressRouteCircuitPeeringsDeleteFuture) result(client ExpressRout return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitPeeringsDeleteFuture") return } @@ -13611,6 +13646,7 @@ func (future *ExpressRouteCircuitsCreateOrUpdateFuture) result(client ExpressRou return } if !done { + erc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsCreateOrUpdateFuture") return } @@ -13653,6 +13689,7 @@ func (future *ExpressRouteCircuitsDeleteFuture) result(client ExpressRouteCircui return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsDeleteFuture") return } @@ -13710,6 +13747,7 @@ func (future *ExpressRouteCircuitsListArpTableFuture) result(client ExpressRoute return } if !done { + ercatlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListArpTableFuture") return } @@ -13752,6 +13790,7 @@ func (future *ExpressRouteCircuitsListRoutesTableFuture) result(client ExpressRo return } if !done { + ercrtlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListRoutesTableFuture") return } @@ -13794,6 +13833,7 @@ func (future *ExpressRouteCircuitsListRoutesTableSummaryFuture) result(client Ex return } if !done { + ercrtslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCircuitsListRoutesTableSummaryFuture") return } @@ -13992,6 +14032,7 @@ func (future *ExpressRouteConnectionsCreateOrUpdateFuture) result(client Express return } if !done { + erc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteConnectionsCreateOrUpdateFuture") return } @@ -14034,6 +14075,7 @@ func (future *ExpressRouteConnectionsDeleteFuture) result(client ExpressRouteCon return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteConnectionsDeleteFuture") return } @@ -14673,6 +14715,7 @@ func (future *ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) result(cl return } if !done { + erccp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture") return } @@ -14715,6 +14758,7 @@ func (future *ExpressRouteCrossConnectionPeeringsDeleteFuture) result(client Exp return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionPeeringsDeleteFuture") return } @@ -14805,6 +14849,7 @@ func (future *ExpressRouteCrossConnectionsCreateOrUpdateFuture) result(client Ex return } if !done { + ercc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsCreateOrUpdateFuture") return } @@ -14847,6 +14892,7 @@ func (future *ExpressRouteCrossConnectionsListArpTableFuture) result(client Expr return } if !done { + ercatlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListArpTableFuture") return } @@ -14889,6 +14935,7 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableFuture) result(client E return } if !done { + ercrtlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListRoutesTableFuture") return } @@ -14931,6 +14978,7 @@ func (future *ExpressRouteCrossConnectionsListRoutesTableSummaryFuture) result(c return } if !done { + erccrtslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteCrossConnectionsListRoutesTableSummaryFuture") return } @@ -15153,6 +15201,7 @@ func (future *ExpressRouteGatewaysCreateOrUpdateFuture) result(client ExpressRou return } if !done { + erg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteGatewaysCreateOrUpdateFuture") return } @@ -15195,6 +15244,7 @@ func (future *ExpressRouteGatewaysDeleteFuture) result(client ExpressRouteGatewa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteGatewaysDeleteFuture") return } @@ -15231,6 +15281,7 @@ func (future *ExpressRouteGatewaysUpdateTagsFuture) result(client ExpressRouteGa return } if !done { + erg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRouteGatewaysUpdateTagsFuture") return } @@ -15887,6 +15938,7 @@ func (future *ExpressRoutePortsCreateOrUpdateFuture) result(client ExpressRouteP return } if !done { + erp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRoutePortsCreateOrUpdateFuture") return } @@ -15929,6 +15981,7 @@ func (future *ExpressRoutePortsDeleteFuture) result(client ExpressRoutePortsClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ExpressRoutePortsDeleteFuture") return } @@ -16561,6 +16614,7 @@ func (future *FirewallPoliciesCreateOrUpdateFuture) result(client FirewallPolici return } if !done { + fp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPoliciesCreateOrUpdateFuture") return } @@ -16603,6 +16657,7 @@ func (future *FirewallPoliciesDeleteFuture) result(client FirewallPoliciesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPoliciesDeleteFuture") return } @@ -17797,6 +17852,7 @@ func (future *FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture) result(cli return } if !done { + fprcg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPolicyRuleCollectionGroupsCreateOrUpdateFuture") return } @@ -17839,6 +17895,7 @@ func (future *FirewallPolicyRuleCollectionGroupsDeleteFuture) result(client Fire return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FirewallPolicyRuleCollectionGroupsDeleteFuture") return } @@ -18310,6 +18367,7 @@ func (future *FlowLogsCreateOrUpdateFuture) result(client FlowLogsClient) (fl Fl return } if !done { + fl.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FlowLogsCreateOrUpdateFuture") return } @@ -18352,6 +18410,7 @@ func (future *FlowLogsDeleteFuture) result(client FlowLogsClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.FlowLogsDeleteFuture") return } @@ -18587,6 +18646,7 @@ func (future *GeneratevirtualwanvpnserverconfigurationvpnprofileFuture) result(c return } if !done { + vpr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.GeneratevirtualwanvpnserverconfigurationvpnprofileFuture") return } @@ -18629,6 +18689,7 @@ func (future *GetActiveSessionsAllFuture) result(client BaseClient) (baslrp Bast return } if !done { + baslrp.baslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.GetActiveSessionsAllFuture") return } @@ -18671,6 +18732,7 @@ func (future *GetActiveSessionsFuture) result(client BaseClient) (baslrp Bastion return } if !done { + baslrp.baslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.GetActiveSessionsFuture") return } @@ -19111,6 +19173,7 @@ func (future *HubRouteTablesCreateOrUpdateFuture) result(client HubRouteTablesCl return } if !done { + hrt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.HubRouteTablesCreateOrUpdateFuture") return } @@ -19153,6 +19216,7 @@ func (future *HubRouteTablesDeleteFuture) result(client HubRouteTablesClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.HubRouteTablesDeleteFuture") return } @@ -19305,6 +19369,7 @@ func (future *HubVirtualNetworkConnectionsCreateOrUpdateFuture) result(client Hu return } if !done { + hvnc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.HubVirtualNetworkConnectionsCreateOrUpdateFuture") return } @@ -19347,6 +19412,7 @@ func (future *HubVirtualNetworkConnectionsDeleteFuture) result(client HubVirtual return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.HubVirtualNetworkConnectionsDeleteFuture") return } @@ -19831,6 +19897,7 @@ func (future *InboundNatRulesCreateOrUpdateFuture) result(client InboundNatRules return } if !done { + inr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InboundNatRulesCreateOrUpdateFuture") return } @@ -19873,6 +19940,7 @@ func (future *InboundNatRulesDeleteFuture) result(client InboundNatRulesClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InboundNatRulesDeleteFuture") return } @@ -19999,6 +20067,7 @@ func (future *InboundSecurityRuleCreateOrUpdateFuture) result(client InboundSecu return } if !done { + isr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InboundSecurityRuleCreateOrUpdateFuture") return } @@ -20996,6 +21065,7 @@ func (future *InterfacesCreateOrUpdateFuture) result(client InterfacesClient) (i return } if !done { + i.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesCreateOrUpdateFuture") return } @@ -21038,6 +21108,7 @@ func (future *InterfacesDeleteFuture) result(client InterfacesClient) (ar autore return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesDeleteFuture") return } @@ -21074,6 +21145,7 @@ func (future *InterfacesGetEffectiveRouteTableFuture) result(client InterfacesCl return } if !done { + erlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesGetEffectiveRouteTableFuture") return } @@ -21116,6 +21188,7 @@ func (future *InterfacesListEffectiveNetworkSecurityGroupsFuture) result(client return } if !done { + ensglr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfacesListEffectiveNetworkSecurityGroupsFuture") return } @@ -21434,6 +21507,7 @@ func (future *InterfaceTapConfigurationsCreateOrUpdateFuture) result(client Inte return } if !done { + itc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfaceTapConfigurationsCreateOrUpdateFuture") return } @@ -21476,6 +21550,7 @@ func (future *InterfaceTapConfigurationsDeleteFuture) result(client InterfaceTap return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.InterfaceTapConfigurationsDeleteFuture") return } @@ -21839,6 +21914,7 @@ func (future *IPAllocationsCreateOrUpdateFuture) result(client IPAllocationsClie return } if !done { + ia.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.IPAllocationsCreateOrUpdateFuture") return } @@ -21881,6 +21957,7 @@ func (future *IPAllocationsDeleteFuture) result(client IPAllocationsClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.IPAllocationsDeleteFuture") return } @@ -22452,6 +22529,7 @@ func (future *IPGroupsCreateOrUpdateFuture) result(client IPGroupsClient) (ig IP return } if !done { + ig.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.IPGroupsCreateOrUpdateFuture") return } @@ -22494,6 +22572,7 @@ func (future *IPGroupsDeleteFuture) result(client IPGroupsClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.IPGroupsDeleteFuture") return } @@ -25363,6 +25442,7 @@ func (future *LoadBalancerBackendAddressPoolsCreateOrUpdateFuture) result(client return } if !done { + bap.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancerBackendAddressPoolsCreateOrUpdateFuture") return } @@ -25405,6 +25485,7 @@ func (future *LoadBalancerBackendAddressPoolsDeleteFuture) result(client LoadBal return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancerBackendAddressPoolsDeleteFuture") return } @@ -26359,6 +26440,7 @@ func (future *LoadBalancersCreateOrUpdateFuture) result(client LoadBalancersClie return } if !done { + lb.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancersCreateOrUpdateFuture") return } @@ -26401,6 +26483,7 @@ func (future *LoadBalancersDeleteFuture) result(client LoadBalancersClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LoadBalancersDeleteFuture") return } @@ -26920,6 +27003,7 @@ func (future *LocalNetworkGatewaysCreateOrUpdateFuture) result(client LocalNetwo return } if !done { + lng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LocalNetworkGatewaysCreateOrUpdateFuture") return } @@ -26962,6 +27046,7 @@ func (future *LocalNetworkGatewaysDeleteFuture) result(client LocalNetworkGatewa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.LocalNetworkGatewaysDeleteFuture") return } @@ -27469,6 +27554,7 @@ func (future *NatGatewaysCreateOrUpdateFuture) result(client NatGatewaysClient) return } if !done { + ng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatGatewaysCreateOrUpdateFuture") return } @@ -27511,6 +27597,7 @@ func (future *NatGatewaysDeleteFuture) result(client NatGatewaysClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatGatewaysDeleteFuture") return } @@ -27644,6 +27731,7 @@ func (future *NatRulesCreateOrUpdateFuture) result(client NatRulesClient) (vgnr return } if !done { + vgnr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatRulesCreateOrUpdateFuture") return } @@ -27686,6 +27774,7 @@ func (future *NatRulesDeleteFuture) result(client NatRulesClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.NatRulesDeleteFuture") return } @@ -28461,6 +28550,7 @@ func (future *P2sVpnGatewaysCreateOrUpdateFuture) result(client P2sVpnGatewaysCl return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysCreateOrUpdateFuture") return } @@ -28503,6 +28593,7 @@ func (future *P2sVpnGatewaysDeleteFuture) result(client P2sVpnGatewaysClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysDeleteFuture") return } @@ -28539,6 +28630,7 @@ func (future *P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture) result(client P2s return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysDisconnectP2sVpnConnectionsFuture") return } @@ -28575,6 +28667,7 @@ func (future *P2sVpnGatewaysGenerateVpnProfileFuture) result(client P2sVpnGatewa return } if !done { + vpr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysGenerateVpnProfileFuture") return } @@ -28617,6 +28710,7 @@ func (future *P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture) result(clie return } if !done { + pvch.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture") return } @@ -28659,6 +28753,7 @@ func (future *P2sVpnGatewaysGetP2sVpnConnectionHealthFuture) result(client P2sVp return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysGetP2sVpnConnectionHealthFuture") return } @@ -28701,6 +28796,7 @@ func (future *P2SVpnGatewaysResetFuture) result(client P2sVpnGatewaysClient) (pv return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2SVpnGatewaysResetFuture") return } @@ -28743,6 +28839,7 @@ func (future *P2sVpnGatewaysUpdateTagsFuture) result(client P2sVpnGatewaysClient return } if !done { + pvg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.P2sVpnGatewaysUpdateTagsFuture") return } @@ -28999,6 +29096,7 @@ func (future *PacketCapturesCreateFuture) result(client PacketCapturesClient) (p return } if !done { + pcr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesCreateFuture") return } @@ -29041,6 +29139,7 @@ func (future *PacketCapturesDeleteFuture) result(client PacketCapturesClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesDeleteFuture") return } @@ -29077,6 +29176,7 @@ func (future *PacketCapturesGetStatusFuture) result(client PacketCapturesClient) return } if !done { + pcqsr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesGetStatusFuture") return } @@ -29119,6 +29219,7 @@ func (future *PacketCapturesStopFuture) result(client PacketCapturesClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PacketCapturesStopFuture") return } @@ -30002,6 +30103,7 @@ func (future *PrivateDNSZoneGroupsCreateOrUpdateFuture) result(client PrivateDNS return } if !done { + pdzg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateDNSZoneGroupsCreateOrUpdateFuture") return } @@ -30044,6 +30146,7 @@ func (future *PrivateDNSZoneGroupsDeleteFuture) result(client PrivateDNSZoneGrou return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateDNSZoneGroupsDeleteFuture") return } @@ -30708,6 +30811,7 @@ func (future *PrivateEndpointsCreateOrUpdateFuture) result(client PrivateEndpoin return } if !done { + peVar.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateEndpointsCreateOrUpdateFuture") return } @@ -30750,6 +30854,7 @@ func (future *PrivateEndpointsDeleteFuture) result(client PrivateEndpointsClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateEndpointsDeleteFuture") return } @@ -31401,6 +31506,7 @@ func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGrou return } if !done { + plsv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupFuture") return } @@ -31443,6 +31549,7 @@ func (future *PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture) result return } if !done { + plsv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCheckPrivateLinkServiceVisibilityFuture") return } @@ -31485,6 +31592,7 @@ func (future *PrivateLinkServicesCreateOrUpdateFuture) result(client PrivateLink return } if !done { + pls.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesCreateOrUpdateFuture") return } @@ -31527,6 +31635,7 @@ func (future *PrivateLinkServicesDeleteFuture) result(client PrivateLinkServices return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesDeleteFuture") return } @@ -31563,6 +31672,7 @@ func (future *PrivateLinkServicesDeletePrivateEndpointConnectionFuture) result(c return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PrivateLinkServicesDeletePrivateEndpointConnectionFuture") return } @@ -32030,6 +32140,7 @@ func (future *ProfilesDeleteFuture) result(client ProfilesClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ProfilesDeleteFuture") return } @@ -32259,6 +32370,7 @@ func (future *PublicIPAddressesCreateOrUpdateFuture) result(client PublicIPAddre return } if !done { + pia.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPAddressesCreateOrUpdateFuture") return } @@ -32301,6 +32413,7 @@ func (future *PublicIPAddressesDeleteFuture) result(client PublicIPAddressesClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPAddressesDeleteFuture") return } @@ -32717,6 +32830,7 @@ func (future *PublicIPPrefixesCreateOrUpdateFuture) result(client PublicIPPrefix return } if !done { + pip.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPPrefixesCreateOrUpdateFuture") return } @@ -32759,6 +32873,7 @@ func (future *PublicIPPrefixesDeleteFuture) result(client PublicIPPrefixesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PublicIPPrefixesDeleteFuture") return } @@ -33002,6 +33117,7 @@ func (future *PutBastionShareableLinkAllFuture) result(client BaseClient) (bsllr return } if !done { + bsllrp.bsllr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PutBastionShareableLinkAllFuture") return } @@ -33044,6 +33160,7 @@ func (future *PutBastionShareableLinkFuture) result(client BaseClient) (bsllrp B return } if !done { + bsllrp.bsllr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.PutBastionShareableLinkFuture") return } @@ -34000,6 +34117,7 @@ func (future *RouteFilterRulesCreateOrUpdateFuture) result(client RouteFilterRul return } if !done { + rfr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFilterRulesCreateOrUpdateFuture") return } @@ -34042,6 +34160,7 @@ func (future *RouteFilterRulesDeleteFuture) result(client RouteFilterRulesClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFilterRulesDeleteFuture") return } @@ -34078,6 +34197,7 @@ func (future *RouteFiltersCreateOrUpdateFuture) result(client RouteFiltersClient return } if !done { + rf.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFiltersCreateOrUpdateFuture") return } @@ -34120,6 +34240,7 @@ func (future *RouteFiltersDeleteFuture) result(client RouteFiltersClient) (ar au return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteFiltersDeleteFuture") return } @@ -34347,6 +34468,7 @@ func (future *RoutesCreateOrUpdateFuture) result(client RoutesClient) (r Route, return } if !done { + r.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RoutesCreateOrUpdateFuture") return } @@ -34388,6 +34510,7 @@ func (future *RoutesDeleteFuture) result(client RoutesClient) (ar autorest.Respo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RoutesDeleteFuture") return } @@ -34724,6 +34847,7 @@ func (future *RouteTablesCreateOrUpdateFuture) result(client RouteTablesClient) return } if !done { + rt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteTablesCreateOrUpdateFuture") return } @@ -34766,6 +34890,7 @@ func (future *RouteTablesDeleteFuture) result(client RouteTablesClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.RouteTablesDeleteFuture") return } @@ -35225,6 +35350,7 @@ func (future *SecurityGroupsCreateOrUpdateFuture) result(client SecurityGroupsCl return } if !done { + sg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityGroupsCreateOrUpdateFuture") return } @@ -35267,6 +35393,7 @@ func (future *SecurityGroupsDeleteFuture) result(client SecurityGroupsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityGroupsDeleteFuture") return } @@ -35615,6 +35742,7 @@ func (future *SecurityPartnerProvidersCreateOrUpdateFuture) result(client Securi return } if !done { + spp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityPartnerProvidersCreateOrUpdateFuture") return } @@ -35657,6 +35785,7 @@ func (future *SecurityPartnerProvidersDeleteFuture) result(client SecurityPartne return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityPartnerProvidersDeleteFuture") return } @@ -36045,6 +36174,7 @@ func (future *SecurityRulesCreateOrUpdateFuture) result(client SecurityRulesClie return } if !done { + sr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityRulesCreateOrUpdateFuture") return } @@ -36087,6 +36217,7 @@ func (future *SecurityRulesDeleteFuture) result(client SecurityRulesClient) (ar return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SecurityRulesDeleteFuture") return } @@ -36297,6 +36428,7 @@ func (future *ServiceEndpointPoliciesCreateOrUpdateFuture) result(client Service return } if !done { + sep.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPoliciesCreateOrUpdateFuture") return } @@ -36339,6 +36471,7 @@ func (future *ServiceEndpointPoliciesDeleteFuture) result(client ServiceEndpoint return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPoliciesDeleteFuture") return } @@ -36757,6 +36890,7 @@ func (future *ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture) result(clien return } if !done { + sepd.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture") return } @@ -36799,6 +36933,7 @@ func (future *ServiceEndpointPolicyDefinitionsDeleteFuture) result(client Servic return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.ServiceEndpointPolicyDefinitionsDeleteFuture") return } @@ -37445,6 +37580,7 @@ func (future *SubnetsCreateOrUpdateFuture) result(client SubnetsClient) (s Subne return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsCreateOrUpdateFuture") return } @@ -37487,6 +37623,7 @@ func (future *SubnetsDeleteFuture) result(client SubnetsClient) (ar autorest.Res return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsDeleteFuture") return } @@ -37523,6 +37660,7 @@ func (future *SubnetsPrepareNetworkPoliciesFuture) result(client SubnetsClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsPrepareNetworkPoliciesFuture") return } @@ -37559,6 +37697,7 @@ func (future *SubnetsUnprepareNetworkPoliciesFuture) result(client SubnetsClient return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.SubnetsUnprepareNetworkPoliciesFuture") return } @@ -38394,6 +38533,7 @@ func (future *VirtualAppliancesCreateOrUpdateFuture) result(client VirtualApplia return } if !done { + va.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualAppliancesCreateOrUpdateFuture") return } @@ -38436,6 +38576,7 @@ func (future *VirtualAppliancesDeleteFuture) result(client VirtualAppliancesClie return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualAppliancesDeleteFuture") return } @@ -38744,6 +38885,7 @@ func (future *VirtualApplianceSitesCreateOrUpdateFuture) result(client VirtualAp return } if !done { + vas.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualApplianceSitesCreateOrUpdateFuture") return } @@ -38786,6 +38928,7 @@ func (future *VirtualApplianceSitesDeleteFuture) result(client VirtualApplianceS return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualApplianceSitesDeleteFuture") return } @@ -39249,6 +39392,7 @@ func (future *VirtualHubBgpConnectionCreateOrUpdateFuture) result(client Virtual return } if !done { + bc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubBgpConnectionCreateOrUpdateFuture") return } @@ -39291,6 +39435,7 @@ func (future *VirtualHubBgpConnectionDeleteFuture) result(client VirtualHubBgpCo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubBgpConnectionDeleteFuture") return } @@ -39327,6 +39472,7 @@ func (future *VirtualHubBgpConnectionsListAdvertisedRoutesFuture) result(client return } if !done { + prl.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubBgpConnectionsListAdvertisedRoutesFuture") return } @@ -39369,6 +39515,7 @@ func (future *VirtualHubBgpConnectionsListLearnedRoutesFuture) result(client Vir return } if !done { + prl.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubBgpConnectionsListLearnedRoutesFuture") return } @@ -39437,6 +39584,7 @@ func (future *VirtualHubIPConfigurationCreateOrUpdateFuture) result(client Virtu return } if !done { + hic.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubIPConfigurationCreateOrUpdateFuture") return } @@ -39479,6 +39627,7 @@ func (future *VirtualHubIPConfigurationDeleteFuture) result(client VirtualHubIPC return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubIPConfigurationDeleteFuture") return } @@ -39721,6 +39870,7 @@ func (future *VirtualHubRouteTableV2sCreateOrUpdateFuture) result(client Virtual return } if !done { + vhrtv.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubRouteTableV2sCreateOrUpdateFuture") return } @@ -39763,6 +39913,7 @@ func (future *VirtualHubRouteTableV2sDeleteFuture) result(client VirtualHubRoute return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubRouteTableV2sDeleteFuture") return } @@ -39811,6 +39962,7 @@ func (future *VirtualHubsCreateOrUpdateFuture) result(client VirtualHubsClient) return } if !done { + vh.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsCreateOrUpdateFuture") return } @@ -39853,6 +40005,7 @@ func (future *VirtualHubsDeleteFuture) result(client VirtualHubsClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsDeleteFuture") return } @@ -39889,6 +40042,7 @@ func (future *VirtualHubsGetEffectiveVirtualHubRoutesFuture) result(client Virtu return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualHubsGetEffectiveVirtualHubRoutesFuture") return } @@ -40797,6 +40951,7 @@ func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) result(clien return } if !done { + vngc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsCreateOrUpdateFuture") return } @@ -40839,6 +40994,7 @@ func (future *VirtualNetworkGatewayConnectionsDeleteFuture) result(client Virtua return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsDeleteFuture") return } @@ -40875,6 +41031,7 @@ func (future *VirtualNetworkGatewayConnectionsGetIkeSasFuture) result(client Vir return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsGetIkeSasFuture") return } @@ -40917,6 +41074,7 @@ func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) result(clien return } if !done { + crsk.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsResetSharedKeyFuture") return } @@ -40959,6 +41117,7 @@ func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) result(client return } if !done { + csk.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsSetSharedKeyFuture") return } @@ -41001,6 +41160,7 @@ func (future *VirtualNetworkGatewayConnectionsStartPacketCaptureFuture) result(c return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsStartPacketCaptureFuture") return } @@ -41043,6 +41203,7 @@ func (future *VirtualNetworkGatewayConnectionsStopPacketCaptureFuture) result(cl return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsStopPacketCaptureFuture") return } @@ -41085,6 +41246,7 @@ func (future *VirtualNetworkGatewayConnectionsUpdateTagsFuture) result(client Vi return } if !done { + vngc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewayConnectionsUpdateTagsFuture") return } @@ -41665,6 +41827,7 @@ func (future *VirtualNetworkGatewaysCreateOrUpdateFuture) result(client VirtualN return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysCreateOrUpdateFuture") return } @@ -41707,6 +41870,7 @@ func (future *VirtualNetworkGatewaysDeleteFuture) result(client VirtualNetworkGa return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysDeleteFuture") return } @@ -41743,6 +41907,7 @@ func (future *VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnection return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsFuture") return } @@ -41779,6 +41944,7 @@ func (future *VirtualNetworkGatewaysGeneratevpnclientpackageFuture) result(clien return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGeneratevpnclientpackageFuture") return } @@ -41821,6 +41987,7 @@ func (future *VirtualNetworkGatewaysGenerateVpnProfileFuture) result(client Virt return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGenerateVpnProfileFuture") return } @@ -41863,6 +42030,7 @@ func (future *VirtualNetworkGatewaysGetAdvertisedRoutesFuture) result(client Vir return } if !done { + grlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetAdvertisedRoutesFuture") return } @@ -41905,6 +42073,7 @@ func (future *VirtualNetworkGatewaysGetBgpPeerStatusFuture) result(client Virtua return } if !done { + bpslr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetBgpPeerStatusFuture") return } @@ -41947,6 +42116,7 @@ func (future *VirtualNetworkGatewaysGetLearnedRoutesFuture) result(client Virtua return } if !done { + grlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetLearnedRoutesFuture") return } @@ -41989,6 +42159,7 @@ func (future *VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture) result(c return } if !done { + vcchdlr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture") return } @@ -42031,6 +42202,7 @@ func (future *VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture) result(cl return } if !done { + vcipp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture") return } @@ -42073,6 +42245,7 @@ func (future *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) result(client return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysGetVpnProfilePackageURLFuture") return } @@ -42137,6 +42310,7 @@ func (future *VirtualNetworkGatewaysResetFuture) result(client VirtualNetworkGat return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysResetFuture") return } @@ -42179,6 +42353,7 @@ func (future *VirtualNetworkGatewaysResetVpnClientSharedKeyFuture) result(client return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysResetVpnClientSharedKeyFuture") return } @@ -42215,6 +42390,7 @@ func (future *VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture) result(cl return } if !done { + vcipp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture") return } @@ -42257,6 +42433,7 @@ func (future *VirtualNetworkGatewaysStartPacketCaptureFuture) result(client Virt return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysStartPacketCaptureFuture") return } @@ -42299,6 +42476,7 @@ func (future *VirtualNetworkGatewaysStopPacketCaptureFuture) result(client Virtu return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysStopPacketCaptureFuture") return } @@ -42341,6 +42519,7 @@ func (future *VirtualNetworkGatewaysUpdateTagsFuture) result(client VirtualNetwo return } if !done { + vng.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkGatewaysUpdateTagsFuture") return } @@ -43003,6 +43182,7 @@ func (future *VirtualNetworkPeeringsCreateOrUpdateFuture) result(client VirtualN return } if !done { + vnp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkPeeringsCreateOrUpdateFuture") return } @@ -43045,6 +43225,7 @@ func (future *VirtualNetworkPeeringsDeleteFuture) result(client VirtualNetworkPe return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkPeeringsDeleteFuture") return } @@ -43140,6 +43321,7 @@ func (future *VirtualNetworksCreateOrUpdateFuture) result(client VirtualNetworks return } if !done { + vn.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworksCreateOrUpdateFuture") return } @@ -43182,6 +43364,7 @@ func (future *VirtualNetworksDeleteFuture) result(client VirtualNetworksClient) return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworksDeleteFuture") return } @@ -43523,6 +43706,7 @@ func (future *VirtualNetworkTapsCreateOrUpdateFuture) result(client VirtualNetwo return } if !done { + vnt.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkTapsCreateOrUpdateFuture") return } @@ -43565,6 +43749,7 @@ func (future *VirtualNetworkTapsDeleteFuture) result(client VirtualNetworkTapsCl return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualNetworkTapsDeleteFuture") return } @@ -44169,6 +44354,7 @@ func (future *VirtualRouterPeeringsCreateOrUpdateFuture) result(client VirtualRo return } if !done { + vrp.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualRouterPeeringsCreateOrUpdateFuture") return } @@ -44211,6 +44397,7 @@ func (future *VirtualRouterPeeringsDeleteFuture) result(client VirtualRouterPeer return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualRouterPeeringsDeleteFuture") return } @@ -44281,6 +44468,7 @@ func (future *VirtualRoutersCreateOrUpdateFuture) result(client VirtualRoutersCl return } if !done { + vr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualRoutersCreateOrUpdateFuture") return } @@ -44323,6 +44511,7 @@ func (future *VirtualRoutersDeleteFuture) result(client VirtualRoutersClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualRoutersDeleteFuture") return } @@ -44515,6 +44704,7 @@ func (future *VirtualWansCreateOrUpdateFuture) result(client VirtualWansClient) return } if !done { + vw.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualWansCreateOrUpdateFuture") return } @@ -44557,6 +44747,7 @@ func (future *VirtualWansDeleteFuture) result(client VirtualWansClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VirtualWansDeleteFuture") return } @@ -45150,6 +45341,7 @@ func (future *VpnConnectionsCreateOrUpdateFuture) result(client VpnConnectionsCl return } if !done { + vc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsCreateOrUpdateFuture") return } @@ -45192,6 +45384,7 @@ func (future *VpnConnectionsDeleteFuture) result(client VpnConnectionsClient) (a return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsDeleteFuture") return } @@ -45228,6 +45421,7 @@ func (future *VpnConnectionsStartPacketCaptureFuture) result(client VpnConnectio return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsStartPacketCaptureFuture") return } @@ -45270,6 +45464,7 @@ func (future *VpnConnectionsStopPacketCaptureFuture) result(client VpnConnection return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnConnectionsStopPacketCaptureFuture") return } @@ -45634,6 +45829,7 @@ func (future *VpnGatewaysCreateOrUpdateFuture) result(client VpnGatewaysClient) return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysCreateOrUpdateFuture") return } @@ -45676,6 +45872,7 @@ func (future *VpnGatewaysDeleteFuture) result(client VpnGatewaysClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysDeleteFuture") return } @@ -45712,6 +45909,7 @@ func (future *VpnGatewaysResetFuture) result(client VpnGatewaysClient) (vg VpnGa return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysResetFuture") return } @@ -45754,6 +45952,7 @@ func (future *VpnGatewaysStartPacketCaptureFuture) result(client VpnGatewaysClie return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysStartPacketCaptureFuture") return } @@ -45796,6 +45995,7 @@ func (future *VpnGatewaysStopPacketCaptureFuture) result(client VpnGatewaysClien return } if !done { + s.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysStopPacketCaptureFuture") return } @@ -45838,6 +46038,7 @@ func (future *VpnGatewaysUpdateTagsFuture) result(client VpnGatewaysClient) (vg return } if !done { + vg.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnGatewaysUpdateTagsFuture") return } @@ -46130,6 +46331,7 @@ func (future *VpnServerConfigurationsAssociatedWithVirtualWanListFuture) result( return } if !done { + vscr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnServerConfigurationsAssociatedWithVirtualWanListFuture") return } @@ -46172,6 +46374,7 @@ func (future *VpnServerConfigurationsCreateOrUpdateFuture) result(client VpnServ return } if !done { + vsc.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnServerConfigurationsCreateOrUpdateFuture") return } @@ -46214,6 +46417,7 @@ func (future *VpnServerConfigurationsDeleteFuture) result(client VpnServerConfig return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnServerConfigurationsDeleteFuture") return } @@ -46751,6 +46955,7 @@ func (future *VpnSitesConfigurationDownloadFuture) result(client VpnSitesConfigu return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesConfigurationDownloadFuture") return } @@ -46787,6 +46992,7 @@ func (future *VpnSitesCreateOrUpdateFuture) result(client VpnSitesClient) (vs Vp return } if !done { + vs.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesCreateOrUpdateFuture") return } @@ -46829,6 +47035,7 @@ func (future *VpnSitesDeleteFuture) result(client VpnSitesClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.VpnSitesDeleteFuture") return } @@ -46993,6 +47200,7 @@ func (future *WatchersCheckConnectivityFuture) result(client WatchersClient) (ci return } if !done { + ci.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersCheckConnectivityFuture") return } @@ -47035,6 +47243,7 @@ func (future *WatchersDeleteFuture) result(client WatchersClient) (ar autorest.R return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersDeleteFuture") return } @@ -47071,6 +47280,7 @@ func (future *WatchersGetAzureReachabilityReportFuture) result(client WatchersCl return } if !done { + arr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetAzureReachabilityReportFuture") return } @@ -47113,6 +47323,7 @@ func (future *WatchersGetFlowLogStatusFuture) result(client WatchersClient) (fli return } if !done { + fli.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetFlowLogStatusFuture") return } @@ -47155,6 +47366,7 @@ func (future *WatchersGetNetworkConfigurationDiagnosticFuture) result(client Wat return } if !done { + cdr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetNetworkConfigurationDiagnosticFuture") return } @@ -47197,6 +47409,7 @@ func (future *WatchersGetNextHopFuture) result(client WatchersClient) (nhr NextH return } if !done { + nhr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetNextHopFuture") return } @@ -47239,6 +47452,7 @@ func (future *WatchersGetTroubleshootingFuture) result(client WatchersClient) (t return } if !done { + tr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetTroubleshootingFuture") return } @@ -47281,6 +47495,7 @@ func (future *WatchersGetTroubleshootingResultFuture) result(client WatchersClie return } if !done { + tr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetTroubleshootingResultFuture") return } @@ -47323,6 +47538,7 @@ func (future *WatchersGetVMSecurityRulesFuture) result(client WatchersClient) (s return } if !done { + sgvr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersGetVMSecurityRulesFuture") return } @@ -47365,6 +47581,7 @@ func (future *WatchersListAvailableProvidersFuture) result(client WatchersClient return } if !done { + apl.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersListAvailableProvidersFuture") return } @@ -47407,6 +47624,7 @@ func (future *WatchersSetFlowLogConfigurationFuture) result(client WatchersClien return } if !done { + fli.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersSetFlowLogConfigurationFuture") return } @@ -47449,6 +47667,7 @@ func (future *WatchersVerifyIPFlowFuture) result(client WatchersClient) (vifr Ve return } if !done { + vifr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WatchersVerifyIPFlowFuture") return } @@ -47528,6 +47747,7 @@ func (future *WebApplicationFirewallPoliciesDeleteFuture) result(client WebAppli return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("network.WebApplicationFirewallPoliciesDeleteFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/CHANGELOG.md index 024d272021..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/CHANGELOG.md @@ -1,18 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82//specification/resources/resource-manager/readme.md tag: `package-resources-2017-05` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *CreateOrUpdateByIDFuture.UnmarshalJSON([]byte) error -1. *CreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DeleteByIDFuture.UnmarshalJSON([]byte) error -1. *DeleteFuture.UnmarshalJSON([]byte) error -1. *DeploymentsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DeploymentsDeleteFuture.UnmarshalJSON([]byte) error -1. *GroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *MoveResourcesFuture.UnmarshalJSON([]byte) error -1. *UpdateByIDFuture.UnmarshalJSON([]byte) error -1. *UpdateFuture.UnmarshalJSON([]byte) error -1. *ValidateMoveResourcesFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/_meta.json new file mode 100644 index 0000000000..092dc6d122 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "readme": "/_/azure-rest-api-specs/specification/resources/resource-manager/readme.md", + "tag": "package-resources-2017-05", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-resources-2017-05 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/resources/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go index cf6b3a1a3d..ea4cc0fc81 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go @@ -80,6 +80,7 @@ func (future *CreateOrUpdateByIDFuture) result(client Client) (gr GenericResourc return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.CreateOrUpdateByIDFuture") return } @@ -122,6 +123,7 @@ func (future *CreateOrUpdateFuture) result(client Client) (gr GenericResource, e return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.CreateOrUpdateFuture") return } @@ -169,6 +171,7 @@ func (future *DeleteByIDFuture) result(client Client) (ar autorest.Response, err return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeleteByIDFuture") return } @@ -204,6 +207,7 @@ func (future *DeleteFuture) result(client Client) (ar autorest.Response, err err return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeleteFuture") return } @@ -748,6 +752,7 @@ func (future *DeploymentsCreateOrUpdateFuture) result(client DeploymentsClient) return } if !done { + de.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsCreateOrUpdateFuture") return } @@ -790,6 +795,7 @@ func (future *DeploymentsDeleteFuture) result(client DeploymentsClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsDeleteFuture") return } @@ -1251,6 +1257,7 @@ func (future *GroupsDeleteFuture) result(client GroupsClient) (ar autorest.Respo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.GroupsDeleteFuture") return } @@ -1500,6 +1507,7 @@ func (future *MoveResourcesFuture) result(client Client) (ar autorest.Response, return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.MoveResourcesFuture") return } @@ -2099,6 +2107,7 @@ func (future *UpdateByIDFuture) result(client Client) (gr GenericResource, err e return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.UpdateByIDFuture") return } @@ -2140,6 +2149,7 @@ func (future *UpdateFuture) result(client Client) (gr GenericResource, err error return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.UpdateFuture") return } @@ -2182,6 +2192,7 @@ func (future *ValidateMoveResourcesFuture) result(client Client) (ar autorest.Re return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.ValidateMoveResourcesFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/CHANGELOG.md index 68c4e5d18d..52911e4cc5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/CHANGELOG.md @@ -1,20 +1,2 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82//specification/resources/resource-manager/readme.md tag: `package-resources-2018-05` +# Change History -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *CreateOrUpdateByIDFuture.UnmarshalJSON([]byte) error -1. *CreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DeleteByIDFuture.UnmarshalJSON([]byte) error -1. *DeleteFuture.UnmarshalJSON([]byte) error -1. *DeploymentsCreateOrUpdateAtSubscriptionScopeFuture.UnmarshalJSON([]byte) error -1. *DeploymentsCreateOrUpdateFuture.UnmarshalJSON([]byte) error -1. *DeploymentsDeleteAtSubscriptionScopeFuture.UnmarshalJSON([]byte) error -1. *DeploymentsDeleteFuture.UnmarshalJSON([]byte) error -1. *GroupsDeleteFuture.UnmarshalJSON([]byte) error -1. *MoveResourcesFuture.UnmarshalJSON([]byte) error -1. *UpdateByIDFuture.UnmarshalJSON([]byte) error -1. *UpdateFuture.UnmarshalJSON([]byte) error -1. *ValidateMoveResourcesFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/_meta.json new file mode 100644 index 0000000000..3bb8eec4fd --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "readme": "/_/azure-rest-api-specs/specification/resources/resource-manager/readme.md", + "tag": "package-resources-2018-05", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-resources-2018-05 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/resources/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/models.go index e629e7adec..0b2bcab50d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/models.go @@ -80,6 +80,7 @@ func (future *CreateOrUpdateByIDFuture) result(client Client) (gr GenericResourc return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.CreateOrUpdateByIDFuture") return } @@ -122,6 +123,7 @@ func (future *CreateOrUpdateFuture) result(client Client) (gr GenericResource, e return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.CreateOrUpdateFuture") return } @@ -169,6 +171,7 @@ func (future *DeleteByIDFuture) result(client Client) (ar autorest.Response, err return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeleteByIDFuture") return } @@ -204,6 +207,7 @@ func (future *DeleteFuture) result(client Client) (ar autorest.Response, err err return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeleteFuture") return } @@ -761,6 +765,7 @@ func (future *DeploymentsCreateOrUpdateAtSubscriptionScopeFuture) result(client return } if !done { + de.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsCreateOrUpdateAtSubscriptionScopeFuture") return } @@ -803,6 +808,7 @@ func (future *DeploymentsCreateOrUpdateFuture) result(client DeploymentsClient) return } if !done { + de.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsCreateOrUpdateFuture") return } @@ -845,6 +851,7 @@ func (future *DeploymentsDeleteAtSubscriptionScopeFuture) result(client Deployme return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsDeleteAtSubscriptionScopeFuture") return } @@ -881,6 +888,7 @@ func (future *DeploymentsDeleteFuture) result(client DeploymentsClient) (ar auto return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.DeploymentsDeleteFuture") return } @@ -1341,6 +1349,7 @@ func (future *GroupsDeleteFuture) result(client GroupsClient) (ar autorest.Respo return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.GroupsDeleteFuture") return } @@ -1603,6 +1612,7 @@ func (future *MoveResourcesFuture) result(client Client) (ar autorest.Response, return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.MoveResourcesFuture") return } @@ -2412,6 +2422,7 @@ func (future *UpdateByIDFuture) result(client Client) (gr GenericResource, err e return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.UpdateByIDFuture") return } @@ -2453,6 +2464,7 @@ func (future *UpdateFuture) result(client Client) (gr GenericResource, err error return } if !done { + gr.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.UpdateFuture") return } @@ -2495,6 +2507,7 @@ func (future *ValidateMoveResourcesFuture) result(client Client) (ar autorest.Re return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("resources.ValidateMoveResourcesFuture") return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/CHANGELOG.md deleted file mode 100644 index f455fd3a73..0000000000 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/CHANGELOG.md +++ /dev/null @@ -1,10 +0,0 @@ -Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82//specification/storage/resource-manager/readme.md tag: `package-2019-06` - -Code generator @microsoft.azure/autorest.go@2.1.178 - - -### New Funcs - -1. *AccountsCreateFuture.UnmarshalJSON([]byte) error -1. *AccountsFailoverFuture.UnmarshalJSON([]byte) error -1. *AccountsRestoreBlobRangesFuture.UnmarshalJSON([]byte) error diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md new file mode 100644 index 0000000000..130dde5c0f --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md @@ -0,0 +1,201 @@ +# Change History + +## Breaking Changes + +### Removed Constants + +1. AccessTier.Cool +1. AccessTier.Hot +1. AccountStatus.Available +1. AccountStatus.Unavailable +1. Action.Allow +1. Action1.Acquire +1. Action1.Break +1. Action1.Change +1. Action1.Release +1. Action1.Renew +1. BlobRestoreProgressStatus.Complete +1. BlobRestoreProgressStatus.Failed +1. BlobRestoreProgressStatus.InProgress +1. Bypass.AzureServices +1. Bypass.Logging +1. Bypass.Metrics +1. Bypass.None +1. CreatedByType.Application +1. CreatedByType.Key +1. CreatedByType.ManagedIdentity +1. CreatedByType.User +1. EnabledProtocols.NFS +1. EnabledProtocols.SMB +1. EncryptionScopeSource.MicrosoftKeyVault +1. EncryptionScopeSource.MicrosoftStorage +1. EncryptionScopeState.Disabled +1. EncryptionScopeState.Enabled +1. ExtendedLocationTypes.EdgeZone +1. GetShareExpand.Stats +1. HTTPProtocol.HTTPS +1. HTTPProtocol.Httpshttp +1. ImmutabilityPolicyState.Locked +1. ImmutabilityPolicyState.Unlocked +1. ImmutabilityPolicyUpdateType.Extend +1. ImmutabilityPolicyUpdateType.Lock +1. ImmutabilityPolicyUpdateType.Put +1. KeyPermission.Full +1. KeyPermission.Read +1. Kind.BlobStorage +1. Kind.BlockBlobStorage +1. Kind.FileStorage +1. Kind.Storage +1. Kind.StorageV2 +1. LeaseDuration.Fixed +1. LeaseDuration.Infinite +1. ListContainersInclude.Deleted +1. ListKeyExpand.Kerb +1. MinimumTLSVersion.TLS10 +1. MinimumTLSVersion.TLS11 +1. MinimumTLSVersion.TLS12 +1. Name.AccessTimeTracking +1. Permissions.A +1. Permissions.C +1. Permissions.D +1. Permissions.L +1. Permissions.P +1. Permissions.R +1. Permissions.U +1. Permissions.W +1. PrivateEndpointServiceConnectionStatus.Approved +1. PrivateEndpointServiceConnectionStatus.Pending +1. PrivateEndpointServiceConnectionStatus.Rejected +1. ProvisioningState.Creating +1. ProvisioningState.ResolvingDNS +1. ProvisioningState.Succeeded +1. PutSharesExpand.Snapshots +1. Reason.AccountNameInvalid +1. Reason.AlreadyExists +1. ReasonCode.NotAvailableForSubscription +1. ReasonCode.QuotaID +1. RootSquashType.AllSquash +1. RootSquashType.NoRootSquash +1. RootSquashType.RootSquash +1. RoutingChoice.InternetRouting +1. RoutingChoice.MicrosoftRouting +1. Services.B +1. Services.F +1. Services.Q +1. Services.T +1. SkuName.PremiumLRS +1. SkuName.PremiumZRS +1. SkuName.StandardGRS +1. SkuName.StandardGZRS +1. SkuName.StandardLRS +1. SkuName.StandardRAGRS +1. SkuName.StandardRAGZRS +1. SkuName.StandardZRS +1. SkuTier.Premium +1. SkuTier.Standard +1. UsageUnit.Bytes +1. UsageUnit.BytesPerSecond +1. UsageUnit.Count +1. UsageUnit.CountsPerSecond +1. UsageUnit.Percent +1. UsageUnit.Seconds + +## Additive Changes + +### New Constants + +1. AccessTier.AccessTierCool +1. AccessTier.AccessTierHot +1. AccountStatus.AccountStatusAvailable +1. AccountStatus.AccountStatusUnavailable +1. Action.ActionAllow +1. Action1.Action1Acquire +1. Action1.Action1Break +1. Action1.Action1Change +1. Action1.Action1Release +1. Action1.Action1Renew +1. BlobRestoreProgressStatus.BlobRestoreProgressStatusComplete +1. BlobRestoreProgressStatus.BlobRestoreProgressStatusFailed +1. BlobRestoreProgressStatus.BlobRestoreProgressStatusInProgress +1. Bypass.BypassAzureServices +1. Bypass.BypassLogging +1. Bypass.BypassMetrics +1. Bypass.BypassNone +1. CreatedByType.CreatedByTypeApplication +1. CreatedByType.CreatedByTypeKey +1. CreatedByType.CreatedByTypeManagedIdentity +1. CreatedByType.CreatedByTypeUser +1. EnabledProtocols.EnabledProtocolsNFS +1. EnabledProtocols.EnabledProtocolsSMB +1. EncryptionScopeSource.EncryptionScopeSourceMicrosoftKeyVault +1. EncryptionScopeSource.EncryptionScopeSourceMicrosoftStorage +1. EncryptionScopeState.EncryptionScopeStateDisabled +1. EncryptionScopeState.EncryptionScopeStateEnabled +1. ExtendedLocationTypes.ExtendedLocationTypesEdgeZone +1. GetShareExpand.GetShareExpandStats +1. HTTPProtocol.HTTPProtocolHTTPS +1. HTTPProtocol.HTTPProtocolHttpshttp +1. ImmutabilityPolicyState.ImmutabilityPolicyStateLocked +1. ImmutabilityPolicyState.ImmutabilityPolicyStateUnlocked +1. ImmutabilityPolicyUpdateType.ImmutabilityPolicyUpdateTypeExtend +1. ImmutabilityPolicyUpdateType.ImmutabilityPolicyUpdateTypeLock +1. ImmutabilityPolicyUpdateType.ImmutabilityPolicyUpdateTypePut +1. KeyPermission.KeyPermissionFull +1. KeyPermission.KeyPermissionRead +1. Kind.KindBlobStorage +1. Kind.KindBlockBlobStorage +1. Kind.KindFileStorage +1. Kind.KindStorage +1. Kind.KindStorageV2 +1. LeaseDuration.LeaseDurationFixed +1. LeaseDuration.LeaseDurationInfinite +1. ListContainersInclude.ListContainersIncludeDeleted +1. ListKeyExpand.ListKeyExpandKerb +1. MinimumTLSVersion.MinimumTLSVersionTLS10 +1. MinimumTLSVersion.MinimumTLSVersionTLS11 +1. MinimumTLSVersion.MinimumTLSVersionTLS12 +1. Name.NameAccessTimeTracking +1. Permissions.PermissionsA +1. Permissions.PermissionsC +1. Permissions.PermissionsD +1. Permissions.PermissionsL +1. Permissions.PermissionsP +1. Permissions.PermissionsR +1. Permissions.PermissionsU +1. Permissions.PermissionsW +1. PrivateEndpointServiceConnectionStatus.PrivateEndpointServiceConnectionStatusApproved +1. PrivateEndpointServiceConnectionStatus.PrivateEndpointServiceConnectionStatusPending +1. PrivateEndpointServiceConnectionStatus.PrivateEndpointServiceConnectionStatusRejected +1. ProvisioningState.ProvisioningStateCreating +1. ProvisioningState.ProvisioningStateResolvingDNS +1. ProvisioningState.ProvisioningStateSucceeded +1. PutSharesExpand.PutSharesExpandSnapshots +1. Reason.ReasonAccountNameInvalid +1. Reason.ReasonAlreadyExists +1. ReasonCode.ReasonCodeNotAvailableForSubscription +1. ReasonCode.ReasonCodeQuotaID +1. RootSquashType.RootSquashTypeAllSquash +1. RootSquashType.RootSquashTypeNoRootSquash +1. RootSquashType.RootSquashTypeRootSquash +1. RoutingChoice.RoutingChoiceInternetRouting +1. RoutingChoice.RoutingChoiceMicrosoftRouting +1. Services.ServicesB +1. Services.ServicesF +1. Services.ServicesQ +1. Services.ServicesT +1. SkuName.SkuNamePremiumLRS +1. SkuName.SkuNamePremiumZRS +1. SkuName.SkuNameStandardGRS +1. SkuName.SkuNameStandardGZRS +1. SkuName.SkuNameStandardLRS +1. SkuName.SkuNameStandardRAGRS +1. SkuName.SkuNameStandardRAGZRS +1. SkuName.SkuNameStandardZRS +1. SkuTier.SkuTierPremium +1. SkuTier.SkuTierStandard +1. UsageUnit.UsageUnitBytes +1. UsageUnit.UsageUnitBytesPerSecond +1. UsageUnit.UsageUnitCount +1. UsageUnit.UsageUnitCountsPerSecond +1. UsageUnit.UsageUnitPercent +1. UsageUnit.UsageUnitSeconds diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/_meta.json b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/_meta.json new file mode 100644 index 0000000000..ea07f87854 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/_meta.json @@ -0,0 +1,11 @@ +{ + "commit": "ea5bc27ee9cadeb67767d774c82095be2420bcad", + "readme": "/_/azure-rest-api-specs/specification/storage/resource-manager/readme.md", + "tag": "package-2021-02", + "use": "@microsoft.azure/autorest.go@2.1.180", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2021-02 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION --enum-prefix /_/azure-rest-api-specs/specification/storage/resource-manager/readme.md", + "additional_properties": { + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION --enum-prefix" + } +} \ No newline at end of file diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/accounts.go similarity index 95% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/accounts.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/accounts.go index bb99b9e30f..0e34d4a948 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/accounts.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/accounts.go @@ -83,7 +83,7 @@ func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -148,11 +148,15 @@ func (client AccountsClient) Create(ctx context.Context, resourceGroupName strin {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.Sku", Name: validation.Null, Rule: true, Chain: nil}, {Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.Identity", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Identity.Type", Name: validation.Null, Rule: true, Chain: nil}}}, {Target: "parameters.AccountPropertiesCreateParameters", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.CustomDomain", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.CustomDomain.Name", Name: validation.Null, Rule: true, Chain: nil}}}, + Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.SasPolicy", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.SasPolicy.SasExpirationPeriod", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.AccountPropertiesCreateParameters.SasPolicy.ExpirationAction", Name: validation.Null, Rule: true, Chain: nil}, + }}, + {Target: "parameters.AccountPropertiesCreateParameters.KeyPolicy", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.KeyPolicy.KeyExpirationPeriodInDays", Name: validation.Null, Rule: true, Chain: nil}}}, + {Target: "parameters.AccountPropertiesCreateParameters.CustomDomain", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.CustomDomain.Name", Name: validation.Null, Rule: true, Chain: nil}}}, {Target: "parameters.AccountPropertiesCreateParameters.AzureFilesIdentityBasedAuthentication", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.AzureFilesIdentityBasedAuthentication.ActiveDirectoryProperties", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.AccountPropertiesCreateParameters.AzureFilesIdentityBasedAuthentication.ActiveDirectoryProperties.DomainName", Name: validation.Null, Rule: true, Chain: nil}, @@ -192,7 +196,7 @@ func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupNa "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -294,7 +298,7 @@ func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupNa "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -379,7 +383,7 @@ func (client AccountsClient) FailoverPreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -481,7 +485,7 @@ func (client AccountsClient) GetPropertiesPreparer(ctx context.Context, resource "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -567,7 +571,7 @@ func (client AccountsClient) ListPreparer(ctx context.Context) (*http.Request, e "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -698,7 +702,7 @@ func (client AccountsClient) ListAccountSASPreparer(ctx context.Context, resourc "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -736,13 +740,13 @@ func (client AccountsClient) ListAccountSASResponder(resp *http.Response) (resul // Parameters: // resourceGroupName - the name of the resource group within the user's subscription. The name is case // insensitive. -func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResult, err error) { +func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResultPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/AccountsClient.ListByResourceGroup") defer func() { sc := -1 - if result.Response.Response != nil { - sc = result.Response.Response.StatusCode + if result.alr.Response.Response != nil { + sc = result.alr.Response.Response.StatusCode } tracing.EndSpan(ctx, sc, err) }() @@ -757,6 +761,7 @@ func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGr return result, validation.NewError("storage.AccountsClient", "ListByResourceGroup", err.Error()) } + result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) if err != nil { err = autorest.NewErrorWithError(err, "storage.AccountsClient", "ListByResourceGroup", nil, "Failure preparing request") @@ -765,16 +770,20 @@ func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGr resp, err := client.ListByResourceGroupSender(req) if err != nil { - result.Response = autorest.Response{Response: resp} + result.alr.Response = autorest.Response{Response: resp} err = autorest.NewErrorWithError(err, "storage.AccountsClient", "ListByResourceGroup", resp, "Failure sending request") return } - result, err = client.ListByResourceGroupResponder(resp) + result.alr, err = client.ListByResourceGroupResponder(resp) if err != nil { err = autorest.NewErrorWithError(err, "storage.AccountsClient", "ListByResourceGroup", resp, "Failure responding to request") return } + if result.alr.hasNextLink() && result.alr.IsEmpty() { + err = result.NextWithContext(ctx) + return + } return } @@ -786,7 +795,7 @@ func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, re "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -817,6 +826,43 @@ func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) ( return } +// listByResourceGroupNextResults retrieves the next set of results, if any. +func (client AccountsClient) listByResourceGroupNextResults(ctx context.Context, lastResults AccountListResult) (result AccountListResult, err error) { + req, err := lastResults.accountListResultPreparer(ctx) + if err != nil { + return result, autorest.NewErrorWithError(err, "storage.AccountsClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListByResourceGroupSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "storage.AccountsClient", "listByResourceGroupNextResults", resp, "Failure sending next results request") + } + result, err = client.ListByResourceGroupResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.AccountsClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. +func (client AccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AccountListResultIterator, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/AccountsClient.ListByResourceGroup") + defer func() { + sc := -1 + if result.Response().Response.Response != nil { + sc = result.page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + result.page, err = client.ListByResourceGroup(ctx, resourceGroupName) + return +} + // ListKeys lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. // Parameters: // resourceGroupName - the name of the resource group within the user's subscription. The name is case @@ -878,7 +924,7 @@ func (client AccountsClient) ListKeysPreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -977,7 +1023,7 @@ func (client AccountsClient) ListServiceSASPreparer(ctx context.Context, resourc "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1073,7 +1119,7 @@ func (client AccountsClient) RegenerateKeyPreparer(ctx context.Context, resource "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1163,7 +1209,7 @@ func (client AccountsClient) RestoreBlobRangesPreparer(ctx context.Context, reso "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1265,7 +1311,7 @@ func (client AccountsClient) RevokeUserDelegationKeysPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1361,7 +1407,7 @@ func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupNa "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobcontainers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobcontainers.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobcontainers.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobcontainers.go index 6d09490a09..000b65a679 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobcontainers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobcontainers.go @@ -102,7 +102,7 @@ func (client BlobContainersClient) ClearLegalHoldPreparer(ctx context.Context, r "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -206,7 +206,7 @@ func (client BlobContainersClient) CreatePreparer(ctx context.Context, resourceG "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -315,7 +315,7 @@ func (client BlobContainersClient) CreateOrUpdateImmutabilityPolicyPreparer(ctx "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -422,7 +422,7 @@ func (client BlobContainersClient) DeletePreparer(ctx context.Context, resourceG "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -526,7 +526,7 @@ func (client BlobContainersClient) DeleteImmutabilityPolicyPreparer(ctx context. "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -633,7 +633,7 @@ func (client BlobContainersClient) ExtendImmutabilityPolicyPreparer(ctx context. "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -737,7 +737,7 @@ func (client BlobContainersClient) GetPreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -840,7 +840,7 @@ func (client BlobContainersClient) GetImmutabilityPolicyPreparer(ctx context.Con "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -944,7 +944,7 @@ func (client BlobContainersClient) LeasePreparer(ctx context.Context, resourceGr "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1049,7 +1049,7 @@ func (client BlobContainersClient) ListPreparer(ctx context.Context, resourceGro "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1197,7 +1197,7 @@ func (client BlobContainersClient) LockImmutabilityPolicyPreparer(ctx context.Co "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1300,7 +1300,7 @@ func (client BlobContainersClient) SetLegalHoldPreparer(ctx context.Context, res "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -1403,7 +1403,7 @@ func (client BlobContainersClient) UpdatePreparer(ctx context.Context, resourceG "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobinventorypolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobinventorypolicies.go new file mode 100644 index 0000000000..1b33124472 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobinventorypolicies.go @@ -0,0 +1,411 @@ +package storage + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "github.com/Azure/go-autorest/tracing" + "net/http" +) + +// BlobInventoryPoliciesClient is the the Azure Storage Management API. +type BlobInventoryPoliciesClient struct { + BaseClient +} + +// NewBlobInventoryPoliciesClient creates an instance of the BlobInventoryPoliciesClient client. +func NewBlobInventoryPoliciesClient(subscriptionID string) BlobInventoryPoliciesClient { + return NewBlobInventoryPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewBlobInventoryPoliciesClientWithBaseURI creates an instance of the BlobInventoryPoliciesClient client using a +// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, +// Azure stack). +func NewBlobInventoryPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BlobInventoryPoliciesClient { + return BlobInventoryPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// CreateOrUpdate sets the blob inventory policy to the specified storage account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// properties - the blob inventory policy set to a storage account. +func (client BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, properties BlobInventoryPolicy) (result BlobInventoryPolicy, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BlobInventoryPoliciesClient.CreateOrUpdate") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: accountName, + Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil}, + {Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}, + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: properties, + Constraints: []validation.Constraint{{Target: "properties.BlobInventoryPolicyProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "properties.BlobInventoryPolicyProperties.Policy", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "properties.BlobInventoryPolicyProperties.Policy.Enabled", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "properties.BlobInventoryPolicyProperties.Policy.Destination", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "properties.BlobInventoryPolicyProperties.Policy.Type", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "properties.BlobInventoryPolicyProperties.Policy.Rules", Name: validation.Null, Rule: true, Chain: nil}, + }}, + }}}}}); err != nil { + return result, validation.NewError("storage.BlobInventoryPoliciesClient", "CreateOrUpdate", err.Error()) + } + + req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, accountName, properties) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "CreateOrUpdate", nil, "Failure preparing request") + return + } + + resp, err := client.CreateOrUpdateSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "CreateOrUpdate", resp, "Failure sending request") + return + } + + result, err = client.CreateOrUpdateResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "CreateOrUpdate", resp, "Failure responding to request") + return + } + + return +} + +// CreateOrUpdatePreparer prepares the CreateOrUpdate request. +func (client BlobInventoryPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, properties BlobInventoryPolicy) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "accountName": autorest.Encode("path", accountName), + "blobInventoryPolicyName": autorest.Encode("path", "default"), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", pathParameters), + autorest.WithJSON(properties), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the +// http.Response Body if it receives an error. +func (client BlobInventoryPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always +// closes the http.Response Body. +func (client BlobInventoryPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BlobInventoryPolicy, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Delete deletes the blob inventory policy associated with the specified storage account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +func (client BlobInventoryPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BlobInventoryPoliciesClient.Delete") + defer func() { + sc := -1 + if result.Response != nil { + sc = result.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: accountName, + Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil}, + {Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}, + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("storage.BlobInventoryPoliciesClient", "Delete", err.Error()) + } + + req, err := client.DeletePreparer(ctx, resourceGroupName, accountName) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Delete", nil, "Failure preparing request") + return + } + + resp, err := client.DeleteSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Delete", resp, "Failure sending request") + return + } + + result, err = client.DeleteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Delete", resp, "Failure responding to request") + return + } + + return +} + +// DeletePreparer prepares the Delete request. +func (client BlobInventoryPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "accountName": autorest.Encode("path", accountName), + "blobInventoryPolicyName": autorest.Encode("path", "default"), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsDelete(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// DeleteSender sends the Delete request. The method will close the +// http.Response Body if it receives an error. +func (client BlobInventoryPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// DeleteResponder handles the response to the Delete request. The method always +// closes the http.Response Body. +func (client BlobInventoryPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), + autorest.ByClosing()) + result.Response = resp + return +} + +// Get gets the blob inventory policy associated with the specified storage account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +func (client BlobInventoryPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result BlobInventoryPolicy, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BlobInventoryPoliciesClient.Get") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: accountName, + Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil}, + {Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}, + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("storage.BlobInventoryPoliciesClient", "Get", err.Error()) + } + + req, err := client.GetPreparer(ctx, resourceGroupName, accountName) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "Get", resp, "Failure responding to request") + return + } + + return +} + +// GetPreparer prepares the Get request. +func (client BlobInventoryPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "accountName": autorest.Encode("path", accountName), + "blobInventoryPolicyName": autorest.Encode("path", "default"), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client BlobInventoryPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client BlobInventoryPoliciesClient) GetResponder(resp *http.Response) (result BlobInventoryPolicy, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// List gets the blob inventory policy associated with the specified storage account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +func (client BlobInventoryPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result ListBlobInventoryPolicy, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/BlobInventoryPoliciesClient.List") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: accountName, + Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil}, + {Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}, + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("storage.BlobInventoryPoliciesClient", "List", err.Error()) + } + + req, err := client.ListPreparer(ctx, resourceGroupName, accountName) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "List", resp, "Failure sending request") + return + } + + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.BlobInventoryPoliciesClient", "List", resp, "Failure responding to request") + return + } + + return +} + +// ListPreparer prepares the List request. +func (client BlobInventoryPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "accountName": autorest.Encode("path", accountName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client BlobInventoryPoliciesClient) ListSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client BlobInventoryPoliciesClient) ListResponder(resp *http.Response) (result ListBlobInventoryPolicy, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobservices.go similarity index 94% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobservices.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobservices.go index 7eebcf4ad9..3f3af97acc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/blobservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/blobservices.go @@ -93,7 +93,7 @@ func (client BlobServicesClient) GetServicePropertiesPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -184,7 +184,7 @@ func (client BlobServicesClient) ListPreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -253,6 +253,12 @@ func (client BlobServicesClient) SetServiceProperties(ctx context.Context, resou {Target: "parameters.BlobServicePropertiesProperties.DeleteRetentionPolicy.Days", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}, }}, }}, + {Target: "parameters.BlobServicePropertiesProperties.ChangeFeed", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.BlobServicePropertiesProperties.ChangeFeed.RetentionInDays", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.BlobServicePropertiesProperties.ChangeFeed.RetentionInDays", Name: validation.InclusiveMaximum, Rule: int64(146000), Chain: nil}, + {Target: "parameters.BlobServicePropertiesProperties.ChangeFeed.RetentionInDays", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}, + }}, + }}, {Target: "parameters.BlobServicePropertiesProperties.RestorePolicy", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.BlobServicePropertiesProperties.RestorePolicy.Enabled", Name: validation.Null, Rule: true, Chain: nil}, {Target: "parameters.BlobServicePropertiesProperties.RestorePolicy.Days", Name: validation.Null, Rule: false, @@ -266,6 +272,8 @@ func (client BlobServicesClient) SetServiceProperties(ctx context.Context, resou {Target: "parameters.BlobServicePropertiesProperties.ContainerDeleteRetentionPolicy.Days", Name: validation.InclusiveMinimum, Rule: int64(1), Chain: nil}, }}, }}, + {Target: "parameters.BlobServicePropertiesProperties.LastAccessTimeTrackingPolicy", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.BlobServicePropertiesProperties.LastAccessTimeTrackingPolicy.Enable", Name: validation.Null, Rule: true, Chain: nil}}}, }}}}}); err != nil { return result, validation.NewError("storage.BlobServicesClient", "SetServiceProperties", err.Error()) } @@ -301,7 +309,7 @@ func (client BlobServicesClient) SetServicePropertiesPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/client.go similarity index 98% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/client.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/client.go index 689b445298..cb5dc8282a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/client.go @@ -1,4 +1,4 @@ -// Package storage implements the Azure ARM Storage service API version 2019-06-01. +// Package storage implements the Azure ARM Storage service API version 2021-02-01. // // The Azure Storage Management API. package storage diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/deletedaccounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/deletedaccounts.go new file mode 100644 index 0000000000..109ae05dc9 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/deletedaccounts.go @@ -0,0 +1,236 @@ +package storage + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "github.com/Azure/go-autorest/tracing" + "net/http" +) + +// DeletedAccountsClient is the the Azure Storage Management API. +type DeletedAccountsClient struct { + BaseClient +} + +// NewDeletedAccountsClient creates an instance of the DeletedAccountsClient client. +func NewDeletedAccountsClient(subscriptionID string) DeletedAccountsClient { + return NewDeletedAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewDeletedAccountsClientWithBaseURI creates an instance of the DeletedAccountsClient client using a custom endpoint. +// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). +func NewDeletedAccountsClientWithBaseURI(baseURI string, subscriptionID string) DeletedAccountsClient { + return DeletedAccountsClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// Get get properties of specified deleted account resource. +// Parameters: +// deletedAccountName - name of the deleted storage account. +// location - the location of the deleted storage account. +func (client DeletedAccountsClient) Get(ctx context.Context, deletedAccountName string, location string) (result DeletedAccount, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedAccountsClient.Get") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: deletedAccountName, + Constraints: []validation.Constraint{{Target: "deletedAccountName", Name: validation.MaxLength, Rule: 24, Chain: nil}, + {Target: "deletedAccountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}, + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("storage.DeletedAccountsClient", "Get", err.Error()) + } + + req, err := client.GetPreparer(ctx, deletedAccountName, location) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "Get", resp, "Failure responding to request") + return + } + + return +} + +// GetPreparer prepares the Get request. +func (client DeletedAccountsClient) GetPreparer(ctx context.Context, deletedAccountName string, location string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "deletedAccountName": autorest.Encode("path", deletedAccountName), + "location": autorest.Encode("path", location), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client DeletedAccountsClient) GetSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client DeletedAccountsClient) GetResponder(resp *http.Response) (result DeletedAccount, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// List lists deleted accounts under the subscription. +func (client DeletedAccountsClient) List(ctx context.Context) (result DeletedAccountListResultPage, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedAccountsClient.List") + defer func() { + sc := -1 + if result.dalr.Response.Response != nil { + sc = result.dalr.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: client.SubscriptionID, + Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + return result, validation.NewError("storage.DeletedAccountsClient", "List", err.Error()) + } + + result.fn = client.listNextResults + req, err := client.ListPreparer(ctx) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.dalr.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "List", resp, "Failure sending request") + return + } + + result.dalr, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "List", resp, "Failure responding to request") + return + } + if result.dalr.hasNextLink() && result.dalr.IsEmpty() { + err = result.NextWithContext(ctx) + return + } + + return +} + +// ListPreparer prepares the List request. +func (client DeletedAccountsClient) ListPreparer(ctx context.Context) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2021-02-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client DeletedAccountsClient) ListSender(req *http.Request) (*http.Response, error) { + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client DeletedAccountsClient) ListResponder(resp *http.Response) (result DeletedAccountListResult, err error) { + err = autorest.Respond( + resp, + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listNextResults retrieves the next set of results, if any. +func (client DeletedAccountsClient) listNextResults(ctx context.Context, lastResults DeletedAccountListResult) (result DeletedAccountListResult, err error) { + req, err := lastResults.deletedAccountListResultPreparer(ctx) + if err != nil { + return result, autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "listNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "listNextResults", resp, "Failure sending next results request") + } + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "storage.DeletedAccountsClient", "listNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListComplete enumerates all values, automatically crossing page boundaries as required. +func (client DeletedAccountsClient) ListComplete(ctx context.Context) (result DeletedAccountListResultIterator, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedAccountsClient.List") + defer func() { + sc := -1 + if result.Response().Response.Response != nil { + sc = result.page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + result.page, err = client.List(ctx) + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/encryptionscopes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/encryptionscopes.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/encryptionscopes.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/encryptionscopes.go index aad90b84a2..3235434fc6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/encryptionscopes.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/encryptionscopes.go @@ -99,7 +99,7 @@ func (client EncryptionScopesClient) GetPreparer(ctx context.Context, resourceGr "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -195,7 +195,7 @@ func (client EncryptionScopesClient) ListPreparer(ctx context.Context, resourceG "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -332,7 +332,7 @@ func (client EncryptionScopesClient) PatchPreparer(ctx context.Context, resource "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -435,7 +435,7 @@ func (client EncryptionScopesClient) PutPreparer(ctx context.Context, resourceGr "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/enums.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/enums.go similarity index 59% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/enums.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/enums.go index 5dbcc9d0fd..65368dba60 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/enums.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/enums.go @@ -10,15 +10,15 @@ package storage type AccessTier string const ( - // Cool ... - Cool AccessTier = "Cool" - // Hot ... - Hot AccessTier = "Hot" + // AccessTierCool ... + AccessTierCool AccessTier = "Cool" + // AccessTierHot ... + AccessTierHot AccessTier = "Hot" ) // PossibleAccessTierValues returns an array of possible values for the AccessTier const type. func PossibleAccessTierValues() []AccessTier { - return []AccessTier{Cool, Hot} + return []AccessTier{AccessTierCool, AccessTierHot} } // AccountExpand enumerates the values for account expand. @@ -40,85 +40,104 @@ func PossibleAccountExpandValues() []AccountExpand { type AccountStatus string const ( - // Available ... - Available AccountStatus = "available" - // Unavailable ... - Unavailable AccountStatus = "unavailable" + // AccountStatusAvailable ... + AccountStatusAvailable AccountStatus = "available" + // AccountStatusUnavailable ... + AccountStatusUnavailable AccountStatus = "unavailable" ) // PossibleAccountStatusValues returns an array of possible values for the AccountStatus const type. func PossibleAccountStatusValues() []AccountStatus { - return []AccountStatus{Available, Unavailable} + return []AccountStatus{AccountStatusAvailable, AccountStatusUnavailable} } // Action enumerates the values for action. type Action string const ( - // Allow ... - Allow Action = "Allow" + // ActionAllow ... + ActionAllow Action = "Allow" ) // PossibleActionValues returns an array of possible values for the Action const type. func PossibleActionValues() []Action { - return []Action{Allow} + return []Action{ActionAllow} } // Action1 enumerates the values for action 1. type Action1 string const ( - // Acquire ... - Acquire Action1 = "Acquire" - // Break ... - Break Action1 = "Break" - // Change ... - Change Action1 = "Change" - // Release ... - Release Action1 = "Release" - // Renew ... - Renew Action1 = "Renew" + // Action1Acquire ... + Action1Acquire Action1 = "Acquire" + // Action1Break ... + Action1Break Action1 = "Break" + // Action1Change ... + Action1Change Action1 = "Change" + // Action1Release ... + Action1Release Action1 = "Release" + // Action1Renew ... + Action1Renew Action1 = "Renew" ) // PossibleAction1Values returns an array of possible values for the Action1 const type. func PossibleAction1Values() []Action1 { - return []Action1{Acquire, Break, Change, Release, Renew} + return []Action1{Action1Acquire, Action1Break, Action1Change, Action1Release, Action1Renew} } // BlobRestoreProgressStatus enumerates the values for blob restore progress status. type BlobRestoreProgressStatus string const ( - // Complete ... - Complete BlobRestoreProgressStatus = "Complete" - // Failed ... - Failed BlobRestoreProgressStatus = "Failed" - // InProgress ... - InProgress BlobRestoreProgressStatus = "InProgress" + // BlobRestoreProgressStatusComplete ... + BlobRestoreProgressStatusComplete BlobRestoreProgressStatus = "Complete" + // BlobRestoreProgressStatusFailed ... + BlobRestoreProgressStatusFailed BlobRestoreProgressStatus = "Failed" + // BlobRestoreProgressStatusInProgress ... + BlobRestoreProgressStatusInProgress BlobRestoreProgressStatus = "InProgress" ) // PossibleBlobRestoreProgressStatusValues returns an array of possible values for the BlobRestoreProgressStatus const type. func PossibleBlobRestoreProgressStatusValues() []BlobRestoreProgressStatus { - return []BlobRestoreProgressStatus{Complete, Failed, InProgress} + return []BlobRestoreProgressStatus{BlobRestoreProgressStatusComplete, BlobRestoreProgressStatusFailed, BlobRestoreProgressStatusInProgress} } // Bypass enumerates the values for bypass. type Bypass string const ( - // AzureServices ... - AzureServices Bypass = "AzureServices" - // Logging ... - Logging Bypass = "Logging" - // Metrics ... - Metrics Bypass = "Metrics" - // None ... - None Bypass = "None" + // BypassAzureServices ... + BypassAzureServices Bypass = "AzureServices" + // BypassLogging ... + BypassLogging Bypass = "Logging" + // BypassMetrics ... + BypassMetrics Bypass = "Metrics" + // BypassNone ... + BypassNone Bypass = "None" ) // PossibleBypassValues returns an array of possible values for the Bypass const type. func PossibleBypassValues() []Bypass { - return []Bypass{AzureServices, Logging, Metrics, None} + return []Bypass{BypassAzureServices, BypassLogging, BypassMetrics, BypassNone} +} + +// CreatedByType enumerates the values for created by type. +type CreatedByType string + +const ( + // CreatedByTypeApplication ... + CreatedByTypeApplication CreatedByType = "Application" + // CreatedByTypeKey ... + CreatedByTypeKey CreatedByType = "Key" + // CreatedByTypeManagedIdentity ... + CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" + // CreatedByTypeUser ... + CreatedByTypeUser CreatedByType = "User" +) + +// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type. +func PossibleCreatedByTypeValues() []CreatedByType { + return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser} } // DefaultAction enumerates the values for default action. @@ -157,45 +176,58 @@ func PossibleDirectoryServiceOptionsValues() []DirectoryServiceOptions { type EnabledProtocols string const ( - // NFS ... - NFS EnabledProtocols = "NFS" - // SMB ... - SMB EnabledProtocols = "SMB" + // EnabledProtocolsNFS ... + EnabledProtocolsNFS EnabledProtocols = "NFS" + // EnabledProtocolsSMB ... + EnabledProtocolsSMB EnabledProtocols = "SMB" ) // PossibleEnabledProtocolsValues returns an array of possible values for the EnabledProtocols const type. func PossibleEnabledProtocolsValues() []EnabledProtocols { - return []EnabledProtocols{NFS, SMB} + return []EnabledProtocols{EnabledProtocolsNFS, EnabledProtocolsSMB} } // EncryptionScopeSource enumerates the values for encryption scope source. type EncryptionScopeSource string const ( - // MicrosoftKeyVault ... - MicrosoftKeyVault EncryptionScopeSource = "Microsoft.KeyVault" - // MicrosoftStorage ... - MicrosoftStorage EncryptionScopeSource = "Microsoft.Storage" + // EncryptionScopeSourceMicrosoftKeyVault ... + EncryptionScopeSourceMicrosoftKeyVault EncryptionScopeSource = "Microsoft.KeyVault" + // EncryptionScopeSourceMicrosoftStorage ... + EncryptionScopeSourceMicrosoftStorage EncryptionScopeSource = "Microsoft.Storage" ) // PossibleEncryptionScopeSourceValues returns an array of possible values for the EncryptionScopeSource const type. func PossibleEncryptionScopeSourceValues() []EncryptionScopeSource { - return []EncryptionScopeSource{MicrosoftKeyVault, MicrosoftStorage} + return []EncryptionScopeSource{EncryptionScopeSourceMicrosoftKeyVault, EncryptionScopeSourceMicrosoftStorage} } // EncryptionScopeState enumerates the values for encryption scope state. type EncryptionScopeState string const ( - // Disabled ... - Disabled EncryptionScopeState = "Disabled" - // Enabled ... - Enabled EncryptionScopeState = "Enabled" + // EncryptionScopeStateDisabled ... + EncryptionScopeStateDisabled EncryptionScopeState = "Disabled" + // EncryptionScopeStateEnabled ... + EncryptionScopeStateEnabled EncryptionScopeState = "Enabled" ) // PossibleEncryptionScopeStateValues returns an array of possible values for the EncryptionScopeState const type. func PossibleEncryptionScopeStateValues() []EncryptionScopeState { - return []EncryptionScopeState{Disabled, Enabled} + return []EncryptionScopeState{EncryptionScopeStateDisabled, EncryptionScopeStateEnabled} +} + +// ExtendedLocationTypes enumerates the values for extended location types. +type ExtendedLocationTypes string + +const ( + // ExtendedLocationTypesEdgeZone ... + ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone" +) + +// PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type. +func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes { + return []ExtendedLocationTypes{ExtendedLocationTypesEdgeZone} } // GeoReplicationStatus enumerates the values for geo replication status. @@ -219,75 +251,94 @@ func PossibleGeoReplicationStatusValues() []GeoReplicationStatus { type GetShareExpand string const ( - // Stats ... - Stats GetShareExpand = "stats" + // GetShareExpandStats ... + GetShareExpandStats GetShareExpand = "stats" ) // PossibleGetShareExpandValues returns an array of possible values for the GetShareExpand const type. func PossibleGetShareExpandValues() []GetShareExpand { - return []GetShareExpand{Stats} + return []GetShareExpand{GetShareExpandStats} } // HTTPProtocol enumerates the values for http protocol. type HTTPProtocol string const ( - // HTTPS ... - HTTPS HTTPProtocol = "https" - // Httpshttp ... - Httpshttp HTTPProtocol = "https,http" + // HTTPProtocolHTTPS ... + HTTPProtocolHTTPS HTTPProtocol = "https" + // HTTPProtocolHttpshttp ... + HTTPProtocolHttpshttp HTTPProtocol = "https,http" ) // PossibleHTTPProtocolValues returns an array of possible values for the HTTPProtocol const type. func PossibleHTTPProtocolValues() []HTTPProtocol { - return []HTTPProtocol{HTTPS, Httpshttp} + return []HTTPProtocol{HTTPProtocolHTTPS, HTTPProtocolHttpshttp} +} + +// IdentityType enumerates the values for identity type. +type IdentityType string + +const ( + // IdentityTypeNone ... + IdentityTypeNone IdentityType = "None" + // IdentityTypeSystemAssigned ... + IdentityTypeSystemAssigned IdentityType = "SystemAssigned" + // IdentityTypeSystemAssignedUserAssigned ... + IdentityTypeSystemAssignedUserAssigned IdentityType = "SystemAssigned,UserAssigned" + // IdentityTypeUserAssigned ... + IdentityTypeUserAssigned IdentityType = "UserAssigned" +) + +// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. +func PossibleIdentityTypeValues() []IdentityType { + return []IdentityType{IdentityTypeNone, IdentityTypeSystemAssigned, IdentityTypeSystemAssignedUserAssigned, IdentityTypeUserAssigned} } // ImmutabilityPolicyState enumerates the values for immutability policy state. type ImmutabilityPolicyState string const ( - // Locked ... - Locked ImmutabilityPolicyState = "Locked" - // Unlocked ... - Unlocked ImmutabilityPolicyState = "Unlocked" + // ImmutabilityPolicyStateLocked ... + ImmutabilityPolicyStateLocked ImmutabilityPolicyState = "Locked" + // ImmutabilityPolicyStateUnlocked ... + ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked" ) // PossibleImmutabilityPolicyStateValues returns an array of possible values for the ImmutabilityPolicyState const type. func PossibleImmutabilityPolicyStateValues() []ImmutabilityPolicyState { - return []ImmutabilityPolicyState{Locked, Unlocked} + return []ImmutabilityPolicyState{ImmutabilityPolicyStateLocked, ImmutabilityPolicyStateUnlocked} } // ImmutabilityPolicyUpdateType enumerates the values for immutability policy update type. type ImmutabilityPolicyUpdateType string const ( - // Extend ... - Extend ImmutabilityPolicyUpdateType = "extend" - // Lock ... - Lock ImmutabilityPolicyUpdateType = "lock" - // Put ... - Put ImmutabilityPolicyUpdateType = "put" + // ImmutabilityPolicyUpdateTypeExtend ... + ImmutabilityPolicyUpdateTypeExtend ImmutabilityPolicyUpdateType = "extend" + // ImmutabilityPolicyUpdateTypeLock ... + ImmutabilityPolicyUpdateTypeLock ImmutabilityPolicyUpdateType = "lock" + // ImmutabilityPolicyUpdateTypePut ... + ImmutabilityPolicyUpdateTypePut ImmutabilityPolicyUpdateType = "put" ) // PossibleImmutabilityPolicyUpdateTypeValues returns an array of possible values for the ImmutabilityPolicyUpdateType const type. func PossibleImmutabilityPolicyUpdateTypeValues() []ImmutabilityPolicyUpdateType { - return []ImmutabilityPolicyUpdateType{Extend, Lock, Put} + return []ImmutabilityPolicyUpdateType{ImmutabilityPolicyUpdateTypeExtend, ImmutabilityPolicyUpdateTypeLock, ImmutabilityPolicyUpdateTypePut} } // KeyPermission enumerates the values for key permission. type KeyPermission string const ( - // Full ... - Full KeyPermission = "Full" - // Read ... - Read KeyPermission = "Read" + // KeyPermissionFull ... + KeyPermissionFull KeyPermission = "Full" + // KeyPermissionRead ... + KeyPermissionRead KeyPermission = "Read" ) // PossibleKeyPermissionValues returns an array of possible values for the KeyPermission const type. func PossibleKeyPermissionValues() []KeyPermission { - return []KeyPermission{Full, Read} + return []KeyPermission{KeyPermissionFull, KeyPermissionRead} } // KeySource enumerates the values for key source. @@ -324,21 +375,21 @@ func PossibleKeyTypeValues() []KeyType { type Kind string const ( - // BlobStorage ... - BlobStorage Kind = "BlobStorage" - // BlockBlobStorage ... - BlockBlobStorage Kind = "BlockBlobStorage" - // FileStorage ... - FileStorage Kind = "FileStorage" - // Storage ... - Storage Kind = "Storage" - // StorageV2 ... - StorageV2 Kind = "StorageV2" + // KindBlobStorage ... + KindBlobStorage Kind = "BlobStorage" + // KindBlockBlobStorage ... + KindBlockBlobStorage Kind = "BlockBlobStorage" + // KindFileStorage ... + KindFileStorage Kind = "FileStorage" + // KindStorage ... + KindStorage Kind = "Storage" + // KindStorageV2 ... + KindStorageV2 Kind = "StorageV2" ) // PossibleKindValues returns an array of possible values for the Kind const type. func PossibleKindValues() []Kind { - return []Kind{BlobStorage, BlockBlobStorage, FileStorage, Storage, StorageV2} + return []Kind{KindBlobStorage, KindBlockBlobStorage, KindFileStorage, KindStorage, KindStorageV2} } // LargeFileSharesState enumerates the values for large file shares state. @@ -360,15 +411,15 @@ func PossibleLargeFileSharesStateValues() []LargeFileSharesState { type LeaseDuration string const ( - // Fixed ... - Fixed LeaseDuration = "Fixed" - // Infinite ... - Infinite LeaseDuration = "Infinite" + // LeaseDurationFixed ... + LeaseDurationFixed LeaseDuration = "Fixed" + // LeaseDurationInfinite ... + LeaseDurationInfinite LeaseDuration = "Infinite" ) // PossibleLeaseDurationValues returns an array of possible values for the LeaseDuration const type. func PossibleLeaseDurationValues() []LeaseDuration { - return []LeaseDuration{Fixed, Infinite} + return []LeaseDuration{LeaseDurationFixed, LeaseDurationInfinite} } // LeaseState enumerates the values for lease state. @@ -411,26 +462,26 @@ func PossibleLeaseStatusValues() []LeaseStatus { type ListContainersInclude string const ( - // Deleted ... - Deleted ListContainersInclude = "deleted" + // ListContainersIncludeDeleted ... + ListContainersIncludeDeleted ListContainersInclude = "deleted" ) // PossibleListContainersIncludeValues returns an array of possible values for the ListContainersInclude const type. func PossibleListContainersIncludeValues() []ListContainersInclude { - return []ListContainersInclude{Deleted} + return []ListContainersInclude{ListContainersIncludeDeleted} } // ListKeyExpand enumerates the values for list key expand. type ListKeyExpand string const ( - // Kerb ... - Kerb ListKeyExpand = "kerb" + // ListKeyExpandKerb ... + ListKeyExpandKerb ListKeyExpand = "kerb" ) // PossibleListKeyExpandValues returns an array of possible values for the ListKeyExpand const type. func PossibleListKeyExpandValues() []ListKeyExpand { - return []ListKeyExpand{Kerb} + return []ListKeyExpand{ListKeyExpandKerb} } // ListSharesExpand enumerates the values for list shares expand. @@ -439,55 +490,70 @@ type ListSharesExpand string const ( // ListSharesExpandDeleted ... ListSharesExpandDeleted ListSharesExpand = "deleted" + // ListSharesExpandSnapshots ... + ListSharesExpandSnapshots ListSharesExpand = "snapshots" ) // PossibleListSharesExpandValues returns an array of possible values for the ListSharesExpand const type. func PossibleListSharesExpandValues() []ListSharesExpand { - return []ListSharesExpand{ListSharesExpandDeleted} + return []ListSharesExpand{ListSharesExpandDeleted, ListSharesExpandSnapshots} } // MinimumTLSVersion enumerates the values for minimum tls version. type MinimumTLSVersion string const ( - // TLS10 ... - TLS10 MinimumTLSVersion = "TLS1_0" - // TLS11 ... - TLS11 MinimumTLSVersion = "TLS1_1" - // TLS12 ... - TLS12 MinimumTLSVersion = "TLS1_2" + // MinimumTLSVersionTLS10 ... + MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS1_0" + // MinimumTLSVersionTLS11 ... + MinimumTLSVersionTLS11 MinimumTLSVersion = "TLS1_1" + // MinimumTLSVersionTLS12 ... + MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS1_2" ) // PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type. func PossibleMinimumTLSVersionValues() []MinimumTLSVersion { - return []MinimumTLSVersion{TLS10, TLS11, TLS12} + return []MinimumTLSVersion{MinimumTLSVersionTLS10, MinimumTLSVersionTLS11, MinimumTLSVersionTLS12} +} + +// Name enumerates the values for name. +type Name string + +const ( + // NameAccessTimeTracking ... + NameAccessTimeTracking Name = "AccessTimeTracking" +) + +// PossibleNameValues returns an array of possible values for the Name const type. +func PossibleNameValues() []Name { + return []Name{NameAccessTimeTracking} } // Permissions enumerates the values for permissions. type Permissions string const ( - // A ... - A Permissions = "a" - // C ... - C Permissions = "c" - // D ... - D Permissions = "d" - // L ... - L Permissions = "l" - // P ... - P Permissions = "p" - // R ... - R Permissions = "r" - // U ... - U Permissions = "u" - // W ... - W Permissions = "w" + // PermissionsA ... + PermissionsA Permissions = "a" + // PermissionsC ... + PermissionsC Permissions = "c" + // PermissionsD ... + PermissionsD Permissions = "d" + // PermissionsL ... + PermissionsL Permissions = "l" + // PermissionsP ... + PermissionsP Permissions = "p" + // PermissionsR ... + PermissionsR Permissions = "r" + // PermissionsU ... + PermissionsU Permissions = "u" + // PermissionsW ... + PermissionsW Permissions = "w" ) // PossiblePermissionsValues returns an array of possible values for the Permissions const type. func PossiblePermissionsValues() []Permissions { - return []Permissions{A, C, D, L, P, R, U, W} + return []Permissions{PermissionsA, PermissionsC, PermissionsD, PermissionsL, PermissionsP, PermissionsR, PermissionsU, PermissionsW} } // PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection @@ -514,34 +580,34 @@ func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpoin type PrivateEndpointServiceConnectionStatus string const ( - // Approved ... - Approved PrivateEndpointServiceConnectionStatus = "Approved" - // Pending ... - Pending PrivateEndpointServiceConnectionStatus = "Pending" - // Rejected ... - Rejected PrivateEndpointServiceConnectionStatus = "Rejected" + // PrivateEndpointServiceConnectionStatusApproved ... + PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" + // PrivateEndpointServiceConnectionStatusPending ... + PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" + // PrivateEndpointServiceConnectionStatusRejected ... + PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" ) // PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type. func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus { - return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected} + return []PrivateEndpointServiceConnectionStatus{PrivateEndpointServiceConnectionStatusApproved, PrivateEndpointServiceConnectionStatusPending, PrivateEndpointServiceConnectionStatusRejected} } // ProvisioningState enumerates the values for provisioning state. type ProvisioningState string const ( - // Creating ... - Creating ProvisioningState = "Creating" - // ResolvingDNS ... - ResolvingDNS ProvisioningState = "ResolvingDNS" - // Succeeded ... - Succeeded ProvisioningState = "Succeeded" + // ProvisioningStateCreating ... + ProvisioningStateCreating ProvisioningState = "Creating" + // ProvisioningStateResolvingDNS ... + ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS" + // ProvisioningStateSucceeded ... + ProvisioningStateSucceeded ProvisioningState = "Succeeded" ) // PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. func PossibleProvisioningStateValues() []ProvisioningState { - return []ProvisioningState{Creating, ResolvingDNS, Succeeded} + return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateResolvingDNS, ProvisioningStateSucceeded} } // PublicAccess enumerates the values for public access. @@ -561,85 +627,98 @@ func PossiblePublicAccessValues() []PublicAccess { return []PublicAccess{PublicAccessBlob, PublicAccessContainer, PublicAccessNone} } +// PutSharesExpand enumerates the values for put shares expand. +type PutSharesExpand string + +const ( + // PutSharesExpandSnapshots ... + PutSharesExpandSnapshots PutSharesExpand = "snapshots" +) + +// PossiblePutSharesExpandValues returns an array of possible values for the PutSharesExpand const type. +func PossiblePutSharesExpandValues() []PutSharesExpand { + return []PutSharesExpand{PutSharesExpandSnapshots} +} + // Reason enumerates the values for reason. type Reason string const ( - // AccountNameInvalid ... - AccountNameInvalid Reason = "AccountNameInvalid" - // AlreadyExists ... - AlreadyExists Reason = "AlreadyExists" + // ReasonAccountNameInvalid ... + ReasonAccountNameInvalid Reason = "AccountNameInvalid" + // ReasonAlreadyExists ... + ReasonAlreadyExists Reason = "AlreadyExists" ) // PossibleReasonValues returns an array of possible values for the Reason const type. func PossibleReasonValues() []Reason { - return []Reason{AccountNameInvalid, AlreadyExists} + return []Reason{ReasonAccountNameInvalid, ReasonAlreadyExists} } // ReasonCode enumerates the values for reason code. type ReasonCode string const ( - // NotAvailableForSubscription ... - NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" - // QuotaID ... - QuotaID ReasonCode = "QuotaId" + // ReasonCodeNotAvailableForSubscription ... + ReasonCodeNotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" + // ReasonCodeQuotaID ... + ReasonCodeQuotaID ReasonCode = "QuotaId" ) // PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type. func PossibleReasonCodeValues() []ReasonCode { - return []ReasonCode{NotAvailableForSubscription, QuotaID} + return []ReasonCode{ReasonCodeNotAvailableForSubscription, ReasonCodeQuotaID} } // RootSquashType enumerates the values for root squash type. type RootSquashType string const ( - // AllSquash ... - AllSquash RootSquashType = "AllSquash" - // NoRootSquash ... - NoRootSquash RootSquashType = "NoRootSquash" - // RootSquash ... - RootSquash RootSquashType = "RootSquash" + // RootSquashTypeAllSquash ... + RootSquashTypeAllSquash RootSquashType = "AllSquash" + // RootSquashTypeNoRootSquash ... + RootSquashTypeNoRootSquash RootSquashType = "NoRootSquash" + // RootSquashTypeRootSquash ... + RootSquashTypeRootSquash RootSquashType = "RootSquash" ) // PossibleRootSquashTypeValues returns an array of possible values for the RootSquashType const type. func PossibleRootSquashTypeValues() []RootSquashType { - return []RootSquashType{AllSquash, NoRootSquash, RootSquash} + return []RootSquashType{RootSquashTypeAllSquash, RootSquashTypeNoRootSquash, RootSquashTypeRootSquash} } // RoutingChoice enumerates the values for routing choice. type RoutingChoice string const ( - // InternetRouting ... - InternetRouting RoutingChoice = "InternetRouting" - // MicrosoftRouting ... - MicrosoftRouting RoutingChoice = "MicrosoftRouting" + // RoutingChoiceInternetRouting ... + RoutingChoiceInternetRouting RoutingChoice = "InternetRouting" + // RoutingChoiceMicrosoftRouting ... + RoutingChoiceMicrosoftRouting RoutingChoice = "MicrosoftRouting" ) // PossibleRoutingChoiceValues returns an array of possible values for the RoutingChoice const type. func PossibleRoutingChoiceValues() []RoutingChoice { - return []RoutingChoice{InternetRouting, MicrosoftRouting} + return []RoutingChoice{RoutingChoiceInternetRouting, RoutingChoiceMicrosoftRouting} } // Services enumerates the values for services. type Services string const ( - // B ... - B Services = "b" - // F ... - F Services = "f" - // Q ... - Q Services = "q" - // T ... - T Services = "t" + // ServicesB ... + ServicesB Services = "b" + // ServicesF ... + ServicesF Services = "f" + // ServicesQ ... + ServicesQ Services = "q" + // ServicesT ... + ServicesT Services = "t" ) // PossibleServicesValues returns an array of possible values for the Services const type. func PossibleServicesValues() []Services { - return []Services{B, F, Q, T} + return []Services{ServicesB, ServicesF, ServicesQ, ServicesT} } // ShareAccessTier enumerates the values for share access tier. @@ -701,42 +780,42 @@ func PossibleSignedResourceTypesValues() []SignedResourceTypes { type SkuName string const ( - // PremiumLRS ... - PremiumLRS SkuName = "Premium_LRS" - // PremiumZRS ... - PremiumZRS SkuName = "Premium_ZRS" - // StandardGRS ... - StandardGRS SkuName = "Standard_GRS" - // StandardGZRS ... - StandardGZRS SkuName = "Standard_GZRS" - // StandardLRS ... - StandardLRS SkuName = "Standard_LRS" - // StandardRAGRS ... - StandardRAGRS SkuName = "Standard_RAGRS" - // StandardRAGZRS ... - StandardRAGZRS SkuName = "Standard_RAGZRS" - // StandardZRS ... - StandardZRS SkuName = "Standard_ZRS" + // SkuNamePremiumLRS ... + SkuNamePremiumLRS SkuName = "Premium_LRS" + // SkuNamePremiumZRS ... + SkuNamePremiumZRS SkuName = "Premium_ZRS" + // SkuNameStandardGRS ... + SkuNameStandardGRS SkuName = "Standard_GRS" + // SkuNameStandardGZRS ... + SkuNameStandardGZRS SkuName = "Standard_GZRS" + // SkuNameStandardLRS ... + SkuNameStandardLRS SkuName = "Standard_LRS" + // SkuNameStandardRAGRS ... + SkuNameStandardRAGRS SkuName = "Standard_RAGRS" + // SkuNameStandardRAGZRS ... + SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS" + // SkuNameStandardZRS ... + SkuNameStandardZRS SkuName = "Standard_ZRS" ) // PossibleSkuNameValues returns an array of possible values for the SkuName const type. func PossibleSkuNameValues() []SkuName { - return []SkuName{PremiumLRS, PremiumZRS, StandardGRS, StandardGZRS, StandardLRS, StandardRAGRS, StandardRAGZRS, StandardZRS} + return []SkuName{SkuNamePremiumLRS, SkuNamePremiumZRS, SkuNameStandardGRS, SkuNameStandardGZRS, SkuNameStandardLRS, SkuNameStandardRAGRS, SkuNameStandardRAGZRS, SkuNameStandardZRS} } // SkuTier enumerates the values for sku tier. type SkuTier string const ( - // Premium ... - Premium SkuTier = "Premium" - // Standard ... - Standard SkuTier = "Standard" + // SkuTierPremium ... + SkuTierPremium SkuTier = "Premium" + // SkuTierStandard ... + SkuTierStandard SkuTier = "Standard" ) // PossibleSkuTierValues returns an array of possible values for the SkuTier const type. func PossibleSkuTierValues() []SkuTier { - return []SkuTier{Premium, Standard} + return []SkuTier{SkuTierPremium, SkuTierStandard} } // State enumerates the values for state. @@ -764,21 +843,21 @@ func PossibleStateValues() []State { type UsageUnit string const ( - // Bytes ... - Bytes UsageUnit = "Bytes" - // BytesPerSecond ... - BytesPerSecond UsageUnit = "BytesPerSecond" - // Count ... - Count UsageUnit = "Count" - // CountsPerSecond ... - CountsPerSecond UsageUnit = "CountsPerSecond" - // Percent ... - Percent UsageUnit = "Percent" - // Seconds ... - Seconds UsageUnit = "Seconds" + // UsageUnitBytes ... + UsageUnitBytes UsageUnit = "Bytes" + // UsageUnitBytesPerSecond ... + UsageUnitBytesPerSecond UsageUnit = "BytesPerSecond" + // UsageUnitCount ... + UsageUnitCount UsageUnit = "Count" + // UsageUnitCountsPerSecond ... + UsageUnitCountsPerSecond UsageUnit = "CountsPerSecond" + // UsageUnitPercent ... + UsageUnitPercent UsageUnit = "Percent" + // UsageUnitSeconds ... + UsageUnitSeconds UsageUnit = "Seconds" ) // PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type. func PossibleUsageUnitValues() []UsageUnit { - return []UsageUnit{Bytes, BytesPerSecond, Count, CountsPerSecond, Percent, Seconds} + return []UsageUnit{UsageUnitBytes, UsageUnitBytesPerSecond, UsageUnitCount, UsageUnitCountsPerSecond, UsageUnitPercent, UsageUnitSeconds} } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileservices.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileservices.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileservices.go index 6589e7d827..3c6351539a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileservices.go @@ -93,7 +93,7 @@ func (client FileServicesClient) GetServicePropertiesPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -184,7 +184,7 @@ func (client FileServicesClient) ListPreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -288,7 +288,7 @@ func (client FileServicesClient) SetServicePropertiesPreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileshares.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileshares.go similarity index 96% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileshares.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileshares.go index 43bec0596f..6ccc4bfb14 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/fileshares.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/fileshares.go @@ -42,7 +42,8 @@ func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileS // between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) // character must be immediately preceded and followed by a letter or number. // fileShare - properties of the file share to create. -func (client FileSharesClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare) (result FileShare, err error) { +// expand - optional, used to create a snapshot. +func (client FileSharesClient) Create(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare, expand PutSharesExpand) (result FileShare, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/FileSharesClient.Create") defer func() { @@ -76,7 +77,7 @@ func (client FileSharesClient) Create(ctx context.Context, resourceGroupName str return result, validation.NewError("storage.FileSharesClient", "Create", err.Error()) } - req, err := client.CreatePreparer(ctx, resourceGroupName, accountName, shareName, fileShare) + req, err := client.CreatePreparer(ctx, resourceGroupName, accountName, shareName, fileShare, expand) if err != nil { err = autorest.NewErrorWithError(err, "storage.FileSharesClient", "Create", nil, "Failure preparing request") return @@ -99,7 +100,7 @@ func (client FileSharesClient) Create(ctx context.Context, resourceGroupName str } // CreatePreparer prepares the Create request. -func (client FileSharesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare) (*http.Request, error) { +func (client FileSharesClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare FileShare, expand PutSharesExpand) (*http.Request, error) { pathParameters := map[string]interface{}{ "accountName": autorest.Encode("path", accountName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -107,10 +108,13 @@ func (client FileSharesClient) CreatePreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } + if len(string(expand)) > 0 { + queryParameters["$expand"] = autorest.Encode("query", expand) + } preparer := autorest.CreatePreparer( autorest.AsContentType("application/json; charset=utf-8"), @@ -149,7 +153,8 @@ func (client FileSharesClient) CreateResponder(resp *http.Response) (result File // shareName - the name of the file share within the specified storage account. File share names must be // between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) // character must be immediately preceded and followed by a letter or number. -func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string) (result autorest.Response, err error) { +// xMsSnapshot - optional, used to delete a snapshot. +func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, shareName string, xMsSnapshot string) (result autorest.Response, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/FileSharesClient.Delete") defer func() { @@ -176,7 +181,7 @@ func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName str return result, validation.NewError("storage.FileSharesClient", "Delete", err.Error()) } - req, err := client.DeletePreparer(ctx, resourceGroupName, accountName, shareName) + req, err := client.DeletePreparer(ctx, resourceGroupName, accountName, shareName, xMsSnapshot) if err != nil { err = autorest.NewErrorWithError(err, "storage.FileSharesClient", "Delete", nil, "Failure preparing request") return @@ -199,7 +204,7 @@ func (client FileSharesClient) Delete(ctx context.Context, resourceGroupName str } // DeletePreparer prepares the Delete request. -func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string) (*http.Request, error) { +func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, xMsSnapshot string) (*http.Request, error) { pathParameters := map[string]interface{}{ "accountName": autorest.Encode("path", accountName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -207,7 +212,7 @@ func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -217,6 +222,10 @@ func (client FileSharesClient) DeletePreparer(ctx context.Context, resourceGroup autorest.WithBaseURL(client.BaseURI), autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}", pathParameters), autorest.WithQueryParameters(queryParameters)) + if len(xMsSnapshot) > 0 { + preparer = autorest.DecoratePreparer(preparer, + autorest.WithHeader("x-ms-snapshot", autorest.String(xMsSnapshot))) + } return preparer.Prepare((&http.Request{}).WithContext(ctx)) } @@ -247,7 +256,8 @@ func (client FileSharesClient) DeleteResponder(resp *http.Response) (result auto // between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) // character must be immediately preceded and followed by a letter or number. // expand - optional, used to expand the properties within share's properties. -func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand GetShareExpand) (result FileShare, err error) { +// xMsSnapshot - optional, used to retrieve properties of a snapshot. +func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand GetShareExpand, xMsSnapshot string) (result FileShare, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/FileSharesClient.Get") defer func() { @@ -274,7 +284,7 @@ func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string return result, validation.NewError("storage.FileSharesClient", "Get", err.Error()) } - req, err := client.GetPreparer(ctx, resourceGroupName, accountName, shareName, expand) + req, err := client.GetPreparer(ctx, resourceGroupName, accountName, shareName, expand, xMsSnapshot) if err != nil { err = autorest.NewErrorWithError(err, "storage.FileSharesClient", "Get", nil, "Failure preparing request") return @@ -297,7 +307,7 @@ func (client FileSharesClient) Get(ctx context.Context, resourceGroupName string } // GetPreparer prepares the Get request. -func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand GetShareExpand) (*http.Request, error) { +func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, shareName string, expand GetShareExpand, xMsSnapshot string) (*http.Request, error) { pathParameters := map[string]interface{}{ "accountName": autorest.Encode("path", accountName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -305,7 +315,7 @@ func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupNam "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -318,6 +328,10 @@ func (client FileSharesClient) GetPreparer(ctx context.Context, resourceGroupNam autorest.WithBaseURL(client.BaseURI), autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}", pathParameters), autorest.WithQueryParameters(queryParameters)) + if len(xMsSnapshot) > 0 { + preparer = autorest.DecoratePreparer(preparer, + autorest.WithHeader("x-ms-snapshot", autorest.String(xMsSnapshot))) + } return preparer.Prepare((&http.Request{}).WithContext(ctx)) } @@ -407,7 +421,7 @@ func (client FileSharesClient) ListPreparer(ctx context.Context, resourceGroupNa "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -554,7 +568,7 @@ func (client FileSharesClient) RestorePreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -655,7 +669,7 @@ func (client FileSharesClient) UpdatePreparer(ctx context.Context, resourceGroup "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/managementpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/managementpolicies.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/managementpolicies.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/managementpolicies.go index 2543202c4c..77e126a8a3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/managementpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/managementpolicies.go @@ -99,7 +99,7 @@ func (client ManagementPoliciesClient) CreateOrUpdatePreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -193,7 +193,7 @@ func (client ManagementPoliciesClient) DeletePreparer(ctx context.Context, resou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -284,7 +284,7 @@ func (client ManagementPoliciesClient) GetPreparer(ctx context.Context, resource "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/models.go similarity index 83% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/models.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/models.go index 15dca422b6..cf613e6e40 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/models.go @@ -18,17 +18,19 @@ import ( ) // The package's fully qualified name. -const fqdn = "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" +const fqdn = "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" // Account the storage account. type Account struct { autorest.Response `json:"-"` // Sku - READ-ONLY; Gets the SKU. Sku *Sku `json:"sku,omitempty"` - // Kind - READ-ONLY; Gets the Kind. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' + // Kind - READ-ONLY; Gets the Kind. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` + // ExtendedLocation - The extendedLocation of the resource. + ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // AccountProperties - Properties of the storage account. *AccountProperties `json:"properties,omitempty"` // Tags - Resource tags. @@ -49,6 +51,9 @@ func (a Account) MarshalJSON() ([]byte, error) { if a.Identity != nil { objectMap["identity"] = a.Identity } + if a.ExtendedLocation != nil { + objectMap["extendedLocation"] = a.ExtendedLocation + } if a.AccountProperties != nil { objectMap["properties"] = a.AccountProperties } @@ -97,6 +102,15 @@ func (a *Account) UnmarshalJSON(body []byte) error { } a.Identity = &identity } + case "extendedLocation": + if v != nil { + var extendedLocation ExtendedLocation + err = json.Unmarshal(*v, &extendedLocation) + if err != nil { + return err + } + a.ExtendedLocation = &extendedLocation + } case "properties": if v != nil { var accountProperties AccountProperties @@ -170,10 +184,12 @@ type AccountCheckNameAvailabilityParameters struct { type AccountCreateParameters struct { // Sku - Required. Gets or sets the SKU name. Sku *Sku `json:"sku,omitempty"` - // Kind - Required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' + // Kind - Required. Indicates the type of storage account. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Location - Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Location *string `json:"location,omitempty"` + // ExtendedLocation - Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location + ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` // Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. Tags map[string]*string `json:"tags"` // Identity - The identity of the resource. @@ -194,6 +210,9 @@ func (acp AccountCreateParameters) MarshalJSON() ([]byte, error) { if acp.Location != nil { objectMap["location"] = acp.Location } + if acp.ExtendedLocation != nil { + objectMap["extendedLocation"] = acp.ExtendedLocation + } if acp.Tags != nil { objectMap["tags"] = acp.Tags } @@ -242,6 +261,15 @@ func (acp *AccountCreateParameters) UnmarshalJSON(body []byte) error { } acp.Location = &location } + case "extendedLocation": + if v != nil { + var extendedLocation ExtendedLocation + err = json.Unmarshal(*v, &extendedLocation) + if err != nil { + return err + } + acp.ExtendedLocation = &extendedLocation + } case "tags": if v != nil { var tags map[string]*string @@ -294,8 +322,10 @@ type AccountKey struct { KeyName *string `json:"keyName,omitempty"` // Value - READ-ONLY; Base 64-encoded value of the key. Value *string `json:"value,omitempty"` - // Permissions - READ-ONLY; Permissions for the key -- read-only or full permissions. Possible values include: 'Read', 'Full' + // Permissions - READ-ONLY; Permissions for the key -- read-only or full permissions. Possible values include: 'KeyPermissionRead', 'KeyPermissionFull' Permissions KeyPermission `json:"permissions,omitempty"` + // CreationTime - READ-ONLY; Creation time of the key, in round trip date format. + CreationTime *date.Time `json:"creationTime,omitempty"` } // AccountListKeysResult the response from the ListKeys operation. @@ -483,29 +513,35 @@ type AccountMicrosoftEndpoints struct { // AccountProperties properties of the storage account. type AccountProperties struct { - // ProvisioningState - READ-ONLY; Gets the status of the storage account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded' + // ProvisioningState - READ-ONLY; Gets the status of the storage account at the time the operation was called. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateResolvingDNS', 'ProvisioningStateSucceeded' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrimaryEndpoints - READ-ONLY; Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints *Endpoints `json:"primaryEndpoints,omitempty"` // PrimaryLocation - READ-ONLY; Gets the location of the primary data center for the storage account. PrimaryLocation *string `json:"primaryLocation,omitempty"` - // StatusOfPrimary - READ-ONLY; Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'Available', 'Unavailable' + // StatusOfPrimary - READ-ONLY; Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'AccountStatusAvailable', 'AccountStatusUnavailable' StatusOfPrimary AccountStatus `json:"statusOfPrimary,omitempty"` // LastGeoFailoverTime - READ-ONLY; Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime *date.Time `json:"lastGeoFailoverTime,omitempty"` // SecondaryLocation - READ-ONLY; Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation *string `json:"secondaryLocation,omitempty"` - // StatusOfSecondary - READ-ONLY; Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: 'Available', 'Unavailable' + // StatusOfSecondary - READ-ONLY; Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: 'AccountStatusAvailable', 'AccountStatusUnavailable' StatusOfSecondary AccountStatus `json:"statusOfSecondary,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the storage account in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` // CustomDomain - READ-ONLY; Gets the custom domain the user assigned to this storage account. CustomDomain *CustomDomain `json:"customDomain,omitempty"` + // SasPolicy - READ-ONLY; SasPolicy assigned to the storage account. + SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` + // KeyPolicy - READ-ONLY; KeyPolicy assigned to the storage account. + KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` + // KeyCreationTime - READ-ONLY; Storage account keys creation time. + KeyCreationTime *KeyCreationTime `json:"keyCreationTime,omitempty"` // SecondaryEndpoints - READ-ONLY; Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. SecondaryEndpoints *Endpoints `json:"secondaryEndpoints,omitempty"` // Encryption - READ-ONLY; Gets the encryption settings on the account. If unspecified, the account is unencrypted. Encryption *Encryption `json:"encryption,omitempty"` - // AccessTier - READ-ONLY; Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' + // AccessTier - READ-ONLY; Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -529,8 +565,12 @@ type AccountProperties struct { BlobRestoreStatus *BlobRestoreStatus `json:"blobRestoreStatus,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` + // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` + // EnableNfsV3 - NFS 3.0 protocol support enabled if set to true. + EnableNfsV3 *bool `json:"isNfsV3Enabled,omitempty"` } // MarshalJSON is the custom marshaler for AccountProperties. @@ -557,18 +597,28 @@ func (ap AccountProperties) MarshalJSON() ([]byte, error) { if ap.MinimumTLSVersion != "" { objectMap["minimumTlsVersion"] = ap.MinimumTLSVersion } + if ap.AllowSharedKeyAccess != nil { + objectMap["allowSharedKeyAccess"] = ap.AllowSharedKeyAccess + } + if ap.EnableNfsV3 != nil { + objectMap["isNfsV3Enabled"] = ap.EnableNfsV3 + } return json.Marshal(objectMap) } // AccountPropertiesCreateParameters the parameters used to create the storage account. type AccountPropertiesCreateParameters struct { + // SasPolicy - SasPolicy assigned to the storage account. + SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` + // KeyPolicy - KeyPolicy assigned to the storage account. + KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` // CustomDomain - User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. CustomDomain *CustomDomain `json:"customDomain,omitempty"` // Encryption - Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. Encryption *Encryption `json:"encryption,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` - // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' + // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -582,8 +632,12 @@ type AccountPropertiesCreateParameters struct { RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` + // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` + // EnableNfsV3 - NFS 3.0 protocol support enabled if set to true. + EnableNfsV3 *bool `json:"isNfsV3Enabled,omitempty"` } // AccountPropertiesUpdateParameters the parameters used when updating a storage account. @@ -592,7 +646,11 @@ type AccountPropertiesUpdateParameters struct { CustomDomain *CustomDomain `json:"customDomain,omitempty"` // Encryption - Provides the encryption settings on the account. The default setting is unencrypted. Encryption *Encryption `json:"encryption,omitempty"` - // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' + // SasPolicy - SasPolicy assigned to the storage account. + SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` + // KeyPolicy - KeyPolicy assigned to the storage account. + KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` + // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -606,8 +664,10 @@ type AccountPropertiesUpdateParameters struct { RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` + // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` } // AccountRegenerateKeyParameters the parameters used to regenerate the storage account key. @@ -618,15 +678,15 @@ type AccountRegenerateKeyParameters struct { // AccountSasParameters the parameters to list SAS credentials of a storage account. type AccountSasParameters struct { - // Services - The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'B', 'Q', 'T', 'F' + // Services - The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'ServicesB', 'ServicesQ', 'ServicesT', 'ServicesF' Services Services `json:"signedServices,omitempty"` // ResourceTypes - The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Possible values include: 'SignedResourceTypesS', 'SignedResourceTypesC', 'SignedResourceTypesO' ResourceTypes SignedResourceTypes `json:"signedResourceTypes,omitempty"` - // Permissions - The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' + // Permissions - The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'PermissionsR', 'PermissionsD', 'PermissionsW', 'PermissionsL', 'PermissionsA', 'PermissionsC', 'PermissionsU', 'PermissionsP' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` - // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' + // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'HTTPProtocolHttpshttp', 'HTTPProtocolHTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` // SharedAccessStartTime - The time at which the SAS becomes valid. SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` @@ -665,6 +725,7 @@ func (future *AccountsCreateFuture) result(client AccountsClient) (a Account, er return } if !done { + a.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("storage.AccountsCreateFuture") return } @@ -707,6 +768,7 @@ func (future *AccountsFailoverFuture) result(client AccountsClient) (ar autorest return } if !done { + ar.Response = future.Response() err = azure.NewAsyncOpIncompleteError("storage.AccountsFailoverFuture") return } @@ -743,6 +805,7 @@ func (future *AccountsRestoreBlobRangesFuture) result(client AccountsClient) (br return } if !done { + brs.Response.Response = future.Response() err = azure.NewAsyncOpIncompleteError("storage.AccountsRestoreBlobRangesFuture") return } @@ -767,7 +830,7 @@ type AccountUpdateParameters struct { Identity *Identity `json:"identity,omitempty"` // AccountPropertiesUpdateParameters - The parameters used when updating a storage account. *AccountPropertiesUpdateParameters `json:"properties,omitempty"` - // Kind - Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' + // Kind - Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' Kind Kind `json:"kind,omitempty"` } @@ -972,6 +1035,151 @@ func (bc *BlobContainer) UnmarshalJSON(body []byte) error { return nil } +// BlobInventoryPolicy the storage account blob inventory policy. +type BlobInventoryPolicy struct { + autorest.Response `json:"-"` + // BlobInventoryPolicyProperties - Returns the storage account blob inventory policy rules. + *BlobInventoryPolicyProperties `json:"properties,omitempty"` + SystemData *SystemData `json:"systemData,omitempty"` + // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The name of the resource + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for BlobInventoryPolicy. +func (bip BlobInventoryPolicy) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if bip.BlobInventoryPolicyProperties != nil { + objectMap["properties"] = bip.BlobInventoryPolicyProperties + } + if bip.SystemData != nil { + objectMap["systemData"] = bip.SystemData + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for BlobInventoryPolicy struct. +func (bip *BlobInventoryPolicy) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var blobInventoryPolicyProperties BlobInventoryPolicyProperties + err = json.Unmarshal(*v, &blobInventoryPolicyProperties) + if err != nil { + return err + } + bip.BlobInventoryPolicyProperties = &blobInventoryPolicyProperties + } + case "systemData": + if v != nil { + var systemData SystemData + err = json.Unmarshal(*v, &systemData) + if err != nil { + return err + } + bip.SystemData = &systemData + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + bip.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + bip.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bip.Type = &typeVar + } + } + } + + return nil +} + +// BlobInventoryPolicyDefinition an object that defines the blob inventory rule. Each definition consists +// of a set of filters. +type BlobInventoryPolicyDefinition struct { + // Filters - An object that defines the filter set. + Filters *BlobInventoryPolicyFilter `json:"filters,omitempty"` +} + +// BlobInventoryPolicyFilter an object that defines the blob inventory rule filter conditions. +type BlobInventoryPolicyFilter struct { + // PrefixMatch - An array of strings for blob prefixes to be matched. + PrefixMatch *[]string `json:"prefixMatch,omitempty"` + // BlobTypes - An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. + BlobTypes *[]string `json:"blobTypes,omitempty"` + // IncludeBlobVersions - Includes blob versions in blob inventory when value set to true. + IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty"` + // IncludeSnapshots - Includes blob snapshots in blob inventory when value set to true. + IncludeSnapshots *bool `json:"includeSnapshots,omitempty"` +} + +// BlobInventoryPolicyProperties the storage account blob inventory policy properties. +type BlobInventoryPolicyProperties struct { + // LastModifiedTime - READ-ONLY; Returns the last modified date and time of the blob inventory policy. + LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` + // Policy - The storage account blob inventory policy object. It is composed of policy rules. + Policy *BlobInventoryPolicySchema `json:"policy,omitempty"` +} + +// MarshalJSON is the custom marshaler for BlobInventoryPolicyProperties. +func (bipp BlobInventoryPolicyProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if bipp.Policy != nil { + objectMap["policy"] = bipp.Policy + } + return json.Marshal(objectMap) +} + +// BlobInventoryPolicyRule an object that wraps the blob inventory rule. Each rule is uniquely defined by +// name. +type BlobInventoryPolicyRule struct { + // Enabled - Rule is enabled when set to true. + Enabled *bool `json:"enabled,omitempty"` + // Name - A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. + Name *string `json:"name,omitempty"` + // Definition - An object that defines the blob inventory policy rule. + Definition *BlobInventoryPolicyDefinition `json:"definition,omitempty"` +} + +// BlobInventoryPolicySchema the storage account blob inventory policy rules. +type BlobInventoryPolicySchema struct { + // Enabled - Policy is enabled if set to true. + Enabled *bool `json:"enabled,omitempty"` + // Destination - Container name where blob inventory files are stored. Must be pre-created. + Destination *string `json:"destination,omitempty"` + // Type - The valid value is Inventory + Type *string `json:"type,omitempty"` + // Rules - The storage account blob inventory policy rules. The rule is applied when it is enabled. + Rules *[]BlobInventoryPolicyRule `json:"rules,omitempty"` +} + // BlobRestoreParameters blob restore parameters type BlobRestoreParameters struct { // TimeToRestore - Restore blob to the specified time. @@ -991,7 +1199,7 @@ type BlobRestoreRange struct { // BlobRestoreStatus blob restore status. type BlobRestoreStatus struct { autorest.Response `json:"-"` - // Status - READ-ONLY; The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. Possible values include: 'InProgress', 'Complete', 'Failed' + // Status - READ-ONLY; The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. Possible values include: 'BlobRestoreProgressStatusInProgress', 'BlobRestoreProgressStatusComplete', 'BlobRestoreProgressStatusFailed' Status BlobRestoreProgressStatus `json:"status,omitempty"` // FailureReason - READ-ONLY; Failure reason when blob restore is failed. FailureReason *string `json:"failureReason,omitempty"` @@ -1110,12 +1318,16 @@ type BlobServicePropertiesProperties struct { RestorePolicy *RestorePolicyProperties `json:"restorePolicy,omitempty"` // ContainerDeleteRetentionPolicy - The blob service properties for container soft delete. ContainerDeleteRetentionPolicy *DeleteRetentionPolicy `json:"containerDeleteRetentionPolicy,omitempty"` + // LastAccessTimeTrackingPolicy - The blob service property to configure last access time based tracking policy. + LastAccessTimeTrackingPolicy *LastAccessTimeTrackingPolicy `json:"lastAccessTimeTrackingPolicy,omitempty"` } // ChangeFeed the blob service properties for change feed events. type ChangeFeed struct { // Enabled - Indicates whether change feed event logging is enabled for the Blob service. Enabled *bool `json:"enabled,omitempty"` + // RetentionInDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed. + RetentionInDays *int32 `json:"retentionInDays,omitempty"` } // CheckNameAvailabilityResult the CheckNameAvailability operation response. @@ -1123,7 +1335,7 @@ type CheckNameAvailabilityResult struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. NameAvailable *bool `json:"nameAvailable,omitempty"` - // Reason - READ-ONLY; Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists' + // Reason - READ-ONLY; Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'ReasonAccountNameInvalid', 'ReasonAlreadyExists' Reason Reason `json:"reason,omitempty"` // Message - READ-ONLY; Gets an error message explaining the Reason value in more detail. Message *string `json:"message,omitempty"` @@ -1168,7 +1380,7 @@ type ContainerProperties struct { LeaseStatus LeaseStatus `json:"leaseStatus,omitempty"` // LeaseState - READ-ONLY; Lease state of the container. Possible values include: 'LeaseStateAvailable', 'LeaseStateLeased', 'LeaseStateExpired', 'LeaseStateBreaking', 'LeaseStateBroken' LeaseState LeaseState `json:"leaseState,omitempty"` - // LeaseDuration - READ-ONLY; Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed' + // LeaseDuration - READ-ONLY; Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'LeaseDurationInfinite', 'LeaseDurationFixed' LeaseDuration LeaseDuration `json:"leaseDuration,omitempty"` // Metadata - A name-value pair to associate with the container as metadata. Metadata map[string]*string `json:"metadata"` @@ -1234,10 +1446,260 @@ type DateAfterCreation struct { DaysAfterCreationGreaterThan *float64 `json:"daysAfterCreationGreaterThan,omitempty"` } -// DateAfterModification object to define the number of days after last modification. +// DateAfterModification object to define the number of days after object last modification Or last access. +// Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually +// exclusive. type DateAfterModification struct { // DaysAfterModificationGreaterThan - Value indicating the age in days after last modification DaysAfterModificationGreaterThan *float64 `json:"daysAfterModificationGreaterThan,omitempty"` + // DaysAfterLastAccessTimeGreaterThan - Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy + DaysAfterLastAccessTimeGreaterThan *float64 `json:"daysAfterLastAccessTimeGreaterThan,omitempty"` +} + +// DeletedAccount deleted storage account +type DeletedAccount struct { + autorest.Response `json:"-"` + // DeletedAccountProperties - Properties of the deleted account. + *DeletedAccountProperties `json:"properties,omitempty"` + // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + ID *string `json:"id,omitempty"` + // Name - READ-ONLY; The name of the resource + Name *string `json:"name,omitempty"` + // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DeletedAccount. +func (da DeletedAccount) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if da.DeletedAccountProperties != nil { + objectMap["properties"] = da.DeletedAccountProperties + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DeletedAccount struct. +func (da *DeletedAccount) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var deletedAccountProperties DeletedAccountProperties + err = json.Unmarshal(*v, &deletedAccountProperties) + if err != nil { + return err + } + da.DeletedAccountProperties = &deletedAccountProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + da.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + da.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + da.Type = &typeVar + } + } + } + + return nil +} + +// DeletedAccountListResult the response from the List Deleted Accounts operation. +type DeletedAccountListResult struct { + autorest.Response `json:"-"` + // Value - READ-ONLY; Gets the list of deleted accounts and their properties. + Value *[]DeletedAccount `json:"value,omitempty"` + // NextLink - READ-ONLY; Request URL that can be used to query next page of deleted accounts. Returned when total number of requested deleted accounts exceed maximum page size. + NextLink *string `json:"nextLink,omitempty"` +} + +// DeletedAccountListResultIterator provides access to a complete listing of DeletedAccount values. +type DeletedAccountListResultIterator struct { + i int + page DeletedAccountListResultPage +} + +// NextWithContext advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DeletedAccountListResultIterator) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedAccountListResultIterator.NextWithContext") + defer func() { + sc := -1 + if iter.Response().Response.Response != nil { + sc = iter.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err = iter.page.NextWithContext(ctx) + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (iter *DeletedAccountListResultIterator) Next() error { + return iter.NextWithContext(context.Background()) +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DeletedAccountListResultIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DeletedAccountListResultIterator) Response() DeletedAccountListResult { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DeletedAccountListResultIterator) Value() DeletedAccount { + if !iter.page.NotDone() { + return DeletedAccount{} + } + return iter.page.Values()[iter.i] +} + +// Creates a new instance of the DeletedAccountListResultIterator type. +func NewDeletedAccountListResultIterator(page DeletedAccountListResultPage) DeletedAccountListResultIterator { + return DeletedAccountListResultIterator{page: page} +} + +// IsEmpty returns true if the ListResult contains no values. +func (dalr DeletedAccountListResult) IsEmpty() bool { + return dalr.Value == nil || len(*dalr.Value) == 0 +} + +// hasNextLink returns true if the NextLink is not empty. +func (dalr DeletedAccountListResult) hasNextLink() bool { + return dalr.NextLink != nil && len(*dalr.NextLink) != 0 +} + +// deletedAccountListResultPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (dalr DeletedAccountListResult) deletedAccountListResultPreparer(ctx context.Context) (*http.Request, error) { + if !dalr.hasNextLink() { + return nil, nil + } + return autorest.Prepare((&http.Request{}).WithContext(ctx), + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(dalr.NextLink))) +} + +// DeletedAccountListResultPage contains a page of DeletedAccount values. +type DeletedAccountListResultPage struct { + fn func(context.Context, DeletedAccountListResult) (DeletedAccountListResult, error) + dalr DeletedAccountListResult +} + +// NextWithContext advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DeletedAccountListResultPage) NextWithContext(ctx context.Context) (err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/DeletedAccountListResultPage.NextWithContext") + defer func() { + sc := -1 + if page.Response().Response.Response != nil { + sc = page.Response().Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + for { + next, err := page.fn(ctx, page.dalr) + if err != nil { + return err + } + page.dalr = next + if !next.hasNextLink() || !next.IsEmpty() { + break + } + } + return nil +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +// Deprecated: Use NextWithContext() instead. +func (page *DeletedAccountListResultPage) Next() error { + return page.NextWithContext(context.Background()) +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DeletedAccountListResultPage) NotDone() bool { + return !page.dalr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page DeletedAccountListResultPage) Response() DeletedAccountListResult { + return page.dalr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page DeletedAccountListResultPage) Values() []DeletedAccount { + if page.dalr.IsEmpty() { + return nil + } + return *page.dalr.Value +} + +// Creates a new instance of the DeletedAccountListResultPage type. +func NewDeletedAccountListResultPage(cur DeletedAccountListResult, getNextPage func(context.Context, DeletedAccountListResult) (DeletedAccountListResult, error)) DeletedAccountListResultPage { + return DeletedAccountListResultPage{ + fn: getNextPage, + dalr: cur, + } +} + +// DeletedAccountProperties attributes of a deleted storage account. +type DeletedAccountProperties struct { + // StorageAccountResourceID - READ-ONLY; Full resource id of the original storage account. + StorageAccountResourceID *string `json:"storageAccountResourceId,omitempty"` + // Location - READ-ONLY; Location of the deleted account. + Location *string `json:"location,omitempty"` + // RestoreReference - READ-ONLY; Can be used to attempt recovering this deleted account via PutStorageAccount API. + RestoreReference *string `json:"restoreReference,omitempty"` + // CreationTime - READ-ONLY; Creation time of the deleted account. + CreationTime *string `json:"creationTime,omitempty"` + // DeletionTime - READ-ONLY; Deletion time of the deleted account. + DeletionTime *string `json:"deletionTime,omitempty"` } // DeletedShare the deleted share to be restored. @@ -1274,6 +1736,14 @@ type Encryption struct { RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` // KeyVaultProperties - Properties provided by key vault. KeyVaultProperties *KeyVaultProperties `json:"keyvaultproperties,omitempty"` + // EncryptionIdentity - The identity to be used with service-side encryption at rest. + EncryptionIdentity *EncryptionIdentity `json:"identity,omitempty"` +} + +// EncryptionIdentity encryption identity for the storage account. +type EncryptionIdentity struct { + // EncryptionUserAssignedIdentity - Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. + EncryptionUserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"` } // EncryptionScope the Encryption Scope resource. @@ -1354,6 +1824,19 @@ func (es *EncryptionScope) UnmarshalJSON(body []byte) error { type EncryptionScopeKeyVaultProperties struct { // KeyURI - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. KeyURI *string `json:"keyUri,omitempty"` + // CurrentVersionedKeyIdentifier - READ-ONLY; The object identifier of the current versioned Key Vault Key in use. + CurrentVersionedKeyIdentifier *string `json:"currentVersionedKeyIdentifier,omitempty"` + // LastKeyRotationTimestamp - READ-ONLY; Timestamp of last rotation of the Key Vault Key. + LastKeyRotationTimestamp *date.Time `json:"lastKeyRotationTimestamp,omitempty"` +} + +// MarshalJSON is the custom marshaler for EncryptionScopeKeyVaultProperties. +func (eskvp EncryptionScopeKeyVaultProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if eskvp.KeyURI != nil { + objectMap["keyUri"] = eskvp.KeyURI + } + return json.Marshal(objectMap) } // EncryptionScopeListResult list of encryption scopes requested, and if paging is required, a URL to the @@ -1518,9 +2001,9 @@ func NewEncryptionScopeListResultPage(cur EncryptionScopeListResult, getNextPage // EncryptionScopeProperties properties of the encryption scope. type EncryptionScopeProperties struct { - // Source - The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'MicrosoftStorage', 'MicrosoftKeyVault' + // Source - The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'EncryptionScopeSourceMicrosoftStorage', 'EncryptionScopeSourceMicrosoftKeyVault' Source EncryptionScopeSource `json:"source,omitempty"` - // State - The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'Enabled', 'Disabled' + // State - The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'EncryptionScopeStateEnabled', 'EncryptionScopeStateDisabled' State EncryptionScopeState `json:"state,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the encryption scope in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` @@ -1528,6 +2011,8 @@ type EncryptionScopeProperties struct { LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // KeyVaultProperties - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. KeyVaultProperties *EncryptionScopeKeyVaultProperties `json:"keyVaultProperties,omitempty"` + // RequireInfrastructureEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. + RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` } // MarshalJSON is the custom marshaler for EncryptionScopeProperties. @@ -1542,6 +2027,9 @@ func (esp EncryptionScopeProperties) MarshalJSON() ([]byte, error) { if esp.KeyVaultProperties != nil { objectMap["keyVaultProperties"] = esp.KeyVaultProperties } + if esp.RequireInfrastructureEncryption != nil { + objectMap["requireInfrastructureEncryption"] = esp.RequireInfrastructureEncryption + } return json.Marshal(objectMap) } @@ -1614,12 +2102,26 @@ func (e Endpoints) MarshalJSON() ([]byte, error) { // ErrorResponse an error response from the storage resource provider. type ErrorResponse struct { + // Error - Azure Storage Resource Provider error response body. + Error *ErrorResponseBody `json:"error,omitempty"` +} + +// ErrorResponseBody error response body contract. +type ErrorResponseBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` } +// ExtendedLocation the complex type of the extended location. +type ExtendedLocation struct { + // Name - The name of the extended location. + Name *string `json:"name,omitempty"` + // Type - The type of the extended location. Possible values include: 'ExtendedLocationTypesEdgeZone' + Type ExtendedLocationTypes `json:"type,omitempty"` +} + // FileServiceItems ... type FileServiceItems struct { autorest.Response `json:"-"` @@ -1717,6 +2219,8 @@ type FileServicePropertiesProperties struct { Cors *CorsRules `json:"cors,omitempty"` // ShareDeleteRetentionPolicy - The file service properties for share soft delete. ShareDeleteRetentionPolicy *DeleteRetentionPolicy `json:"shareDeleteRetentionPolicy,omitempty"` + // ProtocolSettings - Protocol settings for file service + ProtocolSettings *ProtocolSettings `json:"protocolSettings,omitempty"` } // FileShare properties of the file share, including Id, resource name, resource type, Etag. @@ -2054,9 +2558,9 @@ type FileShareProperties struct { Metadata map[string]*string `json:"metadata"` // ShareQuota - The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. ShareQuota *int32 `json:"shareQuota,omitempty"` - // EnabledProtocols - The authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: 'SMB', 'NFS' + // EnabledProtocols - The authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: 'EnabledProtocolsSMB', 'EnabledProtocolsNFS' EnabledProtocols EnabledProtocols `json:"enabledProtocols,omitempty"` - // RootSquash - The property is for NFS share only. The default is NoRootSquash. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash' + // RootSquash - The property is for NFS share only. The default is NoRootSquash. Possible values include: 'RootSquashTypeNoRootSquash', 'RootSquashTypeRootSquash', 'RootSquashTypeAllSquash' RootSquash RootSquashType `json:"rootSquash,omitempty"` // Version - READ-ONLY; The version of the share. Version *string `json:"version,omitempty"` @@ -2074,6 +2578,8 @@ type FileShareProperties struct { AccessTierStatus *string `json:"accessTierStatus,omitempty"` // ShareUsageBytes - READ-ONLY; The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files. ShareUsageBytes *int64 `json:"shareUsageBytes,omitempty"` + // SnapshotTime - READ-ONLY; Creation time of share snapshot returned in the response of list shares with expand param "snapshots". + SnapshotTime *date.Time `json:"snapshotTime,omitempty"` } // MarshalJSON is the custom marshaler for FileShareProperties. @@ -2114,16 +2620,21 @@ type Identity struct { PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` - // Type - The identity type. - Type *string `json:"type,omitempty"` + // Type - The identity type. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned', 'IdentityTypeSystemAssignedUserAssigned' + Type IdentityType `json:"type,omitempty"` + // UserAssignedIdentities - Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here. + UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"` } // MarshalJSON is the custom marshaler for Identity. func (i Identity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if i.Type != nil { + if i.Type != "" { objectMap["type"] = i.Type } + if i.UserAssignedIdentities != nil { + objectMap["userAssignedIdentities"] = i.UserAssignedIdentities + } return json.Marshal(objectMap) } @@ -2277,7 +2788,7 @@ func (ipp *ImmutabilityPolicyProperties) UnmarshalJSON(body []byte) error { type ImmutabilityPolicyProperty struct { // ImmutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` - // State - READ-ONLY; The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'Locked', 'Unlocked' + // State - READ-ONLY; The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'ImmutabilityPolicyStateLocked', 'ImmutabilityPolicyStateUnlocked' State ImmutabilityPolicyState `json:"state,omitempty"` // AllowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` @@ -2299,10 +2810,22 @@ func (ipp ImmutabilityPolicyProperty) MarshalJSON() ([]byte, error) { type IPRule struct { // IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. IPAddressOrRange *string `json:"value,omitempty"` - // Action - The action of IP ACL rule. Possible values include: 'Allow' + // Action - The action of IP ACL rule. Possible values include: 'ActionAllow' Action Action `json:"action,omitempty"` } +// KeyCreationTime storage account keys creation time. +type KeyCreationTime struct { + Key1 *date.Time `json:"key1,omitempty"` + Key2 *date.Time `json:"key2,omitempty"` +} + +// KeyPolicy keyPolicy assigned to the storage account. +type KeyPolicy struct { + // KeyExpirationPeriodInDays - The key expiration period in days. + KeyExpirationPeriodInDays *int32 `json:"keyExpirationPeriodInDays,omitempty"` +} + // KeyVaultProperties properties of key vault. type KeyVaultProperties struct { // KeyName - The name of KeyVault key. @@ -2332,9 +2855,21 @@ func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// LastAccessTimeTrackingPolicy the blob service properties for Last access time based tracking policy. +type LastAccessTimeTrackingPolicy struct { + // Enable - When set to true last access time based tracking is enabled. + Enable *bool `json:"enable,omitempty"` + // Name - Name of the policy. The valid value is AccessTimeTracking. This field is currently read only. Possible values include: 'NameAccessTimeTracking' + Name Name `json:"name,omitempty"` + // TrackingGranularityInDays - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1 + TrackingGranularityInDays *int32 `json:"trackingGranularityInDays,omitempty"` + // BlobType - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only + BlobType *[]string `json:"blobType,omitempty"` +} + // LeaseContainerRequest lease Container request schema. type LeaseContainerRequest struct { - // Action - Specifies the lease action. Can be one of the available actions. Possible values include: 'Acquire', 'Renew', 'Change', 'Release', 'Break' + // Action - Specifies the lease action. Can be one of the available actions. Possible values include: 'Action1Acquire', 'Action1Renew', 'Action1Change', 'Action1Release', 'Action1Break' Action Action1 `json:"action,omitempty"` // LeaseID - Identifies the lease. Can be specified in any valid GUID string format. LeaseID *string `json:"leaseId,omitempty"` @@ -2397,6 +2932,13 @@ type ListAccountSasResponse struct { AccountSasToken *string `json:"accountSasToken,omitempty"` } +// ListBlobInventoryPolicy list of blob inventory policies returned. +type ListBlobInventoryPolicy struct { + autorest.Response `json:"-"` + // Value - READ-ONLY; List of blob inventory policies. + Value *[]BlobInventoryPolicy `json:"value,omitempty"` +} + // ListContainerItem the blob container properties be listed out. type ListContainerItem struct { // ContainerProperties - The blob container properties be listed out. @@ -3145,6 +3687,8 @@ type ManagementPolicyAction struct { BaseBlob *ManagementPolicyBaseBlob `json:"baseBlob,omitempty"` // Snapshot - The management policy action for snapshot Snapshot *ManagementPolicySnapShot `json:"snapshot,omitempty"` + // Version - The management policy action for version + Version *ManagementPolicyVersion `json:"version,omitempty"` } // ManagementPolicyBaseBlob management policy action for base blob. @@ -3155,6 +3699,8 @@ type ManagementPolicyBaseBlob struct { TierToArchive *DateAfterModification `json:"tierToArchive,omitempty"` // Delete - The function to delete the blob Delete *DateAfterModification `json:"delete,omitempty"` + // EnableAutoTierToHotFromCool - This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. + EnableAutoTierToHotFromCool *bool `json:"enableAutoTierToHotFromCool,omitempty"` } // ManagementPolicyDefinition an object that defines the Lifecycle rule. Each definition is made up with a @@ -3171,7 +3717,7 @@ type ManagementPolicyDefinition struct { type ManagementPolicyFilter struct { // PrefixMatch - An array of strings for prefixes to be match. PrefixMatch *[]string `json:"prefixMatch,omitempty"` - // BlobTypes - An array of predefined enum values. Only blockBlob is supported. + // BlobTypes - An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. BlobTypes *[]string `json:"blobTypes,omitempty"` // BlobIndexMatch - An array of blob index tag based filters, there can be at most 10 tag filters BlobIndexMatch *[]TagFilter `json:"blobIndexMatch,omitempty"` @@ -3215,10 +3761,24 @@ type ManagementPolicySchema struct { // ManagementPolicySnapShot management policy action for snapshot. type ManagementPolicySnapShot struct { + // TierToCool - The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier + TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` + // TierToArchive - The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier + TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` // Delete - The function to delete the blob snapshot Delete *DateAfterCreation `json:"delete,omitempty"` } +// ManagementPolicyVersion management policy action for blob version. +type ManagementPolicyVersion struct { + // TierToCool - The function to tier blob version to cool storage. Support blob version currently at Hot tier + TierToCool *DateAfterCreation `json:"tierToCool,omitempty"` + // TierToArchive - The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier + TierToArchive *DateAfterCreation `json:"tierToArchive,omitempty"` + // Delete - The function to delete the blob version + Delete *DateAfterCreation `json:"delete,omitempty"` +} + // MetricSpecification metric specification of operation. type MetricSpecification struct { // Name - Name of metric specification. @@ -3241,10 +3801,18 @@ type MetricSpecification struct { ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"` } +// Multichannel multichannel setting. Applies to Premium FileStorage only. +type Multichannel struct { + // Enabled - Indicates whether multichannel is enabled + Enabled *bool `json:"enabled,omitempty"` +} + // NetworkRuleSet network rule set type NetworkRuleSet struct { - // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' + // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'BypassNone', 'BypassLogging', 'BypassMetrics', 'BypassAzureServices' Bypass Bypass `json:"bypass,omitempty"` + // ResourceAccessRules - Sets the resource access rules + ResourceAccessRules *[]ResourceAccessRule `json:"resourceAccessRules,omitempty"` // VirtualNetworkRules - Sets the virtual network rules VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` // IPRules - Sets the IP ACL rules @@ -3690,7 +4258,7 @@ func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) { // PrivateLinkServiceConnectionState a collection of information about the state of the connection between // service consumer and provider. type PrivateLinkServiceConnectionState struct { - // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected' + // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected' Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` @@ -3698,6 +4266,12 @@ type PrivateLinkServiceConnectionState struct { ActionRequired *string `json:"actionRequired,omitempty"` } +// ProtocolSettings protocol settings for file service +type ProtocolSettings struct { + // Smb - Setting for SMB protocol + Smb *SmbSetting `json:"smb,omitempty"` +} + // ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not // have tags and a location type ProxyResource struct { @@ -3888,6 +4462,14 @@ type Resource struct { Type *string `json:"type,omitempty"` } +// ResourceAccessRule resource Access Rule. +type ResourceAccessRule struct { + // TenantID - Tenant Id + TenantID *string `json:"tenantId,omitempty"` + // ResourceID - Resource Id + ResourceID *string `json:"resourceId,omitempty"` +} + // RestorePolicyProperties the blob service properties for blob restore policy type RestorePolicyProperties struct { // Enabled - Blob restore is enabled if set to true. @@ -3918,7 +4500,7 @@ type Restriction struct { Type *string `json:"type,omitempty"` // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Values *[]string `json:"values,omitempty"` - // ReasonCode - The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Possible values include: 'QuotaID', 'NotAvailableForSubscription' + // ReasonCode - The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Possible values include: 'ReasonCodeQuotaID', 'ReasonCodeNotAvailableForSubscription' ReasonCode ReasonCode `json:"reasonCode,omitempty"` } @@ -3934,7 +4516,7 @@ func (r Restriction) MarshalJSON() ([]byte, error) { // RoutingPreference routing preference defines the type of network, either microsoft or internet routing // to be used to deliver the user data, the default option is microsoft routing type RoutingPreference struct { - // RoutingChoice - Routing Choice defines the kind of network routing opted by the user. Possible values include: 'MicrosoftRouting', 'InternetRouting' + // RoutingChoice - Routing Choice defines the kind of network routing opted by the user. Possible values include: 'RoutingChoiceMicrosoftRouting', 'RoutingChoiceInternetRouting' RoutingChoice RoutingChoice `json:"routingChoice,omitempty"` // PublishMicrosoftEndpoints - A boolean flag which indicates whether microsoft routing storage endpoints are to be published PublishMicrosoftEndpoints *bool `json:"publishMicrosoftEndpoints,omitempty"` @@ -3942,17 +4524,25 @@ type RoutingPreference struct { PublishInternetEndpoints *bool `json:"publishInternetEndpoints,omitempty"` } +// SasPolicy sasPolicy assigned to the storage account. +type SasPolicy struct { + // SasExpirationPeriod - The SAS expiration period, DD.HH:MM:SS. + SasExpirationPeriod *string `json:"sasExpirationPeriod,omitempty"` + // ExpirationAction - The SAS expiration action. Can only be Log. + ExpirationAction *string `json:"expirationAction,omitempty"` +} + // ServiceSasParameters the parameters to list service SAS credentials of a specific resource. type ServiceSasParameters struct { // CanonicalizedResource - The canonical path to the signed resource. CanonicalizedResource *string `json:"canonicalizedResource,omitempty"` // Resource - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). Possible values include: 'SignedResourceB', 'SignedResourceC', 'SignedResourceF', 'SignedResourceS' Resource SignedResource `json:"signedResource,omitempty"` - // Permissions - The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' + // Permissions - The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'PermissionsR', 'PermissionsD', 'PermissionsW', 'PermissionsL', 'PermissionsA', 'PermissionsC', 'PermissionsU', 'PermissionsP' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` - // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' + // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'HTTPProtocolHttpshttp', 'HTTPProtocolHTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` // SharedAccessStartTime - The time at which the SAS becomes valid. SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` @@ -3990,9 +4580,9 @@ type ServiceSpecification struct { // Sku the SKU of the storage account. type Sku struct { - // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' + // Name - Possible values include: 'SkuNameStandardLRS', 'SkuNameStandardGRS', 'SkuNameStandardRAGRS', 'SkuNameStandardZRS', 'SkuNamePremiumLRS', 'SkuNamePremiumZRS', 'SkuNameStandardGZRS', 'SkuNameStandardRAGZRS' Name SkuName `json:"name,omitempty"` - // Tier - Possible values include: 'Standard', 'Premium' + // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' Tier SkuTier `json:"tier,omitempty"` } @@ -4007,13 +4597,13 @@ type SKUCapability struct { // SkuInformation storage SKU and its properties type SkuInformation struct { - // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' + // Name - Possible values include: 'SkuNameStandardLRS', 'SkuNameStandardGRS', 'SkuNameStandardRAGRS', 'SkuNameStandardZRS', 'SkuNamePremiumLRS', 'SkuNamePremiumZRS', 'SkuNameStandardGZRS', 'SkuNameStandardRAGZRS' Name SkuName `json:"name,omitempty"` - // Tier - Possible values include: 'Standard', 'Premium' + // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' Tier SkuTier `json:"tier,omitempty"` // ResourceType - READ-ONLY; The type of the resource, usually it is 'storageAccounts'. ResourceType *string `json:"resourceType,omitempty"` - // Kind - READ-ONLY; Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' + // Kind - READ-ONLY; Indicates the type of storage account. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Locations - READ-ONLY; The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). Locations *[]string `json:"locations,omitempty"` @@ -4045,6 +4635,36 @@ type SkuListResult struct { Value *[]SkuInformation `json:"value,omitempty"` } +// SmbSetting setting for SMB protocol +type SmbSetting struct { + // Multichannel - Multichannel setting. Applies to Premium FileStorage only. + Multichannel *Multichannel `json:"multichannel,omitempty"` + // Versions - SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'. + Versions *string `json:"versions,omitempty"` + // AuthenticationMethods - SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. + AuthenticationMethods *string `json:"authenticationMethods,omitempty"` + // KerberosTicketEncryption - Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';' + KerberosTicketEncryption *string `json:"kerberosTicketEncryption,omitempty"` + // ChannelEncryption - SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'. + ChannelEncryption *string `json:"channelEncryption,omitempty"` +} + +// SystemData metadata pertaining to creation and last modification of the resource. +type SystemData struct { + // CreatedBy - The identity that created the resource. + CreatedBy *string `json:"createdBy,omitempty"` + // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' + CreatedByType CreatedByType `json:"createdByType,omitempty"` + // CreatedAt - The timestamp of resource creation (UTC). + CreatedAt *date.Time `json:"createdAt,omitempty"` + // LastModifiedBy - The identity that last modified the resource. + LastModifiedBy *string `json:"lastModifiedBy,omitempty"` + // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' + LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` + // LastModifiedAt - The timestamp of resource last modification (UTC) + LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` +} + // Table properties of the table, including Id, resource name, resource type. type Table struct { autorest.Response `json:"-"` @@ -4256,7 +4876,7 @@ func (tr TrackedResource) MarshalJSON() ([]byte, error) { // UpdateHistoryProperty an update history of the ImmutabilityPolicy of a blob container. type UpdateHistoryProperty struct { - // Update - READ-ONLY; The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'Put', 'Lock', 'Extend' + // Update - READ-ONLY; The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'ImmutabilityPolicyUpdateTypePut', 'ImmutabilityPolicyUpdateTypeLock', 'ImmutabilityPolicyUpdateTypeExtend' Update ImmutabilityPolicyUpdateType `json:"update,omitempty"` // ImmutabilityPeriodSinceCreationInDays - READ-ONLY; The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` @@ -4272,7 +4892,7 @@ type UpdateHistoryProperty struct { // Usage describes Storage Resource Usage. type Usage struct { - // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond' + // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'UsageUnitCount', 'UsageUnitBytes', 'UsageUnitSeconds', 'UsageUnitPercent', 'UsageUnitCountsPerSecond', 'UsageUnitBytesPerSecond' Unit UsageUnit `json:"unit,omitempty"` // CurrentValue - READ-ONLY; Gets the current count of the allocated resources in the subscription. CurrentValue *int32 `json:"currentValue,omitempty"` @@ -4297,11 +4917,19 @@ type UsageName struct { LocalizedValue *string `json:"localizedValue,omitempty"` } +// UserAssignedIdentity userAssignedIdentity for the resource. +type UserAssignedIdentity struct { + // PrincipalID - READ-ONLY; The principal ID of the identity. + PrincipalID *string `json:"principalId,omitempty"` + // ClientID - READ-ONLY; The client ID of the identity. + ClientID *string `json:"clientId,omitempty"` +} + // VirtualNetworkRule virtual Network rule. type VirtualNetworkRule struct { // VirtualNetworkResourceID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. VirtualNetworkResourceID *string `json:"id,omitempty"` - // Action - The action of virtual network rule. Possible values include: 'Allow' + // Action - The action of virtual network rule. Possible values include: 'ActionAllow' Action Action `json:"action,omitempty"` // State - Gets the state of virtual network rule. Possible values include: 'StateProvisioning', 'StateDeprovisioning', 'StateSucceeded', 'StateFailed', 'StateNetworkSourceDeleted' State State `json:"state,omitempty"` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/objectreplicationpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/objectreplicationpolicies.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/objectreplicationpolicies.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/objectreplicationpolicies.go index 4889447a5b..a4a9b9d476 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/objectreplicationpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/objectreplicationpolicies.go @@ -103,7 +103,7 @@ func (client ObjectReplicationPoliciesClient) CreateOrUpdatePreparer(ctx context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -200,7 +200,7 @@ func (client ObjectReplicationPoliciesClient) DeletePreparer(ctx context.Context "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -294,7 +294,7 @@ func (client ObjectReplicationPoliciesClient) GetPreparer(ctx context.Context, r "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -385,7 +385,7 @@ func (client ObjectReplicationPoliciesClient) ListPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/operations.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/operations.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/operations.go index df3d803f11..d21dc1ca69 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/operations.go @@ -66,7 +66,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privateendpointconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privateendpointconnections.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privateendpointconnections.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privateendpointconnections.go index f8a1700176..7bb24a1cd6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privateendpointconnections.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privateendpointconnections.go @@ -95,7 +95,7 @@ func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -188,7 +188,7 @@ func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -279,7 +279,7 @@ func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -377,7 +377,7 @@ func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privatelinkresources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privatelinkresources.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privatelinkresources.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privatelinkresources.go index baff8333a7..2aab58432d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/privatelinkresources.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/privatelinkresources.go @@ -92,7 +92,7 @@ func (client PrivateLinkResourcesClient) ListByStorageAccountPreparer(ctx contex "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queue.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queue.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queue.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queue.go index b002fcf81c..4a02d3cd77 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queue.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queue.go @@ -99,7 +99,7 @@ func (client QueueClient) CreatePreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -199,7 +199,7 @@ func (client QueueClient) DeletePreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -296,7 +296,7 @@ func (client QueueClient) GetPreparer(ctx context.Context, resourceGroupName str "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -395,7 +395,7 @@ func (client QueueClient) ListPreparer(ctx context.Context, resourceGroupName st "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -537,7 +537,7 @@ func (client QueueClient) UpdatePreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queueservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queueservices.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queueservices.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queueservices.go index 8a1160036a..3223926b97 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/queueservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/queueservices.go @@ -93,7 +93,7 @@ func (client QueueServicesClient) GetServicePropertiesPreparer(ctx context.Conte "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -184,7 +184,7 @@ func (client QueueServicesClient) ListPreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -279,7 +279,7 @@ func (client QueueServicesClient) SetServicePropertiesPreparer(ctx context.Conte "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/skus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/skus.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/skus.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/skus.go index ffbbacd1ef..dd77993de2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/skus.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/skus.go @@ -77,7 +77,7 @@ func (client SkusClient) ListPreparer(ctx context.Context) (*http.Request, error "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/table.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/table.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/table.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/table.go index 305f1888cd..4dd5579915 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/table.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/table.go @@ -98,7 +98,7 @@ func (client TableClient) CreatePreparer(ctx context.Context, resourceGroupName "tableName": autorest.Encode("path", tableName), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -196,7 +196,7 @@ func (client TableClient) DeletePreparer(ctx context.Context, resourceGroupName "tableName": autorest.Encode("path", tableName), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -293,7 +293,7 @@ func (client TableClient) GetPreparer(ctx context.Context, resourceGroupName str "tableName": autorest.Encode("path", tableName), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -389,7 +389,7 @@ func (client TableClient) ListPreparer(ctx context.Context, resourceGroupName st "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -524,7 +524,7 @@ func (client TableClient) UpdatePreparer(ctx context.Context, resourceGroupName "tableName": autorest.Encode("path", tableName), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/tableservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/tableservices.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/tableservices.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/tableservices.go index bbb0a5753f..2a6b66bae4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/tableservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/tableservices.go @@ -93,7 +93,7 @@ func (client TableServicesClient) GetServicePropertiesPreparer(ctx context.Conte "tableServiceName": autorest.Encode("path", "default"), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -184,7 +184,7 @@ func (client TableServicesClient) ListPreparer(ctx context.Context, resourceGrou "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -279,7 +279,7 @@ func (client TableServicesClient) SetServicePropertiesPreparer(ctx context.Conte "tableServiceName": autorest.Encode("path", "default"), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/usages.go similarity index 99% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/usages.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/usages.go index 3672a72ce2..210c45b38c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/usages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/usages.go @@ -80,7 +80,7 @@ func (client UsagesClient) ListByLocationPreparer(ctx context.Context, location "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2019-06-01" + const APIVersion = "2021-02-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/version.go similarity index 90% rename from vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/version.go rename to vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/version.go index 226079255d..de079b92f2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage/version.go @@ -10,7 +10,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + Version() + " storage/2019-06-01" + return "Azure-SDK-For-Go/" + Version() + " storage/2021-02-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go index 0f4d6279e6..ce6e5a80d8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go @@ -107,7 +107,7 @@ func (ds *DefaultSender) Send(c *Client, req *http.Request) (resp *http.Response return resp, err } resp, err = c.HTTPClient.Do(rr.Request()) - if err != nil || !autorest.ResponseHasStatusCode(resp, ds.ValidStatusCodes...) { + if err == nil && !autorest.ResponseHasStatusCode(resp, ds.ValidStatusCodes...) { return resp, err } drainRespBody(resp) @@ -953,8 +953,10 @@ func readAndCloseBody(body io.ReadCloser) ([]byte, error) { // reads the response body then closes it func drainRespBody(resp *http.Response) { - io.Copy(ioutil.Discard, resp.Body) - resp.Body.Close() + if resp != nil { + io.Copy(ioutil.Discard, resp.Body) + resp.Body.Close() + } } func serviceErrFromXML(body []byte, storageErr *AzureStorageServiceError) error { 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 4d306904f0..3ff978c598 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 @@ -1,21 +1,7 @@ package version -// Copyright (c) Microsoft and contributors. All rights reserved. -// -// 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. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. // Number contains the semantic version of this SDK. -const Number = "v53.1.0" +const Number = "v54.1.0" diff --git a/vendor/modules.txt b/vendor/modules.txt index 5065f8e450..c046ffb16d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/Azure/azure-sdk-for-go v53.1.0+incompatible +# github.com/Azure/azure-sdk-for-go v54.1.0+incompatible ## explicit github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2020-04-01/containerservice @@ -6,7 +6,7 @@ github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-06-01/network github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources -github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage +github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage github.com/Azure/azure-sdk-for-go/storage github.com/Azure/azure-sdk-for-go/version # github.com/Azure/go-autorest v14.2.0+incompatible @@ -865,7 +865,7 @@ k8s.io/utils/trace # sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15 sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client sigs.k8s.io/apiserver-network-proxy/konnectivity-client/proto/client -# sigs.k8s.io/cloud-provider-azure v0.7.4 => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210513111225-15b9d069044d +# sigs.k8s.io/cloud-provider-azure v0.7.4 => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210514132804-2fe4926f176d ## explicit sigs.k8s.io/cloud-provider-azure/pkg/auth sigs.k8s.io/cloud-provider-azure/pkg/azureclients @@ -945,4 +945,4 @@ sigs.k8s.io/yaml # k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.21.0 # k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.21.0 # k8s.io/sample-controller => k8s.io/sample-controller v0.21.0 -# sigs.k8s.io/cloud-provider-azure => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210513111225-15b9d069044d +# sigs.k8s.io/cloud-provider-azure => sigs.k8s.io/cloud-provider-azure v0.7.4-0.20210514132804-2fe4926f176d diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/azure_fileclient.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/azure_fileclient.go index 1dec1c255c..94ccb811dc 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/azure_fileclient.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/azure_fileclient.go @@ -20,7 +20,7 @@ import ( "context" "fmt" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "k8s.io/klog/v2" @@ -62,20 +62,20 @@ func (c *Client) CreateFileShare(resourceGroupName, accountName string, shareOpt fileShareProperties := &storage.FileShareProperties{ ShareQuota: "a, } - if shareOptions.Protocol == storage.NFS { + if shareOptions.Protocol == storage.EnabledProtocolsNFS { fileShareProperties.EnabledProtocols = shareOptions.Protocol } fileShare := storage.FileShare{ Name: &shareOptions.Name, FileShareProperties: fileShareProperties, } - _, err := c.fileSharesClient.Create(context.Background(), resourceGroupName, accountName, shareOptions.Name, fileShare) + _, err := c.fileSharesClient.Create(context.Background(), resourceGroupName, accountName, shareOptions.Name, fileShare, "") return err } // DeleteFileShare deletes a file share func (c *Client) DeleteFileShare(resourceGroupName, accountName, name string) error { - _, err := c.fileSharesClient.Delete(context.Background(), resourceGroupName, accountName, name) + _, err := c.fileSharesClient.Delete(context.Background(), resourceGroupName, accountName, name, "") return err } @@ -83,7 +83,7 @@ func (c *Client) DeleteFileShare(resourceGroupName, accountName, name string) er func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error { quota := int32(sizeGiB) - share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats) + share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.GetShareExpandStats, "") if err != nil { return fmt.Errorf("failed to get file share (%s): %w", name, err) } @@ -107,7 +107,7 @@ func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, si // GetFileShare gets a file share func (c *Client) GetFileShare(resourceGroupName, accountName, name string) (storage.FileShare, error) { - return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats) + return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.GetShareExpandStats, "") } // GetServiceProperties get service properties diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/interface.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/interface.go index e7172eecf0..06b28968d4 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/interface.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient/interface.go @@ -17,7 +17,7 @@ limitations under the License. package fileclient import ( - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" ) // Interface is the client interface for creating file shares, interface for test injection. diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/azure_storageaccountclient.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/azure_storageaccountclient.go index 4a5b0aabb0..09437b1a97 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/azure_storageaccountclient.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/azure_storageaccountclient.go @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/to" diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/interface.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/interface.go index 33f097fd0f..17df258da5 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/interface.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/interface.go @@ -19,7 +19,7 @@ package storageaccountclient import ( "context" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "sigs.k8s.io/cloud-provider-azure/pkg/retry" ) diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/consts/consts.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/consts/consts.go index ad045630d5..ecd02d4ed5 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/consts/consts.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/consts/consts.go @@ -19,7 +19,7 @@ package consts import ( "time" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "k8s.io/component-base/featuregate" ) @@ -95,9 +95,9 @@ const ( StorageAccountNameMaxLength = 24 // DefaultStorageAccountType is the default storage account type - DefaultStorageAccountType = string(storage.StandardLRS) + DefaultStorageAccountType = string(storage.SkuNameStandardLRS) // DefaultStorageAccountKind is the default storage account kind - DefaultStorageAccountKind = storage.StorageV2 + DefaultStorageAccountKind = storage.KindStorageV2 // FileShareAccountNamePrefix is the file share account name prefix FileShareAccountNamePrefix = "f" // SharedDiskAccountNamePrefix is the shared disk account name prefix @@ -251,11 +251,6 @@ const ( // to enable the high availability ports on the standard internal load balancer. ServiceAnnotationLoadBalancerEnableHighAvailabilityPorts = "service.beta.kubernetes.io/azure-load-balancer-enable-high-availability-ports" - // ServiceAnnotationLoadBalancerDisableTCPReset is the annotation used on the service - // to set enableTcpReset to false in load balancer rule. This only works for Azure standard load balancer backed service. - // TODO(feiskyer): disable-tcp-reset annotations has been deprecated since v1.18, it would removed on v1.20. - ServiceAnnotationLoadBalancerDisableTCPReset = "service.beta.kubernetes.io/azure-load-balancer-disable-tcp-reset" - // ServiceAnnotationLoadBalancerHealthProbeProtocol determines the network protocol that the load balancer health probe use. // If not set, the local service would use the HTTP and the cluster service would use the TCP by default. ServiceAnnotationLoadBalancerHealthProbeProtocol = "service.beta.kubernetes.io/azure-load-balancer-health-probe-protocol" diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_blobDiskController.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_blobDiskController.go index d0fd00786c..4e4d96e73f 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_blobDiskController.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_blobDiskController.go @@ -31,7 +31,7 @@ import ( "sigs.k8s.io/cloud-provider-azure/pkg/consts" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" azstorage "github.com/Azure/azure-sdk-for-go/storage" "github.com/Azure/go-autorest/autorest/to" "github.com/rubiojr/go-vhd/vhd" @@ -349,7 +349,7 @@ func (c *BlobDiskController) ensureDefaultContainer(storageAccountName string) e } // account exists but not ready yet - if provisionState != storage.Succeeded { + if provisionState != storage.ProvisioningStateSucceeded { // we don't want many attempts to validate the account readiness // here hence we are locking counter := 1 @@ -380,7 +380,7 @@ func (c *BlobDiskController) ensureDefaultContainer(storageAccountName string) e return false, nil // error performing the query - retryable } - if provisionState == storage.Succeeded { + if provisionState == storage.ProvisioningStateSucceeded { return true, nil } diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_controller_common.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_controller_common.go index 1f3dbfd28a..8c0142bfcd 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_controller_common.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_controller_common.go @@ -149,11 +149,6 @@ func (c *controllerCommon) AttachDisk(isManagedDisk bool, diskName, diskURI stri diskEncryptionSetID := "" writeAcceleratorEnabled := false - vmset, err := c.getNodeVMSet(nodeName, azcache.CacheReadTypeUnsafe) - if err != nil { - return -1, err - } - if isManagedDisk { diskName := path.Base(diskURI) resourceGroup, err := getResourceGroupFromDiskURI(diskURI) @@ -170,6 +165,10 @@ func (c *controllerCommon) AttachDisk(isManagedDisk bool, diskName, diskURI stri } if disk.ManagedBy != nil && (disk.MaxShares == nil || *disk.MaxShares <= 1) { + vmset, err := c.getNodeVMSet(nodeName, azcache.CacheReadTypeUnsafe) + if err != nil { + return -1, err + } attachedNode, err := vmset.GetNodeNameByProviderID(*disk.ManagedBy) if err != nil { return -1, err @@ -247,6 +246,11 @@ func (c *controllerCommon) AttachDisk(isManagedDisk bool, diskName, diskURI stri if len(diskMap) == 0 { return lun, nil } + + vmset, err := c.getNodeVMSet(nodeName, azcache.CacheReadTypeUnsafe) + if err != nil { + return -1, err + } c.diskStateMap.Store(disk, "attaching") defer c.diskStateMap.Delete(disk) return lun, vmset.AttachDisk(nodeName, diskMap) @@ -309,11 +313,6 @@ func (c *controllerCommon) DetachDisk(diskName, diskURI string, nodeName types.N return fmt.Errorf("failed to get azure instance id for node %q: %w", nodeName, err) } - vmset, err := c.getNodeVMSet(nodeName, azcache.CacheReadTypeUnsafe) - if err != nil { - return err - } - node := strings.ToLower(string(nodeName)) disk := strings.ToLower(diskURI) if err := c.insertDetachDiskRequest(diskName, disk, node); err != nil { @@ -329,6 +328,10 @@ func (c *controllerCommon) DetachDisk(diskName, diskURI string, nodeName types.N klog.V(2).Infof("Trying to detach volume %q from node %q, diskMap: %s", diskURI, nodeName, diskMap) if len(diskMap) > 0 { + vmset, errVMSet := c.getNodeVMSet(nodeName, azcache.CacheReadTypeUnsafe) + if errVMSet != nil { + return errVMSet + } c.diskStateMap.Store(disk, "detaching") defer c.diskStateMap.Delete(disk) if err = vmset.DetachDisk(nodeName, diskMap); err != nil { diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_file.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_file.go index e050af3ac7..f3046f2cc5 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_file.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_file.go @@ -17,7 +17,7 @@ limitations under the License. package provider import ( - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "sigs.k8s.io/cloud-provider-azure/pkg/azureclients/fileclient" ) diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_loadbalancer.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_loadbalancer.go index 22552da49f..02252ad429 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_loadbalancer.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_loadbalancer.go @@ -2017,9 +2017,6 @@ func (az *Cloud) getExpectedLBRules( var enableTCPReset *bool if az.useStandardLoadBalancer() { enableTCPReset = to.BoolPtr(true) - if _, ok := service.Annotations[consts.ServiceAnnotationLoadBalancerDisableTCPReset]; ok { - klog.Warning("annotation service.beta.kubernetes.io/azure-load-balancer-disable-tcp-reset has been removed as of Kubernetes 1.20. TCP Resets are always enabled on Standard SKU load balancers.") - } } var expectedProbes []network.Probe diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storage.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storage.go index 2854a962e1..db1ad994b3 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storage.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storage.go @@ -19,7 +19,7 @@ package provider import ( "fmt" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "k8s.io/klog/v2" @@ -41,7 +41,7 @@ func (az *Cloud) CreateFileShare(accountOptions *AccountOptions, shareOptions *f } accountOptions.EnableHTTPSTrafficOnly = true - if shareOptions.Protocol == storage.NFS { + if shareOptions.Protocol == storage.EnabledProtocolsNFS { accountOptions.EnableHTTPSTrafficOnly = false } diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storageaccount.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storageaccount.go index d058f38aa5..7e132af699 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storageaccount.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_storageaccount.go @@ -21,7 +21,7 @@ import ( "strings" "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2020-12-01/compute" - "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-06-01/storage" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage" "github.com/Azure/go-autorest/autorest/to" "k8s.io/klog/v2" @@ -41,6 +41,8 @@ type AccountOptions struct { CreateAccount bool EnableLargeFileShare bool DisableFileServiceDeleteRetentionPolicy bool + IsHnsEnabled *bool + EnableNfsV3 *bool Tags map[string]string VirtualNetworkResourceIDs []string } @@ -87,7 +89,7 @@ func (az *Cloud) getStorageAccounts(accountOptions *AccountOptions) ([]accountWi found := false for _, subnetID := range accountOptions.VirtualNetworkResourceIDs { for _, rule := range *acct.AccountProperties.NetworkRuleSet.VirtualNetworkRules { - if strings.EqualFold(to.String(rule.VirtualNetworkResourceID), subnetID) && rule.Action == storage.Allow { + if strings.EqualFold(to.String(rule.VirtualNetworkResourceID), subnetID) && rule.Action == storage.ActionAllow { found = true break } @@ -109,6 +111,14 @@ func (az *Cloud) getStorageAccounts(accountOptions *AccountOptions) ([]accountWi continue } } + + if to.Bool(acct.IsHnsEnabled) != to.Bool(accountOptions.IsHnsEnabled) { + continue + } + + if to.Bool(acct.EnableNfsV3) != to.Bool(accountOptions.EnableNfsV3) { + continue + } accounts = append(accounts, accountWithLocation{Name: *acct.Name, StorageType: storageType, Location: location}) } } @@ -177,7 +187,7 @@ func (az *Cloud) EnsureStorageAccount(accountOptions *AccountOptions, genAccount for i, subnetID := range accountOptions.VirtualNetworkResourceIDs { vnetRule := storage.VirtualNetworkRule{ VirtualNetworkResourceID: &accountOptions.VirtualNetworkResourceIDs[i], - Action: storage.Allow, + Action: storage.ActionAllow, } virtualNetworkRules = append(virtualNetworkRules, vnetRule) klog.V(4).Infof("subnetID(%s) has been set", subnetID) @@ -218,6 +228,8 @@ func (az *Cloud) EnsureStorageAccount(accountOptions *AccountOptions, genAccount AccountPropertiesCreateParameters: &storage.AccountPropertiesCreateParameters{ EnableHTTPSTrafficOnly: &enableHTTPSTrafficOnly, NetworkRuleSet: networkRuleSet, + IsHnsEnabled: accountOptions.IsHnsEnabled, + EnableNfsV3: accountOptions.EnableNfsV3, }, Tags: tags, Location: &location} diff --git a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_vmss.go b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_vmss.go index 41f67f99c8..671c4a2c77 100644 --- a/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_vmss.go +++ b/vendor/sigs.k8s.io/cloud-provider-azure/pkg/provider/azure_vmss.go @@ -1026,7 +1026,6 @@ func (ss *ScaleSet) EnsureHostInPool(service *v1.Service, nodeName types.NodeNam }) primaryIPConfiguration.LoadBalancerBackendAddressPools = &newBackendPools newVM := &compute.VirtualMachineScaleSetVM{ - Sku: vm.Sku, Location: vm.Location, VirtualMachineScaleSetVMProperties: &compute.VirtualMachineScaleSetVMProperties{ HardwareProfile: vm.HardwareProfile, @@ -1168,7 +1167,6 @@ func (ss *ScaleSet) ensureVMSSInPool(service *v1.Service, nodes []*v1.Node, back }) primaryIPConfig.LoadBalancerBackendAddressPools = &loadBalancerBackendAddressPools newVMSS := compute.VirtualMachineScaleSet{ - Sku: vmss.Sku, Location: vmss.Location, VirtualMachineScaleSetProperties: &compute.VirtualMachineScaleSetProperties{ VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfile{ @@ -1351,7 +1349,6 @@ func (ss *ScaleSet) ensureBackendPoolDeletedFromNode(nodeName, backendPoolID str // Compose a new vmssVM with added backendPoolID. primaryIPConfiguration.LoadBalancerBackendAddressPools = &newBackendPools newVM := &compute.VirtualMachineScaleSetVM{ - Sku: vm.Sku, Location: vm.Location, VirtualMachineScaleSetVMProperties: &compute.VirtualMachineScaleSetVMProperties{ HardwareProfile: vm.HardwareProfile, @@ -1640,7 +1637,6 @@ func (ss *ScaleSet) EnsureBackendPoolDeletedFromVMSets(vmssNamesMap map[string]b // Compose a new vmss with added backendPoolID. primaryIPConfig.LoadBalancerBackendAddressPools = &newBackendPools newVMSS := compute.VirtualMachineScaleSet{ - Sku: vmss.Sku, Location: vmss.Location, VirtualMachineScaleSetProperties: &compute.VirtualMachineScaleSetProperties{ VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfile{