diff --git a/services/kusto/mgmt/2019-11-09/kusto/attacheddatabaseconfigurations.go b/services/kusto/mgmt/2019-11-09/kusto/attacheddatabaseconfigurations.go index 09e538d3717f..acbcf1a9a146 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/attacheddatabaseconfigurations.go +++ b/services/kusto/mgmt/2019-11-09/kusto/attacheddatabaseconfigurations.go @@ -127,7 +127,6 @@ func (client AttachedDatabaseConfigurationsClient) CreateOrUpdateSender(req *htt func (client AttachedDatabaseConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result AttachedDatabaseConfiguration, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -205,7 +204,6 @@ func (client AttachedDatabaseConfigurationsClient) DeleteSender(req *http.Reques func (client AttachedDatabaseConfigurationsClient) 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 @@ -282,7 +280,6 @@ func (client AttachedDatabaseConfigurationsClient) GetSender(req *http.Request) func (client AttachedDatabaseConfigurationsClient) GetResponder(resp *http.Response) (result AttachedDatabaseConfiguration, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -358,7 +355,6 @@ func (client AttachedDatabaseConfigurationsClient) ListByClusterSender(req *http func (client AttachedDatabaseConfigurationsClient) ListByClusterResponder(resp *http.Response) (result AttachedDatabaseConfigurationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/clusterprincipalassignments.go b/services/kusto/mgmt/2019-11-09/kusto/clusterprincipalassignments.go index 72622c3e65ae..c0a1054b29e9 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/clusterprincipalassignments.go +++ b/services/kusto/mgmt/2019-11-09/kusto/clusterprincipalassignments.go @@ -123,7 +123,6 @@ func (client ClusterPrincipalAssignmentsClient) CheckNameAvailabilitySender(req func (client ClusterPrincipalAssignmentsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -211,7 +210,6 @@ func (client ClusterPrincipalAssignmentsClient) CreateOrUpdateSender(req *http.R func (client ClusterPrincipalAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ClusterPrincipalAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -289,7 +287,6 @@ func (client ClusterPrincipalAssignmentsClient) DeleteSender(req *http.Request) func (client ClusterPrincipalAssignmentsClient) 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 @@ -366,7 +363,6 @@ func (client ClusterPrincipalAssignmentsClient) GetSender(req *http.Request) (*h func (client ClusterPrincipalAssignmentsClient) GetResponder(resp *http.Response) (result ClusterPrincipalAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -442,7 +438,6 @@ func (client ClusterPrincipalAssignmentsClient) ListSender(req *http.Request) (* func (client ClusterPrincipalAssignmentsClient) ListResponder(resp *http.Response) (result ClusterPrincipalAssignmentListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/clusters.go b/services/kusto/mgmt/2019-11-09/kusto/clusters.go index ebbe1766cbdf..8724ecfc4801 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/clusters.go +++ b/services/kusto/mgmt/2019-11-09/kusto/clusters.go @@ -120,7 +120,6 @@ func (client ClustersClient) CheckNameAvailabilitySender(req *http.Request) (*ht func (client ClustersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -223,7 +222,6 @@ func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future Clu func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -299,7 +297,6 @@ func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDel func (client ClustersClient) 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 @@ -385,7 +382,6 @@ func (client ClustersClient) DetachFollowerDatabasesSender(req *http.Request) (f func (client ClustersClient) DetachFollowerDatabasesResponder(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 @@ -461,7 +457,6 @@ func (client ClustersClient) DiagnoseVirtualNetworkSender(req *http.Request) (fu func (client ClustersClient) DiagnoseVirtualNetworkResponder(resp *http.Response) (result DiagnoseVirtualNetworkResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -537,7 +532,6 @@ func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -608,7 +602,6 @@ func (client ClustersClient) ListSender(req *http.Request) (*http.Response, erro func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -682,7 +675,6 @@ func (client ClustersClient) ListByResourceGroupSender(req *http.Request) (*http func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -759,7 +751,6 @@ func (client ClustersClient) ListFollowerDatabasesSender(req *http.Request) (*ht func (client ClustersClient) ListFollowerDatabasesResponder(resp *http.Response) (result FollowerDatabaseListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -830,7 +821,6 @@ func (client ClustersClient) ListSkusSender(req *http.Request) (*http.Response, func (client ClustersClient) ListSkusResponder(resp *http.Response) (result SkuDescriptionList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -906,7 +896,6 @@ func (client ClustersClient) ListSkusByResourceSender(req *http.Request) (*http. func (client ClustersClient) ListSkusByResourceResponder(resp *http.Response) (result ListResourceSkusResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -982,7 +971,6 @@ func (client ClustersClient) StartSender(req *http.Request) (future ClustersStar func (client ClustersClient) StartResponder(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 @@ -1057,7 +1045,6 @@ func (client ClustersClient) StopSender(req *http.Request) (future ClustersStopF func (client ClustersClient) StopResponder(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 @@ -1135,7 +1122,6 @@ func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpd func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/databaseprincipalassignments.go b/services/kusto/mgmt/2019-11-09/kusto/databaseprincipalassignments.go index 5ebd08bc6618..6ef441414850 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/databaseprincipalassignments.go +++ b/services/kusto/mgmt/2019-11-09/kusto/databaseprincipalassignments.go @@ -125,7 +125,6 @@ func (client DatabasePrincipalAssignmentsClient) CheckNameAvailabilitySender(req func (client DatabasePrincipalAssignmentsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -215,7 +214,6 @@ func (client DatabasePrincipalAssignmentsClient) CreateOrUpdateSender(req *http. func (client DatabasePrincipalAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabasePrincipalAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -295,7 +293,6 @@ func (client DatabasePrincipalAssignmentsClient) DeleteSender(req *http.Request) func (client DatabasePrincipalAssignmentsClient) 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 @@ -374,7 +371,6 @@ func (client DatabasePrincipalAssignmentsClient) GetSender(req *http.Request) (* func (client DatabasePrincipalAssignmentsClient) GetResponder(resp *http.Response) (result DatabasePrincipalAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -452,7 +448,6 @@ func (client DatabasePrincipalAssignmentsClient) ListSender(req *http.Request) ( func (client DatabasePrincipalAssignmentsClient) ListResponder(resp *http.Response) (result DatabasePrincipalAssignmentListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/databases.go b/services/kusto/mgmt/2019-11-09/kusto/databases.go index e53d20e5f1d9..3b5aa3b827b7 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/databases.go +++ b/services/kusto/mgmt/2019-11-09/kusto/databases.go @@ -117,7 +117,6 @@ func (client DatabasesClient) AddPrincipalsSender(req *http.Request) (*http.Resp func (client DatabasesClient) AddPrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -202,7 +201,6 @@ func (client DatabasesClient) CheckNameAvailabilitySender(req *http.Request) (*h func (client DatabasesClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -283,7 +281,6 @@ func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future Da func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -361,7 +358,6 @@ func (client DatabasesClient) DeleteSender(req *http.Request) (future DatabasesD func (client DatabasesClient) 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 @@ -438,7 +434,6 @@ func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, erro func (client DatabasesClient) GetResponder(resp *http.Response) (result DatabaseModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -514,7 +509,6 @@ func (client DatabasesClient) ListByClusterSender(req *http.Request) (*http.Resp func (client DatabasesClient) ListByClusterResponder(resp *http.Response) (result DatabaseListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -592,7 +586,6 @@ func (client DatabasesClient) ListPrincipalsSender(req *http.Request) (*http.Res func (client DatabasesClient) ListPrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -673,7 +666,6 @@ func (client DatabasesClient) RemovePrincipalsSender(req *http.Request) (*http.R func (client DatabasesClient) RemovePrincipalsResponder(resp *http.Response) (result DatabasePrincipalListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -754,7 +746,6 @@ func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesU func (client DatabasesClient) UpdateResponder(resp *http.Response) (result DatabaseModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/dataconnections.go b/services/kusto/mgmt/2019-11-09/kusto/dataconnections.go index 0f320c4f8eaa..91c063d20562 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/dataconnections.go +++ b/services/kusto/mgmt/2019-11-09/kusto/dataconnections.go @@ -124,7 +124,6 @@ func (client DataConnectionsClient) CheckNameAvailabilitySender(req *http.Reques func (client DataConnectionsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -207,7 +206,6 @@ func (client DataConnectionsClient) CreateOrUpdateSender(req *http.Request) (fut func (client DataConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result DataConnectionModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -288,7 +286,6 @@ func (client DataConnectionsClient) DataConnectionValidationMethodSender(req *ht func (client DataConnectionsClient) DataConnectionValidationMethodResponder(resp *http.Response) (result DataConnectionValidationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -368,7 +365,6 @@ func (client DataConnectionsClient) DeleteSender(req *http.Request) (future Data func (client DataConnectionsClient) 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 @@ -447,7 +443,6 @@ func (client DataConnectionsClient) GetSender(req *http.Request) (*http.Response func (client DataConnectionsClient) GetResponder(resp *http.Response) (result DataConnectionModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -525,7 +520,6 @@ func (client DataConnectionsClient) ListByDatabaseSender(req *http.Request) (*ht func (client DataConnectionsClient) ListByDatabaseResponder(resp *http.Response) (result DataConnectionListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -608,7 +602,6 @@ func (client DataConnectionsClient) UpdateSender(req *http.Request) (future Data func (client DataConnectionsClient) UpdateResponder(resp *http.Response) (result DataConnectionModel, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/kusto/mgmt/2019-11-09/kusto/operations.go b/services/kusto/mgmt/2019-11-09/kusto/operations.go index 66efd08300cd..5df5ff99debb 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/operations.go +++ b/services/kusto/mgmt/2019-11-09/kusto/operations.go @@ -103,7 +103,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/kusto/mgmt/2019-11-09/kusto/version.go b/services/kusto/mgmt/2019-11-09/kusto/version.go index 31e46ead514a..9eca77bca608 100644 --- a/services/kusto/mgmt/2019-11-09/kusto/version.go +++ b/services/kusto/mgmt/2019-11-09/kusto/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 + " kusto/2019-11-09" + return "Azure-SDK-For-Go/" + Version() + " kusto/2019-11-09" } // Version returns the semantic version (see http://semver.org) of the client.