Documentation ¶
Index ¶
- func PossibleValuesForRestorePointType() []string
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- type RestorePoint
- type RestorePointOperationPredicate
- type RestorePointProperties
- func (o *RestorePointProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
- func (o *RestorePointProperties) GetRestorePointCreationDateAsTime() (*time.Time, error)
- func (o *RestorePointProperties) SetEarliestRestoreDateAsTime(input time.Time)
- func (o *RestorePointProperties) SetRestorePointCreationDateAsTime(input time.Time)
- type RestorePointType
- type SqlPoolId
- type SqlPoolRestorePointsListCompleteResult
- type SqlPoolRestorePointsListCustomPager
- type SqlPoolRestorePointsListOperationResponse
- type SqlPoolsBackupClient
- func (c SqlPoolsBackupClient) SqlPoolRestorePointsList(ctx context.Context, id SqlPoolId) (result SqlPoolRestorePointsListOperationResponse, err error)
- func (c SqlPoolsBackupClient) SqlPoolRestorePointsListComplete(ctx context.Context, id SqlPoolId) (SqlPoolRestorePointsListCompleteResult, error)
- func (c SqlPoolsBackupClient) SqlPoolRestorePointsListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate RestorePointOperationPredicate) (result SqlPoolRestorePointsListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRestorePointType ¶
func PossibleValuesForRestorePointType() []string
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
Types ¶
type RestorePoint ¶
type RestorePoint struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RestorePointProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RestorePointOperationPredicate ¶
type RestorePointOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RestorePointOperationPredicate) Matches ¶
func (p RestorePointOperationPredicate) Matches(input RestorePoint) bool
type RestorePointProperties ¶
type RestorePointProperties struct { EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` RestorePointCreationDate *string `json:"restorePointCreationDate,omitempty"` RestorePointLabel *string `json:"restorePointLabel,omitempty"` RestorePointType *RestorePointType `json:"restorePointType,omitempty"` }
func (*RestorePointProperties) GetEarliestRestoreDateAsTime ¶
func (o *RestorePointProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
func (*RestorePointProperties) GetRestorePointCreationDateAsTime ¶
func (o *RestorePointProperties) GetRestorePointCreationDateAsTime() (*time.Time, error)
func (*RestorePointProperties) SetEarliestRestoreDateAsTime ¶
func (o *RestorePointProperties) SetEarliestRestoreDateAsTime(input time.Time)
func (*RestorePointProperties) SetRestorePointCreationDateAsTime ¶
func (o *RestorePointProperties) SetRestorePointCreationDateAsTime(input time.Time)
type RestorePointType ¶
type RestorePointType string
const ( RestorePointTypeCONTINUOUS RestorePointType = "CONTINUOUS" RestorePointTypeDISCRETE RestorePointType = "DISCRETE" )
func (*RestorePointType) UnmarshalJSON ¶
func (s *RestorePointType) UnmarshalJSON(bytes []byte) error
type SqlPoolId ¶
type SqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string }
SqlPoolId is a struct representing the Resource ID for a Sql Pool
func NewSqlPoolID ¶
func NewSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string) SqlPoolId
NewSqlPoolID returns a new SqlPoolId struct
func ParseSqlPoolID ¶
ParseSqlPoolID parses 'input' into a SqlPoolId
func ParseSqlPoolIDInsensitively ¶
ParseSqlPoolIDInsensitively parses 'input' case-insensitively into a SqlPoolId note: this method should only be used for API response data and not user input
func (*SqlPoolId) FromParseResult ¶
func (id *SqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (SqlPoolId) Segments ¶
func (id SqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Pool ID
type SqlPoolRestorePointsListCompleteResult ¶
type SqlPoolRestorePointsListCompleteResult struct { LatestHttpResponse *http.Response Items []RestorePoint }
type SqlPoolRestorePointsListCustomPager ¶ added in v0.20240628.1153531
func (*SqlPoolRestorePointsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *SqlPoolRestorePointsListCustomPager) NextPageLink() *odata.Link
type SqlPoolRestorePointsListOperationResponse ¶
type SqlPoolRestorePointsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RestorePoint }
type SqlPoolsBackupClient ¶
type SqlPoolsBackupClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsBackupClientWithBaseURI ¶
func NewSqlPoolsBackupClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsBackupClient, error)
func (SqlPoolsBackupClient) SqlPoolRestorePointsList ¶
func (c SqlPoolsBackupClient) SqlPoolRestorePointsList(ctx context.Context, id SqlPoolId) (result SqlPoolRestorePointsListOperationResponse, err error)
SqlPoolRestorePointsList ...
func (SqlPoolsBackupClient) SqlPoolRestorePointsListComplete ¶
func (c SqlPoolsBackupClient) SqlPoolRestorePointsListComplete(ctx context.Context, id SqlPoolId) (SqlPoolRestorePointsListCompleteResult, error)
SqlPoolRestorePointsListComplete retrieves all the results into a single object
func (SqlPoolsBackupClient) SqlPoolRestorePointsListCompleteMatchingPredicate ¶
func (c SqlPoolsBackupClient) SqlPoolRestorePointsListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate RestorePointOperationPredicate) (result SqlPoolRestorePointsListCompleteResult, err error)
SqlPoolRestorePointsListCompleteMatchingPredicate retrieves all the results and then applies the predicate