Documentation ¶
Index ¶
- func PossibleValuesForDatabaseKeyType() []string
- func ValidateRecoverableDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseKey
- type DatabaseKeyType
- type GetOperationOptions
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerCustomPager
- type ListByServerOperationResponse
- type RecoverableDatabase
- type RecoverableDatabaseId
- type RecoverableDatabaseOperationPredicate
- type RecoverableDatabaseProperties
- type RecoverableDatabasesClient
- func (c RecoverableDatabasesClient) Get(ctx context.Context, id RecoverableDatabaseId, options GetOperationOptions) (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 PossibleValuesForDatabaseKeyType ¶
func PossibleValuesForDatabaseKeyType() []string
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 DatabaseKey ¶
type DatabaseKey struct { CreationDate *string `json:"creationDate,omitempty"` Subregion *string `json:"subregion,omitempty"` Thumbprint *string `json:"thumbprint,omitempty"` Type *DatabaseKeyType `json:"type,omitempty"` }
func (*DatabaseKey) GetCreationDateAsTime ¶
func (o *DatabaseKey) GetCreationDateAsTime() (*time.Time, error)
func (*DatabaseKey) SetCreationDateAsTime ¶
func (o *DatabaseKey) SetCreationDateAsTime(input time.Time)
type DatabaseKeyType ¶
type DatabaseKeyType string
const (
DatabaseKeyTypeAzureKeyVault DatabaseKeyType = "AzureKeyVault"
)
func (*DatabaseKeyType) UnmarshalJSON ¶
func (s *DatabaseKeyType) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecoverableDatabase }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []RecoverableDatabase }
type ListByServerCustomPager ¶ added in v0.20240628.1153531
func (*ListByServerCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByServerCustomPager) NextPageLink() *odata.Link
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) FromParseResult ¶
func (id *RecoverableDatabaseId) FromParseResult(input resourceids.ParseResult) error
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"` Keys *map[string]DatabaseKey `json:"keys,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, options GetOperationOptions) (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