Documentation ¶
Index ¶
- func PossibleValuesForContainerServiceOSTypes() []string
- func ValidateAgentPoolID(input interface{}, key string) (warnings []string, errors []error)
- type AgentPool
- type AgentPoolAvailableVersions
- type AgentPoolAvailableVersionsProperties
- type AgentPoolAvailableVersionsPropertiesAgentPoolVersionsInlined
- type AgentPoolId
- type AgentPoolOperationPredicate
- type AgentPoolUpgradeProfile
- type AgentPoolUpgradeProfileProperties
- type AgentPoolUpgradeProfilePropertiesUpgradesInlined
- type AgentPoolsClient
- func (c AgentPoolsClient) CreateOrUpdate(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOrUpdateOperationResponse, err error)
- func (c AgentPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
- func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
- func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
- func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
- func (c AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, id commonids.KubernetesClusterId) (result GetAvailableAgentPoolVersionsOperationResponse, err error)
- func (c AgentPoolsClient) GetUpgradeProfile(ctx context.Context, id AgentPoolId) (result GetUpgradeProfileOperationResponse, err error)
- func (c AgentPoolsClient) List(ctx context.Context, id commonids.KubernetesClusterId) (resp ListOperationResponse, err error)
- func (c AgentPoolsClient) ListComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListCompleteResult, error)
- func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, ...) (resp ListCompleteResult, err error)
- type ContainerServiceOSTypes
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetAvailableAgentPoolVersionsOperationResponse
- type GetOperationResponse
- type GetUpgradeProfileOperationResponse
- type ListCompleteResult
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContainerServiceOSTypes ¶
func PossibleValuesForContainerServiceOSTypes() []string
func ValidateAgentPoolID ¶
ValidateAgentPoolID checks that 'input' can be parsed as a Agent Pool ID
Types ¶
type AgentPoolAvailableVersions ¶
type AgentPoolAvailableVersions struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AgentPoolAvailableVersionsProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AgentPoolAvailableVersionsProperties ¶
type AgentPoolAvailableVersionsProperties struct {
AgentPoolVersions *[]AgentPoolAvailableVersionsPropertiesAgentPoolVersionsInlined `json:"agentPoolVersions,omitempty"`
}
type AgentPoolId ¶
type AgentPoolId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string AgentPoolName string }
AgentPoolId is a struct representing the Resource ID for a Agent Pool
func NewAgentPoolID ¶
func NewAgentPoolID(subscriptionId string, resourceGroupName string, managedClusterName string, agentPoolName string) AgentPoolId
NewAgentPoolID returns a new AgentPoolId struct
func ParseAgentPoolID ¶
func ParseAgentPoolID(input string) (*AgentPoolId, error)
ParseAgentPoolID parses 'input' into a AgentPoolId
func ParseAgentPoolIDInsensitively ¶
func ParseAgentPoolIDInsensitively(input string) (*AgentPoolId, error)
ParseAgentPoolIDInsensitively parses 'input' case-insensitively into a AgentPoolId note: this method should only be used for API response data and not user input
func (AgentPoolId) Segments ¶
func (id AgentPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Agent Pool ID
func (AgentPoolId) String ¶
func (id AgentPoolId) String() string
String returns a human-readable description of this Agent Pool ID
type AgentPoolOperationPredicate ¶
func (AgentPoolOperationPredicate) Matches ¶
func (p AgentPoolOperationPredicate) Matches(input AgentPool) bool
type AgentPoolUpgradeProfile ¶
type AgentPoolUpgradeProfile struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AgentPoolUpgradeProfileProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AgentPoolUpgradeProfileProperties ¶
type AgentPoolUpgradeProfileProperties struct { KubernetesVersion string `json:"kubernetesVersion"` OsType ContainerServiceOSTypes `json:"osType"` Upgrades *[]AgentPoolUpgradeProfilePropertiesUpgradesInlined `json:"upgrades,omitempty"` }
type AgentPoolsClient ¶
func NewAgentPoolsClientWithBaseURI ¶
func NewAgentPoolsClientWithBaseURI(endpoint string) AgentPoolsClient
func (AgentPoolsClient) CreateOrUpdate ¶
func (c AgentPoolsClient) CreateOrUpdate(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AgentPoolsClient) CreateOrUpdateThenPoll ¶
func (c AgentPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AgentPoolsClient) Delete ¶
func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (AgentPoolsClient) DeleteThenPoll ¶
func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AgentPoolsClient) Get ¶
func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
Get ...
func (AgentPoolsClient) GetAvailableAgentPoolVersions ¶
func (c AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, id commonids.KubernetesClusterId) (result GetAvailableAgentPoolVersionsOperationResponse, err error)
GetAvailableAgentPoolVersions ...
func (AgentPoolsClient) GetUpgradeProfile ¶
func (c AgentPoolsClient) GetUpgradeProfile(ctx context.Context, id AgentPoolId) (result GetUpgradeProfileOperationResponse, err error)
GetUpgradeProfile ...
func (AgentPoolsClient) List ¶
func (c AgentPoolsClient) List(ctx context.Context, id commonids.KubernetesClusterId) (resp ListOperationResponse, err error)
List ...
func (AgentPoolsClient) ListComplete ¶
func (c AgentPoolsClient) ListComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AgentPoolsClient) ListCompleteMatchingPredicate ¶
func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, predicate AgentPoolOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ContainerServiceOSTypes ¶
type ContainerServiceOSTypes string
const ( ContainerServiceOSTypesLinux ContainerServiceOSTypes = "Linux" ContainerServiceOSTypesWindows ContainerServiceOSTypes = "Windows" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetAvailableAgentPoolVersionsOperationResponse ¶
type GetAvailableAgentPoolVersionsOperationResponse struct { HttpResponse *http.Response Model *AgentPoolAvailableVersions }
type GetOperationResponse ¶
type GetUpgradeProfileOperationResponse ¶
type GetUpgradeProfileOperationResponse struct { HttpResponse *http.Response Model *AgentPoolUpgradeProfile }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []AgentPool
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]AgentPool // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- id_agentpool.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getavailableagentpoolversions_autorest.go
- method_getupgradeprofile_autorest.go
- method_list_autorest.go
- model_agentpool.go
- model_agentpoolavailableversions.go
- model_agentpoolavailableversionsproperties.go
- model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go
- model_agentpoolupgradeprofile.go
- model_agentpoolupgradeprofileproperties.go
- model_agentpoolupgradeprofilepropertiesupgradesinlined.go
- predicates.go
- version.go