Documentation ¶
Index ¶
- func PossibleValuesForHealthState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSeverity() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForUpdateSummariesPropertiesState() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type DeleteOperationResponse
- type GetOperationResponse
- type HealthState
- type ListCompleteResult
- type ListOperationResponse
- type PackageVersionInfo
- type PrecheckResult
- type PrecheckResultTags
- type ProvisioningState
- type PutOperationResponse
- type Severity
- type Status
- type UpdateSummaries
- type UpdateSummariesClient
- func (c UpdateSummariesClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)
- func (c UpdateSummariesClient) DeleteThenPoll(ctx context.Context, id ClusterId) error
- func (c UpdateSummariesClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)
- func (c UpdateSummariesClient) List(ctx context.Context, id ClusterId) (result ListOperationResponse, err error)
- func (c UpdateSummariesClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
- func (c UpdateSummariesClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateSummariesOperationPredicate) (result ListCompleteResult, err error)
- func (c UpdateSummariesClient) Put(ctx context.Context, id ClusterId, input UpdateSummaries) (result PutOperationResponse, err error)
- type UpdateSummariesOperationPredicate
- type UpdateSummariesProperties
- func (o *UpdateSummariesProperties) GetHealthCheckDateAsTime() (*time.Time, error)
- func (o *UpdateSummariesProperties) GetLastCheckedAsTime() (*time.Time, error)
- func (o *UpdateSummariesProperties) GetLastUpdatedAsTime() (*time.Time, error)
- func (o *UpdateSummariesProperties) SetHealthCheckDateAsTime(input time.Time)
- func (o *UpdateSummariesProperties) SetLastCheckedAsTime(input time.Time)
- func (o *UpdateSummariesProperties) SetLastUpdatedAsTime(input time.Time)
- type UpdateSummariesPropertiesState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthState ¶
func PossibleValuesForHealthState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type DeleteOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UpdateSummaries }
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 ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []UpdateSummaries
}
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UpdateSummaries }
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 PutOperationResponse ¶ added in v0.20230906.1160501
type PutOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UpdateSummaries }
type UpdateSummaries ¶
type UpdateSummaries struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateSummariesProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateSummariesClient ¶
type UpdateSummariesClient struct {
Client *resourcemanager.Client
}
func NewUpdateSummariesClientWithBaseURI ¶
func NewUpdateSummariesClientWithBaseURI(sdkApi sdkEnv.Api) (*UpdateSummariesClient, error)
func (UpdateSummariesClient) Delete ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (UpdateSummariesClient) DeleteThenPoll ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) DeleteThenPoll(ctx context.Context, id ClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (UpdateSummariesClient) Get ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)
Get ...
func (UpdateSummariesClient) List ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) List(ctx context.Context, id ClusterId) (result ListOperationResponse, err error)
List ...
func (UpdateSummariesClient) ListComplete ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (UpdateSummariesClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate UpdateSummariesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (UpdateSummariesClient) Put ¶ added in v0.20230906.1160501
func (c UpdateSummariesClient) Put(ctx context.Context, id ClusterId, input UpdateSummaries) (result PutOperationResponse, err error)
Put ...
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"` HealthCheckDate *string `json:"healthCheckDate,omitempty"` HealthCheckResult *[]PrecheckResult `json:"healthCheckResult,omitempty"` HealthState *HealthState `json:"healthState,omitempty"` LastChecked *string `json:"lastChecked,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` OemFamily *string `json:"oemFamily,omitempty"` PackageVersions *[]PackageVersionInfo `json:"packageVersions,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` State *UpdateSummariesPropertiesState `json:"state,omitempty"` }
func (*UpdateSummariesProperties) GetHealthCheckDateAsTime ¶
func (o *UpdateSummariesProperties) GetHealthCheckDateAsTime() (*time.Time, error)
func (*UpdateSummariesProperties) GetLastCheckedAsTime ¶
func (o *UpdateSummariesProperties) GetLastCheckedAsTime() (*time.Time, error)
func (*UpdateSummariesProperties) GetLastUpdatedAsTime ¶
func (o *UpdateSummariesProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*UpdateSummariesProperties) SetHealthCheckDateAsTime ¶
func (o *UpdateSummariesProperties) SetHealthCheckDateAsTime(input time.Time)
func (*UpdateSummariesProperties) SetLastCheckedAsTime ¶
func (o *UpdateSummariesProperties) SetLastCheckedAsTime(input time.Time)
func (*UpdateSummariesProperties) SetLastUpdatedAsTime ¶
func (o *UpdateSummariesProperties) SetLastUpdatedAsTime(input time.Time)
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" )
func (*UpdateSummariesPropertiesState) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *UpdateSummariesPropertiesState) UnmarshalJSON(bytes []byte) error