Documentation ¶
Index ¶
- func PossibleValuesForDiffBackupIntervalInHours() []int64
- type BackupShortTermRetentionPoliciesClient
- func (c BackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c BackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, ...) error
- func (c BackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id commonids.SqlDatabaseId) (result GetOperationResponse, err error)
- func (c BackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c BackupShortTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- func (c BackupShortTermRetentionPoliciesClient) Update(ctx context.Context, id commonids.SqlDatabaseId, ...) (result UpdateOperationResponse, err error)
- func (c BackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, ...) error
- type BackupShortTermRetentionPolicy
- type BackupShortTermRetentionPolicyOperationPredicate
- type BackupShortTermRetentionPolicyProperties
- type CreateOrUpdateOperationResponse
- type DiffBackupIntervalInHours
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseCustomPager
- type ListByDatabaseOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDiffBackupIntervalInHours ¶
func PossibleValuesForDiffBackupIntervalInHours() []int64
Types ¶
type BackupShortTermRetentionPoliciesClient ¶
type BackupShortTermRetentionPoliciesClient struct {
Client *resourcemanager.Client
}
func NewBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewBackupShortTermRetentionPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupShortTermRetentionPoliciesClient, error)
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (c BackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, input BackupShortTermRetentionPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll ¶
func (c BackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input BackupShortTermRetentionPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BackupShortTermRetentionPoliciesClient) Get ¶
func (c BackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id commonids.SqlDatabaseId) (result GetOperationResponse, err error)
Get ...
func (BackupShortTermRetentionPoliciesClient) ListByDatabase ¶
func (c BackupShortTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (c BackupShortTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (BackupShortTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c BackupShortTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate BackupShortTermRetentionPolicyOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackupShortTermRetentionPoliciesClient) Update ¶
func (c BackupShortTermRetentionPoliciesClient) Update(ctx context.Context, id commonids.SqlDatabaseId, input BackupShortTermRetentionPolicy) (result UpdateOperationResponse, err error)
Update ...
func (BackupShortTermRetentionPoliciesClient) UpdateThenPoll ¶
func (c BackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlDatabaseId, input BackupShortTermRetentionPolicy) error
UpdateThenPoll performs Update then polls until it's completed
type BackupShortTermRetentionPolicy ¶
type BackupShortTermRetentionPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BackupShortTermRetentionPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BackupShortTermRetentionPolicyOperationPredicate ¶
type BackupShortTermRetentionPolicyOperationPredicate struct { Id *string Name *string Type *string }
func (BackupShortTermRetentionPolicyOperationPredicate) Matches ¶
func (p BackupShortTermRetentionPolicyOperationPredicate) Matches(input BackupShortTermRetentionPolicy) bool
type BackupShortTermRetentionPolicyProperties ¶
type BackupShortTermRetentionPolicyProperties struct { DiffBackupIntervalInHours *DiffBackupIntervalInHours `json:"diffBackupIntervalInHours,omitempty"` RetentionDays *int64 `json:"retentionDays,omitempty"` }
type DiffBackupIntervalInHours ¶
type DiffBackupIntervalInHours int64
const ( DiffBackupIntervalInHoursOneTwo DiffBackupIntervalInHours = 12 DiffBackupIntervalInHoursTwoFour DiffBackupIntervalInHours = 24 )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupShortTermRetentionPolicy }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []BackupShortTermRetentionPolicy }
type ListByDatabaseCustomPager ¶ added in v0.20240628.1153531
func (*ListByDatabaseCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupShortTermRetentionPolicy }
type UpdateOperationResponse ¶
Click to show internal directories.
Click to hide internal directories.