diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/alerts.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/alerts.go index 77f195d70917..546686c0ef67 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/alerts.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/alerts.go @@ -111,7 +111,6 @@ func (client AlertsClient) GetSender(req *http.Request) (*http.Response, error) func (client AlertsClient) GetResponder(resp *http.Response) (result Alert, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -188,7 +187,6 @@ func (client AlertsClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*ht func (client AlertsClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result AlertList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/bandwidthschedules.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/bandwidthschedules.go index c9daf4a93998..450a91aba210 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/bandwidthschedules.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/bandwidthschedules.go @@ -127,7 +127,6 @@ func (client BandwidthSchedulesClient) CreateOrUpdateSender(req *http.Request) ( func (client BandwidthSchedulesClient) CreateOrUpdateResponder(resp *http.Response) (result BandwidthSchedule, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -205,7 +204,6 @@ func (client BandwidthSchedulesClient) DeleteSender(req *http.Request) (future B func (client BandwidthSchedulesClient) 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 @@ -282,7 +280,6 @@ func (client BandwidthSchedulesClient) GetSender(req *http.Request) (*http.Respo func (client BandwidthSchedulesClient) GetResponder(resp *http.Response) (result BandwidthSchedule, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -359,7 +356,6 @@ func (client BandwidthSchedulesClient) ListByDataBoxEdgeDeviceSender(req *http.R func (client BandwidthSchedulesClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result BandwidthSchedulesList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/devices.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/devices.go index 8bbaa493f862..8d5370daa4dc 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/devices.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/devices.go @@ -119,7 +119,6 @@ func (client DevicesClient) CreateOrUpdateSender(req *http.Request) (future Devi func (client DevicesClient) CreateOrUpdateResponder(resp *http.Response) (result Device, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -207,7 +206,6 @@ func (client DevicesClient) CreateOrUpdateSecuritySettingsSender(req *http.Reque func (client DevicesClient) CreateOrUpdateSecuritySettingsResponder(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 @@ -282,7 +280,6 @@ func (client DevicesClient) DeleteSender(req *http.Request) (future DevicesDelet func (client DevicesClient) 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 @@ -357,7 +354,6 @@ func (client DevicesClient) DownloadUpdatesSender(req *http.Request) (future Dev func (client DevicesClient) DownloadUpdatesResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp @@ -432,7 +428,6 @@ func (client DevicesClient) GetSender(req *http.Request) (*http.Response, error) func (client DevicesClient) GetResponder(resp *http.Response) (result Device, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -508,7 +503,6 @@ func (client DevicesClient) GetExtendedInformationSender(req *http.Request) (*ht func (client DevicesClient) GetExtendedInformationResponder(resp *http.Response) (result DeviceExtendedInfo, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -584,7 +578,6 @@ func (client DevicesClient) GetNetworkSettingsSender(req *http.Request) (*http.R func (client DevicesClient) GetNetworkSettingsResponder(resp *http.Response) (result NetworkSettings, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -660,7 +653,6 @@ func (client DevicesClient) GetUpdateSummarySender(req *http.Request) (*http.Res func (client DevicesClient) GetUpdateSummaryResponder(resp *http.Response) (result UpdateSummary, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -736,7 +728,6 @@ func (client DevicesClient) InstallUpdatesSender(req *http.Request) (future Devi func (client DevicesClient) InstallUpdatesResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp @@ -815,7 +806,6 @@ func (client DevicesClient) ListByResourceGroupSender(req *http.Request) (*http. func (client DevicesClient) ListByResourceGroupResponder(resp *http.Response) (result DeviceList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -930,7 +920,6 @@ func (client DevicesClient) ListBySubscriptionSender(req *http.Request) (*http.R func (client DevicesClient) ListBySubscriptionResponder(resp *http.Response) (result DeviceList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1043,7 +1032,6 @@ func (client DevicesClient) ScanForUpdatesSender(req *http.Request) (future Devi func (client DevicesClient) ScanForUpdatesResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp @@ -1121,7 +1109,6 @@ func (client DevicesClient) UpdateSender(req *http.Request) (*http.Response, err func (client DevicesClient) UpdateResponder(resp *http.Response) (result Device, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1207,7 +1194,6 @@ func (client DevicesClient) UploadCertificateSender(req *http.Request) (*http.Re func (client DevicesClient) UploadCertificateResponder(resp *http.Response) (result UploadCertificateResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/jobs.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/jobs.go index 17a065f5dc85..5364a646d730 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/jobs.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/jobs.go @@ -111,7 +111,6 @@ func (client JobsClient) GetSender(req *http.Request) (*http.Response, error) { func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/nodes.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/nodes.go index bc6aa58dde05..5bd04611ff2e 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/nodes.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/nodes.go @@ -109,7 +109,6 @@ func (client NodesClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*htt func (client NodesClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result NodeList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/operations.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/operations.go index 02a149624e2e..4d1ef10e8c2d 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/operations.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/operations.go @@ -101,7 +101,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/operationsstatus.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/operationsstatus.go index f23542882308..139dcfeffe8c 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/operationsstatus.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/operationsstatus.go @@ -112,7 +112,6 @@ func (client OperationsStatusClient) GetSender(req *http.Request) (*http.Respons func (client OperationsStatusClient) GetResponder(resp *http.Response) (result Job, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/orders.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/orders.go index 16e05a25e3fb..54e0b6494784 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/orders.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/orders.go @@ -133,7 +133,6 @@ func (client OrdersClient) CreateOrUpdateSender(req *http.Request) (future Order func (client OrdersClient) CreateOrUpdateResponder(resp *http.Response) (result Order, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -209,7 +208,6 @@ func (client OrdersClient) DeleteSender(req *http.Request) (future OrdersDeleteF func (client OrdersClient) 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 @@ -284,7 +282,6 @@ func (client OrdersClient) GetSender(req *http.Request) (*http.Response, error) func (client OrdersClient) GetResponder(resp *http.Response) (result Order, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -361,7 +358,6 @@ func (client OrdersClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*ht func (client OrdersClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result OrderList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/roles.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/roles.go index 7e15c1594282..98bd56361ebf 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/roles.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/roles.go @@ -114,7 +114,6 @@ func (client RolesClient) CreateOrUpdateSender(req *http.Request) (future RolesC func (client RolesClient) CreateOrUpdateResponder(resp *http.Response) (result RoleModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -192,7 +191,6 @@ func (client RolesClient) DeleteSender(req *http.Request) (future RolesDeleteFut func (client RolesClient) 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 @@ -269,7 +267,6 @@ func (client RolesClient) GetSender(req *http.Request) (*http.Response, error) { func (client RolesClient) GetResponder(resp *http.Response) (result RoleModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -346,7 +343,6 @@ func (client RolesClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*htt func (client RolesClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result RoleList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/shares.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/shares.go index da42b9ef5d07..d55414b9f53d 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/shares.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/shares.go @@ -126,7 +126,6 @@ func (client SharesClient) CreateOrUpdateSender(req *http.Request) (future Share func (client SharesClient) CreateOrUpdateResponder(resp *http.Response) (result Share, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -204,7 +203,6 @@ func (client SharesClient) DeleteSender(req *http.Request) (future SharesDeleteF func (client SharesClient) 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 @@ -281,7 +279,6 @@ func (client SharesClient) GetSender(req *http.Request) (*http.Response, error) func (client SharesClient) GetResponder(resp *http.Response) (result Share, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -358,7 +355,6 @@ func (client SharesClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*ht func (client SharesClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result ShareList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -473,7 +469,6 @@ func (client SharesClient) RefreshSender(req *http.Request) (future SharesRefres func (client SharesClient) RefreshResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByClosing()) result.Response = resp diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/storageaccountcredentials.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/storageaccountcredentials.go index 7d7675947009..3aa412f1e27b 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/storageaccountcredentials.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/storageaccountcredentials.go @@ -126,7 +126,6 @@ func (client StorageAccountCredentialsClient) CreateOrUpdateSender(req *http.Req func (client StorageAccountCredentialsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageAccountCredential, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -204,7 +203,6 @@ func (client StorageAccountCredentialsClient) DeleteSender(req *http.Request) (f func (client StorageAccountCredentialsClient) 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 @@ -281,7 +279,6 @@ func (client StorageAccountCredentialsClient) GetSender(req *http.Request) (*htt func (client StorageAccountCredentialsClient) GetResponder(resp *http.Response) (result StorageAccountCredential, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -358,7 +355,6 @@ func (client StorageAccountCredentialsClient) ListByDataBoxEdgeDeviceSender(req func (client StorageAccountCredentialsClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result StorageAccountCredentialList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/triggers.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/triggers.go index ae020b648bb1..aff629728423 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/triggers.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/triggers.go @@ -114,7 +114,6 @@ func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (future Tri func (client TriggersClient) CreateOrUpdateResponder(resp *http.Response) (result TriggerModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -192,7 +191,6 @@ func (client TriggersClient) DeleteSender(req *http.Request) (future TriggersDel func (client TriggersClient) 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 @@ -269,7 +267,6 @@ func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error func (client TriggersClient) GetResponder(resp *http.Response) (result TriggerModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -350,7 +347,6 @@ func (client TriggersClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (* func (client TriggersClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result TriggerList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/users.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/users.go index 86770feb52d5..7c68af29c81c 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/users.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/users.go @@ -125,7 +125,6 @@ func (client UsersClient) CreateOrUpdateSender(req *http.Request) (future UsersC func (client UsersClient) CreateOrUpdateResponder(resp *http.Response) (result User, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -203,7 +202,6 @@ func (client UsersClient) DeleteSender(req *http.Request) (future UsersDeleteFut func (client UsersClient) 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 @@ -280,7 +278,6 @@ func (client UsersClient) GetSender(req *http.Request) (*http.Response, error) { func (client UsersClient) GetResponder(resp *http.Response) (result User, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -357,7 +354,6 @@ func (client UsersClient) ListByDataBoxEdgeDeviceSender(req *http.Request) (*htt func (client UsersClient) ListByDataBoxEdgeDeviceResponder(resp *http.Response) (result UserList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/databoxedge/mgmt/2019-07-01/databoxedge/version.go b/services/databoxedge/mgmt/2019-07-01/databoxedge/version.go index a71041140df9..bfba729d919e 100644 --- a/services/databoxedge/mgmt/2019-07-01/databoxedge/version.go +++ b/services/databoxedge/mgmt/2019-07-01/databoxedge/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 + " databoxedge/2019-07-01" + return "Azure-SDK-For-Go/" + Version() + " databoxedge/2019-07-01" } // Version returns the semantic version (see http://semver.org) of the client.