From 5819207cc0a388920fcdfd196a5fc474effdc2dd Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sun, 14 Jun 2020 13:21:51 +0000 Subject: [PATCH] Generated from cce7f5e4de0d4de0b25b8492fb575727354c63af add descriptions for data ingestion --- .../mgmt/2015-03-20/operationalinsights/operations.go | 1 - .../mgmt/2015-03-20/operationalinsights/savedsearches.go | 4 ---- .../2015-03-20/operationalinsights/storageinsights.go | 4 ---- .../mgmt/2015-03-20/operationalinsights/version.go | 2 +- .../mgmt/2015-03-20/operationalinsights/workspaces.go | 8 -------- 5 files changed, 1 insertion(+), 18 deletions(-) diff --git a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/operations.go b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/operations.go index 99dff7bc4563..9f2f948292e0 100644 --- a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/operations.go +++ b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/operations.go @@ -100,7 +100,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/operationalinsights/mgmt/2015-03-20/operationalinsights/savedsearches.go b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/savedsearches.go index 97b5e866e9da..93f5a854ec67 100644 --- a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/savedsearches.go +++ b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/savedsearches.go @@ -136,7 +136,6 @@ func (client SavedSearchesClient) CreateOrUpdateSender(req *http.Request) (*http func (client SavedSearchesClient) CreateOrUpdateResponder(resp *http.Response) (result SavedSearch, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -222,7 +221,6 @@ func (client SavedSearchesClient) DeleteSender(req *http.Request) (*http.Respons func (client SavedSearchesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -307,7 +305,6 @@ func (client SavedSearchesClient) GetSender(req *http.Request) (*http.Response, func (client SavedSearchesClient) GetResponder(resp *http.Response) (result SavedSearch, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -391,7 +388,6 @@ func (client SavedSearchesClient) ListByWorkspaceSender(req *http.Request) (*htt func (client SavedSearchesClient) ListByWorkspaceResponder(resp *http.Response) (result SavedSearchesListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/storageinsights.go b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/storageinsights.go index 6fdc9fa49c36..fe5f57803583 100644 --- a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/storageinsights.go +++ b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/storageinsights.go @@ -130,7 +130,6 @@ func (client StorageInsightsClient) CreateOrUpdateSender(req *http.Request) (*ht func (client StorageInsightsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageInsight, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -216,7 +215,6 @@ func (client StorageInsightsClient) DeleteSender(req *http.Request) (*http.Respo func (client StorageInsightsClient) 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 @@ -301,7 +299,6 @@ func (client StorageInsightsClient) GetSender(req *http.Request) (*http.Response func (client StorageInsightsClient) GetResponder(resp *http.Response) (result StorageInsight, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -386,7 +383,6 @@ func (client StorageInsightsClient) ListByWorkspaceSender(req *http.Request) (*h func (client StorageInsightsClient) ListByWorkspaceResponder(resp *http.Response) (result StorageInsightListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/version.go b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/version.go index b4142180b557..5c9ee03cfb8f 100644 --- a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/version.go +++ b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/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 + " operationalinsights/2015-03-20" + return "Azure-SDK-For-Go/" + Version() + " operationalinsights/2015-03-20" } // Version returns the semantic version (see http://semver.org) of the client. diff --git a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/workspaces.go b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/workspaces.go index dfc9d78c5fc7..cff1d67cea4d 100644 --- a/services/operationalinsights/mgmt/2015-03-20/operationalinsights/workspaces.go +++ b/services/operationalinsights/mgmt/2015-03-20/operationalinsights/workspaces.go @@ -118,7 +118,6 @@ func (client WorkspacesClient) AvailableServiceTiersSender(req *http.Request) (* func (client WorkspacesClient) AvailableServiceTiersResponder(resp *http.Response) (result ListAvailableServiceTier, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result.Value), autorest.ByClosing()) @@ -204,7 +203,6 @@ func (client WorkspacesClient) DeleteGatewaysSender(req *http.Request) (*http.Re func (client WorkspacesClient) DeleteGatewaysResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByClosing()) result.Response = resp @@ -288,7 +286,6 @@ func (client WorkspacesClient) GetPurgeStatusSender(req *http.Request) (*http.Re func (client WorkspacesClient) GetPurgeStatusResponder(resp *http.Response) (result WorkspacePurgeStatusResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -372,7 +369,6 @@ func (client WorkspacesClient) GetSchemaSender(req *http.Request) (*http.Respons func (client WorkspacesClient) GetSchemaResponder(resp *http.Response) (result SearchGetSchemaResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -457,7 +453,6 @@ func (client WorkspacesClient) ListKeysSender(req *http.Request) (*http.Response func (client WorkspacesClient) ListKeysResponder(resp *http.Response) (result SharedKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -529,7 +524,6 @@ func (client WorkspacesClient) ListLinkTargetsSender(req *http.Request) (*http.R func (client WorkspacesClient) ListLinkTargetsResponder(resp *http.Response) (result ListLinkTarget, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result.Value), autorest.ByClosing()) @@ -624,7 +618,6 @@ func (client WorkspacesClient) PurgeSender(req *http.Request) (*http.Response, e func (client WorkspacesClient) PurgeResponder(resp *http.Response) (result WorkspacePurgeResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -709,7 +702,6 @@ func (client WorkspacesClient) RegenerateSharedKeysSender(req *http.Request) (*h func (client WorkspacesClient) RegenerateSharedKeysResponder(resp *http.Response) (result SharedKeys, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing())