protecteditems

package
v0.20240826.1115152 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-04-01/protecteditems Documentation

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

Client Initialization

client := protecteditems.NewProtectedItemsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ProtectedItemsClient.CreateOrUpdate

ctx := context.TODO()
id := protecteditems.NewProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue", "protectedItemValue")

payload := protecteditems.ProtectedItemResource{
	// ...
}


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

Example Usage: ProtectedItemsClient.Delete

ctx := context.TODO()
id := protecteditems.NewProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue", "protectedItemValue")

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

Example Usage: ProtectedItemsClient.Get

ctx := context.TODO()
id := protecteditems.NewProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "backupFabricValue", "protectionContainerValue", "protectedItemValue")

read, err := client.Get(ctx, id, protecteditems.DefaultGetOperationOptions())
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 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

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

ValidateProtectedItemID checks that 'input' can be parsed as a Protected Item ID

Types

type AzureFileshareProtectedItem

type AzureFileshareProtectedItem struct {
	ExtendedInfo     *AzureFileshareProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
	FriendlyName     *string                                  `json:"friendlyName,omitempty"`
	KpisHealths      *map[string]KPIResourceHealthDetails     `json:"kpisHealths,omitempty"`
	LastBackupStatus *string                                  `json:"lastBackupStatus,omitempty"`
	LastBackupTime   *string                                  `json:"lastBackupTime,omitempty"`
	ProtectionState  *ProtectionState                         `json:"protectionState,omitempty"`
	ProtectionStatus *string                                  `json:"protectionStatus,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,omitempty"`
	WorkloadType                     *DataSourceType       `json:"workloadType,omitempty"`
}

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 {
	OldestRecoveryPoint   *string `json:"oldestRecoveryPoint,omitempty"`
	PolicyState           *string `json:"policyState,omitempty"`
	RecoveryPointCount    *int64  `json:"recoveryPointCount,omitempty"`
	ResourceState         *string `json:"resourceState,omitempty"`
	ResourceStateSyncTime *string `json:"resourceStateSyncTime,omitempty"`
}

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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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 {
	NewestRecoveryPointInArchive *string `json:"newestRecoveryPointInArchive,omitempty"`
	OldestRecoveryPoint          *string `json:"oldestRecoveryPoint,omitempty"`
	OldestRecoveryPointInArchive *string `json:"oldestRecoveryPointInArchive,omitempty"`
	OldestRecoveryPointInVault   *string `json:"oldestRecoveryPointInVault,omitempty"`
	PolicyInconsistent           *bool   `json:"policyInconsistent,omitempty"`
	RecoveryPointCount           *int64  `json:"recoveryPointCount,omitempty"`
}

func (*AzureIaaSVMProtectedItemExtendedInfo) GetNewestRecoveryPointInArchiveAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) GetNewestRecoveryPointInArchiveAsTime() (*time.Time, error)

func (*AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)

func (*AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointInArchiveAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointInArchiveAsTime() (*time.Time, error)

func (*AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointInVaultAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointInVaultAsTime() (*time.Time, error)

func (*AzureIaaSVMProtectedItemExtendedInfo) SetNewestRecoveryPointInArchiveAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) SetNewestRecoveryPointInArchiveAsTime(input time.Time)

func (*AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)

func (*AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointInArchiveAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointInArchiveAsTime(input time.Time)

func (*AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointInVaultAsTime

func (o *AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointInVaultAsTime(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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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"`
	NodesList                 *[]DistributedNodesInfo                   `json:"nodesList,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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 {
	NewestRecoveryPointInArchive *string `json:"newestRecoveryPointInArchive,omitempty"`
	OldestRecoveryPoint          *string `json:"oldestRecoveryPoint,omitempty"`
	OldestRecoveryPointInArchive *string `json:"oldestRecoveryPointInArchive,omitempty"`
	OldestRecoveryPointInVault   *string `json:"oldestRecoveryPointInVault,omitempty"`
	PolicyState                  *string `json:"policyState,omitempty"`
	RecoveryModel                *string `json:"recoveryModel,omitempty"`
	RecoveryPointCount           *int64  `json:"recoveryPointCount,omitempty"`
}

func (*AzureVMWorkloadProtectedItemExtendedInfo) GetNewestRecoveryPointInArchiveAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetNewestRecoveryPointInArchiveAsTime() (*time.Time, error)

func (*AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)

func (*AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointInArchiveAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointInArchiveAsTime() (*time.Time, error)

func (*AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointInVaultAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointInVaultAsTime() (*time.Time, error)

func (*AzureVMWorkloadProtectedItemExtendedInfo) SetNewestRecoveryPointInArchiveAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetNewestRecoveryPointInArchiveAsTime(input time.Time)

func (*AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)

func (*AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointInArchiveAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointInArchiveAsTime(input time.Time)

func (*AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointInVaultAsTime

func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointInVaultAsTime(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"`
	NodesList                 *[]DistributedNodesInfo                   `json:"nodesList,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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 (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime

func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)

func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime

func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)

type AzureVMWorkloadSAPHanaDBInstanceProtectedItem

type AzureVMWorkloadSAPHanaDBInstanceProtectedItem 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"`
	NodesList                 *[]DistributedNodesInfo                   `json:"nodesList,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,omitempty"`
	WorkloadType                     *DataSourceType       `json:"workloadType,omitempty"`
}

func (*AzureVMWorkloadSAPHanaDBInstanceProtectedItem) GetDeferredDeleteTimeInUTCAsTime

func (o *AzureVMWorkloadSAPHanaDBInstanceProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)

func (*AzureVMWorkloadSAPHanaDBInstanceProtectedItem) GetLastRecoveryPointAsTime

func (o *AzureVMWorkloadSAPHanaDBInstanceProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)

func (AzureVMWorkloadSAPHanaDBInstanceProtectedItem) MarshalJSON

func (*AzureVMWorkloadSAPHanaDBInstanceProtectedItem) SetDeferredDeleteTimeInUTCAsTime

func (o *AzureVMWorkloadSAPHanaDBInstanceProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)

func (*AzureVMWorkloadSAPHanaDBInstanceProtectedItem) SetLastRecoveryPointAsTime

func (o *AzureVMWorkloadSAPHanaDBInstanceProtectedItem) 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"`
	NodesList                 *[]DistributedNodesInfo                   `json:"nodesList,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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 (*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"`
	NodesList                 *[]DistributedNodesInfo                   `json:"nodesList,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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 (
	DataSourceTypeAzureFileShare    DataSourceType = "AzureFileShare"
	DataSourceTypeAzureSqlDb        DataSourceType = "AzureSqlDb"
	DataSourceTypeClient            DataSourceType = "Client"
	DataSourceTypeExchange          DataSourceType = "Exchange"
	DataSourceTypeFileFolder        DataSourceType = "FileFolder"
	DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource"
	DataSourceTypeInvalid           DataSourceType = "Invalid"
	DataSourceTypeSAPAseDatabase    DataSourceType = "SAPAseDatabase"
	DataSourceTypeSAPHanaDBInstance DataSourceType = "SAPHanaDBInstance"
	DataSourceTypeSAPHanaDatabase   DataSourceType = "SAPHanaDatabase"
	DataSourceTypeSQLDB             DataSourceType = "SQLDB"
	DataSourceTypeSQLDataBase       DataSourceType = "SQLDataBase"
	DataSourceTypeSharepoint        DataSourceType = "Sharepoint"
	DataSourceTypeSystemState       DataSourceType = "SystemState"
	DataSourceTypeVM                DataSourceType = "VM"
	DataSourceTypeVMwareVM          DataSourceType = "VMwareVM"
)

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type DiskExclusionProperties

type DiskExclusionProperties struct {
	DiskLunList     *[]int64 `json:"diskLunList,omitempty"`
	IsInclusionList *bool    `json:"isInclusionList,omitempty"`
}

type DistributedNodesInfo

type DistributedNodesInfo struct {
	ErrorDetail      *ErrorDetail `json:"errorDetail,omitempty"`
	NodeName         *string      `json:"nodeName,omitempty"`
	SourceResourceId *string      `json:"sourceResourceId,omitempty"`
	Status           *string      `json:"status,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	Code            *string   `json:"code,omitempty"`
	Message         *string   `json:"message,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
}

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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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"`
	SoftDeleteRetentionPeriodInDays  *int64                `json:"softDeleteRetentionPeriodInDays,omitempty"`
	SourceResourceId                 *string               `json:"sourceResourceId,omitempty"`
	VaultId                          *string               `json:"vaultId,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) FromParseResult

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

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"`
	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 (
	ProtectedItemStateBackupsSuspended  ProtectedItemState = "BackupsSuspended"
	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

CreateOrUpdate ...

func (ProtectedItemsClient) Delete

Delete ...

func (ProtectedItemsClient) Get

Get ...

type ProtectionState

type ProtectionState string
const (
	ProtectionStateBackupsSuspended  ProtectionState = "BackupsSuspended"
	ProtectionStateIRPending         ProtectionState = "IRPending"
	ProtectionStateInvalid           ProtectionState = "Invalid"
	ProtectionStateProtected         ProtectionState = "Protected"
	ProtectionStateProtectionError   ProtectionState = "ProtectionError"
	ProtectionStateProtectionPaused  ProtectionState = "ProtectionPaused"
	ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
)

type RawProtectedItemImpl

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

RawProtectedItemImpl 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 ResourceHealthDetails

type ResourceHealthDetails struct {
	Code            *int64    `json:"code,omitempty"`
	Message         *string   `json:"message,omitempty"`
	Recommendations *[]string `json:"recommendations,omitempty"`
	Title           *string   `json:"title,omitempty"`
}

type ResourceHealthStatus

type ResourceHealthStatus string
const (
	ResourceHealthStatusHealthy             ResourceHealthStatus = "Healthy"
	ResourceHealthStatusInvalid             ResourceHealthStatus = "Invalid"
	ResourceHealthStatusPersistentDegraded  ResourceHealthStatus = "PersistentDegraded"
	ResourceHealthStatusPersistentUnhealthy ResourceHealthStatus = "PersistentUnhealthy"
	ResourceHealthStatusTransientDegraded   ResourceHealthStatus = "TransientDegraded"
	ResourceHealthStatusTransientUnhealthy  ResourceHealthStatus = "TransientUnhealthy"
)

Jump to

Keyboard shortcuts

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