Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForRollingUpgradeActionType() []string + func PossibleValuesForRollingUpgradeStatusCode() []string + func ValidateVirtualMachineScaleSetID(input interface{}, key string) (warnings []string, errors []error) + type ApiError struct + Code *string + Details *[]ApiErrorBase + Innererror *InnerError + Message *string + Target *string + type ApiErrorBase struct + Code *string + Message *string + Target *string + type CancelOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetLatestOperationResponse struct + HttpResponse *http.Response + Model *RollingUpgradeStatusInfo + OData *odata.OData + type InnerError struct + Errordetail *string + Exceptiontype *string + type RollingUpgradeActionType string + const RollingUpgradeActionTypeCancel + const RollingUpgradeActionTypeStart + func (s *RollingUpgradeActionType) UnmarshalJSON(bytes []byte) error + type RollingUpgradePolicy struct + EnableCrossZoneUpgrade *bool + MaxBatchInstancePercent *int64 + MaxSurge *bool + MaxUnhealthyInstancePercent *int64 + MaxUnhealthyUpgradedInstancePercent *int64 + PauseTimeBetweenBatches *string + PrioritizeUnhealthyInstances *bool + RollbackFailedInstancesOnPolicyBreach *bool + type RollingUpgradeProgressInfo struct + FailedInstanceCount *int64 + InProgressInstanceCount *int64 + PendingInstanceCount *int64 + SuccessfulInstanceCount *int64 + type RollingUpgradeRunningStatus struct + Code *RollingUpgradeStatusCode + LastAction *RollingUpgradeActionType + LastActionTime *string + StartTime *string + func (o *RollingUpgradeRunningStatus) GetLastActionTimeAsTime() (*time.Time, error) + func (o *RollingUpgradeRunningStatus) GetStartTimeAsTime() (*time.Time, error) + func (o *RollingUpgradeRunningStatus) SetLastActionTimeAsTime(input time.Time) + func (o *RollingUpgradeRunningStatus) SetStartTimeAsTime(input time.Time) + type RollingUpgradeStatusCode string + const RollingUpgradeStatusCodeCancelled + const RollingUpgradeStatusCodeCompleted + const RollingUpgradeStatusCodeFaulted + const RollingUpgradeStatusCodeRollingForward + func (s *RollingUpgradeStatusCode) UnmarshalJSON(bytes []byte) error + type RollingUpgradeStatusInfo struct + Id *string + Location string + Name *string + Properties *RollingUpgradeStatusInfoProperties + Tags *map[string]string + Type *string + type RollingUpgradeStatusInfoProperties struct + Error *ApiError + Policy *RollingUpgradePolicy + Progress *RollingUpgradeProgressInfo + RunningStatus *RollingUpgradeRunningStatus + type StartExtensionUpgradeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type StartOSUpgradeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type VirtualMachineScaleSetId struct + ResourceGroupName string + SubscriptionId string + VirtualMachineScaleSetName string + func NewVirtualMachineScaleSetID(subscriptionId string, resourceGroupName string, ...) VirtualMachineScaleSetId + func ParseVirtualMachineScaleSetID(input string) (*VirtualMachineScaleSetId, error) + func ParseVirtualMachineScaleSetIDInsensitively(input string) (*VirtualMachineScaleSetId, error) + func (id *VirtualMachineScaleSetId) FromParseResult(input resourceids.ParseResult) error + func (id VirtualMachineScaleSetId) ID() string + func (id VirtualMachineScaleSetId) Segments() []resourceids.Segment + func (id VirtualMachineScaleSetId) String() string + type VirtualMachineScaleSetRollingUpgradesClient struct + Client *resourcemanager.Client + func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineScaleSetRollingUpgradesClient, error) + func (c VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, id VirtualMachineScaleSetId) (result CancelOperationResponse, err error) + func (c VirtualMachineScaleSetRollingUpgradesClient) CancelThenPoll(ctx context.Context, id VirtualMachineScaleSetId) error + func (c VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.Context, id VirtualMachineScaleSetId) (result GetLatestOperationResponse, err error) + func (c VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade(ctx context.Context, id VirtualMachineScaleSetId) (result StartExtensionUpgradeOperationResponse, err error) + func (c VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeThenPoll(ctx context.Context, id VirtualMachineScaleSetId) error + func (c VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, id VirtualMachineScaleSetId) (result StartOSUpgradeOperationResponse, err error) + func (c VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeThenPoll(ctx context.Context, id VirtualMachineScaleSetId) error