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 PossibleValuesForBackupStorageAccessTier() []string + type BackupStorageAccessTier string + const BackupStorageAccessTierArchive + const BackupStorageAccessTierHot + func (s *BackupStorageAccessTier) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstanceLongTermRetentionPolicy + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstanceLongTermRetentionPolicy + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstanceLongTermRetentionPolicy + OData *odata.OData + type ListByDatabaseCompleteResult struct + Items []ManagedInstanceLongTermRetentionPolicy + LatestHttpResponse *http.Response + type ListByDatabaseCustomPager struct + NextLink *odata.Link + func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link + type ListByDatabaseOperationResponse struct + HttpResponse *http.Response + Model *[]ManagedInstanceLongTermRetentionPolicy + OData *odata.OData + type ManagedInstanceLongTermRetentionPoliciesClient struct + Client *resourcemanager.Client + func NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedInstanceLongTermRetentionPoliciesClient, error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) error + func (c ManagedInstanceLongTermRetentionPoliciesClient) Delete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result DeleteOperationResponse, err error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) error + func (c ManagedInstanceLongTermRetentionPoliciesClient) Get(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result GetOperationResponse, err error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error) + func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error) + type ManagedInstanceLongTermRetentionPolicy struct + Id *string + Name *string + Properties *ManagedInstanceLongTermRetentionPolicyProperties + Type *string + type ManagedInstanceLongTermRetentionPolicyOperationPredicate struct + Id *string + Name *string + Type *string + func (p ManagedInstanceLongTermRetentionPolicyOperationPredicate) Matches(input ManagedInstanceLongTermRetentionPolicy) bool + type ManagedInstanceLongTermRetentionPolicyProperties struct + BackupStorageAccessTier *BackupStorageAccessTier + MonthlyRetention *string + WeekOfYear *int64 + WeeklyRetention *string + YearlyRetention *string