From df5f946bc759a8546d2085b964418057272afe05 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 15 Jul 2020 07:08:14 +0000 Subject: [PATCH] Generated from c9318882e8433c42779063fe4f586061d6ddbaad rename tag operations --- .../managedapplications/appliancedefinitions.go | 7 ------- .../managedapplications/appliances.go | 10 ---------- .../2016-09-01-preview/managedapplications/client.go | 1 - .../2016-09-01-preview/managedapplications/version.go | 2 +- 4 files changed, 1 insertion(+), 19 deletions(-) diff --git a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliancedefinitions.go b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliancedefinitions.go index 6f71b47076b7..ba141d608542 100644 --- a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliancedefinitions.go +++ b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliancedefinitions.go @@ -130,7 +130,6 @@ func (client ApplianceDefinitionsClient) CreateOrUpdateSender(req *http.Request) func (client ApplianceDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplianceDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -217,7 +216,6 @@ func (client ApplianceDefinitionsClient) CreateOrUpdateByIDSender(req *http.Requ func (client ApplianceDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplianceDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -304,7 +302,6 @@ func (client ApplianceDefinitionsClient) DeleteSender(req *http.Request) (future func (client ApplianceDefinitionsClient) 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 @@ -378,7 +375,6 @@ func (client ApplianceDefinitionsClient) DeleteByIDSender(req *http.Request) (fu func (client ApplianceDefinitionsClient) DeleteByIDResponder(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 @@ -464,7 +460,6 @@ func (client ApplianceDefinitionsClient) GetSender(req *http.Request) (*http.Res func (client ApplianceDefinitionsClient) GetResponder(resp *http.Response) (result ApplianceDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotFound), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -539,7 +534,6 @@ func (client ApplianceDefinitionsClient) GetByIDSender(req *http.Request) (*http func (client ApplianceDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplianceDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotFound), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -622,7 +616,6 @@ func (client ApplianceDefinitionsClient) ListByResourceGroupSender(req *http.Req func (client ApplianceDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplianceDefinitionListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliances.go b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliances.go index bbbf6ca34ed2..77d35cb69923 100644 --- a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliances.go +++ b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/appliances.go @@ -135,7 +135,6 @@ func (client AppliancesClient) CreateOrUpdateSender(req *http.Request) (future A func (client AppliancesClient) CreateOrUpdateResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -228,7 +227,6 @@ func (client AppliancesClient) CreateOrUpdateByIDSender(req *http.Request) (futu func (client AppliancesClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -315,7 +313,6 @@ func (client AppliancesClient) DeleteSender(req *http.Request) (future Appliance func (client AppliancesClient) 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 @@ -389,7 +386,6 @@ func (client AppliancesClient) DeleteByIDSender(req *http.Request) (future Appli func (client AppliancesClient) DeleteByIDResponder(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 @@ -475,7 +471,6 @@ func (client AppliancesClient) GetSender(req *http.Request) (*http.Response, err func (client AppliancesClient) GetResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotFound), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -550,7 +545,6 @@ func (client AppliancesClient) GetByIDSender(req *http.Request) (*http.Response, func (client AppliancesClient) GetByIDResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNotFound), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -633,7 +627,6 @@ func (client AppliancesClient) ListByResourceGroupSender(req *http.Request) (*ht func (client AppliancesClient) ListByResourceGroupResponder(resp *http.Response) (result ApplianceListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -742,7 +735,6 @@ func (client AppliancesClient) ListBySubscriptionSender(req *http.Request) (*htt func (client AppliancesClient) ListBySubscriptionResponder(resp *http.Response) (result ApplianceListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -872,7 +864,6 @@ func (client AppliancesClient) UpdateSender(req *http.Request) (*http.Response, func (client AppliancesClient) UpdateResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -953,7 +944,6 @@ func (client AppliancesClient) UpdateByIDSender(req *http.Request) (*http.Respon func (client AppliancesClient) UpdateByIDResponder(resp *http.Response) (result Appliance, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/client.go b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/client.go index b7f3100018d3..4b5ffd51c0a0 100644 --- a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/client.go +++ b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/client.go @@ -115,7 +115,6 @@ func (client BaseClient) ListOperationsSender(req *http.Request) (*http.Response func (client BaseClient) ListOperationsResponder(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/preview/resources/mgmt/2016-09-01-preview/managedapplications/version.go b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/version.go index cdf70c12987c..4daa422d44a8 100644 --- a/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/version.go +++ b/services/preview/resources/mgmt/2016-09-01-preview/managedapplications/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 + " managedapplications/2016-09-01-preview" + return "Azure-SDK-For-Go/" + Version() + " managedapplications/2016-09-01-preview" } // Version returns the semantic version (see http://semver.org) of the client.