Documentation ¶
Index ¶
- func PossibleValuesForAvailabilityType() []string
- func PossibleValuesForHealthState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRebootRequirement() []string
- func PossibleValuesForSeverity() []string
- func PossibleValuesForState() []string
- func PossibleValuesForStatus() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateID(input interface{}, key string) (warnings []string, errors []error)
- type AvailabilityType
- type ClusterId
- type HealthState
- type PackageVersionInfo
- type PrecheckResult
- type PrecheckResultTags
- type ProvisioningState
- type RebootRequirement
- type Severity
- type State
- type Status
- type Update
- type UpdateId
- type UpdateOperationPredicate
- type UpdatePrerequisite
- type UpdateProperties
- type UpdateStateProperties
- type UpdatesClient
- func (c UpdatesClient) UpdatesDelete(ctx context.Context, id UpdateId) (result UpdatesDeleteOperationResponse, err error)
- func (c UpdatesClient) UpdatesDeleteThenPoll(ctx context.Context, id UpdateId) error
- func (c UpdatesClient) UpdatesGet(ctx context.Context, id UpdateId) (result UpdatesGetOperationResponse, err error)
- func (c UpdatesClient) UpdatesList(ctx context.Context, id ClusterId) (result UpdatesListOperationResponse, err error)
- func (c UpdatesClient) UpdatesListComplete(ctx context.Context, id ClusterId) (UpdatesListCompleteResult, error)
- func (c UpdatesClient) UpdatesListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateOperationPredicate) (result UpdatesListCompleteResult, err error)
- func (c UpdatesClient) UpdatesPost(ctx context.Context, id UpdateId) (result UpdatesPostOperationResponse, err error)
- func (c UpdatesClient) UpdatesPostThenPoll(ctx context.Context, id UpdateId) error
- func (c UpdatesClient) UpdatesPut(ctx context.Context, id UpdateId, input Update) (result UpdatesPutOperationResponse, err error)
- type UpdatesDeleteOperationResponse
- type UpdatesGetOperationResponse
- type UpdatesListCompleteResult
- type UpdatesListOperationResponse
- type UpdatesPostOperationResponse
- type UpdatesPutOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAvailabilityType ¶
func PossibleValuesForAvailabilityType() []string
func PossibleValuesForHealthState ¶
func PossibleValuesForHealthState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRebootRequirement ¶
func PossibleValuesForRebootRequirement() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateUpdateID ¶
ValidateUpdateID checks that 'input' can be parsed as a Update ID
Types ¶
type AvailabilityType ¶
type AvailabilityType string
const ( AvailabilityTypeLocal AvailabilityType = "Local" AvailabilityTypeNotify AvailabilityType = "Notify" AvailabilityTypeOnline AvailabilityType = "Online" )
func (*AvailabilityType) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *AvailabilityType) UnmarshalJSON(bytes []byte) error
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 HealthState ¶
type HealthState string
const ( HealthStateError HealthState = "Error" HealthStateFailure HealthState = "Failure" HealthStateInProgress HealthState = "InProgress" HealthStateSuccess HealthState = "Success" HealthStateUnknown HealthState = "Unknown" HealthStateWarning HealthState = "Warning" )
func (*HealthState) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *HealthState) UnmarshalJSON(bytes []byte) error
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 PrecheckResult ¶
type PrecheckResult struct { AdditionalData *string `json:"additionalData,omitempty"` Description *string `json:"description,omitempty"` HealthCheckSource *string `json:"healthCheckSource,omitempty"` Name *string `json:"name,omitempty"` Remediation *string `json:"remediation,omitempty"` Severity *Severity `json:"severity,omitempty"` Status *Status `json:"status,omitempty"` Tags *PrecheckResultTags `json:"tags,omitempty"` TargetResourceID *string `json:"targetResourceID,omitempty"` TargetResourceName *string `json:"targetResourceName,omitempty"` Timestamp *string `json:"timestamp,omitempty"` Title *string `json:"title,omitempty"` }
func (*PrecheckResult) GetTimestampAsTime ¶
func (o *PrecheckResult) GetTimestampAsTime() (*time.Time, error)
func (*PrecheckResult) SetTimestampAsTime ¶
func (o *PrecheckResult) SetTimestampAsTime(input time.Time)
type PrecheckResultTags ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RebootRequirement ¶
type RebootRequirement string
const ( RebootRequirementFalse RebootRequirement = "False" RebootRequirementTrue RebootRequirement = "True" RebootRequirementUnknown RebootRequirement = "Unknown" )
func (*RebootRequirement) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *RebootRequirement) UnmarshalJSON(bytes []byte) error
type State ¶
type State string
const ( StateDownloadFailed State = "DownloadFailed" StateDownloading State = "Downloading" StateHasPrerequisite State = "HasPrerequisite" StateHealthCheckFailed State = "HealthCheckFailed" StateHealthChecking State = "HealthChecking" StateInstallationFailed State = "InstallationFailed" StateInstalled State = "Installed" StateInstalling State = "Installing" StateInvalid State = "Invalid" StateNotApplicableBecauseAnotherUpdateIsInProgress State = "NotApplicableBecauseAnotherUpdateIsInProgress" StateObsolete State = "Obsolete" StatePreparationFailed State = "PreparationFailed" StatePreparing State = "Preparing" StateReady State = "Ready" StateReadyToInstall State = "ReadyToInstall" StateRecalled State = "Recalled" StateScanFailed State = "ScanFailed" StateScanInProgress State = "ScanInProgress" )
func (*State) UnmarshalJSON ¶ added in v0.20230731.1080956
type Update ¶
type Update struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateId ¶
type UpdateId struct { SubscriptionId string ResourceGroupName string ClusterName string UpdateName string }
UpdateId is a struct representing the Resource ID for a Update
func NewUpdateID ¶
func NewUpdateID(subscriptionId string, resourceGroupName string, clusterName string, updateName string) UpdateId
NewUpdateID returns a new UpdateId struct
func ParseUpdateID ¶
ParseUpdateID parses 'input' into a UpdateId
func ParseUpdateIDInsensitively ¶
ParseUpdateIDInsensitively parses 'input' case-insensitively into a UpdateId note: this method should only be used for API response data and not user input
func (UpdateId) Segments ¶
func (id UpdateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update ID
type UpdateOperationPredicate ¶
func (UpdateOperationPredicate) Matches ¶
func (p UpdateOperationPredicate) Matches(input Update) bool
type UpdatePrerequisite ¶
type UpdateProperties ¶
type UpdateProperties struct { AdditionalProperties *string `json:"additionalProperties,omitempty"` AvailabilityType *AvailabilityType `json:"availabilityType,omitempty"` ComponentVersions *[]PackageVersionInfo `json:"componentVersions,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` HealthCheckDate *string `json:"healthCheckDate,omitempty"` HealthCheckResult *[]PrecheckResult `json:"healthCheckResult,omitempty"` HealthState *HealthState `json:"healthState,omitempty"` InstalledDate *string `json:"installedDate,omitempty"` PackagePath *string `json:"packagePath,omitempty"` PackageSizeInMb *float64 `json:"packageSizeInMb,omitempty"` PackageType *string `json:"packageType,omitempty"` Prerequisites *[]UpdatePrerequisite `json:"prerequisites,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` RebootRequired *RebootRequirement `json:"rebootRequired,omitempty"` ReleaseLink *string `json:"releaseLink,omitempty"` State *State `json:"state,omitempty"` UpdateStateProperties *UpdateStateProperties `json:"updateStateProperties,omitempty"` Version *string `json:"version,omitempty"` }
func (*UpdateProperties) GetHealthCheckDateAsTime ¶
func (o *UpdateProperties) GetHealthCheckDateAsTime() (*time.Time, error)
func (*UpdateProperties) GetInstalledDateAsTime ¶
func (o *UpdateProperties) GetInstalledDateAsTime() (*time.Time, error)
func (*UpdateProperties) SetHealthCheckDateAsTime ¶
func (o *UpdateProperties) SetHealthCheckDateAsTime(input time.Time)
func (*UpdateProperties) SetInstalledDateAsTime ¶
func (o *UpdateProperties) SetInstalledDateAsTime(input time.Time)
type UpdateStateProperties ¶
type UpdatesClient ¶
type UpdatesClient struct {
Client *resourcemanager.Client
}
func NewUpdatesClientWithBaseURI ¶
func NewUpdatesClientWithBaseURI(api environments.Api) (*UpdatesClient, error)
func (UpdatesClient) UpdatesDelete ¶
func (c UpdatesClient) UpdatesDelete(ctx context.Context, id UpdateId) (result UpdatesDeleteOperationResponse, err error)
UpdatesDelete ...
func (UpdatesClient) UpdatesDeleteThenPoll ¶
func (c UpdatesClient) UpdatesDeleteThenPoll(ctx context.Context, id UpdateId) error
UpdatesDeleteThenPoll performs UpdatesDelete then polls until it's completed
func (UpdatesClient) UpdatesGet ¶
func (c UpdatesClient) UpdatesGet(ctx context.Context, id UpdateId) (result UpdatesGetOperationResponse, err error)
UpdatesGet ...
func (UpdatesClient) UpdatesList ¶
func (c UpdatesClient) UpdatesList(ctx context.Context, id ClusterId) (result UpdatesListOperationResponse, err error)
UpdatesList ...
func (UpdatesClient) UpdatesListComplete ¶
func (c UpdatesClient) UpdatesListComplete(ctx context.Context, id ClusterId) (UpdatesListCompleteResult, error)
UpdatesListComplete retrieves all the results into a single object
func (UpdatesClient) UpdatesListCompleteMatchingPredicate ¶
func (c UpdatesClient) UpdatesListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateOperationPredicate) (result UpdatesListCompleteResult, err error)
UpdatesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (UpdatesClient) UpdatesPost ¶
func (c UpdatesClient) UpdatesPost(ctx context.Context, id UpdateId) (result UpdatesPostOperationResponse, err error)
UpdatesPost ...
func (UpdatesClient) UpdatesPostThenPoll ¶
func (c UpdatesClient) UpdatesPostThenPoll(ctx context.Context, id UpdateId) error
UpdatesPostThenPoll performs UpdatesPost then polls until it's completed
func (UpdatesClient) UpdatesPut ¶
func (c UpdatesClient) UpdatesPut(ctx context.Context, id UpdateId, input Update) (result UpdatesPutOperationResponse, err error)
UpdatesPut ...
type UpdatesListCompleteResult ¶
type UpdatesListCompleteResult struct {
Items []Update
}
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- id_update.go
- method_updatesdelete.go
- method_updatesget.go
- method_updateslist.go
- method_updatespost.go
- method_updatesput.go
- model_packageversioninfo.go
- model_precheckresult.go
- model_precheckresulttags.go
- model_update.go
- model_updateprerequisite.go
- model_updateproperties.go
- model_updatestateproperties.go
- predicates.go
- version.go