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) (result 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, ...) (result 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) FromParseResult ¶
func (id *AgentPoolId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type AgentPoolsClient struct {
Client *resourcemanager.Client
}
func NewAgentPoolsClientWithBaseURI ¶
func NewAgentPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*AgentPoolsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (AgentPoolsClient) ListComplete ¶
func (c AgentPoolsClient) ListComplete(ctx context.Context, id commonids.KubernetesClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AgentPoolsClient) ListCompleteMatchingPredicate ¶
func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KubernetesClusterId, predicate AgentPoolOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ContainerServiceOSTypes ¶
type ContainerServiceOSTypes string
const ( ContainerServiceOSTypesLinux ContainerServiceOSTypes = "Linux" ContainerServiceOSTypesWindows ContainerServiceOSTypes = "Windows" )
func (*ContainerServiceOSTypes) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *ContainerServiceOSTypes) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetAvailableAgentPoolVersionsOperationResponse ¶
type GetAvailableAgentPoolVersionsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AgentPoolAvailableVersions }
type GetOperationResponse ¶
type GetUpgradeProfileOperationResponse ¶
type GetUpgradeProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AgentPoolUpgradeProfile }
type ListCompleteResult ¶
Source Files ¶
- client.go
- constants.go
- id_agentpool.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getavailableagentpoolversions.go
- method_getupgradeprofile.go
- method_list.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