-
Notifications
You must be signed in to change notification settings - Fork 850
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 05c0da669c2d1eda1061114132d86dab698bbbef
adding swagger-to-sdk section
- Loading branch information
1 parent
8cec673
commit 72b08ac
Showing
8 changed files
with
1,726 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
profiles/preview/preview/hybridcompute/mgmt/hybridcompute/hybridcomputeapi/models.go
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,25 @@ | ||
// +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 hybridcomputeapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/hybridcompute/mgmt/2019-03-18-preview/hybridcompute/hybridcomputeapi" | ||
|
||
type MachinesClientAPI = original.MachinesClientAPI | ||
type OperationsClientAPI = original.OperationsClientAPI |
103 changes: 103 additions & 0 deletions
103
profiles/preview/preview/hybridcompute/mgmt/hybridcompute/models.go
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,103 @@ | ||
// +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 hybridcompute | ||
|
||
import ( | ||
"context" | ||
|
||
original "github.com/Azure/azure-sdk-for-go/services/preview/hybridcompute/mgmt/2019-03-18-preview/hybridcompute" | ||
) | ||
|
||
const ( | ||
DefaultBaseURI = original.DefaultBaseURI | ||
) | ||
|
||
type InstanceViewTypes = original.InstanceViewTypes | ||
|
||
const ( | ||
InstanceView InstanceViewTypes = original.InstanceView | ||
) | ||
|
||
type StatusTypes = original.StatusTypes | ||
|
||
const ( | ||
Connected StatusTypes = original.Connected | ||
Disconnected StatusTypes = original.Disconnected | ||
Error StatusTypes = original.Error | ||
) | ||
|
||
type BaseClient = original.BaseClient | ||
type ErrorDetail = original.ErrorDetail | ||
type ErrorResponse = original.ErrorResponse | ||
type Identity = original.Identity | ||
type Machine = original.Machine | ||
type MachineListResult = original.MachineListResult | ||
type MachineListResultIterator = original.MachineListResultIterator | ||
type MachineListResultPage = original.MachineListResultPage | ||
type MachineProperties = original.MachineProperties | ||
type MachineReconnect = original.MachineReconnect | ||
type MachineReconnectProperties = original.MachineReconnectProperties | ||
type MachineUpdate = original.MachineUpdate | ||
type MachineUpdateProperties = original.MachineUpdateProperties | ||
type MachinesClient = original.MachinesClient | ||
type OSProfile = original.OSProfile | ||
type OperationListResult = original.OperationListResult | ||
type OperationValue = original.OperationValue | ||
type OperationValueDisplay = original.OperationValueDisplay | ||
type OperationsClient = original.OperationsClient | ||
type Resource = original.Resource | ||
type UpdateResource = original.UpdateResource | ||
|
||
func New(subscriptionID string) BaseClient { | ||
return original.New(subscriptionID) | ||
} | ||
func NewMachineListResultIterator(page MachineListResultPage) MachineListResultIterator { | ||
return original.NewMachineListResultIterator(page) | ||
} | ||
func NewMachineListResultPage(getNextPage func(context.Context, MachineListResult) (MachineListResult, error)) MachineListResultPage { | ||
return original.NewMachineListResultPage(getNextPage) | ||
} | ||
func NewMachinesClient(subscriptionID string) MachinesClient { | ||
return original.NewMachinesClient(subscriptionID) | ||
} | ||
func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string) MachinesClient { | ||
return original.NewMachinesClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
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 PossibleInstanceViewTypesValues() []InstanceViewTypes { | ||
return original.PossibleInstanceViewTypesValues() | ||
} | ||
func PossibleStatusTypesValues() []StatusTypes { | ||
return original.PossibleStatusTypesValues() | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/preview" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
51 changes: 51 additions & 0 deletions
51
services/preview/hybridcompute/mgmt/2019-03-18-preview/hybridcompute/client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
...review/hybridcompute/mgmt/2019-03-18-preview/hybridcompute/hybridcomputeapi/interfaces.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.