Documentation ¶
Index ¶
- func ValidateRecoverableDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type RecoverableDatabase
- type RecoverableDatabaseId
- type RecoverableDatabaseOperationPredicate
- type RecoverableDatabaseProperties
- type RecoverableDatabasesClient
- func (c RecoverableDatabasesClient) Get(ctx context.Context, id RecoverableDatabaseId) (result GetOperationResponse, err error)
- func (c RecoverableDatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c RecoverableDatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c RecoverableDatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRecoverableDatabaseID ¶
func ValidateRecoverableDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateRecoverableDatabaseID checks that 'input' can be parsed as a Recoverable Database ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecoverableDatabase }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []RecoverableDatabase
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RecoverableDatabase }
type RecoverableDatabase ¶
type RecoverableDatabase struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RecoverableDatabaseProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecoverableDatabaseId ¶
type RecoverableDatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string RecoverableDatabaseName string }
RecoverableDatabaseId is a struct representing the Resource ID for a Recoverable Database
func NewRecoverableDatabaseID ¶
func NewRecoverableDatabaseID(subscriptionId string, resourceGroupName string, serverName string, recoverableDatabaseName string) RecoverableDatabaseId
NewRecoverableDatabaseID returns a new RecoverableDatabaseId struct
func ParseRecoverableDatabaseID ¶
func ParseRecoverableDatabaseID(input string) (*RecoverableDatabaseId, error)
ParseRecoverableDatabaseID parses 'input' into a RecoverableDatabaseId
func ParseRecoverableDatabaseIDInsensitively ¶
func ParseRecoverableDatabaseIDInsensitively(input string) (*RecoverableDatabaseId, error)
ParseRecoverableDatabaseIDInsensitively parses 'input' case-insensitively into a RecoverableDatabaseId note: this method should only be used for API response data and not user input
func (RecoverableDatabaseId) ID ¶
func (id RecoverableDatabaseId) ID() string
ID returns the formatted Recoverable Database ID
func (RecoverableDatabaseId) Segments ¶
func (id RecoverableDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recoverable Database ID
func (RecoverableDatabaseId) String ¶
func (id RecoverableDatabaseId) String() string
String returns a human-readable description of this Recoverable Database ID
type RecoverableDatabaseOperationPredicate ¶
func (RecoverableDatabaseOperationPredicate) Matches ¶
func (p RecoverableDatabaseOperationPredicate) Matches(input RecoverableDatabase) bool
type RecoverableDatabaseProperties ¶
type RecoverableDatabaseProperties struct { Edition *string `json:"edition,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` LastAvailableBackupDate *string `json:"lastAvailableBackupDate,omitempty"` ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` }
func (*RecoverableDatabaseProperties) GetLastAvailableBackupDateAsTime ¶
func (o *RecoverableDatabaseProperties) GetLastAvailableBackupDateAsTime() (*time.Time, error)
func (*RecoverableDatabaseProperties) SetLastAvailableBackupDateAsTime ¶
func (o *RecoverableDatabaseProperties) SetLastAvailableBackupDateAsTime(input time.Time)
type RecoverableDatabasesClient ¶
type RecoverableDatabasesClient struct {
Client *resourcemanager.Client
}
func NewRecoverableDatabasesClientWithBaseURI ¶
func NewRecoverableDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*RecoverableDatabasesClient, error)
func (RecoverableDatabasesClient) Get ¶
func (c RecoverableDatabasesClient) Get(ctx context.Context, id RecoverableDatabaseId) (result GetOperationResponse, err error)
Get ...
func (RecoverableDatabasesClient) ListByServer ¶
func (c RecoverableDatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (RecoverableDatabasesClient) ListByServerComplete ¶
func (c RecoverableDatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (RecoverableDatabasesClient) ListByServerCompleteMatchingPredicate ¶
func (c RecoverableDatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate RecoverableDatabaseOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate