Documentation ¶
Index ¶
- func PossibleValuesForObjectType() []string
- func ValidateOperationProgressID(input interface{}, key string) (warnings []string, errors []error)
- type BackupAndExportResponseType
- type BaseOperationProgressResponseTypeImpl
- type ErrorAdditionalInfo
- type ErrorDetail
- type GetOperationResponse
- type ImportFromStorageResponseType
- type ObjectType
- type OperationProgressClient
- type OperationProgressId
- type OperationProgressResponseType
- type OperationProgressResult
- func (o *OperationProgressResult) GetEndTimeAsTime() (*time.Time, error)
- func (o *OperationProgressResult) GetStartTimeAsTime() (*time.Time, error)
- func (o *OperationProgressResult) SetEndTimeAsTime(input time.Time)
- func (o *OperationProgressResult) SetStartTimeAsTime(input time.Time)
- func (s *OperationProgressResult) UnmarshalJSON(bytes []byte) error
- type OperationStatusResult
- type RawOperationProgressResponseTypeImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForObjectType ¶
func PossibleValuesForObjectType() []string
func ValidateOperationProgressID ¶
ValidateOperationProgressID checks that 'input' can be parsed as a Operation Progress ID
Types ¶
type BackupAndExportResponseType ¶ added in v0.20241009.1142232
type BackupAndExportResponseType struct { BackupMetadata *string `json:"backupMetadata,omitempty"` DataTransferredInBytes *int64 `json:"dataTransferredInBytes,omitempty"` DatasourceSizeInBytes *int64 `json:"datasourceSizeInBytes,omitempty"` ObjectType ObjectType `json:"objectType"` }
func (BackupAndExportResponseType) MarshalJSON ¶ added in v0.20241009.1142232
func (s BackupAndExportResponseType) MarshalJSON() ([]byte, error)
func (BackupAndExportResponseType) OperationProgressResponseType ¶ added in v0.20241009.1142232
func (s BackupAndExportResponseType) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl
type BaseOperationProgressResponseTypeImpl ¶ added in v0.20241009.1142232
type BaseOperationProgressResponseTypeImpl struct {
ObjectType ObjectType `json:"objectType"`
}
func (BaseOperationProgressResponseTypeImpl) OperationProgressResponseType ¶ added in v0.20241009.1142232
func (s BaseOperationProgressResponseTypeImpl) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OperationProgressResult }
type ImportFromStorageResponseType ¶ added in v0.20241009.1142232
type ImportFromStorageResponseType struct { EstimatedCompletionTime *string `json:"estimatedCompletionTime,omitempty"` ObjectType ObjectType `json:"objectType"` }
func (ImportFromStorageResponseType) MarshalJSON ¶ added in v0.20241009.1142232
func (s ImportFromStorageResponseType) MarshalJSON() ([]byte, error)
func (ImportFromStorageResponseType) OperationProgressResponseType ¶ added in v0.20241009.1142232
func (s ImportFromStorageResponseType) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl
type ObjectType ¶
type ObjectType string
const ( ObjectTypeBackupAndExportResponse ObjectType = "BackupAndExportResponse" ObjectTypeImportFromStorageResponse ObjectType = "ImportFromStorageResponse" )
func (*ObjectType) UnmarshalJSON ¶
func (s *ObjectType) UnmarshalJSON(bytes []byte) error
type OperationProgressClient ¶
type OperationProgressClient struct {
Client *resourcemanager.Client
}
func NewOperationProgressClientWithBaseURI ¶
func NewOperationProgressClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationProgressClient, error)
func (OperationProgressClient) Get ¶
func (c OperationProgressClient) Get(ctx context.Context, id OperationProgressId) (result GetOperationResponse, err error)
Get ...
type OperationProgressId ¶
OperationProgressId is a struct representing the Resource ID for a Operation Progress
func NewOperationProgressID ¶
func NewOperationProgressID(subscriptionId string, locationName string, operationId string) OperationProgressId
NewOperationProgressID returns a new OperationProgressId struct
func ParseOperationProgressID ¶
func ParseOperationProgressID(input string) (*OperationProgressId, error)
ParseOperationProgressID parses 'input' into a OperationProgressId
func ParseOperationProgressIDInsensitively ¶
func ParseOperationProgressIDInsensitively(input string) (*OperationProgressId, error)
ParseOperationProgressIDInsensitively parses 'input' case-insensitively into a OperationProgressId note: this method should only be used for API response data and not user input
func (*OperationProgressId) FromParseResult ¶
func (id *OperationProgressId) FromParseResult(input resourceids.ParseResult) error
func (OperationProgressId) ID ¶
func (id OperationProgressId) ID() string
ID returns the formatted Operation Progress ID
func (OperationProgressId) Segments ¶
func (id OperationProgressId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation Progress ID
func (OperationProgressId) String ¶
func (id OperationProgressId) String() string
String returns a human-readable description of this Operation Progress ID
type OperationProgressResponseType ¶
type OperationProgressResponseType interface {
OperationProgressResponseType() BaseOperationProgressResponseTypeImpl
}
func UnmarshalOperationProgressResponseTypeImplementation ¶ added in v0.20241009.1142232
func UnmarshalOperationProgressResponseTypeImplementation(input []byte) (OperationProgressResponseType, error)
type OperationProgressResult ¶
type OperationProgressResult struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Operations *[]OperationStatusResult `json:"operations,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` Properties OperationProgressResponseType `json:"properties"` ResourceId *string `json:"resourceId,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*OperationProgressResult) GetEndTimeAsTime ¶
func (o *OperationProgressResult) GetEndTimeAsTime() (*time.Time, error)
func (*OperationProgressResult) GetStartTimeAsTime ¶
func (o *OperationProgressResult) GetStartTimeAsTime() (*time.Time, error)
func (*OperationProgressResult) SetEndTimeAsTime ¶
func (o *OperationProgressResult) SetEndTimeAsTime(input time.Time)
func (*OperationProgressResult) SetStartTimeAsTime ¶
func (o *OperationProgressResult) SetStartTimeAsTime(input time.Time)
func (*OperationProgressResult) UnmarshalJSON ¶ added in v0.20241009.1142232
func (s *OperationProgressResult) UnmarshalJSON(bytes []byte) error
type OperationStatusResult ¶
type OperationStatusResult struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Operations *[]OperationStatusResult `json:"operations,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` ResourceId *string `json:"resourceId,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*OperationStatusResult) GetEndTimeAsTime ¶
func (o *OperationStatusResult) GetEndTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) GetStartTimeAsTime ¶
func (o *OperationStatusResult) GetStartTimeAsTime() (*time.Time, error)
func (*OperationStatusResult) SetEndTimeAsTime ¶
func (o *OperationStatusResult) SetEndTimeAsTime(input time.Time)
func (*OperationStatusResult) SetStartTimeAsTime ¶
func (o *OperationStatusResult) SetStartTimeAsTime(input time.Time)
type RawOperationProgressResponseTypeImpl ¶ added in v0.20241009.1142232
type RawOperationProgressResponseTypeImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawOperationProgressResponseTypeImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawOperationProgressResponseTypeImpl) OperationProgressResponseType ¶ added in v0.20241009.1142232
func (s RawOperationProgressResponseTypeImpl) OperationProgressResponseType() BaseOperationProgressResponseTypeImpl
Source Files ¶
- client.go
- constants.go
- id_operationprogress.go
- method_get.go
- model_backupandexportresponsetype.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_importfromstorageresponsetype.go
- model_operationprogressresponsetype.go
- model_operationprogressresult.go
- model_operationstatusresult.go
- version.go