Documentation ¶
Index ¶
- func PossibleValuesForBackupStorageRedundancy() []string
- func PossibleValuesForDatabaseKeyType() []string
- func ValidateRestorableDroppedDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type BackupStorageRedundancy
- type DatabaseKey
- type DatabaseKeyType
- type GetOperationOptions
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type RestorableDroppedDatabase
- type RestorableDroppedDatabaseId
- func NewRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, serverName string, ...) RestorableDroppedDatabaseId
- func ParseRestorableDroppedDatabaseID(input string) (*RestorableDroppedDatabaseId, error)
- func ParseRestorableDroppedDatabaseIDInsensitively(input string) (*RestorableDroppedDatabaseId, error)
- type RestorableDroppedDatabaseOperationPredicate
- type RestorableDroppedDatabaseProperties
- func (o *RestorableDroppedDatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *RestorableDroppedDatabaseProperties) GetDeletionDateAsTime() (*time.Time, error)
- func (o *RestorableDroppedDatabaseProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
- func (o *RestorableDroppedDatabaseProperties) SetCreationDateAsTime(input time.Time)
- func (o *RestorableDroppedDatabaseProperties) SetDeletionDateAsTime(input time.Time)
- func (o *RestorableDroppedDatabaseProperties) SetEarliestRestoreDateAsTime(input time.Time)
- type RestorableDroppedDatabasesClient
- func (c RestorableDroppedDatabasesClient) Get(ctx context.Context, id RestorableDroppedDatabaseId, ...) (result GetOperationResponse, err error)
- func (c RestorableDroppedDatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c RestorableDroppedDatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c RestorableDroppedDatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
- type Sku
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupStorageRedundancy ¶
func PossibleValuesForBackupStorageRedundancy() []string
func PossibleValuesForDatabaseKeyType ¶
func PossibleValuesForDatabaseKeyType() []string
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 BackupStorageRedundancy ¶
type BackupStorageRedundancy string
const ( BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo" BackupStorageRedundancyGeoZone BackupStorageRedundancy = "GeoZone" BackupStorageRedundancyLocal BackupStorageRedundancy = "Local" BackupStorageRedundancyZone BackupStorageRedundancy = "Zone" )
func (*BackupStorageRedundancy) UnmarshalJSON ¶
func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error
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 *RestorableDroppedDatabase }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []RestorableDroppedDatabase
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RestorableDroppedDatabase }
type RestorableDroppedDatabase ¶
type RestorableDroppedDatabase struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RestorableDroppedDatabaseProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type RestorableDroppedDatabaseId ¶
type RestorableDroppedDatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string RestorableDroppedDatabaseId string }
RestorableDroppedDatabaseId is a struct representing the Resource ID for a Restorable Dropped Database
func NewRestorableDroppedDatabaseID ¶
func NewRestorableDroppedDatabaseID(subscriptionId string, resourceGroupName string, serverName 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
type RestorableDroppedDatabaseOperationPredicate ¶
type RestorableDroppedDatabaseOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RestorableDroppedDatabaseOperationPredicate) Matches ¶
func (p RestorableDroppedDatabaseOperationPredicate) Matches(input RestorableDroppedDatabase) bool
type RestorableDroppedDatabaseProperties ¶
type RestorableDroppedDatabaseProperties struct { BackupStorageRedundancy *BackupStorageRedundancy `json:"backupStorageRedundancy,omitempty"` CreationDate *string `json:"creationDate,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` DeletionDate *string `json:"deletionDate,omitempty"` EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` Keys *map[string]DatabaseKey `json:"keys,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` }
func (*RestorableDroppedDatabaseProperties) GetCreationDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
func (*RestorableDroppedDatabaseProperties) GetDeletionDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) GetDeletionDateAsTime() (*time.Time, error)
func (*RestorableDroppedDatabaseProperties) GetEarliestRestoreDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
func (*RestorableDroppedDatabaseProperties) SetCreationDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) SetCreationDateAsTime(input time.Time)
func (*RestorableDroppedDatabaseProperties) SetDeletionDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) SetDeletionDateAsTime(input time.Time)
func (*RestorableDroppedDatabaseProperties) SetEarliestRestoreDateAsTime ¶
func (o *RestorableDroppedDatabaseProperties) SetEarliestRestoreDateAsTime(input time.Time)
type RestorableDroppedDatabasesClient ¶
type RestorableDroppedDatabasesClient struct {
Client *resourcemanager.Client
}
func NewRestorableDroppedDatabasesClientWithBaseURI ¶
func NewRestorableDroppedDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*RestorableDroppedDatabasesClient, error)
func (RestorableDroppedDatabasesClient) Get ¶
func (c RestorableDroppedDatabasesClient) Get(ctx context.Context, id RestorableDroppedDatabaseId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (RestorableDroppedDatabasesClient) ListByServer ¶
func (c RestorableDroppedDatabasesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (RestorableDroppedDatabasesClient) ListByServerComplete ¶
func (c RestorableDroppedDatabasesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (RestorableDroppedDatabasesClient) ListByServerCompleteMatchingPredicate ¶
func (c RestorableDroppedDatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate RestorableDroppedDatabaseOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate