README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-01-15/backupprotecteditemscrr
Documentation
The backupprotecteditemscrr
SDK allows for interaction with the Azure Resource Manager Service recoveryservicesbackup
(API Version 2023-01-15
).
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-01-15/backupprotecteditemscrr"
Client Initialization
client := backupprotecteditemscrr.NewBackupProtectedItemsCrrClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: BackupProtectedItemsCrrClient.List
ctx := context.TODO()
id := backupprotecteditemscrr.NewVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue")
// alternatively `client.List(ctx, id, backupprotecteditemscrr.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, backupprotecteditemscrr.DefaultListOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForDataSourceType() []string
- func PossibleValuesForHealthStatus() []string
- func PossibleValuesForLastBackupStatus() []string
- func PossibleValuesForProtectedItemHealthStatus() []string
- func PossibleValuesForProtectedItemState() []string
- func PossibleValuesForProtectionState() []string
- func PossibleValuesForResourceHealthStatus() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileshareProtectedItem
- func (o *AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureFileshareProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureFileshareProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureFileshareProtectedItemExtendedInfo
- func (o *AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime() (*time.Time, error)
- func (o *AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- func (o *AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime(input time.Time)
- type AzureIaaSClassicComputeVMProtectedItem
- func (o *AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSComputeVMProtectedItem
- func (o *AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSVMProtectedItem
- func (o *AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureIaaSVMProtectedItemExtendedInfo
- type AzureSqlProtectedItem
- func (o *AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureSqlProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureSqlProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureSqlProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureSqlProtectedItemExtendedInfo
- type AzureVMWorkloadProtectedItem
- func (o *AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadProtectedItemExtendedInfo
- type AzureVMWorkloadSAPAseDatabaseProtectedItem
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadSAPHanaDatabaseProtectedItem
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type AzureVMWorkloadSQLDatabaseProtectedItem
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON() ([]byte, error)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type BackupManagementType
- type BackupProtectedItemsCrrClient
- func (c BackupProtectedItemsCrrClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c BackupProtectedItemsCrrClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BackupProtectedItemsCrrClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type CreateMode
- type DPMProtectedItem
- func (o *DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *DPMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s DPMProtectedItem) MarshalJSON() ([]byte, error)
- func (o *DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *DPMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type DPMProtectedItemExtendedInfo
- func (o *DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime(input time.Time)
- func (o *DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime(input time.Time)
- type DataSourceType
- type DiskExclusionProperties
- type ErrorDetail
- type ExtendedProperties
- type GenericProtectedItem
- func (o *GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *GenericProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s GenericProtectedItem) MarshalJSON() ([]byte, error)
- func (o *GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *GenericProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type HealthStatus
- type KPIResourceHealthDetails
- type LastBackupStatus
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MabFileFolderProtectedItem
- func (o *MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
- func (s MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
- func (o *MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
- func (o *MabFileFolderProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
- type MabFileFolderProtectedItemExtendedInfo
- func (o *MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
- func (o *MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
- func (o *MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
- type ProtectedItem
- type ProtectedItemHealthStatus
- type ProtectedItemResource
- type ProtectedItemResourceOperationPredicate
- type ProtectedItemState
- type ProtectionState
- type RawProtectedItemImpl
- type ResourceHealthDetails
- type ResourceHealthStatus
- type VaultId
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 ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type AzureFileshareProtectedItem ¶
type AzureFileshareProtectedItem struct { // Fields inherited from ProtectedItem }
func (*AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureFileshareProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureFileshareProtectedItem) MarshalJSON ¶
func (s AzureFileshareProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureFileshareProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureFileshareProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureFileshareProtectedItemExtendedInfo ¶
type AzureFileshareProtectedItemExtendedInfo struct {}
func (*AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) GetResourceStateSyncTimeAsTime() (*time.Time, error)
func (*AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
func (*AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime ¶
func (o *AzureFileshareProtectedItemExtendedInfo) SetResourceStateSyncTimeAsTime(input time.Time)
type AzureIaaSClassicComputeVMProtectedItem ¶
type AzureIaaSClassicComputeVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSClassicComputeVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSClassicComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSComputeVMProtectedItem ¶
type AzureIaaSComputeVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSComputeVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSComputeVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSVMProtectedItem ¶
type AzureIaaSVMProtectedItem struct { ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ExtendedProperties *ExtendedProperties `json:"extendedProperties,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthDetails *[]ResourceHealthDetails `json:"healthDetails,omitempty"` HealthStatus *HealthStatus `json:"healthStatus,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSVMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureIaaSVMProtectedItem) MarshalJSON ¶
func (s AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureIaaSVMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureIaaSVMProtectedItemExtendedInfo ¶
type AzureIaaSVMProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyInconsistent *bool `json:"policyInconsistent,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureIaaSVMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureSqlProtectedItem ¶
type AzureSqlProtectedItem struct { ExtendedInfo *AzureSqlProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` ProtectedItemDataId *string `json:"protectedItemDataId,omitempty"` ProtectionState *ProtectedItemState `json:"protectionState,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureSqlProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureSqlProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureSqlProtectedItem) MarshalJSON ¶
func (s AzureSqlProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureSqlProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureSqlProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureSqlProtectedItemExtendedInfo ¶
type AzureSqlProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyState *string `json:"policyState,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureSqlProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureSqlProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureSqlProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadProtectedItem ¶
type AzureVMWorkloadProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadProtectedItemExtendedInfo ¶
type AzureVMWorkloadProtectedItemExtendedInfo struct { OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` PolicyState *string `json:"policyState,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *AzureVMWorkloadProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSAPAseDatabaseProtectedItem ¶
type AzureVMWorkloadSAPAseDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPAseDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPAseDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSAPHanaDatabaseProtectedItem ¶
type AzureVMWorkloadSAPHanaDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSAPHanaDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSAPHanaDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type AzureVMWorkloadSQLDatabaseProtectedItem ¶
type AzureVMWorkloadSQLDatabaseProtectedItem struct { ExtendedInfo *AzureVMWorkloadProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` KpisHealths *map[string]KPIResourceHealthDetails `json:"kpisHealths,omitempty"` LastBackupErrorDetail *ErrorDetail `json:"lastBackupErrorDetail,omitempty"` LastBackupStatus *LastBackupStatus `json:"lastBackupStatus,omitempty"` LastBackupTime *string `json:"lastBackupTime,omitempty"` ParentName *string `json:"parentName,omitempty"` ParentType *string `json:"parentType,omitempty"` ProtectedItemDataSourceId *string `json:"protectedItemDataSourceId,omitempty"` ProtectedItemHealthStatus *ProtectedItemHealthStatus `json:"protectedItemHealthStatus,omitempty"` ProtectionState *ProtectionState `json:"protectionState,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ServerName *string `json:"serverName,omitempty"` // Fields inherited from ProtectedItem BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` BackupSetName *string `json:"backupSetName,omitempty"` ContainerName *string `json:"containerName,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` DeferredDeleteTimeInUTC *string `json:"deferredDeleteTimeInUTC,omitempty"` DeferredDeleteTimeRemaining *string `json:"deferredDeleteTimeRemaining,omitempty"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON ¶
func (s AzureVMWorkloadSQLDatabaseProtectedItem) MarshalJSON() ([]byte, error)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *AzureVMWorkloadSQLDatabaseProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type BackupManagementType ¶
type BackupManagementType string
const ( BackupManagementTypeAzureBackupServer BackupManagementType = "AzureBackupServer" BackupManagementTypeAzureIaasVM BackupManagementType = "AzureIaasVM" BackupManagementTypeAzureSql BackupManagementType = "AzureSql" BackupManagementTypeAzureStorage BackupManagementType = "AzureStorage" BackupManagementTypeAzureWorkload BackupManagementType = "AzureWorkload" BackupManagementTypeDPM BackupManagementType = "DPM" BackupManagementTypeDefaultBackup BackupManagementType = "DefaultBackup" BackupManagementTypeInvalid BackupManagementType = "Invalid" BackupManagementTypeMAB BackupManagementType = "MAB" )
type BackupProtectedItemsCrrClient ¶
type BackupProtectedItemsCrrClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBackupProtectedItemsCrrClientWithBaseURI ¶
func NewBackupProtectedItemsCrrClientWithBaseURI(endpoint string) BackupProtectedItemsCrrClient
func (BackupProtectedItemsCrrClient) List ¶ added in v0.20230906.1160501
func (c BackupProtectedItemsCrrClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (BackupProtectedItemsCrrClient) ListComplete ¶ added in v0.20230906.1160501
func (c BackupProtectedItemsCrrClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BackupProtectedItemsCrrClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c BackupProtectedItemsCrrClient) 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 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"` // 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"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *DPMProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*DPMProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *DPMProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (DPMProtectedItem) MarshalJSON ¶
func (s DPMProtectedItem) MarshalJSON() ([]byte, error)
func (*DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *DPMProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*DPMProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *DPMProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type DPMProtectedItemExtendedInfo ¶
type DPMProtectedItemExtendedInfo struct { DiskStorageUsedInBytes *string `json:"diskStorageUsedInBytes,omitempty"` IsCollocated *bool `json:"isCollocated,omitempty"` IsPresentOnCloud *bool `json:"isPresentOnCloud,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` OnPremiseLatestRecoveryPoint *string `json:"onPremiseLatestRecoveryPoint,omitempty"` OnPremiseOldestRecoveryPoint *string `json:"onPremiseOldestRecoveryPoint,omitempty"` OnPremiseRecoveryPointCount *int64 `json:"onPremiseRecoveryPointCount,omitempty"` ProtectableObjectLoadPath *map[string]string `json:"protectableObjectLoadPath,omitempty"` Protected *bool `json:"protected,omitempty"` ProtectionGroupName *string `json:"protectionGroupName,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` TotalDiskStorageSizeInBytes *string `json:"totalDiskStorageSizeInBytes,omitempty"` }
func (*DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOnPremiseLatestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) GetOnPremiseOldestRecoveryPointAsTime() (*time.Time, error)
func (*DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOnPremiseLatestRecoveryPointAsTime(input time.Time)
func (*DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime ¶
func (o *DPMProtectedItemExtendedInfo) SetOnPremiseOldestRecoveryPointAsTime(input time.Time)
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAzureSqlDb DataSourceType = "AzureSqlDb" DataSourceTypeClient DataSourceType = "Client" DataSourceTypeExchange DataSourceType = "Exchange" DataSourceTypeFileFolder DataSourceType = "FileFolder" DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource" DataSourceTypeInvalid DataSourceType = "Invalid" DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase" DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase" DataSourceTypeSQLDB DataSourceType = "SQLDB" DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase" DataSourceTypeSystemState DataSourceType = "SystemState" DataSourceTypeVM DataSourceType = "VM" DataSourceTypeVMwareVM DataSourceType = "VMwareVM" )
type DiskExclusionProperties ¶
type ErrorDetail ¶
type ExtendedProperties ¶
type ExtendedProperties struct {
DiskExclusionProperties *DiskExclusionProperties `json:"diskExclusionProperties,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"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *GenericProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*GenericProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *GenericProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (GenericProtectedItem) MarshalJSON ¶
func (s GenericProtectedItem) MarshalJSON() ([]byte, error)
func (*GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *GenericProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*GenericProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *GenericProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type 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 ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []ProtectedItemResource
}
type ListOperationOptions ¶ added in v0.20230906.1160501
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶ added in v0.20230906.1160501
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ProtectedItemResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶ added in v0.20230906.1160501
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"` // 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"` 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"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *DataSourceType `json:"workloadType,omitempty"` }
func (*MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime ¶
func (o *MabFileFolderProtectedItem) GetDeferredDeleteTimeInUTCAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItem) GetLastRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItem) GetLastRecoveryPointAsTime() (*time.Time, error)
func (MabFileFolderProtectedItem) MarshalJSON ¶
func (s MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
func (*MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime ¶
func (o *MabFileFolderProtectedItem) SetDeferredDeleteTimeInUTCAsTime(input time.Time)
func (*MabFileFolderProtectedItem) SetLastRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItem) SetLastRecoveryPointAsTime(input time.Time)
type MabFileFolderProtectedItemExtendedInfo ¶
type MabFileFolderProtectedItemExtendedInfo struct { LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *string `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int64 `json:"recoveryPointCount,omitempty"` }
func (*MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) GetOldestRecoveryPointAsTime() (*time.Time, error)
func (*MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
func (*MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime ¶
func (o *MabFileFolderProtectedItemExtendedInfo) SetOldestRecoveryPointAsTime(input time.Time)
type ProtectedItem ¶
type ProtectedItem interface { }
type ProtectedItemHealthStatus ¶
type ProtectedItemHealthStatus string
const ( ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy" ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending" ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid" ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable" ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy" )
type 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 ¶
func (p ProtectedItemResourceOperationPredicate) Matches(input ProtectedItemResource) bool
type ProtectedItemState ¶
type ProtectedItemState string
const ( ProtectedItemStateIRPending ProtectedItemState = "IRPending" ProtectedItemStateInvalid ProtectedItemState = "Invalid" ProtectedItemStateProtected ProtectedItemState = "Protected" ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError" ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused" ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped" )
type ProtectionState ¶
type ProtectionState string
const ( ProtectionStateIRPending ProtectionState = "IRPending" ProtectionStateInvalid ProtectionState = "Invalid" ProtectionStateProtected ProtectionState = "Protected" ProtectionStateProtectionError ProtectionState = "ProtectionError" ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused" ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped" )
type RawProtectedItemImpl ¶ added in v0.20230807.1063129
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 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 ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
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 ¶ added in v0.20231127.1171502
func (id *VaultId) FromParseResult(input resourceids.ParseResult) error
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_list_autorest.go
- model_azurefileshareprotecteditem.go
- model_azurefileshareprotecteditemextendedinfo.go
- model_azureiaasclassiccomputevmprotecteditem.go
- model_azureiaascomputevmprotecteditem.go
- model_azureiaasvmprotecteditem.go
- model_azureiaasvmprotecteditemextendedinfo.go
- model_azuresqlprotecteditem.go
- model_azuresqlprotecteditemextendedinfo.go
- model_azurevmworkloadprotecteditem.go
- model_azurevmworkloadprotecteditemextendedinfo.go
- model_azurevmworkloadsapasedatabaseprotecteditem.go
- model_azurevmworkloadsaphanadatabaseprotecteditem.go
- model_azurevmworkloadsqldatabaseprotecteditem.go
- model_diskexclusionproperties.go
- model_dpmprotecteditem.go
- model_dpmprotecteditemextendedinfo.go
- model_errordetail.go
- model_extendedproperties.go
- model_genericprotecteditem.go
- model_kpiresourcehealthdetails.go
- model_mabfilefolderprotecteditem.go
- model_mabfilefolderprotecteditemextendedinfo.go
- model_protecteditem.go
- model_protecteditemresource.go
- model_resourcehealthdetails.go
- predicates.go
- version.go