Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR containerservice/resource-manager] Implementing agentpool API in new 2019-02-01-preview API version #3938

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

package containerserviceapi

import original "github.com/Azure/azure-sdk-for-go/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice/containerserviceapi"
import original "github.com/Azure/azure-sdk-for-go/services/preview/containerservice/mgmt/2019-02-01-preview/containerservice/containerserviceapi"

type AgentPoolsClientAPI = original.AgentPoolsClientAPI
type ContainerServicesClientAPI = original.ContainerServicesClientAPI
type ManagedClustersClientAPI = original.ManagedClustersClientAPI
type OpenShiftManagedClustersClientAPI = original.OpenShiftManagedClustersClientAPI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ package containerservice
import (
"context"

original "github.com/Azure/azure-sdk-for-go/services/preview/containerservice/mgmt/2018-09-30-preview/containerservice"
original "github.com/Azure/azure-sdk-for-go/services/preview/containerservice/mgmt/2019-02-01-preview/containerservice"
)

const (
DefaultBaseURI = original.DefaultBaseURI
)

type AgentPoolType = original.AgentPoolType

const (
AvailabilitySet AgentPoolType = original.AvailabilitySet
VirtualMachineScaleSets AgentPoolType = original.VirtualMachineScaleSets
)

type Kind = original.Kind

const (
Expand Down Expand Up @@ -298,7 +305,14 @@ const (
)

type AccessProfile = original.AccessProfile
type AgentPool = original.AgentPool
type AgentPoolListResult = original.AgentPoolListResult
type AgentPoolListResultIterator = original.AgentPoolListResultIterator
type AgentPoolListResultPage = original.AgentPoolListResultPage
type AgentPoolProfile = original.AgentPoolProfile
type AgentPoolsClient = original.AgentPoolsClient
type AgentPoolsCreateOrUpdateFuture = original.AgentPoolsCreateOrUpdateFuture
type AgentPoolsDeleteFuture = original.AgentPoolsDeleteFuture
type BaseClient = original.BaseClient
type BasicOpenShiftManagedClusterBaseIdentityProvider = original.BasicOpenShiftManagedClusterBaseIdentityProvider
type CloudError = original.CloudError
Expand All @@ -321,6 +335,7 @@ type ManagedClusterAADProfile = original.ManagedClusterAADProfile
type ManagedClusterAccessProfile = original.ManagedClusterAccessProfile
type ManagedClusterAddonProfile = original.ManagedClusterAddonProfile
type ManagedClusterAgentPoolProfile = original.ManagedClusterAgentPoolProfile
type ManagedClusterAgentPoolProfileProperties = original.ManagedClusterAgentPoolProfileProperties
type ManagedClusterListResult = original.ManagedClusterListResult
type ManagedClusterListResultIterator = original.ManagedClusterListResultIterator
type ManagedClusterListResultPage = original.ManagedClusterListResultPage
Expand Down Expand Up @@ -369,13 +384,26 @@ type Resource = original.Resource
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type ServicePrincipalProfile = original.ServicePrincipalProfile
type SubResource = original.SubResource
type TagsObject = original.TagsObject
type VMDiagnostics = original.VMDiagnostics
type WindowsProfile = original.WindowsProfile

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAgentPoolListResultIterator(page AgentPoolListResultPage) AgentPoolListResultIterator {
return original.NewAgentPoolListResultIterator(page)
}
func NewAgentPoolListResultPage(getNextPage func(context.Context, AgentPoolListResult) (AgentPoolListResult, error)) AgentPoolListResultPage {
return original.NewAgentPoolListResultPage(getNextPage)
}
func NewAgentPoolsClient(subscriptionID string) AgentPoolsClient {
return original.NewAgentPoolsClient(subscriptionID)
}
func NewAgentPoolsClientWithBaseURI(baseURI string, subscriptionID string) AgentPoolsClient {
return original.NewAgentPoolsClientWithBaseURI(baseURI, subscriptionID)
}
func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
return original.NewContainerServicesClient(subscriptionID)
}
Expand Down Expand Up @@ -421,6 +449,9 @@ func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) Opera
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAgentPoolTypeValues() []AgentPoolType {
return original.PossibleAgentPoolTypeValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
Expand Down
Loading