Documentation ¶
Index ¶
- func ValidateMachinePoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOpenShiftClusterID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type MachinePool
- type MachinePoolId
- type MachinePoolOperationPredicate
- type MachinePoolProperties
- type MachinePoolUpdate
- type MachinePoolsClient
- func (c MachinePoolsClient) CreateOrUpdate(ctx context.Context, id MachinePoolId, input MachinePool) (result CreateOrUpdateOperationResponse, err error)
- func (c MachinePoolsClient) Delete(ctx context.Context, id MachinePoolId) (result DeleteOperationResponse, err error)
- func (c MachinePoolsClient) Get(ctx context.Context, id MachinePoolId) (result GetOperationResponse, err error)
- func (c MachinePoolsClient) List(ctx context.Context, id OpenShiftClusterId) (result ListOperationResponse, err error)
- func (c MachinePoolsClient) ListComplete(ctx context.Context, id OpenShiftClusterId) (ListCompleteResult, error)
- func (c MachinePoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id OpenShiftClusterId, ...) (result ListCompleteResult, err error)
- func (c MachinePoolsClient) Update(ctx context.Context, id MachinePoolId, input MachinePoolUpdate) (result UpdateOperationResponse, err error)
- type OpenShiftClusterId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMachinePoolID ¶
ValidateMachinePoolID checks that 'input' can be parsed as a Machine Pool ID
func ValidateOpenShiftClusterID ¶
ValidateOpenShiftClusterID checks that 'input' can be parsed as a Open Shift Cluster ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MachinePool }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MachinePool }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MachinePool }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MachinePool }
type MachinePool ¶
type MachinePool struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MachinePoolProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MachinePoolId ¶
type MachinePoolId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string MachinePoolName string }
MachinePoolId is a struct representing the Resource ID for a Machine Pool
func NewMachinePoolID ¶
func NewMachinePoolID(subscriptionId string, resourceGroupName string, openShiftClusterName string, machinePoolName string) MachinePoolId
NewMachinePoolID returns a new MachinePoolId struct
func ParseMachinePoolID ¶
func ParseMachinePoolID(input string) (*MachinePoolId, error)
ParseMachinePoolID parses 'input' into a MachinePoolId
func ParseMachinePoolIDInsensitively ¶
func ParseMachinePoolIDInsensitively(input string) (*MachinePoolId, error)
ParseMachinePoolIDInsensitively parses 'input' case-insensitively into a MachinePoolId note: this method should only be used for API response data and not user input
func (*MachinePoolId) FromParseResult ¶
func (id *MachinePoolId) FromParseResult(input resourceids.ParseResult) error
func (MachinePoolId) ID ¶
func (id MachinePoolId) ID() string
ID returns the formatted Machine Pool ID
func (MachinePoolId) Segments ¶
func (id MachinePoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine Pool ID
func (MachinePoolId) String ¶
func (id MachinePoolId) String() string
String returns a human-readable description of this Machine Pool ID
type MachinePoolOperationPredicate ¶
func (MachinePoolOperationPredicate) Matches ¶
func (p MachinePoolOperationPredicate) Matches(input MachinePool) bool
type MachinePoolProperties ¶
type MachinePoolProperties struct {
Resources *string `json:"resources,omitempty"`
}
type MachinePoolUpdate ¶
type MachinePoolUpdate struct { Properties *MachinePoolProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` }
type MachinePoolsClient ¶
type MachinePoolsClient struct {
Client *resourcemanager.Client
}
func NewMachinePoolsClientWithBaseURI ¶
func NewMachinePoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*MachinePoolsClient, error)
func (MachinePoolsClient) CreateOrUpdate ¶
func (c MachinePoolsClient) CreateOrUpdate(ctx context.Context, id MachinePoolId, input MachinePool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MachinePoolsClient) Delete ¶
func (c MachinePoolsClient) Delete(ctx context.Context, id MachinePoolId) (result DeleteOperationResponse, err error)
Delete ...
func (MachinePoolsClient) Get ¶
func (c MachinePoolsClient) Get(ctx context.Context, id MachinePoolId) (result GetOperationResponse, err error)
Get ...
func (MachinePoolsClient) List ¶
func (c MachinePoolsClient) List(ctx context.Context, id OpenShiftClusterId) (result ListOperationResponse, err error)
List ...
func (MachinePoolsClient) ListComplete ¶
func (c MachinePoolsClient) ListComplete(ctx context.Context, id OpenShiftClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MachinePoolsClient) ListCompleteMatchingPredicate ¶
func (c MachinePoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id OpenShiftClusterId, predicate MachinePoolOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachinePoolsClient) Update ¶
func (c MachinePoolsClient) Update(ctx context.Context, id MachinePoolId, input MachinePoolUpdate) (result UpdateOperationResponse, err error)
Update ...
type OpenShiftClusterId ¶
type OpenShiftClusterId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string }
OpenShiftClusterId is a struct representing the Resource ID for a Open Shift Cluster
func NewOpenShiftClusterID ¶
func NewOpenShiftClusterID(subscriptionId string, resourceGroupName string, openShiftClusterName string) OpenShiftClusterId
NewOpenShiftClusterID returns a new OpenShiftClusterId struct
func ParseOpenShiftClusterID ¶
func ParseOpenShiftClusterID(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterID parses 'input' into a OpenShiftClusterId
func ParseOpenShiftClusterIDInsensitively ¶
func ParseOpenShiftClusterIDInsensitively(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterIDInsensitively parses 'input' case-insensitively into a OpenShiftClusterId note: this method should only be used for API response data and not user input
func (*OpenShiftClusterId) FromParseResult ¶
func (id *OpenShiftClusterId) FromParseResult(input resourceids.ParseResult) error
func (OpenShiftClusterId) ID ¶
func (id OpenShiftClusterId) ID() string
ID returns the formatted Open Shift Cluster ID
func (OpenShiftClusterId) Segments ¶
func (id OpenShiftClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Open Shift Cluster ID
func (OpenShiftClusterId) String ¶
func (id OpenShiftClusterId) String() string
String returns a human-readable description of this Open Shift Cluster ID
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MachinePool }