Documentation ¶
Index ¶
- func ValidateRestorableDroppedDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type ListByRestorableDroppedDatabaseCompleteResult
- type ListByRestorableDroppedDatabaseOperationResponse
- type ManagedBackupShortTermRetentionPolicy
- type ManagedBackupShortTermRetentionPolicyOperationPredicate
- type ManagedBackupShortTermRetentionPolicyProperties
- type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id RestorableDroppedDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id RestorableDroppedDatabaseId, ...) error
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id RestorableDroppedDatabaseId) (result GetOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, id RestorableDroppedDatabaseId) (result ListByRestorableDroppedDatabaseOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, id RestorableDroppedDatabaseId) (ListByRestorableDroppedDatabaseCompleteResult, error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate(ctx context.Context, id RestorableDroppedDatabaseId, ...) (result ListByRestorableDroppedDatabaseCompleteResult, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, id RestorableDroppedDatabaseId, ...) (result UpdateOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id RestorableDroppedDatabaseId, ...) error
- type RestorableDroppedDatabaseId
- func NewRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) RestorableDroppedDatabaseId
- func ParseRestorableDroppedDatabaseID(input string) (*RestorableDroppedDatabaseId, error)
- func ParseRestorableDroppedDatabaseIDInsensitively(input string) (*RestorableDroppedDatabaseId, error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRestorableDroppedDatabaseID ¶
func ValidateRestorableDroppedDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateRestorableDroppedDatabaseID checks that 'input' can be parsed as a Restorable Dropped Database ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedBackupShortTermRetentionPolicy }
type ListByRestorableDroppedDatabaseCompleteResult ¶
type ListByRestorableDroppedDatabaseCompleteResult struct {
Items []ManagedBackupShortTermRetentionPolicy
}
type ListByRestorableDroppedDatabaseOperationResponse ¶
type ListByRestorableDroppedDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedBackupShortTermRetentionPolicy }
type ManagedBackupShortTermRetentionPolicy ¶
type ManagedBackupShortTermRetentionPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagedBackupShortTermRetentionPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedBackupShortTermRetentionPolicyOperationPredicate ¶
type ManagedBackupShortTermRetentionPolicyOperationPredicate struct { Id *string Name *string Type *string }
func (ManagedBackupShortTermRetentionPolicyOperationPredicate) Matches ¶
func (p ManagedBackupShortTermRetentionPolicyOperationPredicate) Matches(input ManagedBackupShortTermRetentionPolicy) bool
type ManagedBackupShortTermRetentionPolicyProperties ¶
type ManagedBackupShortTermRetentionPolicyProperties struct {
RetentionDays *int64 `json:"retentionDays,omitempty"`
}
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient ¶
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient struct {
Client *resourcemanager.Client
}
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient, error)
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id RestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id RestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id RestorableDroppedDatabaseId) (result GetOperationResponse, err error)
Get ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, id RestorableDroppedDatabaseId) (result ListByRestorableDroppedDatabaseOperationResponse, err error)
ListByRestorableDroppedDatabase ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, id RestorableDroppedDatabaseId) (ListByRestorableDroppedDatabaseCompleteResult, error)
ListByRestorableDroppedDatabaseComplete retrieves all the results into a single object
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate(ctx context.Context, id RestorableDroppedDatabaseId, predicate ManagedBackupShortTermRetentionPolicyOperationPredicate) (result ListByRestorableDroppedDatabaseCompleteResult, err error)
ListByRestorableDroppedDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, id RestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) (result UpdateOperationResponse, err error)
Update ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id RestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) error
UpdateThenPoll performs Update then polls until it's completed
type RestorableDroppedDatabaseId ¶
type RestorableDroppedDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string RestorableDroppedDatabaseId string }
RestorableDroppedDatabaseId is a struct representing the Resource ID for a Restorable Dropped Database
func NewRestorableDroppedDatabaseID ¶
func NewRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseId string) RestorableDroppedDatabaseId
NewRestorableDroppedDatabaseID returns a new RestorableDroppedDatabaseId struct
func ParseRestorableDroppedDatabaseID ¶
func ParseRestorableDroppedDatabaseID(input string) (*RestorableDroppedDatabaseId, error)
ParseRestorableDroppedDatabaseID parses 'input' into a RestorableDroppedDatabaseId
func ParseRestorableDroppedDatabaseIDInsensitively ¶
func ParseRestorableDroppedDatabaseIDInsensitively(input string) (*RestorableDroppedDatabaseId, error)
ParseRestorableDroppedDatabaseIDInsensitively parses 'input' case-insensitively into a RestorableDroppedDatabaseId note: this method should only be used for API response data and not user input
func (RestorableDroppedDatabaseId) ID ¶
func (id RestorableDroppedDatabaseId) ID() string
ID returns the formatted Restorable Dropped Database ID
func (RestorableDroppedDatabaseId) Segments ¶
func (id RestorableDroppedDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Restorable Dropped Database ID
func (RestorableDroppedDatabaseId) String ¶
func (id RestorableDroppedDatabaseId) String() string
String returns a human-readable description of this Restorable Dropped Database ID