diff --git a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/alerts.go b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/alerts.go index c3c98a110750..8d4823ad1a1b 100644 --- a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/alerts.go +++ b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/alerts.go @@ -109,7 +109,6 @@ func (client AlertsClient) ChangeStateSender(req *http.Request) (*http.Response, func (client AlertsClient) ChangeStateResponder(resp *http.Response) (result Alert, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -235,7 +234,6 @@ func (client AlertsClient) GetAllSender(req *http.Request) (*http.Response, erro func (client AlertsClient) GetAllResponder(resp *http.Response) (result AlertsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -346,7 +344,6 @@ func (client AlertsClient) GetByIDSender(req *http.Request) (*http.Response, err func (client AlertsClient) GetByIDResponder(resp *http.Response) (result Alert, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -420,7 +417,6 @@ func (client AlertsClient) GetHistorySender(req *http.Request) (*http.Response, func (client AlertsClient) GetHistoryResponder(resp *http.Response) (result AlertModification, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -500,7 +496,6 @@ func (client AlertsClient) GetSummarySender(req *http.Request) (*http.Response, func (client AlertsClient) GetSummaryResponder(resp *http.Response) (result AlertsSummary, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/operations.go b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/operations.go index 91f69842706e..08de4b309d98 100644 --- a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/operations.go +++ b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/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/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/smartgroups.go b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/smartgroups.go index 6aa4f5e146c3..99b120681448 100644 --- a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/smartgroups.go +++ b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/smartgroups.go @@ -110,7 +110,6 @@ func (client SmartGroupsClient) ChangeStateSender(req *http.Request) (*http.Resp func (client SmartGroupsClient) ChangeStateResponder(resp *http.Response) (result SmartGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -226,7 +225,6 @@ func (client SmartGroupsClient) GetAllSender(req *http.Request) (*http.Response, func (client SmartGroupsClient) GetAllResponder(resp *http.Response) (result SmartGroupsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -300,7 +298,6 @@ func (client SmartGroupsClient) GetByIDSender(req *http.Request) (*http.Response func (client SmartGroupsClient) GetByIDResponder(resp *http.Response) (result SmartGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -374,7 +371,6 @@ func (client SmartGroupsClient) GetHistorySender(req *http.Request) (*http.Respo func (client SmartGroupsClient) GetHistoryResponder(resp *http.Response) (result SmartGroupModification, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/version.go b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/version.go index 3bf6bbd38795..6f5fc15c8942 100644 --- a/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/version.go +++ b/services/preview/alertsmanagement/mgmt/2018-05-05-preview/alertsmanagement/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 + " alertsmanagement/2018-05-05-preview" + return "Azure-SDK-For-Go/" + Version() + " alertsmanagement/2018-05-05-preview" } // Version returns the semantic version (see http://semver.org) of the client.