-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from d555d14835a85475ffc2c3ace8d12e75ff92fd91 (#4020)
Fix Go SDK codegen for azure-kusto
- Loading branch information
1 parent
60bc6d6
commit 1b935c0
Showing
12 changed files
with
4,901 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2019 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package kustoapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-01-21/kusto/kustoapi" | ||
|
||
type ClustersClientAPI = original.ClustersClientAPI | ||
type DataConnectionsClientAPI = original.DataConnectionsClientAPI | ||
type DatabasesClientAPI = original.DatabasesClientAPI | ||
type OperationsClientAPI = original.OperationsClientAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,248 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2019 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package kusto | ||
|
||
import ( | ||
"context" | ||
|
||
original "github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-01-21/kusto" | ||
) | ||
|
||
const ( | ||
DefaultBaseURI = original.DefaultBaseURI | ||
) | ||
|
||
type AzureScaleType = original.AzureScaleType | ||
|
||
const ( | ||
Automatic AzureScaleType = original.Automatic | ||
Manual AzureScaleType = original.Manual | ||
None AzureScaleType = original.None | ||
) | ||
|
||
type AzureSkuName = original.AzureSkuName | ||
|
||
const ( | ||
D11V2 AzureSkuName = original.D11V2 | ||
D12V2 AzureSkuName = original.D12V2 | ||
D13V2 AzureSkuName = original.D13V2 | ||
D14V2 AzureSkuName = original.D14V2 | ||
KC16 AzureSkuName = original.KC16 | ||
KC8 AzureSkuName = original.KC8 | ||
KS16 AzureSkuName = original.KS16 | ||
KS8 AzureSkuName = original.KS8 | ||
L16 AzureSkuName = original.L16 | ||
L4 AzureSkuName = original.L4 | ||
L8 AzureSkuName = original.L8 | ||
) | ||
|
||
type DataFormat = original.DataFormat | ||
|
||
const ( | ||
AVRO DataFormat = original.AVRO | ||
CSV DataFormat = original.CSV | ||
JSON DataFormat = original.JSON | ||
MULTIJSON DataFormat = original.MULTIJSON | ||
PSV DataFormat = original.PSV | ||
RAW DataFormat = original.RAW | ||
SCSV DataFormat = original.SCSV | ||
SINGLEJSON DataFormat = original.SINGLEJSON | ||
SOHSV DataFormat = original.SOHSV | ||
TSV DataFormat = original.TSV | ||
TXT DataFormat = original.TXT | ||
) | ||
|
||
type DatabasePrincipalRole = original.DatabasePrincipalRole | ||
|
||
const ( | ||
Admin DatabasePrincipalRole = original.Admin | ||
Ingestor DatabasePrincipalRole = original.Ingestor | ||
Monitor DatabasePrincipalRole = original.Monitor | ||
UnrestrictedViewers DatabasePrincipalRole = original.UnrestrictedViewers | ||
User DatabasePrincipalRole = original.User | ||
Viewer DatabasePrincipalRole = original.Viewer | ||
) | ||
|
||
type DatabasePrincipalType = original.DatabasePrincipalType | ||
|
||
const ( | ||
DatabasePrincipalTypeApp DatabasePrincipalType = original.DatabasePrincipalTypeApp | ||
DatabasePrincipalTypeGroup DatabasePrincipalType = original.DatabasePrincipalTypeGroup | ||
DatabasePrincipalTypeUser DatabasePrincipalType = original.DatabasePrincipalTypeUser | ||
) | ||
|
||
type Kind = original.Kind | ||
|
||
const ( | ||
KindDataConnection Kind = original.KindDataConnection | ||
KindEventGrid Kind = original.KindEventGrid | ||
KindEventHub Kind = original.KindEventHub | ||
) | ||
|
||
type ProvisioningState = original.ProvisioningState | ||
|
||
const ( | ||
Creating ProvisioningState = original.Creating | ||
Deleting ProvisioningState = original.Deleting | ||
Failed ProvisioningState = original.Failed | ||
Running ProvisioningState = original.Running | ||
Succeeded ProvisioningState = original.Succeeded | ||
) | ||
|
||
type State = original.State | ||
|
||
const ( | ||
StateCreating State = original.StateCreating | ||
StateDeleted State = original.StateDeleted | ||
StateDeleting State = original.StateDeleting | ||
StateRunning State = original.StateRunning | ||
StateStarting State = original.StateStarting | ||
StateStopped State = original.StateStopped | ||
StateStopping State = original.StateStopping | ||
StateUnavailable State = original.StateUnavailable | ||
StateUpdating State = original.StateUpdating | ||
) | ||
|
||
type AzureCapacity = original.AzureCapacity | ||
type AzureEntityResource = original.AzureEntityResource | ||
type AzureResourceSku = original.AzureResourceSku | ||
type AzureSku = original.AzureSku | ||
type BaseClient = original.BaseClient | ||
type BasicDataConnection = original.BasicDataConnection | ||
type CheckNameResult = original.CheckNameResult | ||
type CloudError = original.CloudError | ||
type CloudErrorBody = original.CloudErrorBody | ||
type Cluster = original.Cluster | ||
type ClusterCheckNameRequest = original.ClusterCheckNameRequest | ||
type ClusterListResult = original.ClusterListResult | ||
type ClusterProperties = original.ClusterProperties | ||
type ClusterUpdate = original.ClusterUpdate | ||
type ClustersClient = original.ClustersClient | ||
type ClustersCreateOrUpdateFuture = original.ClustersCreateOrUpdateFuture | ||
type ClustersDeleteFuture = original.ClustersDeleteFuture | ||
type ClustersStartFuture = original.ClustersStartFuture | ||
type ClustersStopFuture = original.ClustersStopFuture | ||
type ClustersUpdateFuture = original.ClustersUpdateFuture | ||
type DataConnection = original.DataConnection | ||
type DataConnectionListResult = original.DataConnectionListResult | ||
type DataConnectionModel = original.DataConnectionModel | ||
type DataConnectionValidation = original.DataConnectionValidation | ||
type DataConnectionValidationListResult = original.DataConnectionValidationListResult | ||
type DataConnectionValidationResult = original.DataConnectionValidationResult | ||
type DataConnectionsClient = original.DataConnectionsClient | ||
type DataConnectionsCreateOrUpdateFuture = original.DataConnectionsCreateOrUpdateFuture | ||
type DataConnectionsDeleteFuture = original.DataConnectionsDeleteFuture | ||
type DataConnectionsUpdateFuture = original.DataConnectionsUpdateFuture | ||
type Database = original.Database | ||
type DatabaseCheckNameRequest = original.DatabaseCheckNameRequest | ||
type DatabaseListResult = original.DatabaseListResult | ||
type DatabasePrincipal = original.DatabasePrincipal | ||
type DatabasePrincipalListRequest = original.DatabasePrincipalListRequest | ||
type DatabasePrincipalListResult = original.DatabasePrincipalListResult | ||
type DatabaseProperties = original.DatabaseProperties | ||
type DatabaseStatistics = original.DatabaseStatistics | ||
type DatabaseUpdate = original.DatabaseUpdate | ||
type DatabasesClient = original.DatabasesClient | ||
type DatabasesCreateOrUpdateFuture = original.DatabasesCreateOrUpdateFuture | ||
type DatabasesDeleteFuture = original.DatabasesDeleteFuture | ||
type DatabasesUpdateFuture = original.DatabasesUpdateFuture | ||
type EventGridConnectionProperties = original.EventGridConnectionProperties | ||
type EventGridDataConnection = original.EventGridDataConnection | ||
type EventHubConnectionProperties = original.EventHubConnectionProperties | ||
type EventHubDataConnection = original.EventHubDataConnection | ||
type ListResourceSkusResult = original.ListResourceSkusResult | ||
type ListSkusResult = original.ListSkusResult | ||
type Operation = original.Operation | ||
type OperationDisplay = original.OperationDisplay | ||
type OperationListResult = original.OperationListResult | ||
type OperationListResultIterator = original.OperationListResultIterator | ||
type OperationListResultPage = original.OperationListResultPage | ||
type OperationsClient = original.OperationsClient | ||
type ProxyResource = original.ProxyResource | ||
type Resource = original.Resource | ||
type TrackedResource = original.TrackedResource | ||
type TrustedExternalTenant = original.TrustedExternalTenant | ||
|
||
func New(subscriptionID string) BaseClient { | ||
return original.New(subscriptionID) | ||
} | ||
func NewClustersClient(subscriptionID string) ClustersClient { | ||
return original.NewClustersClient(subscriptionID) | ||
} | ||
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient { | ||
return original.NewClustersClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewDataConnectionsClient(subscriptionID string) DataConnectionsClient { | ||
return original.NewDataConnectionsClient(subscriptionID) | ||
} | ||
func NewDataConnectionsClientWithBaseURI(baseURI string, subscriptionID string) DataConnectionsClient { | ||
return original.NewDataConnectionsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewDatabasesClient(subscriptionID string) DatabasesClient { | ||
return original.NewDatabasesClient(subscriptionID) | ||
} | ||
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient { | ||
return original.NewDatabasesClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator { | ||
return original.NewOperationListResultIterator(page) | ||
} | ||
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage { | ||
return original.NewOperationListResultPage(getNextPage) | ||
} | ||
func NewOperationsClient(subscriptionID string) OperationsClient { | ||
return original.NewOperationsClient(subscriptionID) | ||
} | ||
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { | ||
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { | ||
return original.NewWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func PossibleAzureScaleTypeValues() []AzureScaleType { | ||
return original.PossibleAzureScaleTypeValues() | ||
} | ||
func PossibleAzureSkuNameValues() []AzureSkuName { | ||
return original.PossibleAzureSkuNameValues() | ||
} | ||
func PossibleDataFormatValues() []DataFormat { | ||
return original.PossibleDataFormatValues() | ||
} | ||
func PossibleDatabasePrincipalRoleValues() []DatabasePrincipalRole { | ||
return original.PossibleDatabasePrincipalRoleValues() | ||
} | ||
func PossibleDatabasePrincipalTypeValues() []DatabasePrincipalType { | ||
return original.PossibleDatabasePrincipalTypeValues() | ||
} | ||
func PossibleKindValues() []Kind { | ||
return original.PossibleKindValues() | ||
} | ||
func PossibleProvisioningStateValues() []ProvisioningState { | ||
return original.PossibleProvisioningStateValues() | ||
} | ||
func PossibleStateValues() []State { | ||
return original.PossibleStateValues() | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/latest" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2019 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package kustoapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-01-21/kusto/kustoapi" | ||
|
||
type ClustersClientAPI = original.ClustersClientAPI | ||
type DataConnectionsClientAPI = original.DataConnectionsClientAPI | ||
type DatabasesClientAPI = original.DatabasesClientAPI | ||
type OperationsClientAPI = original.OperationsClientAPI |
Oops, something went wrong.