From c390b55ca83c09fb385af71efadc67e76d5667d7 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 10 Jul 2020 10:08:32 +0000 Subject: [PATCH] Generated from e1d0903e3bb3ffcc1ff7727d0e95d8a420e643aa Update storagesync.json --- .../mgmt/2019-02-01/storagesync/cloudendpoints.go | 9 --------- .../mgmt/2019-02-01/storagesync/operations.go | 1 - .../mgmt/2019-02-01/storagesync/registeredservers.go | 5 ----- .../mgmt/2019-02-01/storagesync/serverendpoints.go | 6 ------ .../storagesync/mgmt/2019-02-01/storagesync/services.go | 7 ------- .../mgmt/2019-02-01/storagesync/syncgroups.go | 4 ---- .../storagesync/mgmt/2019-02-01/storagesync/version.go | 2 +- .../storagesync/mgmt/2019-02-01/storagesync/workflows.go | 3 --- 8 files changed, 1 insertion(+), 36 deletions(-) diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/cloudendpoints.go b/services/storagesync/mgmt/2019-02-01/storagesync/cloudendpoints.go index 8765e3ab600c..4c830fc088aa 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/cloudendpoints.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/cloudendpoints.go @@ -127,7 +127,6 @@ func (client CloudEndpointsClient) CreateSender(req *http.Request) (future Cloud func (client CloudEndpointsClient) CreateResponder(resp *http.Response) (result CloudEndpoint, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -217,7 +216,6 @@ func (client CloudEndpointsClient) DeleteSender(req *http.Request) (future Cloud func (client CloudEndpointsClient) 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 @@ -306,7 +304,6 @@ func (client CloudEndpointsClient) GetSender(req *http.Request) (*http.Response, func (client CloudEndpointsClient) GetResponder(resp *http.Response) (result CloudEndpoint, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -394,7 +391,6 @@ func (client CloudEndpointsClient) ListBySyncGroupSender(req *http.Request) (*ht func (client CloudEndpointsClient) ListBySyncGroupResponder(resp *http.Response) (result CloudEndpointArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -487,7 +483,6 @@ func (client CloudEndpointsClient) PostBackupSender(req *http.Request) (future C func (client CloudEndpointsClient) PostBackupResponder(resp *http.Response) (result PostBackupResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -580,7 +575,6 @@ func (client CloudEndpointsClient) PostRestoreSender(req *http.Request) (future func (client CloudEndpointsClient) PostRestoreResponder(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 @@ -672,7 +666,6 @@ func (client CloudEndpointsClient) PreBackupSender(req *http.Request) (future Cl func (client CloudEndpointsClient) PreBackupResponder(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 @@ -764,7 +757,6 @@ func (client CloudEndpointsClient) PreRestoreSender(req *http.Request) (future C func (client CloudEndpointsClient) PreRestoreResponder(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 @@ -853,7 +845,6 @@ func (client CloudEndpointsClient) RestoreheartbeatSender(req *http.Request) (*h func (client CloudEndpointsClient) RestoreheartbeatResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/operations.go b/services/storagesync/mgmt/2019-02-01/storagesync/operations.go index 96b2f85b7a45..cdbf91a951ec 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/operations.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/operations.go @@ -101,7 +101,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/registeredservers.go b/services/storagesync/mgmt/2019-02-01/storagesync/registeredservers.go index 477941e19ae9..524c5e32b60b 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/registeredservers.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/registeredservers.go @@ -126,7 +126,6 @@ func (client RegisteredServersClient) CreateSender(req *http.Request) (future Re func (client RegisteredServersClient) CreateResponder(resp *http.Response) (result RegisteredServer, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -214,7 +213,6 @@ func (client RegisteredServersClient) DeleteSender(req *http.Request) (future Re func (client RegisteredServersClient) 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 @@ -301,7 +299,6 @@ func (client RegisteredServersClient) GetSender(req *http.Request) (*http.Respon func (client RegisteredServersClient) GetResponder(resp *http.Response) (result RegisteredServer, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -387,7 +384,6 @@ func (client RegisteredServersClient) ListByStorageSyncServiceSender(req *http.R func (client RegisteredServersClient) ListByStorageSyncServiceResponder(resp *http.Response) (result RegisteredServerArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -478,7 +474,6 @@ func (client RegisteredServersClient) TriggerRolloverSender(req *http.Request) ( func (client RegisteredServersClient) TriggerRolloverResponder(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/storagesync/mgmt/2019-02-01/storagesync/serverendpoints.go b/services/storagesync/mgmt/2019-02-01/storagesync/serverendpoints.go index 94dbe077f7b0..d176adc0cb39 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/serverendpoints.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/serverendpoints.go @@ -138,7 +138,6 @@ func (client ServerEndpointsClient) CreateSender(req *http.Request) (future Serv func (client ServerEndpointsClient) CreateResponder(resp *http.Response) (result ServerEndpoint, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -228,7 +227,6 @@ func (client ServerEndpointsClient) DeleteSender(req *http.Request) (future Serv func (client ServerEndpointsClient) DeleteResponder(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 @@ -317,7 +315,6 @@ func (client ServerEndpointsClient) GetSender(req *http.Request) (*http.Response func (client ServerEndpointsClient) GetResponder(resp *http.Response) (result ServerEndpoint, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -405,7 +402,6 @@ func (client ServerEndpointsClient) ListBySyncGroupSender(req *http.Request) (*h func (client ServerEndpointsClient) ListBySyncGroupResponder(resp *http.Response) (result ServerEndpointArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -498,7 +494,6 @@ func (client ServerEndpointsClient) RecallActionSender(req *http.Request) (futur func (client ServerEndpointsClient) RecallActionResponder(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 @@ -593,7 +588,6 @@ func (client ServerEndpointsClient) UpdateSender(req *http.Request) (future Serv func (client ServerEndpointsClient) UpdateResponder(resp *http.Response) (result ServerEndpoint, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/services.go b/services/storagesync/mgmt/2019-02-01/storagesync/services.go index 75d02bffe272..bcfb1ebbe280 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/services.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/services.go @@ -120,7 +120,6 @@ func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*ht func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -211,7 +210,6 @@ func (client ServicesClient) CreateSender(req *http.Request) (*http.Response, er func (client ServicesClient) CreateResponder(resp *http.Response) (result Service, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -297,7 +295,6 @@ func (client ServicesClient) DeleteSender(req *http.Request) (*http.Response, er func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -382,7 +379,6 @@ func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -466,7 +462,6 @@ func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -543,7 +538,6 @@ func (client ServicesClient) ListBySubscriptionSender(req *http.Request) (*http. func (client ServicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -635,7 +629,6 @@ func (client ServicesClient) UpdateSender(req *http.Request) (*http.Response, er func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/syncgroups.go b/services/storagesync/mgmt/2019-02-01/storagesync/syncgroups.go index 46a26becff88..2f2a65553fa8 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/syncgroups.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/syncgroups.go @@ -125,7 +125,6 @@ func (client SyncGroupsClient) CreateSender(req *http.Request) (*http.Response, func (client SyncGroupsClient) CreateResponder(resp *http.Response) (result SyncGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -213,7 +212,6 @@ func (client SyncGroupsClient) DeleteSender(req *http.Request) (*http.Response, func (client SyncGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -300,7 +298,6 @@ func (client SyncGroupsClient) GetSender(req *http.Request) (*http.Response, err func (client SyncGroupsClient) GetResponder(resp *http.Response) (result SyncGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -386,7 +383,6 @@ func (client SyncGroupsClient) ListByStorageSyncServiceSender(req *http.Request) func (client SyncGroupsClient) ListByStorageSyncServiceResponder(resp *http.Response) (result SyncGroupArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/version.go b/services/storagesync/mgmt/2019-02-01/storagesync/version.go index ea6037733a6c..5cd9ec2ba691 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/version.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/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 + " storagesync/2019-02-01" + return "Azure-SDK-For-Go/" + Version() + " storagesync/2019-02-01" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/services/storagesync/mgmt/2019-02-01/storagesync/workflows.go b/services/storagesync/mgmt/2019-02-01/storagesync/workflows.go index df3e16433505..d2d60b37d817 100644 --- a/services/storagesync/mgmt/2019-02-01/storagesync/workflows.go +++ b/services/storagesync/mgmt/2019-02-01/storagesync/workflows.go @@ -122,7 +122,6 @@ func (client WorkflowsClient) AbortSender(req *http.Request) (*http.Response, er func (client WorkflowsClient) AbortResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -209,7 +208,6 @@ func (client WorkflowsClient) GetSender(req *http.Request) (*http.Response, erro func (client WorkflowsClient) GetResponder(resp *http.Response) (result Workflow, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -295,7 +293,6 @@ func (client WorkflowsClient) ListByStorageSyncServiceSender(req *http.Request) func (client WorkflowsClient) ListByStorageSyncServiceResponder(resp *http.Response) (result WorkflowArray, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing())