Documentation ¶
Index ¶
- func PossibleValuesForAbsoluteMarker() []string
- func PossibleValuesForDataStoreTypes() []string
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForMonth() []string
- func PossibleValuesForWeekNumber() []string
- func ValidateBackupPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AbsoluteDeleteOption
- type AbsoluteMarker
- type AdhocBasedTaggingCriteria
- type AdhocBasedTriggerContext
- type AzureBackupParams
- type AzureBackupRule
- type AzureRetentionRule
- type BackupCriteria
- type BackupParameters
- type BackupPoliciesClient
- func (c BackupPoliciesClient) CreateOrUpdate(ctx context.Context, id BackupPolicyId, input BaseBackupPolicyResource) (result CreateOrUpdateOperationResponse, err error)
- func (c BackupPoliciesClient) Delete(ctx context.Context, id BackupPolicyId) (result DeleteOperationResponse, err error)
- func (c BackupPoliciesClient) Get(ctx context.Context, id BackupPolicyId) (result GetOperationResponse, err error)
- func (c BackupPoliciesClient) List(ctx context.Context, id BackupVaultId) (result ListOperationResponse, err error)
- func (c BackupPoliciesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
- func (c BackupPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, ...) (result ListCompleteResult, err error)
- type BackupPolicy
- type BackupPolicyId
- type BackupSchedule
- type BackupVaultId
- type BaseBackupCriteriaImpl
- type BaseBackupParametersImpl
- type BaseBackupPolicy
- type BaseBackupPolicyResource
- type BaseBackupPolicyResourceOperationPredicate
- type BaseBaseBackupPolicyImpl
- type BaseBasePolicyRuleImpl
- type BaseCopyOptionImpl
- type BaseDeleteOptionImpl
- type BasePolicyRule
- type BaseTriggerContextImpl
- type CopyOnExpiryOption
- type CopyOption
- type CreateOrUpdateOperationResponse
- type CustomCopyOption
- type DataStoreInfoBase
- type DataStoreTypes
- type Day
- type DayOfWeek
- type DeleteOperationResponse
- type DeleteOption
- type GetOperationResponse
- type ImmediateCopyOption
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Month
- type RawBackupCriteriaImpl
- type RawBackupParametersImpl
- type RawBaseBackupPolicyImpl
- type RawBasePolicyRuleImpl
- type RawCopyOptionImpl
- type RawDeleteOptionImpl
- type RawTriggerContextImpl
- type RetentionTag
- type ScheduleBasedBackupCriteria
- type ScheduleBasedTriggerContext
- type SourceLifeCycle
- type TaggingCriteria
- type TargetCopySetting
- type TriggerContext
- type WeekNumber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAbsoluteMarker ¶
func PossibleValuesForAbsoluteMarker() []string
func PossibleValuesForDataStoreTypes ¶
func PossibleValuesForDataStoreTypes() []string
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForMonth ¶
func PossibleValuesForMonth() []string
func PossibleValuesForWeekNumber ¶
func PossibleValuesForWeekNumber() []string
func ValidateBackupPolicyID ¶
ValidateBackupPolicyID checks that 'input' can be parsed as a Backup Policy ID
func ValidateBackupVaultID ¶
ValidateBackupVaultID checks that 'input' can be parsed as a Backup Vault ID
Types ¶
type AbsoluteDeleteOption ¶
type AbsoluteDeleteOption struct { Duration string `json:"duration"` ObjectType string `json:"objectType"` }
func (AbsoluteDeleteOption) DeleteOption ¶ added in v0.20240920.1135249
func (s AbsoluteDeleteOption) DeleteOption() BaseDeleteOptionImpl
func (AbsoluteDeleteOption) MarshalJSON ¶
func (s AbsoluteDeleteOption) MarshalJSON() ([]byte, error)
type AbsoluteMarker ¶
type AbsoluteMarker string
const ( AbsoluteMarkerAllBackup AbsoluteMarker = "AllBackup" AbsoluteMarkerFirstOfDay AbsoluteMarker = "FirstOfDay" AbsoluteMarkerFirstOfMonth AbsoluteMarker = "FirstOfMonth" AbsoluteMarkerFirstOfWeek AbsoluteMarker = "FirstOfWeek" AbsoluteMarkerFirstOfYear AbsoluteMarker = "FirstOfYear" )
func (*AbsoluteMarker) UnmarshalJSON ¶
func (s *AbsoluteMarker) UnmarshalJSON(bytes []byte) error
type AdhocBasedTaggingCriteria ¶
type AdhocBasedTaggingCriteria struct {
TagInfo *RetentionTag `json:"tagInfo,omitempty"`
}
type AdhocBasedTriggerContext ¶
type AdhocBasedTriggerContext struct { TaggingCriteria AdhocBasedTaggingCriteria `json:"taggingCriteria"` ObjectType string `json:"objectType"` }
func (AdhocBasedTriggerContext) MarshalJSON ¶
func (s AdhocBasedTriggerContext) MarshalJSON() ([]byte, error)
func (AdhocBasedTriggerContext) TriggerContext ¶ added in v0.20240920.1135249
func (s AdhocBasedTriggerContext) TriggerContext() BaseTriggerContextImpl
type AzureBackupParams ¶
type AzureBackupParams struct { BackupType string `json:"backupType"` ObjectType string `json:"objectType"` }
func (AzureBackupParams) BackupParameters ¶ added in v0.20240920.1135249
func (s AzureBackupParams) BackupParameters() BaseBackupParametersImpl
func (AzureBackupParams) MarshalJSON ¶
func (s AzureBackupParams) MarshalJSON() ([]byte, error)
type AzureBackupRule ¶
type AzureBackupRule struct { BackupParameters BackupParameters `json:"backupParameters"` DataStore DataStoreInfoBase `json:"dataStore"` Trigger TriggerContext `json:"trigger"` Name string `json:"name"` ObjectType string `json:"objectType"` }
func (AzureBackupRule) BasePolicyRule ¶ added in v0.20240920.1135249
func (s AzureBackupRule) BasePolicyRule() BaseBasePolicyRuleImpl
func (AzureBackupRule) MarshalJSON ¶
func (s AzureBackupRule) MarshalJSON() ([]byte, error)
func (*AzureBackupRule) UnmarshalJSON ¶
func (s *AzureBackupRule) UnmarshalJSON(bytes []byte) error
type AzureRetentionRule ¶
type AzureRetentionRule struct { IsDefault *bool `json:"isDefault,omitempty"` Lifecycles []SourceLifeCycle `json:"lifecycles"` Name string `json:"name"` ObjectType string `json:"objectType"` }
func (AzureRetentionRule) BasePolicyRule ¶ added in v0.20240920.1135249
func (s AzureRetentionRule) BasePolicyRule() BaseBasePolicyRuleImpl
func (AzureRetentionRule) MarshalJSON ¶
func (s AzureRetentionRule) MarshalJSON() ([]byte, error)
type BackupCriteria ¶
type BackupCriteria interface {
BackupCriteria() BaseBackupCriteriaImpl
}
func UnmarshalBackupCriteriaImplementation ¶ added in v0.20240920.1135249
func UnmarshalBackupCriteriaImplementation(input []byte) (BackupCriteria, error)
type BackupParameters ¶
type BackupParameters interface {
BackupParameters() BaseBackupParametersImpl
}
func UnmarshalBackupParametersImplementation ¶ added in v0.20240920.1135249
func UnmarshalBackupParametersImplementation(input []byte) (BackupParameters, error)
type BackupPoliciesClient ¶
type BackupPoliciesClient struct {
Client *resourcemanager.Client
}
func NewBackupPoliciesClientWithBaseURI ¶
func NewBackupPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupPoliciesClient, error)
func (BackupPoliciesClient) CreateOrUpdate ¶
func (c BackupPoliciesClient) CreateOrUpdate(ctx context.Context, id BackupPolicyId, input BaseBackupPolicyResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupPoliciesClient) Delete ¶
func (c BackupPoliciesClient) Delete(ctx context.Context, id BackupPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (BackupPoliciesClient) Get ¶
func (c BackupPoliciesClient) Get(ctx context.Context, id BackupPolicyId) (result GetOperationResponse, err error)
Get ...
func (BackupPoliciesClient) List ¶
func (c BackupPoliciesClient) List(ctx context.Context, id BackupVaultId) (result ListOperationResponse, err error)
List ...
func (BackupPoliciesClient) ListComplete ¶
func (c BackupPoliciesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BackupPoliciesClient) ListCompleteMatchingPredicate ¶
func (c BackupPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, predicate BaseBackupPolicyResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BackupPolicy ¶
type BackupPolicy struct { PolicyRules []BasePolicyRule `json:"policyRules"` DatasourceTypes []string `json:"datasourceTypes"` ObjectType string `json:"objectType"` }
func (BackupPolicy) BaseBackupPolicy ¶ added in v0.20240920.1135249
func (s BackupPolicy) BaseBackupPolicy() BaseBaseBackupPolicyImpl
func (BackupPolicy) MarshalJSON ¶
func (s BackupPolicy) MarshalJSON() ([]byte, error)
func (*BackupPolicy) UnmarshalJSON ¶
func (s *BackupPolicy) UnmarshalJSON(bytes []byte) error
type BackupPolicyId ¶
type BackupPolicyId struct { SubscriptionId string ResourceGroupName string BackupVaultName string BackupPolicyName string }
BackupPolicyId is a struct representing the Resource ID for a Backup Policy
func NewBackupPolicyID ¶
func NewBackupPolicyID(subscriptionId string, resourceGroupName string, backupVaultName string, backupPolicyName string) BackupPolicyId
NewBackupPolicyID returns a new BackupPolicyId struct
func ParseBackupPolicyID ¶
func ParseBackupPolicyID(input string) (*BackupPolicyId, error)
ParseBackupPolicyID parses 'input' into a BackupPolicyId
func ParseBackupPolicyIDInsensitively ¶
func ParseBackupPolicyIDInsensitively(input string) (*BackupPolicyId, error)
ParseBackupPolicyIDInsensitively parses 'input' case-insensitively into a BackupPolicyId note: this method should only be used for API response data and not user input
func (*BackupPolicyId) FromParseResult ¶
func (id *BackupPolicyId) FromParseResult(input resourceids.ParseResult) error
func (BackupPolicyId) ID ¶
func (id BackupPolicyId) ID() string
ID returns the formatted Backup Policy ID
func (BackupPolicyId) Segments ¶
func (id BackupPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Policy ID
func (BackupPolicyId) String ¶
func (id BackupPolicyId) String() string
String returns a human-readable description of this Backup Policy ID
type BackupSchedule ¶
type BackupVaultId ¶
BackupVaultId is a struct representing the Resource ID for a Backup Vault
func NewBackupVaultID ¶
func NewBackupVaultID(subscriptionId string, resourceGroupName string, backupVaultName string) BackupVaultId
NewBackupVaultID returns a new BackupVaultId struct
func ParseBackupVaultID ¶
func ParseBackupVaultID(input string) (*BackupVaultId, error)
ParseBackupVaultID parses 'input' into a BackupVaultId
func ParseBackupVaultIDInsensitively ¶
func ParseBackupVaultIDInsensitively(input string) (*BackupVaultId, error)
ParseBackupVaultIDInsensitively parses 'input' case-insensitively into a BackupVaultId note: this method should only be used for API response data and not user input
func (*BackupVaultId) FromParseResult ¶
func (id *BackupVaultId) FromParseResult(input resourceids.ParseResult) error
func (BackupVaultId) ID ¶
func (id BackupVaultId) ID() string
ID returns the formatted Backup Vault ID
func (BackupVaultId) Segments ¶
func (id BackupVaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Vault ID
func (BackupVaultId) String ¶
func (id BackupVaultId) String() string
String returns a human-readable description of this Backup Vault ID
type BaseBackupCriteriaImpl ¶ added in v0.20240920.1135249
type BaseBackupCriteriaImpl struct {
ObjectType string `json:"objectType"`
}
func (BaseBackupCriteriaImpl) BackupCriteria ¶ added in v0.20240920.1135249
func (s BaseBackupCriteriaImpl) BackupCriteria() BaseBackupCriteriaImpl
type BaseBackupParametersImpl ¶ added in v0.20240920.1135249
type BaseBackupParametersImpl struct {
ObjectType string `json:"objectType"`
}
func (BaseBackupParametersImpl) BackupParameters ¶ added in v0.20240920.1135249
func (s BaseBackupParametersImpl) BackupParameters() BaseBackupParametersImpl
type BaseBackupPolicy ¶
type BaseBackupPolicy interface {
BaseBackupPolicy() BaseBaseBackupPolicyImpl
}
func UnmarshalBaseBackupPolicyImplementation ¶ added in v0.20240920.1135249
func UnmarshalBaseBackupPolicyImplementation(input []byte) (BaseBackupPolicy, error)
type BaseBackupPolicyResource ¶
type BaseBackupPolicyResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties BaseBackupPolicy `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*BaseBackupPolicyResource) UnmarshalJSON ¶
func (s *BaseBackupPolicyResource) UnmarshalJSON(bytes []byte) error
type BaseBackupPolicyResourceOperationPredicate ¶
func (BaseBackupPolicyResourceOperationPredicate) Matches ¶
func (p BaseBackupPolicyResourceOperationPredicate) Matches(input BaseBackupPolicyResource) bool
type BaseBaseBackupPolicyImpl ¶ added in v0.20240920.1135249
type BaseBaseBackupPolicyImpl struct { DatasourceTypes []string `json:"datasourceTypes"` ObjectType string `json:"objectType"` }
func (BaseBaseBackupPolicyImpl) BaseBackupPolicy ¶ added in v0.20240920.1135249
func (s BaseBaseBackupPolicyImpl) BaseBackupPolicy() BaseBaseBackupPolicyImpl
type BaseBasePolicyRuleImpl ¶ added in v0.20240920.1135249
type BaseBasePolicyRuleImpl struct { Name string `json:"name"` ObjectType string `json:"objectType"` }
func (BaseBasePolicyRuleImpl) BasePolicyRule ¶ added in v0.20240920.1135249
func (s BaseBasePolicyRuleImpl) BasePolicyRule() BaseBasePolicyRuleImpl
type BaseCopyOptionImpl ¶ added in v0.20240920.1135249
type BaseCopyOptionImpl struct {
ObjectType string `json:"objectType"`
}
func (BaseCopyOptionImpl) CopyOption ¶ added in v0.20240920.1135249
func (s BaseCopyOptionImpl) CopyOption() BaseCopyOptionImpl
type BaseDeleteOptionImpl ¶ added in v0.20240920.1135249
type BaseDeleteOptionImpl struct { Duration string `json:"duration"` ObjectType string `json:"objectType"` }
func (BaseDeleteOptionImpl) DeleteOption ¶ added in v0.20240920.1135249
func (s BaseDeleteOptionImpl) DeleteOption() BaseDeleteOptionImpl
type BasePolicyRule ¶
type BasePolicyRule interface {
BasePolicyRule() BaseBasePolicyRuleImpl
}
func UnmarshalBasePolicyRuleImplementation ¶ added in v0.20240920.1135249
func UnmarshalBasePolicyRuleImplementation(input []byte) (BasePolicyRule, error)
type BaseTriggerContextImpl ¶ added in v0.20240920.1135249
type BaseTriggerContextImpl struct {
ObjectType string `json:"objectType"`
}
func (BaseTriggerContextImpl) TriggerContext ¶ added in v0.20240920.1135249
func (s BaseTriggerContextImpl) TriggerContext() BaseTriggerContextImpl
type CopyOnExpiryOption ¶
type CopyOnExpiryOption struct {
ObjectType string `json:"objectType"`
}
func (CopyOnExpiryOption) CopyOption ¶ added in v0.20240920.1135249
func (s CopyOnExpiryOption) CopyOption() BaseCopyOptionImpl
func (CopyOnExpiryOption) MarshalJSON ¶
func (s CopyOnExpiryOption) MarshalJSON() ([]byte, error)
type CopyOption ¶
type CopyOption interface {
CopyOption() BaseCopyOptionImpl
}
func UnmarshalCopyOptionImplementation ¶ added in v0.20240920.1135249
func UnmarshalCopyOptionImplementation(input []byte) (CopyOption, error)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BaseBackupPolicyResource }
type CustomCopyOption ¶
type CustomCopyOption struct { Duration *string `json:"duration,omitempty"` ObjectType string `json:"objectType"` }
func (CustomCopyOption) CopyOption ¶ added in v0.20240920.1135249
func (s CustomCopyOption) CopyOption() BaseCopyOptionImpl
func (CustomCopyOption) MarshalJSON ¶
func (s CustomCopyOption) MarshalJSON() ([]byte, error)
type DataStoreInfoBase ¶
type DataStoreInfoBase struct { DataStoreType DataStoreTypes `json:"dataStoreType"` ObjectType string `json:"objectType"` }
type DataStoreTypes ¶
type DataStoreTypes string
const ( DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore" DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore" DataStoreTypesVaultStore DataStoreTypes = "VaultStore" )
func (*DataStoreTypes) UnmarshalJSON ¶
func (s *DataStoreTypes) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DeleteOption ¶
type DeleteOption interface {
DeleteOption() BaseDeleteOptionImpl
}
func UnmarshalDeleteOptionImplementation ¶ added in v0.20240920.1135249
func UnmarshalDeleteOptionImplementation(input []byte) (DeleteOption, error)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BaseBackupPolicyResource }
type ImmediateCopyOption ¶
type ImmediateCopyOption struct {
ObjectType string `json:"objectType"`
}
func (ImmediateCopyOption) CopyOption ¶ added in v0.20240920.1135249
func (s ImmediateCopyOption) CopyOption() BaseCopyOptionImpl
func (ImmediateCopyOption) MarshalJSON ¶
func (s ImmediateCopyOption) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BaseBackupPolicyResource }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BaseBackupPolicyResource }
type Month ¶
type Month string
const ( MonthApril Month = "April" MonthAugust Month = "August" MonthDecember Month = "December" MonthFebruary Month = "February" MonthJanuary Month = "January" MonthJuly Month = "July" MonthJune Month = "June" MonthMarch Month = "March" MonthMay Month = "May" MonthNovember Month = "November" MonthOctober Month = "October" MonthSeptember Month = "September" )
func (*Month) UnmarshalJSON ¶
type RawBackupCriteriaImpl ¶
type RawBackupCriteriaImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBackupCriteriaImpl 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 (RawBackupCriteriaImpl) BackupCriteria ¶ added in v0.20240920.1135249
func (s RawBackupCriteriaImpl) BackupCriteria() BaseBackupCriteriaImpl
type RawBackupParametersImpl ¶
type RawBackupParametersImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBackupParametersImpl 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 (RawBackupParametersImpl) BackupParameters ¶ added in v0.20240920.1135249
func (s RawBackupParametersImpl) BackupParameters() BaseBackupParametersImpl
type RawBaseBackupPolicyImpl ¶
type RawBaseBackupPolicyImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBaseBackupPolicyImpl 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 (RawBaseBackupPolicyImpl) BaseBackupPolicy ¶ added in v0.20240920.1135249
func (s RawBaseBackupPolicyImpl) BaseBackupPolicy() BaseBaseBackupPolicyImpl
type RawBasePolicyRuleImpl ¶
type RawBasePolicyRuleImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBasePolicyRuleImpl 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 (RawBasePolicyRuleImpl) BasePolicyRule ¶ added in v0.20240920.1135249
func (s RawBasePolicyRuleImpl) BasePolicyRule() BaseBasePolicyRuleImpl
type RawCopyOptionImpl ¶
type RawCopyOptionImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawCopyOptionImpl 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 (RawCopyOptionImpl) CopyOption ¶ added in v0.20240920.1135249
func (s RawCopyOptionImpl) CopyOption() BaseCopyOptionImpl
type RawDeleteOptionImpl ¶
type RawDeleteOptionImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawDeleteOptionImpl 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 (RawDeleteOptionImpl) DeleteOption ¶ added in v0.20240920.1135249
func (s RawDeleteOptionImpl) DeleteOption() BaseDeleteOptionImpl
type RawTriggerContextImpl ¶
type RawTriggerContextImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawTriggerContextImpl 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 (RawTriggerContextImpl) TriggerContext ¶ added in v0.20240920.1135249
func (s RawTriggerContextImpl) TriggerContext() BaseTriggerContextImpl
type RetentionTag ¶
type ScheduleBasedBackupCriteria ¶
type ScheduleBasedBackupCriteria struct { AbsoluteCriteria *[]AbsoluteMarker `json:"absoluteCriteria,omitempty"` DaysOfMonth *[]Day `json:"daysOfMonth,omitempty"` DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"` MonthsOfYear *[]Month `json:"monthsOfYear,omitempty"` ScheduleTimes *[]string `json:"scheduleTimes,omitempty"` WeeksOfTheMonth *[]WeekNumber `json:"weeksOfTheMonth,omitempty"` ObjectType string `json:"objectType"` }
func (ScheduleBasedBackupCriteria) BackupCriteria ¶ added in v0.20240920.1135249
func (s ScheduleBasedBackupCriteria) BackupCriteria() BaseBackupCriteriaImpl
func (ScheduleBasedBackupCriteria) MarshalJSON ¶
func (s ScheduleBasedBackupCriteria) MarshalJSON() ([]byte, error)
type ScheduleBasedTriggerContext ¶
type ScheduleBasedTriggerContext struct { Schedule BackupSchedule `json:"schedule"` TaggingCriteria []TaggingCriteria `json:"taggingCriteria"` ObjectType string `json:"objectType"` }
func (ScheduleBasedTriggerContext) MarshalJSON ¶
func (s ScheduleBasedTriggerContext) MarshalJSON() ([]byte, error)
func (ScheduleBasedTriggerContext) TriggerContext ¶ added in v0.20240920.1135249
func (s ScheduleBasedTriggerContext) TriggerContext() BaseTriggerContextImpl
type SourceLifeCycle ¶
type SourceLifeCycle struct { DeleteAfter DeleteOption `json:"deleteAfter"` SourceDataStore DataStoreInfoBase `json:"sourceDataStore"` TargetDataStoreCopySettings *[]TargetCopySetting `json:"targetDataStoreCopySettings,omitempty"` }
func (*SourceLifeCycle) UnmarshalJSON ¶
func (s *SourceLifeCycle) UnmarshalJSON(bytes []byte) error
type TaggingCriteria ¶
type TaggingCriteria struct { Criteria *[]BackupCriteria `json:"criteria,omitempty"` IsDefault bool `json:"isDefault"` TagInfo RetentionTag `json:"tagInfo"` TaggingPriority int64 `json:"taggingPriority"` }
func (*TaggingCriteria) UnmarshalJSON ¶
func (s *TaggingCriteria) UnmarshalJSON(bytes []byte) error
type TargetCopySetting ¶
type TargetCopySetting struct { CopyAfter CopyOption `json:"copyAfter"` DataStore DataStoreInfoBase `json:"dataStore"` }
func (*TargetCopySetting) UnmarshalJSON ¶
func (s *TargetCopySetting) UnmarshalJSON(bytes []byte) error
type TriggerContext ¶
type TriggerContext interface {
TriggerContext() BaseTriggerContextImpl
}
func UnmarshalTriggerContextImplementation ¶ added in v0.20240920.1135249
func UnmarshalTriggerContextImplementation(input []byte) (TriggerContext, error)
type WeekNumber ¶
type WeekNumber string
const ( WeekNumberFirst WeekNumber = "First" WeekNumberFourth WeekNumber = "Fourth" WeekNumberLast WeekNumber = "Last" WeekNumberSecond WeekNumber = "Second" WeekNumberThird WeekNumber = "Third" )
func (*WeekNumber) UnmarshalJSON ¶
func (s *WeekNumber) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_backuppolicy.go
- id_backupvault.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_absolutedeleteoption.go
- model_adhocbasedtaggingcriteria.go
- model_adhocbasedtriggercontext.go
- model_azurebackupparams.go
- model_azurebackuprule.go
- model_azureretentionrule.go
- model_backupcriteria.go
- model_backupparameters.go
- model_backuppolicy.go
- model_backupschedule.go
- model_basebackuppolicy.go
- model_basebackuppolicyresource.go
- model_basepolicyrule.go
- model_copyonexpiryoption.go
- model_copyoption.go
- model_customcopyoption.go
- model_datastoreinfobase.go
- model_day.go
- model_deleteoption.go
- model_immediatecopyoption.go
- model_retentiontag.go
- model_schedulebasedbackupcriteria.go
- model_schedulebasedtriggercontext.go
- model_sourcelifecycle.go
- model_taggingcriteria.go
- model_targetcopysetting.go
- model_triggercontext.go
- predicates.go
- version.go