diff --git a/services/consumption/mgmt/2018-05-31/consumption/forecasts.go b/services/consumption/mgmt/2018-05-31/consumption/forecasts.go index 3af7eda92c75..44a46ff7f572 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/forecasts.go +++ b/services/consumption/mgmt/2018-05-31/consumption/forecasts.go @@ -112,7 +112,6 @@ func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, err func (client ForecastsClient) ListResponder(resp *http.Response) (result ForecastsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/consumption/mgmt/2018-05-31/consumption/operations.go b/services/consumption/mgmt/2018-05-31/consumption/operations.go index 18b008840ba5..f00a1eab2fe7 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/operations.go +++ b/services/consumption/mgmt/2018-05-31/consumption/operations.go @@ -102,7 +102,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/consumption/mgmt/2018-05-31/consumption/pricesheet.go b/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go index df4979e54697..99b1c32cbdec 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go +++ b/services/consumption/mgmt/2018-05-31/consumption/pricesheet.go @@ -132,7 +132,6 @@ func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, err func (client PriceSheetClient) GetResponder(resp *http.Response) (result PriceSheetResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -231,7 +230,6 @@ func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*htt func (client PriceSheetClient) GetByBillingPeriodResponder(resp *http.Response) (result PriceSheetResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go b/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go index 048716b75e4f..2735039cc9c3 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go +++ b/services/consumption/mgmt/2018-05-31/consumption/usagedetails.go @@ -144,7 +144,6 @@ func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, func (client UsageDetailsClient) ListResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -291,7 +290,6 @@ func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) ( func (client UsageDetailsClient) ListByBillingAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -440,7 +438,6 @@ func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (* func (client UsageDetailsClient) ListByBillingPeriodResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -587,7 +584,6 @@ func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*htt func (client UsageDetailsClient) ListByDepartmentResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -734,7 +730,6 @@ func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request func (client UsageDetailsClient) ListByEnrollmentAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -884,7 +879,6 @@ func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1034,7 +1028,6 @@ func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *htt func (client UsageDetailsClient) ListForBillingPeriodByDepartmentResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -1184,7 +1177,6 @@ func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(r func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/consumption/mgmt/2018-05-31/consumption/version.go b/services/consumption/mgmt/2018-05-31/consumption/version.go index 33df0efd909d..9e283e603c26 100644 --- a/services/consumption/mgmt/2018-05-31/consumption/version.go +++ b/services/consumption/mgmt/2018-05-31/consumption/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 + " consumption/2018-05-31" + return "Azure-SDK-For-Go/" + Version() + " consumption/2018-05-31" } // Version returns the semantic version (see http://semver.org) of the client.