Documentation ¶
Index ¶
- func PossibleValuesForIPFamily() []string
- func ValidateAgentPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error)
- type AgentPoolId
- type GetOperationResponse
- type IPFamily
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Machine
- type MachineIPAddress
- type MachineId
- type MachineNetworkProperties
- type MachineOperationPredicate
- type MachineProperties
- type MachinesClient
- func (c MachinesClient) Get(ctx context.Context, id MachineId) (result GetOperationResponse, err error)
- func (c MachinesClient) List(ctx context.Context, id AgentPoolId) (result ListOperationResponse, err error)
- func (c MachinesClient) ListComplete(ctx context.Context, id AgentPoolId) (ListCompleteResult, error)
- func (c MachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id AgentPoolId, predicate MachineOperationPredicate) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIPFamily ¶
func PossibleValuesForIPFamily() []string
func ValidateAgentPoolID ¶
ValidateAgentPoolID checks that 'input' can be parsed as a Agent Pool ID
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
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 GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type Machine ¶
type Machine struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MachineProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MachineIPAddress ¶
type MachineId ¶
type MachineId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string AgentPoolName string MachineName string }
MachineId is a struct representing the Resource ID for a Machine
func NewMachineID ¶
func NewMachineID(subscriptionId string, resourceGroupName string, managedClusterName string, agentPoolName string, machineName string) MachineId
NewMachineID returns a new MachineId struct
func ParseMachineID ¶
ParseMachineID parses 'input' into a MachineId
func ParseMachineIDInsensitively ¶
ParseMachineIDInsensitively parses 'input' case-insensitively into a MachineId note: this method should only be used for API response data and not user input
func (*MachineId) FromParseResult ¶
func (id *MachineId) FromParseResult(input resourceids.ParseResult) error
func (MachineId) Segments ¶
func (id MachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine ID
type MachineNetworkProperties ¶
type MachineNetworkProperties struct {
IPAddresses *[]MachineIPAddress `json:"ipAddresses,omitempty"`
}
type MachineOperationPredicate ¶
func (MachineOperationPredicate) Matches ¶
func (p MachineOperationPredicate) Matches(input Machine) bool
type MachineProperties ¶
type MachineProperties struct { Network *MachineNetworkProperties `json:"network,omitempty"` ResourceId *string `json:"resourceId,omitempty"` }
type MachinesClient ¶
type MachinesClient struct {
Client *resourcemanager.Client
}
func NewMachinesClientWithBaseURI ¶
func NewMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*MachinesClient, error)
func (MachinesClient) Get ¶
func (c MachinesClient) Get(ctx context.Context, id MachineId) (result GetOperationResponse, err error)
Get ...
func (MachinesClient) List ¶
func (c MachinesClient) List(ctx context.Context, id AgentPoolId) (result ListOperationResponse, err error)
List ...
func (MachinesClient) ListComplete ¶
func (c MachinesClient) ListComplete(ctx context.Context, id AgentPoolId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MachinesClient) ListCompleteMatchingPredicate ¶
func (c MachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id AgentPoolId, predicate MachineOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate