Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForDayOfWeek() []string + func PossibleValuesForIAASVMPolicyType() []string + func PossibleValuesForMonthOfYear() []string + func PossibleValuesForPolicyType() []string + func PossibleValuesForRetentionDurationType() []string + func PossibleValuesForRetentionScheduleFormat() []string + func PossibleValuesForScheduleRunType() []string + func PossibleValuesForTieringMode() []string + func PossibleValuesForWeekOfMonth() []string + func PossibleValuesForWorkloadType() []string + func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error) + type AzureFileShareProtectionPolicy struct + BackupManagementType string + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + RetentionPolicy RetentionPolicy + SchedulePolicy SchedulePolicy + TimeZone *string + VaultRetentionPolicy *VaultRetentionPolicy + WorkLoadType *WorkloadType + func (s *AzureFileShareProtectionPolicy) UnmarshalJSON(bytes []byte) error + func (s AzureFileShareProtectionPolicy) MarshalJSON() ([]byte, error) + func (s AzureFileShareProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type AzureIaaSVMProtectionPolicy struct + BackupManagementType string + InstantRPDetails *InstantRPAdditionalDetails + InstantRpRetentionRangeInDays *int64 + PolicyType *IAASVMPolicyType + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + RetentionPolicy RetentionPolicy + SchedulePolicy SchedulePolicy + TieringPolicy *map[string]TieringPolicy + TimeZone *string + func (s *AzureIaaSVMProtectionPolicy) UnmarshalJSON(bytes []byte) error + func (s AzureIaaSVMProtectionPolicy) MarshalJSON() ([]byte, error) + func (s AzureIaaSVMProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type AzureSqlProtectionPolicy struct + BackupManagementType string + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + RetentionPolicy RetentionPolicy + func (s *AzureSqlProtectionPolicy) UnmarshalJSON(bytes []byte) error + func (s AzureSqlProtectionPolicy) MarshalJSON() ([]byte, error) + func (s AzureSqlProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type AzureVMWorkloadProtectionPolicy struct + BackupManagementType string + MakePolicyConsistent *bool + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + Settings *Settings + SubProtectionPolicy *[]SubProtectionPolicy + WorkLoadType *WorkloadType + func (s AzureVMWorkloadProtectionPolicy) MarshalJSON() ([]byte, error) + func (s AzureVMWorkloadProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type BackupPoliciesClient struct + Client autorest.Client + func NewBackupPoliciesClientWithBaseURI(endpoint string) BackupPoliciesClient + func (c BackupPoliciesClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error) + func (c BackupPoliciesClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error) + func (c BackupPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (resp ListCompleteResult, err error) + type BaseProtectionPolicyImpl struct + BackupManagementType string + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + func (s BaseProtectionPolicyImpl) ProtectionPolicy() BaseProtectionPolicyImpl + type BaseRetentionPolicyImpl struct + RetentionPolicyType string + func (s BaseRetentionPolicyImpl) RetentionPolicy() BaseRetentionPolicyImpl + type BaseSchedulePolicyImpl struct + SchedulePolicyType string + func (s BaseSchedulePolicyImpl) SchedulePolicy() BaseSchedulePolicyImpl + type DailyRetentionFormat struct + DaysOfTheMonth *[]Day + type DailyRetentionSchedule struct + RetentionDuration *RetentionDuration + RetentionTimes *[]string + type DailySchedule struct + ScheduleRunTimes *[]string + type Day struct + Date *int64 + IsLast *bool + type DayOfWeek string + const DayOfWeekFriday + const DayOfWeekMonday + const DayOfWeekSaturday + const DayOfWeekSunday + const DayOfWeekThursday + const DayOfWeekTuesday + const DayOfWeekWednesday + type GenericProtectionPolicy struct + BackupManagementType string + FabricName *string + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + SubProtectionPolicy *[]SubProtectionPolicy + TimeZone *string + func (s GenericProtectionPolicy) MarshalJSON() ([]byte, error) + func (s GenericProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type HourlySchedule struct + Interval *int64 + ScheduleWindowDuration *int64 + ScheduleWindowStartTime *string + func (o *HourlySchedule) GetScheduleWindowStartTimeAsTime() (*time.Time, error) + func (o *HourlySchedule) SetScheduleWindowStartTimeAsTime(input time.Time) + type IAASVMPolicyType string + const IAASVMPolicyTypeInvalid + const IAASVMPolicyTypeVOne + const IAASVMPolicyTypeVTwo + type InstantRPAdditionalDetails struct + AzureBackupRGNamePrefix *string + AzureBackupRGNameSuffix *string + type ListCompleteResult struct + Items []ProtectionPolicyResource + type ListOperationOptions struct + Filter *string + func DefaultListOperationOptions() ListOperationOptions + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ProtectionPolicyResource + func (r ListOperationResponse) HasMore() bool + func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error) + type LogSchedulePolicy struct + ScheduleFrequencyInMins *int64 + SchedulePolicyType string + func (s LogSchedulePolicy) MarshalJSON() ([]byte, error) + func (s LogSchedulePolicy) SchedulePolicy() BaseSchedulePolicyImpl + type LongTermRetentionPolicy struct + DailySchedule *DailyRetentionSchedule + MonthlySchedule *MonthlyRetentionSchedule + RetentionPolicyType string + WeeklySchedule *WeeklyRetentionSchedule + YearlySchedule *YearlyRetentionSchedule + func (s LongTermRetentionPolicy) MarshalJSON() ([]byte, error) + func (s LongTermRetentionPolicy) RetentionPolicy() BaseRetentionPolicyImpl + type LongTermSchedulePolicy struct + SchedulePolicyType string + func (s LongTermSchedulePolicy) MarshalJSON() ([]byte, error) + func (s LongTermSchedulePolicy) SchedulePolicy() BaseSchedulePolicyImpl + type MabProtectionPolicy struct + BackupManagementType string + ProtectedItemsCount *int64 + ResourceGuardOperationRequests *[]string + RetentionPolicy RetentionPolicy + SchedulePolicy SchedulePolicy + func (s *MabProtectionPolicy) UnmarshalJSON(bytes []byte) error + func (s MabProtectionPolicy) MarshalJSON() ([]byte, error) + func (s MabProtectionPolicy) ProtectionPolicy() BaseProtectionPolicyImpl + type MonthOfYear string + const MonthOfYearApril + const MonthOfYearAugust + const MonthOfYearDecember + const MonthOfYearFebruary + const MonthOfYearInvalid + const MonthOfYearJanuary + const MonthOfYearJuly + const MonthOfYearJune + const MonthOfYearMarch + const MonthOfYearMay + const MonthOfYearNovember + const MonthOfYearOctober + const MonthOfYearSeptember + type MonthlyRetentionSchedule struct + RetentionDuration *RetentionDuration + RetentionScheduleDaily *DailyRetentionFormat + RetentionScheduleFormatType *RetentionScheduleFormat + RetentionScheduleWeekly *WeeklyRetentionFormat + RetentionTimes *[]string + type PolicyType string + const PolicyTypeCopyOnlyFull + const PolicyTypeDifferential + const PolicyTypeFull + const PolicyTypeIncremental + const PolicyTypeInvalid + const PolicyTypeLog + const PolicyTypeSnapshotCopyOnlyFull + const PolicyTypeSnapshotFull + type ProtectionPolicy interface + ProtectionPolicy func() BaseProtectionPolicyImpl + func UnmarshalProtectionPolicyImplementation(input []byte) (ProtectionPolicy, error) + type ProtectionPolicyResource struct + ETag *string + Id *string + Location *string + Name *string + Properties ProtectionPolicy + Tags *map[string]string + Type *string + func (s *ProtectionPolicyResource) UnmarshalJSON(bytes []byte) error + type ProtectionPolicyResourceOperationPredicate struct + ETag *string + Id *string + Location *string + Name *string + Type *string + func (p ProtectionPolicyResourceOperationPredicate) Matches(input ProtectionPolicyResource) bool + type RawProtectionPolicyImpl struct + Type string + Values map[string]interface{} + func (s RawProtectionPolicyImpl) ProtectionPolicy() BaseProtectionPolicyImpl + type RawRetentionPolicyImpl struct + Type string + Values map[string]interface{} + func (s RawRetentionPolicyImpl) RetentionPolicy() BaseRetentionPolicyImpl + type RawSchedulePolicyImpl struct + Type string + Values map[string]interface{} + func (s RawSchedulePolicyImpl) SchedulePolicy() BaseSchedulePolicyImpl + type RetentionDuration struct + Count *int64 + DurationType *RetentionDurationType + type RetentionDurationType string + const RetentionDurationTypeDays + const RetentionDurationTypeInvalid + const RetentionDurationTypeMonths + const RetentionDurationTypeWeeks + const RetentionDurationTypeYears + type RetentionPolicy interface + RetentionPolicy func() BaseRetentionPolicyImpl + func UnmarshalRetentionPolicyImplementation(input []byte) (RetentionPolicy, error) + type RetentionScheduleFormat string + const RetentionScheduleFormatDaily + const RetentionScheduleFormatInvalid + const RetentionScheduleFormatWeekly + type SchedulePolicy interface + SchedulePolicy func() BaseSchedulePolicyImpl + func UnmarshalSchedulePolicyImplementation(input []byte) (SchedulePolicy, error) + type ScheduleRunType string + const ScheduleRunTypeDaily + const ScheduleRunTypeHourly + const ScheduleRunTypeInvalid + const ScheduleRunTypeWeekly + type Settings struct + IsCompression *bool + Issqlcompression *bool + TimeZone *string + type SimpleRetentionPolicy struct + RetentionDuration *RetentionDuration + RetentionPolicyType string + func (s SimpleRetentionPolicy) MarshalJSON() ([]byte, error) + func (s SimpleRetentionPolicy) RetentionPolicy() BaseRetentionPolicyImpl + type SimpleSchedulePolicy struct + HourlySchedule *HourlySchedule + SchedulePolicyType string + ScheduleRunDays *[]DayOfWeek + ScheduleRunFrequency *ScheduleRunType + ScheduleRunTimes *[]string + ScheduleWeeklyFrequency *int64 + func (s SimpleSchedulePolicy) MarshalJSON() ([]byte, error) + func (s SimpleSchedulePolicy) SchedulePolicy() BaseSchedulePolicyImpl + type SimpleSchedulePolicyV2 struct + DailySchedule *DailySchedule + HourlySchedule *HourlySchedule + SchedulePolicyType string + ScheduleRunFrequency *ScheduleRunType + WeeklySchedule *WeeklySchedule + func (s SimpleSchedulePolicyV2) MarshalJSON() ([]byte, error) + func (s SimpleSchedulePolicyV2) SchedulePolicy() BaseSchedulePolicyImpl + type SnapshotBackupAdditionalDetails struct + InstantRPDetails *string + InstantRpRetentionRangeInDays *int64 + UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails + type SubProtectionPolicy struct + PolicyType *PolicyType + RetentionPolicy RetentionPolicy + SchedulePolicy SchedulePolicy + SnapshotBackupAdditionalDetails *SnapshotBackupAdditionalDetails + TieringPolicy *map[string]TieringPolicy + func (s *SubProtectionPolicy) UnmarshalJSON(bytes []byte) error + type TieringMode string + const TieringModeDoNotTier + const TieringModeInvalid + const TieringModeTierAfter + const TieringModeTierRecommended + type TieringPolicy struct + Duration *int64 + DurationType *RetentionDurationType + TieringMode *TieringMode + type UserAssignedIdentityProperties struct + ClientId *string + PrincipalId *string + type UserAssignedManagedIdentityDetails struct + IdentityArmId *string + IdentityName *string + UserAssignedIdentityProperties *UserAssignedIdentityProperties + type VaultId struct + ResourceGroupName string + SubscriptionId string + VaultName string + func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId + func ParseVaultID(input string) (*VaultId, error) + func ParseVaultIDInsensitively(input string) (*VaultId, error) + func (id *VaultId) FromParseResult(input resourceids.ParseResult) error + func (id VaultId) ID() string + func (id VaultId) Segments() []resourceids.Segment + func (id VaultId) String() string + type VaultRetentionPolicy struct + SnapshotRetentionInDays int64 + VaultRetention RetentionPolicy + func (s *VaultRetentionPolicy) UnmarshalJSON(bytes []byte) error + type WeekOfMonth string + const WeekOfMonthFirst + const WeekOfMonthFourth + const WeekOfMonthInvalid + const WeekOfMonthLast + const WeekOfMonthSecond + const WeekOfMonthThird + type WeeklyRetentionFormat struct + DaysOfTheWeek *[]DayOfWeek + WeeksOfTheMonth *[]WeekOfMonth + type WeeklyRetentionSchedule struct + DaysOfTheWeek *[]DayOfWeek + RetentionDuration *RetentionDuration + RetentionTimes *[]string + type WeeklySchedule struct + ScheduleRunDays *[]DayOfWeek + ScheduleRunTimes *[]string + type WorkloadType string + const WorkloadTypeAzureFileShare + const WorkloadTypeAzureSqlDb + const WorkloadTypeClient + const WorkloadTypeExchange + const WorkloadTypeFileFolder + const WorkloadTypeGenericDataSource + const WorkloadTypeInvalid + const WorkloadTypeSAPAseDatabase + const WorkloadTypeSAPHanaDBInstance + const WorkloadTypeSAPHanaDatabase + const WorkloadTypeSQLDB + const WorkloadTypeSQLDataBase + const WorkloadTypeSharepoint + const WorkloadTypeSystemState + const WorkloadTypeVM + const WorkloadTypeVMwareVM + type YearlyRetentionSchedule struct + MonthsOfYear *[]MonthOfYear + RetentionDuration *RetentionDuration + RetentionScheduleDaily *DailyRetentionFormat + RetentionScheduleFormatType *RetentionScheduleFormat + RetentionScheduleWeekly *WeeklyRetentionFormat + RetentionTimes *[]string