Skip to content

Commit

Permalink
Generated from 3fe2fc60a0cdf3acaee6346bea27b6f97e891625 (#3688)
Browse files Browse the repository at this point in the history
add Go SDK codegen
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed Dec 13, 2018
1 parent 85131c4 commit 83fcb78
Show file tree
Hide file tree
Showing 13 changed files with 6,782 additions and 8 deletions.
2 changes: 1 addition & 1 deletion profiles/preview/batch/mgmt/batch/batchapi/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package batchapi

import original "github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2017-09-01/batch/batchapi"
import original "github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/batchapi"

type AccountClientAPI = original.AccountClientAPI
type ApplicationClientAPI = original.ApplicationClientAPI
Expand Down
35 changes: 28 additions & 7 deletions profiles/preview/batch/mgmt/batch/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package batch
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2017-09-01/batch"
original "github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch"
)

const (
Expand Down Expand Up @@ -126,6 +126,13 @@ const (
Enabled InterNodeCommunicationState = original.Enabled
)

type LoginMode = original.LoginMode

const (
Batch LoginMode = original.Batch
Interactive LoginMode = original.Interactive
)

type NameAvailabilityReason = original.NameAvailabilityReason

const (
Expand All @@ -143,9 +150,8 @@ const (
type PackageState = original.PackageState

const (
Active PackageState = original.Active
Pending PackageState = original.Pending
Unmapped PackageState = original.Unmapped
Active PackageState = original.Active
Pending PackageState = original.Pending
)

type PoolAllocationMode = original.PoolAllocationMode
Expand Down Expand Up @@ -197,11 +203,11 @@ type AccountUpdateProperties = original.AccountUpdateProperties
type ActivateApplicationPackageParameters = original.ActivateApplicationPackageParameters
type Application = original.Application
type ApplicationClient = original.ApplicationClient
type ApplicationCreateParameters = original.ApplicationCreateParameters
type ApplicationPackage = original.ApplicationPackage
type ApplicationPackageClient = original.ApplicationPackageClient
type ApplicationPackageProperties = original.ApplicationPackageProperties
type ApplicationPackageReference = original.ApplicationPackageReference
type ApplicationUpdateParameters = original.ApplicationUpdateParameters
type ApplicationProperties = original.ApplicationProperties
type AutoScaleRun = original.AutoScaleRun
type AutoScaleRunError = original.AutoScaleRunError
type AutoScaleSettings = original.AutoScaleSettings
Expand All @@ -223,6 +229,8 @@ type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CloudServiceConfiguration = original.CloudServiceConfiguration
type ContainerConfiguration = original.ContainerConfiguration
type ContainerRegistry = original.ContainerRegistry
type DataDisk = original.DataDisk
type DeleteCertificateError = original.DeleteCertificateError
type DeploymentConfiguration = original.DeploymentConfiguration
Expand All @@ -232,6 +240,9 @@ type ImageReference = original.ImageReference
type InboundNatPool = original.InboundNatPool
type KeyVaultReference = original.KeyVaultReference
type LinuxUserConfiguration = original.LinuxUserConfiguration
type ListApplicationPackagesResult = original.ListApplicationPackagesResult
type ListApplicationPackagesResultIterator = original.ListApplicationPackagesResultIterator
type ListApplicationPackagesResultPage = original.ListApplicationPackagesResultPage
type ListApplicationsResult = original.ListApplicationsResult
type ListApplicationsResultIterator = original.ListApplicationsResultIterator
type ListApplicationsResultPage = original.ListApplicationsResultPage
Expand All @@ -246,7 +257,6 @@ type LocationQuota = original.LocationQuota
type MetadataItem = original.MetadataItem
type NetworkConfiguration = original.NetworkConfiguration
type NetworkSecurityGroupRule = original.NetworkSecurityGroupRule
type OSDisk = original.OSDisk
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
Expand All @@ -266,11 +276,13 @@ type Resource = original.Resource
type ResourceFile = original.ResourceFile
type ScaleSettings = original.ScaleSettings
type StartTask = original.StartTask
type TaskContainerSettings = original.TaskContainerSettings
type TaskSchedulingPolicy = original.TaskSchedulingPolicy
type UserAccount = original.UserAccount
type UserIdentity = original.UserIdentity
type VirtualMachineConfiguration = original.VirtualMachineConfiguration
type WindowsConfiguration = original.WindowsConfiguration
type WindowsUserConfiguration = original.WindowsUserConfiguration

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
Expand Down Expand Up @@ -305,6 +317,12 @@ func NewCertificateClient(subscriptionID string) CertificateClient {
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return original.NewCertificateClientWithBaseURI(baseURI, subscriptionID)
}
func NewListApplicationPackagesResultIterator(page ListApplicationPackagesResultPage) ListApplicationPackagesResultIterator {
return original.NewListApplicationPackagesResultIterator(page)
}
func NewListApplicationPackagesResultPage(getNextPage func(context.Context, ListApplicationPackagesResult) (ListApplicationPackagesResult, error)) ListApplicationPackagesResultPage {
return original.NewListApplicationPackagesResultPage(getNextPage)
}
func NewListApplicationsResultIterator(page ListApplicationsResultPage) ListApplicationsResultIterator {
return original.NewListApplicationsResultIterator(page)
}
Expand Down Expand Up @@ -389,6 +407,9 @@ func PossibleInboundEndpointProtocolValues() []InboundEndpointProtocol {
func PossibleInterNodeCommunicationStateValues() []InterNodeCommunicationState {
return original.PossibleInterNodeCommunicationStateValues()
}
func PossibleLoginModeValues() []LoginMode {
return original.PossibleLoginModeValues()
}
func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason {
return original.PossibleNameAvailabilityReasonValues()
}
Expand Down
Loading

0 comments on commit 83fcb78

Please sign in to comment.