backupjobs

package
v0.20230717.1131407 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-02-01/backupjobs Documentation

The backupjobs SDK allows for interaction with the Azure Resource Manager Service recoveryservicesbackup (API Version 2023-02-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-02-01/backupjobs"

Client Initialization

client := backupjobs.NewBackupJobsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BackupJobsClient.List

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

// alternatively `client.List(ctx, id, backupjobs.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, backupjobs.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

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 ValidateVaultID

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

ValidateVaultID checks that 'input' can be parsed as a Vault 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 BackupJobsClient

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

func NewBackupJobsClientWithBaseURI

func NewBackupJobsClientWithBaseURI(endpoint string) BackupJobsClient

func (BackupJobsClient) List

List ...

func (BackupJobsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (BackupJobsClient) ListCompleteMatchingPredicate

func (c BackupJobsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate JobResourceOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

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 Job

type Job interface {
}

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 JobResourceOperationPredicate

type JobResourceOperationPredicate struct {
	ETag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (JobResourceOperationPredicate) Matches

type JobSupportedAction

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

type ListCompleteResult

type ListCompleteResult struct {
	Items []JobResource
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]JobResource
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

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 VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId

NewVaultID returns a new VaultId struct

func ParseVaultID

func ParseVaultID(input string) (*VaultId, error)

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

func ParseVaultIDInsensitively(input string) (*VaultId, error)

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

func (VaultId) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Vault ID

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

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