jobdetails

package
v0.20240327.1081628 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-06-01/jobdetails Documentation

The jobdetails SDK allows for interaction with the Azure Resource Manager Service recoveryservicesbackup (API Version 2023-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-06-01/jobdetails"

Client Initialization

client := jobdetails.NewJobDetailsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: JobDetailsClient.Get

ctx := context.TODO()
id := jobdetails.NewBackupJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupJobValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForBackupManagementType

func PossibleValuesForBackupManagementType() []string

func PossibleValuesForJobSupportedAction

func PossibleValuesForJobSupportedAction() []string

func PossibleValuesForMabServerType

func PossibleValuesForMabServerType() []string

func PossibleValuesForWorkloadType

func PossibleValuesForWorkloadType() []string

func ValidateBackupJobID

func ValidateBackupJobID(input interface{}, key string) (warnings []string, errors []error)

ValidateBackupJobID checks that 'input' can be parsed as a Backup Job ID

Types

type AzureIaaSVMErrorInfo

type AzureIaaSVMErrorInfo struct {
	ErrorCode       *int64    `json:"errorCode,omitempty"`
	ErrorString     *string   `json:"errorString,omitempty"`
	ErrorTitle      *string   `json:"errorTitle,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type AzureIaaSVMJob

type AzureIaaSVMJob struct {
	ActionsInfo           *[]JobSupportedAction       `json:"actionsInfo,omitempty"`
	ContainerName         *string                     `json:"containerName,omitempty"`
	Duration              *string                     `json:"duration,omitempty"`
	ErrorDetails          *[]AzureIaaSVMErrorInfo     `json:"errorDetails,omitempty"`
	ExtendedInfo          *AzureIaaSVMJobExtendedInfo `json:"extendedInfo,omitempty"`
	IsUserTriggered       *bool                       `json:"isUserTriggered,omitempty"`
	VirtualMachineVersion *string                     `json:"virtualMachineVersion,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*AzureIaaSVMJob) GetEndTimeAsTime

func (o *AzureIaaSVMJob) GetEndTimeAsTime() (*time.Time, error)

func (*AzureIaaSVMJob) GetStartTimeAsTime

func (o *AzureIaaSVMJob) GetStartTimeAsTime() (*time.Time, error)

func (AzureIaaSVMJob) MarshalJSON

func (s AzureIaaSVMJob) MarshalJSON() ([]byte, error)

func (*AzureIaaSVMJob) SetEndTimeAsTime

func (o *AzureIaaSVMJob) SetEndTimeAsTime(input time.Time)

func (*AzureIaaSVMJob) SetStartTimeAsTime

func (o *AzureIaaSVMJob) SetStartTimeAsTime(input time.Time)

type AzureIaaSVMJobExtendedInfo

type AzureIaaSVMJobExtendedInfo struct {
	DynamicErrorMessage        *string                      `json:"dynamicErrorMessage,omitempty"`
	EstimatedRemainingDuration *string                      `json:"estimatedRemainingDuration,omitempty"`
	InternalPropertyBag        *map[string]string           `json:"internalPropertyBag,omitempty"`
	ProgressPercentage         *float64                     `json:"progressPercentage,omitempty"`
	PropertyBag                *map[string]string           `json:"propertyBag,omitempty"`
	TasksList                  *[]AzureIaaSVMJobTaskDetails `json:"tasksList,omitempty"`
}

type AzureIaaSVMJobTaskDetails

type AzureIaaSVMJobTaskDetails struct {
	Duration             *string  `json:"duration,omitempty"`
	EndTime              *string  `json:"endTime,omitempty"`
	InstanceId           *string  `json:"instanceId,omitempty"`
	ProgressPercentage   *float64 `json:"progressPercentage,omitempty"`
	StartTime            *string  `json:"startTime,omitempty"`
	Status               *string  `json:"status,omitempty"`
	TaskExecutionDetails *string  `json:"taskExecutionDetails,omitempty"`
	TaskId               *string  `json:"taskId,omitempty"`
}

func (*AzureIaaSVMJobTaskDetails) GetEndTimeAsTime

func (o *AzureIaaSVMJobTaskDetails) GetEndTimeAsTime() (*time.Time, error)

func (*AzureIaaSVMJobTaskDetails) GetStartTimeAsTime

func (o *AzureIaaSVMJobTaskDetails) GetStartTimeAsTime() (*time.Time, error)

func (*AzureIaaSVMJobTaskDetails) SetEndTimeAsTime

func (o *AzureIaaSVMJobTaskDetails) SetEndTimeAsTime(input time.Time)

func (*AzureIaaSVMJobTaskDetails) SetStartTimeAsTime

func (o *AzureIaaSVMJobTaskDetails) SetStartTimeAsTime(input time.Time)

type AzureIaaSVMJobV2

type AzureIaaSVMJobV2 struct {
	ActionsInfo           *[]JobSupportedAction       `json:"actionsInfo,omitempty"`
	ContainerName         *string                     `json:"containerName,omitempty"`
	Duration              *string                     `json:"duration,omitempty"`
	ErrorDetails          *[]AzureIaaSVMErrorInfo     `json:"errorDetails,omitempty"`
	ExtendedInfo          *AzureIaaSVMJobExtendedInfo `json:"extendedInfo,omitempty"`
	VirtualMachineVersion *string                     `json:"virtualMachineVersion,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*AzureIaaSVMJobV2) GetEndTimeAsTime

func (o *AzureIaaSVMJobV2) GetEndTimeAsTime() (*time.Time, error)

func (*AzureIaaSVMJobV2) GetStartTimeAsTime

func (o *AzureIaaSVMJobV2) GetStartTimeAsTime() (*time.Time, error)

func (AzureIaaSVMJobV2) MarshalJSON

func (s AzureIaaSVMJobV2) MarshalJSON() ([]byte, error)

func (*AzureIaaSVMJobV2) SetEndTimeAsTime

func (o *AzureIaaSVMJobV2) SetEndTimeAsTime(input time.Time)

func (*AzureIaaSVMJobV2) SetStartTimeAsTime

func (o *AzureIaaSVMJobV2) SetStartTimeAsTime(input time.Time)

type AzureStorageErrorInfo

type AzureStorageErrorInfo struct {
	ErrorCode       *int64    `json:"errorCode,omitempty"`
	ErrorString     *string   `json:"errorString,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type AzureStorageJob

type AzureStorageJob struct {
	ActionsInfo           *[]JobSupportedAction        `json:"actionsInfo,omitempty"`
	Duration              *string                      `json:"duration,omitempty"`
	ErrorDetails          *[]AzureStorageErrorInfo     `json:"errorDetails,omitempty"`
	ExtendedInfo          *AzureStorageJobExtendedInfo `json:"extendedInfo,omitempty"`
	IsUserTriggered       *bool                        `json:"isUserTriggered,omitempty"`
	StorageAccountName    *string                      `json:"storageAccountName,omitempty"`
	StorageAccountVersion *string                      `json:"storageAccountVersion,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*AzureStorageJob) GetEndTimeAsTime

func (o *AzureStorageJob) GetEndTimeAsTime() (*time.Time, error)

func (*AzureStorageJob) GetStartTimeAsTime

func (o *AzureStorageJob) GetStartTimeAsTime() (*time.Time, error)

func (AzureStorageJob) MarshalJSON

func (s AzureStorageJob) MarshalJSON() ([]byte, error)

func (*AzureStorageJob) SetEndTimeAsTime

func (o *AzureStorageJob) SetEndTimeAsTime(input time.Time)

func (*AzureStorageJob) SetStartTimeAsTime

func (o *AzureStorageJob) SetStartTimeAsTime(input time.Time)

type AzureStorageJobExtendedInfo

type AzureStorageJobExtendedInfo struct {
	DynamicErrorMessage *string                       `json:"dynamicErrorMessage,omitempty"`
	PropertyBag         *map[string]string            `json:"propertyBag,omitempty"`
	TasksList           *[]AzureStorageJobTaskDetails `json:"tasksList,omitempty"`
}

type AzureStorageJobTaskDetails

type AzureStorageJobTaskDetails struct {
	Status *string `json:"status,omitempty"`
	TaskId *string `json:"taskId,omitempty"`
}

type AzureWorkloadErrorInfo

type AzureWorkloadErrorInfo struct {
	AdditionalDetails *string   `json:"additionalDetails,omitempty"`
	ErrorCode         *int64    `json:"errorCode,omitempty"`
	ErrorString       *string   `json:"errorString,omitempty"`
	ErrorTitle        *string   `json:"errorTitle,omitempty"`
	Recommendations   *[]string `json:"recommendations,omitempty"`
}

type AzureWorkloadJob

type AzureWorkloadJob struct {
	ActionsInfo  *[]JobSupportedAction         `json:"actionsInfo,omitempty"`
	Duration     *string                       `json:"duration,omitempty"`
	ErrorDetails *[]AzureWorkloadErrorInfo     `json:"errorDetails,omitempty"`
	ExtendedInfo *AzureWorkloadJobExtendedInfo `json:"extendedInfo,omitempty"`
	WorkloadType *string                       `json:"workloadType,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*AzureWorkloadJob) GetEndTimeAsTime

func (o *AzureWorkloadJob) GetEndTimeAsTime() (*time.Time, error)

func (*AzureWorkloadJob) GetStartTimeAsTime

func (o *AzureWorkloadJob) GetStartTimeAsTime() (*time.Time, error)

func (AzureWorkloadJob) MarshalJSON

func (s AzureWorkloadJob) MarshalJSON() ([]byte, error)

func (*AzureWorkloadJob) SetEndTimeAsTime

func (o *AzureWorkloadJob) SetEndTimeAsTime(input time.Time)

func (*AzureWorkloadJob) SetStartTimeAsTime

func (o *AzureWorkloadJob) SetStartTimeAsTime(input time.Time)

type AzureWorkloadJobExtendedInfo

type AzureWorkloadJobExtendedInfo struct {
	DynamicErrorMessage *string                        `json:"dynamicErrorMessage,omitempty"`
	PropertyBag         *map[string]string             `json:"propertyBag,omitempty"`
	TasksList           *[]AzureWorkloadJobTaskDetails `json:"tasksList,omitempty"`
}

type AzureWorkloadJobTaskDetails

type AzureWorkloadJobTaskDetails struct {
	Status *string `json:"status,omitempty"`
	TaskId *string `json:"taskId,omitempty"`
}

type BackupJobId

type BackupJobId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
	BackupJobName     string
}

BackupJobId is a struct representing the Resource ID for a Backup Job

func NewBackupJobID

func NewBackupJobID(subscriptionId string, resourceGroupName string, vaultName string, backupJobName string) BackupJobId

NewBackupJobID returns a new BackupJobId struct

func ParseBackupJobID

func ParseBackupJobID(input string) (*BackupJobId, error)

ParseBackupJobID parses 'input' into a BackupJobId

func ParseBackupJobIDInsensitively

func ParseBackupJobIDInsensitively(input string) (*BackupJobId, error)

ParseBackupJobIDInsensitively parses 'input' case-insensitively into a BackupJobId note: this method should only be used for API response data and not user input

func (*BackupJobId) FromParseResult

func (id *BackupJobId) FromParseResult(input resourceids.ParseResult) error

func (BackupJobId) ID

func (id BackupJobId) ID() string

ID returns the formatted Backup Job ID

func (BackupJobId) Segments

func (id BackupJobId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Backup Job ID

func (BackupJobId) String

func (id BackupJobId) String() string

String returns a human-readable description of this Backup Job ID

type BackupManagementType

type BackupManagementType string
const (
	BackupManagementTypeAzureBackupServer BackupManagementType = "AzureBackupServer"
	BackupManagementTypeAzureIaasVM       BackupManagementType = "AzureIaasVM"
	BackupManagementTypeAzureSql          BackupManagementType = "AzureSql"
	BackupManagementTypeAzureStorage      BackupManagementType = "AzureStorage"
	BackupManagementTypeAzureWorkload     BackupManagementType = "AzureWorkload"
	BackupManagementTypeDPM               BackupManagementType = "DPM"
	BackupManagementTypeDefaultBackup     BackupManagementType = "DefaultBackup"
	BackupManagementTypeInvalid           BackupManagementType = "Invalid"
	BackupManagementTypeMAB               BackupManagementType = "MAB"
)

type DpmErrorInfo

type DpmErrorInfo struct {
	ErrorString     *string   `json:"errorString,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type DpmJob

type DpmJob struct {
	ActionsInfo   *[]JobSupportedAction `json:"actionsInfo,omitempty"`
	ContainerName *string               `json:"containerName,omitempty"`
	ContainerType *string               `json:"containerType,omitempty"`
	DpmServerName *string               `json:"dpmServerName,omitempty"`
	Duration      *string               `json:"duration,omitempty"`
	ErrorDetails  *[]DpmErrorInfo       `json:"errorDetails,omitempty"`
	ExtendedInfo  *DpmJobExtendedInfo   `json:"extendedInfo,omitempty"`
	WorkloadType  *string               `json:"workloadType,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*DpmJob) GetEndTimeAsTime

func (o *DpmJob) GetEndTimeAsTime() (*time.Time, error)

func (*DpmJob) GetStartTimeAsTime

func (o *DpmJob) GetStartTimeAsTime() (*time.Time, error)

func (DpmJob) MarshalJSON

func (s DpmJob) MarshalJSON() ([]byte, error)

func (*DpmJob) SetEndTimeAsTime

func (o *DpmJob) SetEndTimeAsTime(input time.Time)

func (*DpmJob) SetStartTimeAsTime

func (o *DpmJob) SetStartTimeAsTime(input time.Time)

type DpmJobExtendedInfo

type DpmJobExtendedInfo struct {
	DynamicErrorMessage *string              `json:"dynamicErrorMessage,omitempty"`
	PropertyBag         *map[string]string   `json:"propertyBag,omitempty"`
	TasksList           *[]DpmJobTaskDetails `json:"tasksList,omitempty"`
}

type DpmJobTaskDetails

type DpmJobTaskDetails struct {
	Duration  *string `json:"duration,omitempty"`
	EndTime   *string `json:"endTime,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
	Status    *string `json:"status,omitempty"`
	TaskId    *string `json:"taskId,omitempty"`
}

func (*DpmJobTaskDetails) GetEndTimeAsTime

func (o *DpmJobTaskDetails) GetEndTimeAsTime() (*time.Time, error)

func (*DpmJobTaskDetails) GetStartTimeAsTime

func (o *DpmJobTaskDetails) GetStartTimeAsTime() (*time.Time, error)

func (*DpmJobTaskDetails) SetEndTimeAsTime

func (o *DpmJobTaskDetails) SetEndTimeAsTime(input time.Time)

func (*DpmJobTaskDetails) SetStartTimeAsTime

func (o *DpmJobTaskDetails) SetStartTimeAsTime(input time.Time)

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *JobResource
}

type Job

type Job interface {
}

type JobDetailsClient

type JobDetailsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewJobDetailsClientWithBaseURI

func NewJobDetailsClientWithBaseURI(endpoint string) JobDetailsClient

func (JobDetailsClient) Get

Get ...

type JobResource

type JobResource struct {
	ETag       *string            `json:"eTag,omitempty"`
	Id         *string            `json:"id,omitempty"`
	Location   *string            `json:"location,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Properties Job                `json:"properties"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

func (*JobResource) UnmarshalJSON

func (s *JobResource) UnmarshalJSON(bytes []byte) error

type JobSupportedAction

type JobSupportedAction string
const (
	JobSupportedActionCancellable JobSupportedAction = "Cancellable"
	JobSupportedActionInvalid     JobSupportedAction = "Invalid"
	JobSupportedActionRetriable   JobSupportedAction = "Retriable"
)

type MabErrorInfo

type MabErrorInfo struct {
	ErrorString     *string   `json:"errorString,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type MabJob

type MabJob struct {
	ActionsInfo   *[]JobSupportedAction `json:"actionsInfo,omitempty"`
	Duration      *string               `json:"duration,omitempty"`
	ErrorDetails  *[]MabErrorInfo       `json:"errorDetails,omitempty"`
	ExtendedInfo  *MabJobExtendedInfo   `json:"extendedInfo,omitempty"`
	MabServerName *string               `json:"mabServerName,omitempty"`
	MabServerType *MabServerType        `json:"mabServerType,omitempty"`
	WorkloadType  *WorkloadType         `json:"workloadType,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*MabJob) GetEndTimeAsTime

func (o *MabJob) GetEndTimeAsTime() (*time.Time, error)

func (*MabJob) GetStartTimeAsTime

func (o *MabJob) GetStartTimeAsTime() (*time.Time, error)

func (MabJob) MarshalJSON

func (s MabJob) MarshalJSON() ([]byte, error)

func (*MabJob) SetEndTimeAsTime

func (o *MabJob) SetEndTimeAsTime(input time.Time)

func (*MabJob) SetStartTimeAsTime

func (o *MabJob) SetStartTimeAsTime(input time.Time)

type MabJobExtendedInfo

type MabJobExtendedInfo struct {
	DynamicErrorMessage *string              `json:"dynamicErrorMessage,omitempty"`
	PropertyBag         *map[string]string   `json:"propertyBag,omitempty"`
	TasksList           *[]MabJobTaskDetails `json:"tasksList,omitempty"`
}

type MabJobTaskDetails

type MabJobTaskDetails struct {
	Duration  *string `json:"duration,omitempty"`
	EndTime   *string `json:"endTime,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
	Status    *string `json:"status,omitempty"`
	TaskId    *string `json:"taskId,omitempty"`
}

func (*MabJobTaskDetails) GetEndTimeAsTime

func (o *MabJobTaskDetails) GetEndTimeAsTime() (*time.Time, error)

func (*MabJobTaskDetails) GetStartTimeAsTime

func (o *MabJobTaskDetails) GetStartTimeAsTime() (*time.Time, error)

func (*MabJobTaskDetails) SetEndTimeAsTime

func (o *MabJobTaskDetails) SetEndTimeAsTime(input time.Time)

func (*MabJobTaskDetails) SetStartTimeAsTime

func (o *MabJobTaskDetails) SetStartTimeAsTime(input time.Time)

type MabServerType

type MabServerType string
const (
	MabServerTypeAzureBackupServerContainer MabServerType = "AzureBackupServerContainer"
	MabServerTypeAzureSqlContainer          MabServerType = "AzureSqlContainer"
	MabServerTypeCluster                    MabServerType = "Cluster"
	MabServerTypeDPMContainer               MabServerType = "DPMContainer"
	MabServerTypeGenericContainer           MabServerType = "GenericContainer"
	MabServerTypeIaasVMContainer            MabServerType = "IaasVMContainer"
	MabServerTypeIaasVMServiceContainer     MabServerType = "IaasVMServiceContainer"
	MabServerTypeInvalid                    MabServerType = "Invalid"
	MabServerTypeMABContainer               MabServerType = "MABContainer"
	MabServerTypeSQLAGWorkLoadContainer     MabServerType = "SQLAGWorkLoadContainer"
	MabServerTypeStorageContainer           MabServerType = "StorageContainer"
	MabServerTypeUnknown                    MabServerType = "Unknown"
	MabServerTypeVCenter                    MabServerType = "VCenter"
	MabServerTypeVMAppContainer             MabServerType = "VMAppContainer"
	MabServerTypeWindows                    MabServerType = "Windows"
)

type RawJobImpl

type RawJobImpl struct {
	Type   string
	Values map[string]interface{}
}

RawJobImpl 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).

type VaultJob

type VaultJob struct {
	ActionsInfo  *[]JobSupportedAction `json:"actionsInfo,omitempty"`
	Duration     *string               `json:"duration,omitempty"`
	ErrorDetails *[]VaultJobErrorInfo  `json:"errorDetails,omitempty"`
	ExtendedInfo *VaultJobExtendedInfo `json:"extendedInfo,omitempty"`

	// Fields inherited from Job
	ActivityId           *string               `json:"activityId,omitempty"`
	BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"`
	EndTime              *string               `json:"endTime,omitempty"`
	EntityFriendlyName   *string               `json:"entityFriendlyName,omitempty"`
	Operation            *string               `json:"operation,omitempty"`
	StartTime            *string               `json:"startTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

func (*VaultJob) GetEndTimeAsTime

func (o *VaultJob) GetEndTimeAsTime() (*time.Time, error)

func (*VaultJob) GetStartTimeAsTime

func (o *VaultJob) GetStartTimeAsTime() (*time.Time, error)

func (VaultJob) MarshalJSON

func (s VaultJob) MarshalJSON() ([]byte, error)

func (*VaultJob) SetEndTimeAsTime

func (o *VaultJob) SetEndTimeAsTime(input time.Time)

func (*VaultJob) SetStartTimeAsTime

func (o *VaultJob) SetStartTimeAsTime(input time.Time)

type VaultJobErrorInfo

type VaultJobErrorInfo struct {
	ErrorCode       *int64    `json:"errorCode,omitempty"`
	ErrorString     *string   `json:"errorString,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

type VaultJobExtendedInfo

type VaultJobExtendedInfo struct {
	PropertyBag *map[string]string `json:"propertyBag,omitempty"`
}

type WorkloadType

type WorkloadType string
const (
	WorkloadTypeAzureFileShare    WorkloadType = "AzureFileShare"
	WorkloadTypeAzureSqlDb        WorkloadType = "AzureSqlDb"
	WorkloadTypeClient            WorkloadType = "Client"
	WorkloadTypeExchange          WorkloadType = "Exchange"
	WorkloadTypeFileFolder        WorkloadType = "FileFolder"
	WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
	WorkloadTypeInvalid           WorkloadType = "Invalid"
	WorkloadTypeSAPAseDatabase    WorkloadType = "SAPAseDatabase"
	WorkloadTypeSAPHanaDBInstance WorkloadType = "SAPHanaDBInstance"
	WorkloadTypeSAPHanaDatabase   WorkloadType = "SAPHanaDatabase"
	WorkloadTypeSQLDB             WorkloadType = "SQLDB"
	WorkloadTypeSQLDataBase       WorkloadType = "SQLDataBase"
	WorkloadTypeSharepoint        WorkloadType = "Sharepoint"
	WorkloadTypeSystemState       WorkloadType = "SystemState"
	WorkloadTypeVM                WorkloadType = "VM"
	WorkloadTypeVMwareVM          WorkloadType = "VMwareVM"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL