From 9e387b63141386960bf3b901afb9084f13d3aa68 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 24 Jul 2020 12:33:31 +0000 Subject: [PATCH] Generated from 38778adc349a3a32033c2693cf10edb867a11f59 Added trenton metadata --- services/netapp/mgmt/2019-06-01/netapp/accounts.go | 5 ----- services/netapp/mgmt/2019-06-01/netapp/client.go | 2 -- services/netapp/mgmt/2019-06-01/netapp/models.go | 2 +- services/netapp/mgmt/2019-06-01/netapp/mounttargets.go | 1 - services/netapp/mgmt/2019-06-01/netapp/operations.go | 1 - services/netapp/mgmt/2019-06-01/netapp/pools.go | 5 ----- services/netapp/mgmt/2019-06-01/netapp/snapshots.go | 5 ----- services/netapp/mgmt/2019-06-01/netapp/version.go | 2 +- services/netapp/mgmt/2019-06-01/netapp/volumes.go | 5 ----- 9 files changed, 2 insertions(+), 26 deletions(-) diff --git a/services/netapp/mgmt/2019-06-01/netapp/accounts.go b/services/netapp/mgmt/2019-06-01/netapp/accounts.go index 137904fdc815..82b8d0271775 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/accounts.go +++ b/services/netapp/mgmt/2019-06-01/netapp/accounts.go @@ -126,7 +126,6 @@ func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (future Acc func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -210,7 +209,6 @@ func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDel func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -293,7 +291,6 @@ func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -375,7 +372,6 @@ func (client AccountsClient) ListSender(req *http.Request) (*http.Response, erro func (client AccountsClient) ListResponder(resp *http.Response) (result AccountList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -465,7 +461,6 @@ func (client AccountsClient) UpdateSender(req *http.Request) (*http.Response, er func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/client.go b/services/netapp/mgmt/2019-06-01/netapp/client.go index 344bcb44161d..8a02030e5e6c 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/client.go +++ b/services/netapp/mgmt/2019-06-01/netapp/client.go @@ -132,7 +132,6 @@ func (client BaseClient) CheckFilePathAvailabilitySender(req *http.Request) (*ht func (client BaseClient) CheckFilePathAvailabilityResponder(resp *http.Response) (result ResourceNameAvailability, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -216,7 +215,6 @@ func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.R func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result ResourceNameAvailability, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/models.go b/services/netapp/mgmt/2019-06-01/netapp/models.go index f4625a780954..f82d45381e19 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/models.go +++ b/services/netapp/mgmt/2019-06-01/netapp/models.go @@ -1374,7 +1374,7 @@ type VolumeProperties struct { // SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes SubnetID *string `json:"subnetId,omitempty"` // MountTargets - List of mount targets - MountTargets *[]MountTargetList `json:"mountTargets,omitempty"` + MountTargets *[]MountTargetProperties `json:"mountTargets,omitempty"` } // VolumePropertiesExportPolicy set of export policy rules diff --git a/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go b/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go index 5f34d7231515..d29c821f5424 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go +++ b/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go @@ -122,7 +122,6 @@ func (client MountTargetsClient) ListSender(req *http.Request) (*http.Response, func (client MountTargetsClient) ListResponder(resp *http.Response) (result MountTargetList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/operations.go b/services/netapp/mgmt/2019-06-01/netapp/operations.go index 9cf8ba31a03a..2cf03d975579 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/operations.go +++ b/services/netapp/mgmt/2019-06-01/netapp/operations.go @@ -100,7 +100,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/pools.go b/services/netapp/mgmt/2019-06-01/netapp/pools.go index 975633969ffb..a6194a13c0de 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/pools.go +++ b/services/netapp/mgmt/2019-06-01/netapp/pools.go @@ -139,7 +139,6 @@ func (client PoolsClient) CreateOrUpdateSender(req *http.Request) (future PoolsC func (client PoolsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityPool, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -225,7 +224,6 @@ func (client PoolsClient) DeleteSender(req *http.Request) (future PoolsDeleteFut func (client PoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -310,7 +308,6 @@ func (client PoolsClient) GetSender(req *http.Request) (*http.Response, error) { func (client PoolsClient) GetResponder(resp *http.Response) (result CapacityPool, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -394,7 +391,6 @@ func (client PoolsClient) ListSender(req *http.Request) (*http.Response, error) func (client PoolsClient) ListResponder(resp *http.Response) (result CapacityPoolList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -486,7 +482,6 @@ func (client PoolsClient) UpdateSender(req *http.Request) (*http.Response, error func (client PoolsClient) UpdateResponder(resp *http.Response) (result CapacityPool, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/snapshots.go b/services/netapp/mgmt/2019-06-01/netapp/snapshots.go index 7fa3a9e171db..d8a668453f4d 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/snapshots.go +++ b/services/netapp/mgmt/2019-06-01/netapp/snapshots.go @@ -144,7 +144,6 @@ func (client SnapshotsClient) CreateSender(req *http.Request) (future SnapshotsC func (client SnapshotsClient) CreateResponder(resp *http.Response) (result Snapshot, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -234,7 +233,6 @@ func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsD func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -323,7 +321,6 @@ func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, erro func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -411,7 +408,6 @@ func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, err func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -504,7 +500,6 @@ func (client SnapshotsClient) UpdateSender(req *http.Request) (*http.Response, e func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/netapp/mgmt/2019-06-01/netapp/version.go b/services/netapp/mgmt/2019-06-01/netapp/version.go index 3d6f02d7d19a..944d9ffd28fe 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/version.go +++ b/services/netapp/mgmt/2019-06-01/netapp/version.go @@ -21,7 +21,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.Number + " netapp/2019-06-01" + return "Azure-SDK-For-Go/" + Version() + " netapp/2019-06-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/services/netapp/mgmt/2019-06-01/netapp/volumes.go b/services/netapp/mgmt/2019-06-01/netapp/volumes.go index 243e872c30dc..0c42cb67f9d3 100644 --- a/services/netapp/mgmt/2019-06-01/netapp/volumes.go +++ b/services/netapp/mgmt/2019-06-01/netapp/volumes.go @@ -153,7 +153,6 @@ func (client VolumesClient) CreateOrUpdateSender(req *http.Request) (future Volu func (client VolumesClient) CreateOrUpdateResponder(resp *http.Response) (result Volume, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -241,7 +240,6 @@ func (client VolumesClient) DeleteSender(req *http.Request) (future VolumesDelet func (client VolumesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -328,7 +326,6 @@ func (client VolumesClient) GetSender(req *http.Request) (*http.Response, error) func (client VolumesClient) GetResponder(resp *http.Response) (result Volume, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -414,7 +411,6 @@ func (client VolumesClient) ListSender(req *http.Request) (*http.Response, error func (client VolumesClient) ListResponder(resp *http.Response) (result VolumeList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -508,7 +504,6 @@ func (client VolumesClient) UpdateSender(req *http.Request) (*http.Response, err func (client VolumesClient) UpdateResponder(resp *http.Response) (result Volume, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing())