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 PossibleValuesForDownloadPhase() []string + func PossibleValuesForJobStatus() []string + func PossibleValuesForJobType() []string + func PossibleValuesForUpdateOperationStage() []string + func ValidateJobID(input interface{}, key string) (warnings []string, errors []error) + type DownloadPhase string + const DownloadPhaseDownloading + const DownloadPhaseInitializing + const DownloadPhaseUnknown + const DownloadPhaseVerifying + func (s *DownloadPhase) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + type Job struct + EndTime *string + Error *JobErrorDetails + Id *string + Name *string + PercentComplete *int64 + Properties *JobProperties + StartTime *string + Status *JobStatus + Type *string + func (o *Job) GetEndTimeAsTime() (*time.Time, error) + func (o *Job) GetStartTimeAsTime() (*time.Time, error) + func (o *Job) SetEndTimeAsTime(input time.Time) + func (o *Job) SetStartTimeAsTime(input time.Time) + type JobErrorDetails struct + Code *string + ErrorDetails *[]JobErrorItem + Message *string + type JobErrorItem struct + Code *string + Message *string + Recommendations *[]string + type JobId struct + DataBoxEdgeDeviceName string + JobName string + ResourceGroupName string + SubscriptionId string + func NewJobID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, ...) JobId + func ParseJobID(input string) (*JobId, error) + func ParseJobIDInsensitively(input string) (*JobId, error) + func (id *JobId) FromParseResult(input resourceids.ParseResult) error + func (id JobId) ID() string + func (id JobId) Segments() []resourceids.Segment + func (id JobId) String() string + type JobProperties struct + CurrentStage *UpdateOperationStage + DownloadProgress *UpdateDownloadProgress + ErrorManifestFile *string + Folder *string + InstallProgress *UpdateInstallProgress + JobType *JobType + RefreshedEntityId *string + TotalRefreshErrors *int64 + type JobStatus string + const JobStatusCanceled + const JobStatusFailed + const JobStatusInvalid + const JobStatusPaused + const JobStatusRunning + const JobStatusScheduled + const JobStatusSucceeded + func (s *JobStatus) UnmarshalJSON(bytes []byte) error + type JobType string + const JobTypeBackup + const JobTypeDownloadUpdates + const JobTypeInstallUpdates + const JobTypeInvalid + const JobTypeRefreshContainer + const JobTypeRefreshShare + const JobTypeRestore + const JobTypeScanForUpdates + const JobTypeTriggerSupportPackage + func (s *JobType) UnmarshalJSON(bytes []byte) error + type JobsClient struct + Client *resourcemanager.Client + func NewJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobsClient, error) + func (c JobsClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error) + type UpdateDownloadProgress struct + DownloadPhase *DownloadPhase + NumberOfUpdatesDownloaded *int64 + NumberOfUpdatesToDownload *int64 + PercentComplete *int64 + TotalBytesDownloaded *float64 + TotalBytesToDownload *float64 + type UpdateInstallProgress struct + NumberOfUpdatesInstalled *int64 + NumberOfUpdatesToInstall *int64 + PercentComplete *int64 + type UpdateOperationStage string + const UpdateOperationStageDownloadComplete + const UpdateOperationStageDownloadFailed + const UpdateOperationStageDownloadStarted + const UpdateOperationStageFailure + const UpdateOperationStageInitial + const UpdateOperationStageInstallComplete + const UpdateOperationStageInstallFailed + const UpdateOperationStageInstallStarted + const UpdateOperationStageRebootInitiated + const UpdateOperationStageRescanComplete + const UpdateOperationStageRescanFailed + const UpdateOperationStageRescanStarted + const UpdateOperationStageScanComplete + const UpdateOperationStageScanFailed + const UpdateOperationStageScanStarted + const UpdateOperationStageSuccess + const UpdateOperationStageUnknown + func (s *UpdateOperationStage) UnmarshalJSON(bytes []byte) error