Documentation
¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForUpdateSummariesPropertiesState() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type PackageVersionInfo
- type ProvisioningState
- type UpdateSummaries
- type UpdateSummariesClient
- func (c UpdateSummariesClient) UpdateSummariesGet(ctx context.Context, id ClusterId) (result UpdateSummariesGetOperationResponse, err error)
- func (c UpdateSummariesClient) UpdateSummariesList(ctx context.Context, id ClusterId) (resp UpdateSummariesListOperationResponse, err error)
- func (c UpdateSummariesClient) UpdateSummariesListComplete(ctx context.Context, id ClusterId) (UpdateSummariesListCompleteResult, error)
- func (c UpdateSummariesClient) UpdateSummariesListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateSummariesOperationPredicate) (resp UpdateSummariesListCompleteResult, err error)
- type UpdateSummariesGetOperationResponse
- type UpdateSummariesListCompleteResult
- type UpdateSummariesListOperationResponse
- type UpdateSummariesOperationPredicate
- type UpdateSummariesProperties
- type UpdateSummariesPropertiesState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForUpdateSummariesPropertiesState ¶
func PossibleValuesForUpdateSummariesPropertiesState() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type PackageVersionInfo ¶
type PackageVersionInfo struct { LastUpdated *string `json:"lastUpdated,omitempty"` PackageType *string `json:"packageType,omitempty"` Version *string `json:"version,omitempty"` }
func (*PackageVersionInfo) GetLastUpdatedAsTime ¶
func (o *PackageVersionInfo) GetLastUpdatedAsTime() (*time.Time, error)
func (*PackageVersionInfo) SetLastUpdatedAsTime ¶
func (o *PackageVersionInfo) SetLastUpdatedAsTime(input time.Time)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type UpdateSummaries ¶
type UpdateSummaries struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateSummariesProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateSummariesClient ¶
type UpdateSummariesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewUpdateSummariesClientWithBaseURI ¶
func NewUpdateSummariesClientWithBaseURI(endpoint string) UpdateSummariesClient
func (UpdateSummariesClient) UpdateSummariesGet ¶
func (c UpdateSummariesClient) UpdateSummariesGet(ctx context.Context, id ClusterId) (result UpdateSummariesGetOperationResponse, err error)
UpdateSummariesGet ...
func (UpdateSummariesClient) UpdateSummariesList ¶
func (c UpdateSummariesClient) UpdateSummariesList(ctx context.Context, id ClusterId) (resp UpdateSummariesListOperationResponse, err error)
UpdateSummariesList ...
func (UpdateSummariesClient) UpdateSummariesListComplete ¶
func (c UpdateSummariesClient) UpdateSummariesListComplete(ctx context.Context, id ClusterId) (UpdateSummariesListCompleteResult, error)
UpdateSummariesListComplete retrieves all of the results into a single object
func (UpdateSummariesClient) UpdateSummariesListCompleteMatchingPredicate ¶
func (c UpdateSummariesClient) UpdateSummariesListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateSummariesOperationPredicate) (resp UpdateSummariesListCompleteResult, err error)
UpdateSummariesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type UpdateSummariesGetOperationResponse ¶
type UpdateSummariesGetOperationResponse struct { HttpResponse *http.Response Model *UpdateSummaries }
type UpdateSummariesListCompleteResult ¶
type UpdateSummariesListCompleteResult struct {
Items []UpdateSummaries
}
type UpdateSummariesListOperationResponse ¶
type UpdateSummariesListOperationResponse struct { HttpResponse *http.Response Model *[]UpdateSummaries // contains filtered or unexported fields }
func (UpdateSummariesListOperationResponse) HasMore ¶
func (r UpdateSummariesListOperationResponse) HasMore() bool
func (UpdateSummariesListOperationResponse) LoadMore ¶
func (r UpdateSummariesListOperationResponse) LoadMore(ctx context.Context) (resp UpdateSummariesListOperationResponse, err error)
type UpdateSummariesOperationPredicate ¶
type UpdateSummariesOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (UpdateSummariesOperationPredicate) Matches ¶
func (p UpdateSummariesOperationPredicate) Matches(input UpdateSummaries) bool
type UpdateSummariesProperties ¶
type UpdateSummariesProperties struct { CurrentVersion *string `json:"currentVersion,omitempty"` HardwareModel *string `json:"hardwareModel,omitempty"` OemFamily *string `json:"oemFamily,omitempty"` PackageVersions *[]PackageVersionInfo `json:"packageVersions,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` State *UpdateSummariesPropertiesState `json:"state,omitempty"` }
type UpdateSummariesPropertiesState ¶
type UpdateSummariesPropertiesState string
const ( UpdateSummariesPropertiesStateAppliedSuccessfully UpdateSummariesPropertiesState = "AppliedSuccessfully" UpdateSummariesPropertiesStateNeedsAttention UpdateSummariesPropertiesState = "NeedsAttention" UpdateSummariesPropertiesStatePreparationFailed UpdateSummariesPropertiesState = "PreparationFailed" UpdateSummariesPropertiesStatePreparationInProgress UpdateSummariesPropertiesState = "PreparationInProgress" UpdateSummariesPropertiesStateUnknown UpdateSummariesPropertiesState = "Unknown" UpdateSummariesPropertiesStateUpdateAvailable UpdateSummariesPropertiesState = "UpdateAvailable" UpdateSummariesPropertiesStateUpdateFailed UpdateSummariesPropertiesState = "UpdateFailed" UpdateSummariesPropertiesStateUpdateInProgress UpdateSummariesPropertiesState = "UpdateInProgress" )