Documentation ¶
Index ¶
- func ValidateManagedInstanceRestorableDroppedDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type ListByRestorableDroppedDatabaseCompleteResult
- type ListByRestorableDroppedDatabaseOperationResponse
- type ManagedBackupShortTermRetentionPolicy
- type ManagedBackupShortTermRetentionPolicyOperationPredicate
- type ManagedBackupShortTermRetentionPolicyProperties
- type ManagedInstanceRestorableDroppedDatabaseId
- func NewManagedInstanceRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceRestorableDroppedDatabaseId
- func ParseManagedInstanceRestorableDroppedDatabaseID(input string) (*ManagedInstanceRestorableDroppedDatabaseId, error)
- func ParseManagedInstanceRestorableDroppedDatabaseIDInsensitively(input string) (*ManagedInstanceRestorableDroppedDatabaseId, error)
- type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, ...) error
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (result GetOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (result ListByRestorableDroppedDatabaseOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (ListByRestorableDroppedDatabaseCompleteResult, error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, ...) (result ListByRestorableDroppedDatabaseCompleteResult, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Update(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, ...) (result UpdateOperationResponse, err error)
- func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, ...) error
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateManagedInstanceRestorableDroppedDatabaseID ¶
func ValidateManagedInstanceRestorableDroppedDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceRestorableDroppedDatabaseID checks that 'input' can be parsed as a Managed Instance 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 ManagedInstanceRestorableDroppedDatabaseId ¶
type ManagedInstanceRestorableDroppedDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string RestorableDroppedDatabaseId string }
ManagedInstanceRestorableDroppedDatabaseId is a struct representing the Resource ID for a Managed Instance Restorable Dropped Database
func NewManagedInstanceRestorableDroppedDatabaseID ¶
func NewManagedInstanceRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, restorableDroppedDatabaseId string) ManagedInstanceRestorableDroppedDatabaseId
NewManagedInstanceRestorableDroppedDatabaseID returns a new ManagedInstanceRestorableDroppedDatabaseId struct
func ParseManagedInstanceRestorableDroppedDatabaseID ¶
func ParseManagedInstanceRestorableDroppedDatabaseID(input string) (*ManagedInstanceRestorableDroppedDatabaseId, error)
ParseManagedInstanceRestorableDroppedDatabaseID parses 'input' into a ManagedInstanceRestorableDroppedDatabaseId
func ParseManagedInstanceRestorableDroppedDatabaseIDInsensitively ¶
func ParseManagedInstanceRestorableDroppedDatabaseIDInsensitively(input string) (*ManagedInstanceRestorableDroppedDatabaseId, error)
ParseManagedInstanceRestorableDroppedDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceRestorableDroppedDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceRestorableDroppedDatabaseId) ID ¶
func (id ManagedInstanceRestorableDroppedDatabaseId) ID() string
ID returns the formatted Managed Instance Restorable Dropped Database ID
func (ManagedInstanceRestorableDroppedDatabaseId) Segments ¶
func (id ManagedInstanceRestorableDroppedDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Restorable Dropped Database ID
func (ManagedInstanceRestorableDroppedDatabaseId) String ¶
func (id ManagedInstanceRestorableDroppedDatabaseId) String() string
String returns a human-readable description of this Managed Instance Restorable Dropped Database ID
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient ¶
type ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient struct {
Client *resourcemanager.Client
}
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI(api environments.Api) (*ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient, error)
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) Get(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (result GetOperationResponse, err error)
Get ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabase(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (result ListByRestorableDroppedDatabaseOperationResponse, err error)
ListByRestorableDroppedDatabase ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseComplete(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId) (ListByRestorableDroppedDatabaseCompleteResult, error)
ListByRestorableDroppedDatabaseComplete retrieves all the results into a single object
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) ListByRestorableDroppedDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, 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 ManagedInstanceRestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) (result UpdateOperationResponse, err error)
Update ...
func (ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll ¶
func (c ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceRestorableDroppedDatabaseId, input ManagedBackupShortTermRetentionPolicy) error
UpdateThenPoll performs Update then polls until it's completed