Documentation ¶
Index ¶
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForDataSourceType() []string
- func PossibleValuesForHealthStatus() []string
- func PossibleValuesForLastBackupStatus() []string
- func PossibleValuesForProtectedItemHealthStatus() []string
- func PossibleValuesForProtectedItemState() []string
- func PossibleValuesForProtectionState() []string
- func PossibleValuesForResourceHealthStatus() []string
- func ValidateProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileshareProtectedItem
- func (o *AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureFileshareProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureFileshareProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureFileshareProtectedItemExtendedInfo
- func (o *AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- func (o *AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime(input time.Time)
- type AzureIaaSClassicComputeVMProtectedItem
- func (o *AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSComputeVMProtectedItem
- func (o *AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSVMProtectedItem
- func (o *AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSVMProtectedItemExtendedInfo
- type AzureSqlProtectedItem
- func (o *AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureSqlProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureSqlProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureSqlProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureSqlProtectedItemExtendedInfo
- type AzureVMWorkloadProtectedItem
- func (o *AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadProtectedItemExtendedInfo
- type AzureVMWorkloadSAPAseDatabaseProtectedItem
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadSAPHanaDatabaseProtectedItem
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadSQLDatabaseProtectedItem
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type BackupManagementType
- type CreateMode
- type CreateOrUpdateOperationResponse
- type DPMProtectedItem
- func (o *DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *DPMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s DPMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *DPMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type DPMProtectedItemExtendedInfo
- func (o *DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime(input time.Time)
- type DataSourceType
- type DeleteOperationResponse
- type DiskExclusionProperties
- type ErrorDetail
- type ExtendedProperties
- type GenericProtectedItem
- func (o *GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *GenericProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s GenericProtectedItem) MarshalJSON() ([]byte, error)
- func (o *GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *GenericProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type GetOperationOptions
- type GetOperationResponse
- type HealthStatus
- type KPIResourceHealthDetails
- type LastBackupStatus
- type MabFileFolderProtectedItem
- func (o *MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
- func (o *MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *MabFileFolderProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type MabFileFolderProtectedItemExtendedInfo
- func (o *MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
- func (o *MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- type ProtectedItem
- type ProtectedItemHealthStatus
- type ProtectedItemId
- type ProtectedItemResource
- type ProtectedItemState
- type ProtectedItemsClient
- func (c ProtectedItemsClient) CreateOrUpdate(ctx context.Context, id ProtectedItemId, input ProtectedItemResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ProtectedItemsClient) Delete(ctx context.Context, id ProtectedItemId) (result DeleteOperationResponse, err error)
- func (c ProtectedItemsClient) Get(ctx context.Context, id ProtectedItemId, options GetOperationOptions) (result GetOperationResponse, err error)
- type ProtectionState
- type ResourceHealthDetails
- type ResourceHealthStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupManagementType ¶
func PossibleValuesForBackupManagementType() []string
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForDataSourceType ¶
func PossibleValuesForDataSourceType() []string
func PossibleValuesForHealthStatus ¶
func PossibleValuesForHealthStatus() []string
func PossibleValuesForLastBackupStatus ¶
func PossibleValuesForLastBackupStatus() []string
func PossibleValuesForProtectedItemHealthStatus ¶
func PossibleValuesForProtectedItemHealthStatus() []string
func PossibleValuesForProtectedItemState ¶
func PossibleValuesForProtectedItemState() []string
func PossibleValuesForProtectionState ¶
func PossibleValuesForProtectionState() []string
func PossibleValuesForResourceHealthStatus ¶
func PossibleValuesForResourceHealthStatus() []string
func ValidateProtectedItemID ¶
ValidateProtectedItemID checks that 'input' can be parsed as a Protected Item ID
Types ¶
type AzureFileshareProtectedItem ¶
type AzureFileshareProtectedItem struct { // Fields inherited from ProtectedItem }
func (*AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureFileshareProtectedItem) MarshalJSON ¶
func (s AzureFileshareProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureFileshareProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureFileshareProtectedItemExtendedInfo ¶
type AzureFileshareProtectedItemExtendedInfo struct {}
func (*AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
func (*AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime(input time.Time)
type AzureIaaSClassicComputeVMProtectedItem ¶
type AzureIaaSClassicComputeVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSClassicComputeVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSComputeVMProtectedItem ¶
type AzureIaaSComputeVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSComputeVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSVMProtectedItem ¶
type AzureIaaSVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSVMProtectedItemExtendedInfo ¶
type AzureIaaSVMProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyInconsistent *bool `json:"policyInconsistent,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureSqlProtectedItem ¶
type AzureSqlProtectedItem struct { ExtendedInfo *AzureSqlProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectedItemState `json:"protectionState,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureSqlProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureSqlProtectedItem) MarshalJSON ¶
func (s AzureSqlProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureSqlProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureSqlProtectedItemExtendedInfo ¶
type AzureSqlProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyState *string `json:"policyState,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureSqlProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureSqlProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadProtectedItem ¶
type AzureVMWorkloadProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadProtectedItemExtendedInfo ¶
type AzureVMWorkloadProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyState *string `json:"policyState,omitempty"` RecoveryModel *string `json:"recoveryModel,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSAPAseDatabaseProtectedItem ¶
type AzureVMWorkloadSAPAseDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSAPHanaDatabaseProtectedItem ¶
type AzureVMWorkloadSAPHanaDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSQLDatabaseProtectedItem ¶
type AzureVMWorkloadSQLDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
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 CreateMode ¶
type CreateMode string
const ( CreateModeDefault CreateMode = "Default" CreateModeInvalid CreateMode = "Invalid" CreateModeRecover CreateMode = "Recover" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ProtectedItemResource }
type DPMProtectedItem ¶
type DPMProtectedItem struct { BackupEngineName *string `json:"backupEngineName,omitempty"` ExtendedInfo *DPMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState *ProtectedItemState `json:"protectionState,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*DPMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *DPMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (DPMProtectedItem) MarshalJSON ¶
func (s DPMProtectedItem) MarshalJSON() ([]byte, error)
func (*DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*DPMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *DPMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type DPMProtectedItemExtendedInfo ¶
type DPMProtectedItemExtendedInfo struct { DiskStorageUsedInBytes *string `json:"diskStorageUsedInBytes,omitempty"` IsCollocated *bool `json:"isCollocated,omitempty"` IsPresentOnCloud *bool `json:"isPresentOnCloud,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` OnPremiseLatestRecoveryPoint *string `json:"onPremiseLatestRecoveryPoint,omitempty"` OnPremiseOldestRecoveryPoint *string `json:"onPremiseOldestRecoveryPoint,omitempty"` OnPremiseRecoveryPointCount *int64 `json:"onPremiseRecoveryPointCount,omitempty"` ProtectableObjectLoadPath *map[string]string `json:"protectableObjectLoadPath,omitempty"` Protected *bool `json:"protected,omitempty"` ProtectionGroupName *string `json:"protectionGroupName,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` TotalDiskStorageSizeInBytes *string `json:"totalDiskStorageSizeInBytes,omitempty"` }
func (*DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime(input time.Time)
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAzureSqlDb DataSourceType = "AzureSqlDb" DataSourceTypeClient DataSourceType = "Client" DataSourceTypeExchange DataSourceType = "Exchange" DataSourceTypeFileFolder DataSourceType = "FileFolder" DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource" DataSourceTypeInvalid DataSourceType = "Invalid" DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase" DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase" DataSourceTypeSQLDB DataSourceType = "SQLDB" DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase" DataSourceTypeSystemState DataSourceType = "SystemState" DataSourceTypeVM DataSourceType = "VM" DataSourceTypeVMwareVM DataSourceType = "VMwareVM" )
type DeleteOperationResponse ¶
type DiskExclusionProperties ¶
type ErrorDetail ¶
type ExtendedProperties ¶
type ExtendedProperties struct { DiskExclusionProperties *DiskExclusionProperties `json:"diskExclusionProperties,omitempty"` LinuxVMApplicationName *string `json:"linuxVmApplicationName,omitempty"` }
type GenericProtectedItem ¶
type GenericProtectedItem struct { FabricName *string `json:"fabricName,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` PolicyState *string `json:"policyState,omitempty"` ProtectedItemId *int64 `json:"protectedItemId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` SourceAssociations *map[string]string `json:"sourceAssociations,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*GenericProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *GenericProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (GenericProtectedItem) MarshalJSON ¶
func (s GenericProtectedItem) MarshalJSON() ([]byte, error)
func (*GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*GenericProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *GenericProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type GetOperationOptions ¶
type GetOperationOptions struct {
Filter *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProtectedItemResource }
type HealthStatus ¶
type HealthStatus string
const ( HealthStatusActionRequired HealthStatus = "ActionRequired" HealthStatusActionSuggested HealthStatus = "ActionSuggested" HealthStatusInvalid HealthStatus = "Invalid" HealthStatusPassed HealthStatus = "Passed" )
type KPIResourceHealthDetails ¶
type KPIResourceHealthDetails struct { ResourceHealthDetails *[]ResourceHealthDetails `json:"resourceHealthDetails,omitempty"` ResourceHealthStatus *ResourceHealthStatus `json:"resourceHealthStatus,omitempty"` }
type LastBackupStatus ¶
type LastBackupStatus string
const ( LastBackupStatusHealthy LastBackupStatus = "Healthy" LastBackupStatusIRPending LastBackupStatus = "IRPending" LastBackupStatusInvalid LastBackupStatus = "Invalid" LastBackupStatusUnhealthy LastBackupStatus = "Unhealthy" )
type MabFileFolderProtectedItem ¶
type MabFileFolderProtectedItem struct { ComputerName *string `json:"computerName,omitempty"` DeferredDeleteSyncTimeInUTC *int64 `json:"deferredDeleteSyncTimeInUTC,omitempty"` ExtendedInfo *MabFileFolderProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectionState *string `json:"protectionState,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` IsDeferredDeleteScheduleUpcoming *bool `json:"isDeferredDeleteScheduleUpcoming,omitempty"` IsRehydrate *bool `json:"isRehydrate,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` LastRecoveryPoint *string `json:"lastRecoveryPoint,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (MabFileFolderProtectedItem) MarshalJSON ¶
func (s MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
func (*MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*MabFileFolderProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type MabFileFolderProtectedItemExtendedInfo ¶
type MabFileFolderProtectedItemExtendedInfo struct { LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
func (*MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type ProtectedItem ¶
type ProtectedItem interface { }
type ProtectedItemHealthStatus ¶
type ProtectedItemHealthStatus string
const ( ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy" ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending" ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid" ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable" ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy" )
type ProtectedItemId ¶
type ProtectedItemId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string ProtectedItemName string }
ProtectedItemId is a struct representing the Resource ID for a Protected Item
func NewProtectedItemID ¶
func NewProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string, protectedItemName string) ProtectedItemId
NewProtectedItemID returns a new ProtectedItemId struct
func ParseProtectedItemID ¶
func ParseProtectedItemID(input string) (*ProtectedItemId, error)
ParseProtectedItemID parses 'input' into a ProtectedItemId
func ParseProtectedItemIDInsensitively ¶
func ParseProtectedItemIDInsensitively(input string) (*ProtectedItemId, error)
ParseProtectedItemIDInsensitively parses 'input' case-insensitively into a ProtectedItemId note: this method should only be used for API response data and not user input
func (ProtectedItemId) ID ¶
func (id ProtectedItemId) ID() string
ID returns the formatted Protected Item ID
func (ProtectedItemId) Segments ¶
func (id ProtectedItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Protected Item ID
func (ProtectedItemId) String ¶
func (id ProtectedItemId) String() string
String returns a human-readable description of this Protected Item ID
type ProtectedItemResource ¶
type ProtectedItemResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ProtectedItem `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*ProtectedItemResource) UnmarshalJSON ¶
func (s *ProtectedItemResource) UnmarshalJSON(bytes []byte) error
type ProtectedItemState ¶
type ProtectedItemState string
const ( ProtectedItemStateIRPending ProtectedItemState = "IRPending" ProtectedItemStateInvalid ProtectedItemState = "Invalid" ProtectedItemStateProtected ProtectedItemState = "Protected" ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError" ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused" ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped" )
type ProtectedItemsClient ¶
type ProtectedItemsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProtectedItemsClientWithBaseURI ¶
func NewProtectedItemsClientWithBaseURI(endpoint string) ProtectedItemsClient
func (ProtectedItemsClient) CreateOrUpdate ¶
func (c ProtectedItemsClient) CreateOrUpdate(ctx context.Context, id ProtectedItemId, input ProtectedItemResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProtectedItemsClient) Delete ¶
func (c ProtectedItemsClient) Delete(ctx context.Context, id ProtectedItemId) (result DeleteOperationResponse, err error)
Delete ...
func (ProtectedItemsClient) Get ¶
func (c ProtectedItemsClient) Get(ctx context.Context, id ProtectedItemId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
type ProtectionState ¶
type ProtectionState string
const ( ProtectionStateIRPending ProtectionState = "IRPending" ProtectionStateInvalid ProtectionState = "Invalid" ProtectionStateProtected ProtectionState = "Protected" ProtectionStateProtectionError ProtectionState = "ProtectionError" ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused" ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped" )
type ResourceHealthDetails ¶
type ResourceHealthStatus ¶
type ResourceHealthStatus string
const ( ResourceHealthStatusHealthy ResourceHealthStatus = "Healthy" ResourceHealthStatusInvalid ResourceHealthStatus = "Invalid" ResourceHealthStatusPersistentDegraded ResourceHealthStatus = "PersistentDegraded" ResourceHealthStatusPersistentUnhealthy ResourceHealthStatus = "PersistentUnhealthy" ResourceHealthStatusTransientDegraded ResourceHealthStatus = "TransientDegraded" ResourceHealthStatusTransientUnhealthy ResourceHealthStatus = "TransientUnhealthy" )
Source Files ¶
- client.go
- constants.go
- id_protecteditem.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- model_azurefileshareprotecteditem.go
- model_azurefileshareprotecteditemextendedinfo.go
- model_azureiaasclassiccomputevmprotecteditem.go
- model_azureiaascomputevmprotecteditem.go
- model_azureiaasvmprotecteditem.go
- model_azureiaasvmprotecteditemextendedinfo.go
- model_azuresqlprotecteditem.go
- model_azuresqlprotecteditemextendedinfo.go
- model_azurevmworkloadprotecteditem.go
- model_azurevmworkloadprotecteditemextendedinfo.go
- model_azurevmworkloadsapasedatabaseprotecteditem.go
- model_azurevmworkloadsaphanadatabaseprotecteditem.go
- model_azurevmworkloadsqldatabaseprotecteditem.go
- model_diskexclusionproperties.go
- model_dpmprotecteditem.go
- model_dpmprotecteditemextendedinfo.go
- model_errordetail.go
- model_extendedproperties.go
- model_genericprotecteditem.go
- model_kpiresourcehealthdetails.go
- model_mabfilefolderprotecteditem.go
- model_mabfilefolderprotecteditemextendedinfo.go
- model_protecteditem.go
- model_protecteditemresource.go
- model_resourcehealthdetails.go
- version.go