backupprotecteditems

package
v0.20241004.1180715 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2024-02-01/backupprotecteditems Documentation

The backupprotecteditems SDK allows for interaction with Azure Resource Manager recoveryservicesbackup (API Version 2024-02-01).

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

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2024-02-01/backupprotecteditems"

Client Initialization

client := backupprotecteditems.NewBackupProtectedItemsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BackupProtectedItemsClient.List

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForBackupManagementType

func PossibleValuesForBackupManagementType() []string

func 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 ValidateVaultID

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

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

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

func (s AzureSqlProtectedItem) ProtectedItem() BaseProtectedItemImpl

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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 BackupProtectedItemsClient

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

func NewBackupProtectedItemsClientWithBaseURI

func NewBackupProtectedItemsClientWithBaseURI(endpoint string) BackupProtectedItemsClient

func (BackupProtectedItemsClient) List

List ...

func (BackupProtectedItemsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (BackupProtectedItemsClient) ListCompleteMatchingPredicate

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

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type BaseProtectedItemImpl added in v0.20240920.1135249

type BaseProtectedItemImpl struct {
	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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 (BaseProtectedItemImpl) ProtectedItem added in v0.20240920.1135249

func (s BaseProtectedItemImpl) ProtectedItem() BaseProtectedItemImpl

type CreateMode

type CreateMode string
const (
	CreateModeDefault CreateMode = "Default"
	CreateModeInvalid CreateMode = "Invalid"
	CreateModeRecover CreateMode = "Recover"
)

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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

func (s DPMProtectedItem) ProtectedItem() BaseProtectedItemImpl

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 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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

func (s GenericProtectedItem) ProtectedItem() BaseProtectedItemImpl

func (*GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime

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

func (*GenericProtectedItem) SetLastRecoveryPointAsTime

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

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 ListCompleteResult

type ListCompleteResult struct {
	Items []ProtectedItemResource
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

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

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

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

type 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"`

	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"`
	ProtectedItemType                string                `json:"protectedItemType"`
	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) ProtectedItem added in v0.20240920.1135249

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 {
	ProtectedItem() BaseProtectedItemImpl
}

func UnmarshalProtectedItemImplementation added in v0.20240920.1135249

func UnmarshalProtectedItemImplementation(input []byte) (ProtectedItem, error)

type ProtectedItemHealthStatus

type ProtectedItemHealthStatus string
const (
	ProtectedItemHealthStatusHealthy      ProtectedItemHealthStatus = "Healthy"
	ProtectedItemHealthStatusIRPending    ProtectedItemHealthStatus = "IRPending"
	ProtectedItemHealthStatusInvalid      ProtectedItemHealthStatus = "Invalid"
	ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable"
	ProtectedItemHealthStatusUnhealthy    ProtectedItemHealthStatus = "Unhealthy"
)

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 ProtectedItemResourceOperationPredicate

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

func (ProtectedItemResourceOperationPredicate) Matches

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 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{}
	// contains filtered or unexported fields
}

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

func (RawProtectedItemImpl) ProtectedItem added in v0.20240920.1135249

func (s RawProtectedItemImpl) ProtectedItem() BaseProtectedItemImpl

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"
)

type VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

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

NewVaultID returns a new VaultId struct

func ParseVaultID

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

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

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

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

func (*VaultId) FromParseResult

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

func (VaultId) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

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

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

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Jump to

Keyboard shortcuts

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