Documentation ¶
Index ¶
- func ValidateRecoverableSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type RecoverableSqlPool
- type RecoverableSqlPoolId
- type RecoverableSqlPoolOperationPredicate
- type RecoverableSqlPoolProperties
- type RecoverableSqlPoolsGetOperationResponse
- type RecoverableSqlPoolsListCompleteResult
- type RecoverableSqlPoolsListOperationResponse
- type WorkspaceId
- type WorkspaceManagedSqlServerClient
- func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsGet(ctx context.Context, id RecoverableSqlPoolId) (result RecoverableSqlPoolsGetOperationResponse, err error)
- func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsList(ctx context.Context, id WorkspaceId) (result RecoverableSqlPoolsListOperationResponse, err error)
- func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListComplete(ctx context.Context, id WorkspaceId) (RecoverableSqlPoolsListCompleteResult, error)
- func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result RecoverableSqlPoolsListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRecoverableSqlPoolID ¶
func ValidateRecoverableSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
ValidateRecoverableSqlPoolID checks that 'input' can be parsed as a Recoverable Sql Pool ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type RecoverableSqlPool ¶
type RecoverableSqlPool struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RecoverableSqlPoolProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecoverableSqlPoolId ¶
type RecoverableSqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string RecoverableSqlPoolName string }
RecoverableSqlPoolId is a struct representing the Resource ID for a Recoverable Sql Pool
func NewRecoverableSqlPoolID ¶
func NewRecoverableSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, recoverableSqlPoolName string) RecoverableSqlPoolId
NewRecoverableSqlPoolID returns a new RecoverableSqlPoolId struct
func ParseRecoverableSqlPoolID ¶
func ParseRecoverableSqlPoolID(input string) (*RecoverableSqlPoolId, error)
ParseRecoverableSqlPoolID parses 'input' into a RecoverableSqlPoolId
func ParseRecoverableSqlPoolIDInsensitively ¶
func ParseRecoverableSqlPoolIDInsensitively(input string) (*RecoverableSqlPoolId, error)
ParseRecoverableSqlPoolIDInsensitively parses 'input' case-insensitively into a RecoverableSqlPoolId note: this method should only be used for API response data and not user input
func (*RecoverableSqlPoolId) FromParseResult ¶
func (id *RecoverableSqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (RecoverableSqlPoolId) ID ¶
func (id RecoverableSqlPoolId) ID() string
ID returns the formatted Recoverable Sql Pool ID
func (RecoverableSqlPoolId) Segments ¶
func (id RecoverableSqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recoverable Sql Pool ID
func (RecoverableSqlPoolId) String ¶
func (id RecoverableSqlPoolId) String() string
String returns a human-readable description of this Recoverable Sql Pool ID
type RecoverableSqlPoolOperationPredicate ¶
func (RecoverableSqlPoolOperationPredicate) Matches ¶
func (p RecoverableSqlPoolOperationPredicate) Matches(input RecoverableSqlPool) bool
type RecoverableSqlPoolProperties ¶
type RecoverableSqlPoolProperties struct { Edition *string `json:"edition,omitempty"` ElasticPoolName *string `json:"elasticPoolName,omitempty"` LastAvailableBackupDate *string `json:"lastAvailableBackupDate,omitempty"` ServiceLevelObjective *string `json:"serviceLevelObjective,omitempty"` }
func (*RecoverableSqlPoolProperties) GetLastAvailableBackupDateAsTime ¶
func (o *RecoverableSqlPoolProperties) GetLastAvailableBackupDateAsTime() (*time.Time, error)
func (*RecoverableSqlPoolProperties) SetLastAvailableBackupDateAsTime ¶
func (o *RecoverableSqlPoolProperties) SetLastAvailableBackupDateAsTime(input time.Time)
type RecoverableSqlPoolsGetOperationResponse ¶
type RecoverableSqlPoolsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecoverableSqlPool }
type RecoverableSqlPoolsListCompleteResult ¶
type RecoverableSqlPoolsListCompleteResult struct { LatestHttpResponse *http.Response Items []RecoverableSqlPool }
type RecoverableSqlPoolsListOperationResponse ¶
type RecoverableSqlPoolsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RecoverableSqlPool }
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceManagedSqlServerClient ¶
type WorkspaceManagedSqlServerClient struct {
Client *resourcemanager.Client
}
func NewWorkspaceManagedSqlServerClientWithBaseURI ¶
func NewWorkspaceManagedSqlServerClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspaceManagedSqlServerClient, error)
func (WorkspaceManagedSqlServerClient) RecoverableSqlPoolsGet ¶
func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsGet(ctx context.Context, id RecoverableSqlPoolId) (result RecoverableSqlPoolsGetOperationResponse, err error)
RecoverableSqlPoolsGet ...
func (WorkspaceManagedSqlServerClient) RecoverableSqlPoolsList ¶
func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsList(ctx context.Context, id WorkspaceId) (result RecoverableSqlPoolsListOperationResponse, err error)
RecoverableSqlPoolsList ...
func (WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListComplete ¶
func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListComplete(ctx context.Context, id WorkspaceId) (RecoverableSqlPoolsListCompleteResult, error)
RecoverableSqlPoolsListComplete retrieves all the results into a single object
func (WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListCompleteMatchingPredicate ¶
func (c WorkspaceManagedSqlServerClient) RecoverableSqlPoolsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate RecoverableSqlPoolOperationPredicate) (result RecoverableSqlPoolsListCompleteResult, err error)
RecoverableSqlPoolsListCompleteMatchingPredicate retrieves all the results and then applies the predicate