Documentation ¶
Index ¶
- func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type BaseLongTermRetentionPolicyProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type ManagedInstanceDatabaseId
- func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceDatabaseId
- func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
- func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
- type ManagedInstanceLongTermRetentionPoliciesClient
- func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, ...) error
- func (c ManagedInstanceLongTermRetentionPoliciesClient) Delete(ctx context.Context, id ManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
- func (c ManagedInstanceLongTermRetentionPoliciesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceDatabaseId) error
- func (c ManagedInstanceLongTermRetentionPoliciesClient) Get(ctx context.Context, id ManagedInstanceDatabaseId) (result GetOperationResponse, err error)
- func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type ManagedInstanceLongTermRetentionPolicy
- type ManagedInstanceLongTermRetentionPolicyOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateManagedInstanceDatabaseID ¶
func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceDatabaseID checks that 'input' can be parsed as a Managed Instance Database ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedInstanceLongTermRetentionPolicy }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []ManagedInstanceLongTermRetentionPolicy
}
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstanceLongTermRetentionPolicy }
type ManagedInstanceDatabaseId ¶
type ManagedInstanceDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string }
ManagedInstanceDatabaseId is a struct representing the Resource ID for a Managed Instance Database
func NewManagedInstanceDatabaseID ¶
func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string) ManagedInstanceDatabaseId
NewManagedInstanceDatabaseID returns a new ManagedInstanceDatabaseId struct
func ParseManagedInstanceDatabaseID ¶
func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseID parses 'input' into a ManagedInstanceDatabaseId
func ParseManagedInstanceDatabaseIDInsensitively ¶
func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceDatabaseId) ID ¶
func (id ManagedInstanceDatabaseId) ID() string
ID returns the formatted Managed Instance Database ID
func (ManagedInstanceDatabaseId) Segments ¶
func (id ManagedInstanceDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Database ID
func (ManagedInstanceDatabaseId) String ¶
func (id ManagedInstanceDatabaseId) String() string
String returns a human-readable description of this Managed Instance Database ID
type ManagedInstanceLongTermRetentionPoliciesClient ¶
type ManagedInstanceLongTermRetentionPoliciesClient struct {
Client *resourcemanager.Client
}
func NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI ¶
func NewManagedInstanceLongTermRetentionPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedInstanceLongTermRetentionPoliciesClient, error)
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedInstanceLongTermRetentionPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateThenPoll ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceDatabaseId, input ManagedInstanceLongTermRetentionPolicy) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedInstanceLongTermRetentionPoliciesClient) Delete ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) Delete(ctx context.Context, id ManagedInstanceDatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedInstanceLongTermRetentionPoliciesClient) DeleteThenPoll ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceDatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedInstanceLongTermRetentionPoliciesClient) Get ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) Get(ctx context.Context, id ManagedInstanceDatabaseId) (result GetOperationResponse, err error)
Get ...
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedInstanceLongTermRetentionPoliciesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, predicate ManagedInstanceLongTermRetentionPolicyOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ManagedInstanceLongTermRetentionPolicy ¶
type ManagedInstanceLongTermRetentionPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BaseLongTermRetentionPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedInstanceLongTermRetentionPolicyOperationPredicate ¶
type ManagedInstanceLongTermRetentionPolicyOperationPredicate struct { Id *string Name *string Type *string }
func (ManagedInstanceLongTermRetentionPolicyOperationPredicate) Matches ¶
func (p ManagedInstanceLongTermRetentionPolicyOperationPredicate) Matches(input ManagedInstanceLongTermRetentionPolicy) bool