Skip to content

Commit

Permalink
Generated from 0ab9f319950da966fb91bd8443e1641479c7d322 (Azure#3470)
Browse files Browse the repository at this point in the history
[HDInsight] - Initial commit for Swagger-based Job SDK
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed Dec 10, 2018
1 parent c101426 commit 3ac1c49
Show file tree
Hide file tree
Showing 7 changed files with 1,234 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// +build go1.9

// Copyright 2018 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 hdinsightapi

import original "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/2018-11-01-preview/hdinsight/hdinsightapi"

type JobClientAPI = original.JobClientAPI
67 changes: 67 additions & 0 deletions profiles/preview/preview/hdinsight/hdinsight/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// +build go1.9

// Copyright 2018 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 hdinsight

import original "github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/2018-11-01-preview/hdinsight"

type ApplicationState = original.ApplicationState

const (
ACCEPTED ApplicationState = original.ACCEPTED
FAILED ApplicationState = original.FAILED
FINISHED ApplicationState = original.FINISHED
KILLED ApplicationState = original.KILLED
NEW ApplicationState = original.NEW
NEWSAVING ApplicationState = original.NEWSAVING
RUNNING ApplicationState = original.RUNNING
SUBMITTED ApplicationState = original.SUBMITTED
)

type AppState = original.AppState
type BaseClient = original.BaseClient
type JobClient = original.JobClient
type JobDetailRootJSONObject = original.JobDetailRootJSONObject
type JobID = original.JobID
type JobListJSONObject = original.JobListJSONObject
type JobOperationsErrorResponse = original.JobOperationsErrorResponse
type JobSubmissionJSONResponse = original.JobSubmissionJSONResponse
type ListJobListJSONObject = original.ListJobListJSONObject
type Profile = original.Profile
type Status = original.Status
type Userargs = original.Userargs

func New(clusterDNSName string, userName string) BaseClient {
return original.New(clusterDNSName, userName)
}
func NewJobClient(clusterDNSName string, userName string) JobClient {
return original.NewJobClient(clusterDNSName, userName)
}
func NewWithoutDefaults(clusterDNSName string, userName string) BaseClient {
return original.NewWithoutDefaults(clusterDNSName, userName)
}
func PossibleApplicationStateValues() []ApplicationState {
return original.PossibleApplicationStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}
46 changes: 46 additions & 0 deletions services/preview/hdinsight/2018-11-01-preview/hdinsight/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3ac1c49

Please sign in to comment.