Documentation ¶
Index ¶
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateMode
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByWorkspaceCompleteResult
- type ListByWorkspaceOperationResponse
- type MetadataSyncConfig
- type MetadataSyncConfigProperties
- type PauseOperationResponse
- type ResumeOperationResponse
- type Sku
- type SqlPool
- type SqlPoolId
- type SqlPoolMetadataSyncConfigsCreateOperationResponse
- type SqlPoolMetadataSyncConfigsGetOperationResponse
- type SqlPoolOperationPredicate
- type SqlPoolPatchInfo
- type SqlPoolResourceProperties
- func (o *SqlPoolResourceProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *SqlPoolResourceProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
- func (o *SqlPoolResourceProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
- func (o *SqlPoolResourceProperties) SetCreationDateAsTime(input time.Time)
- func (o *SqlPoolResourceProperties) SetRestorePointInTimeAsTime(input time.Time)
- func (o *SqlPoolResourceProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
- type SqlPoolsClient
- func (c SqlPoolsClient) Create(ctx context.Context, id SqlPoolId, input SqlPool) (result CreateOperationResponse, err error)
- func (c SqlPoolsClient) CreateThenPoll(ctx context.Context, id SqlPoolId, input SqlPool) error
- func (c SqlPoolsClient) Delete(ctx context.Context, id SqlPoolId) (result DeleteOperationResponse, err error)
- func (c SqlPoolsClient) DeleteThenPoll(ctx context.Context, id SqlPoolId) error
- func (c SqlPoolsClient) Get(ctx context.Context, id SqlPoolId) (result GetOperationResponse, err error)
- func (c SqlPoolsClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- func (c SqlPoolsClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
- func (c SqlPoolsClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate SqlPoolOperationPredicate) (result ListByWorkspaceCompleteResult, err error)
- func (c SqlPoolsClient) Pause(ctx context.Context, id SqlPoolId) (result PauseOperationResponse, err error)
- func (c SqlPoolsClient) PauseThenPoll(ctx context.Context, id SqlPoolId) error
- func (c SqlPoolsClient) Resume(ctx context.Context, id SqlPoolId) (result ResumeOperationResponse, err error)
- func (c SqlPoolsClient) ResumeThenPoll(ctx context.Context, id SqlPoolId) error
- func (c SqlPoolsClient) SqlPoolMetadataSyncConfigsCreate(ctx context.Context, id SqlPoolId, input MetadataSyncConfig) (result SqlPoolMetadataSyncConfigsCreateOperationResponse, err error)
- func (c SqlPoolsClient) SqlPoolMetadataSyncConfigsGet(ctx context.Context, id SqlPoolId) (result SqlPoolMetadataSyncConfigsGetOperationResponse, err error)
- func (c SqlPoolsClient) Update(ctx context.Context, id SqlPoolId, input SqlPoolPatchInfo) (result UpdateOperationResponse, err error)
- func (c SqlPoolsClient) UpdateThenPoll(ctx context.Context, id SqlPoolId, input SqlPoolPatchInfo) error
- type StorageAccountType
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateMode ¶
type CreateMode string
const ( CreateModeDefault CreateMode = "Default" CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" CreateModeRecovery CreateMode = "Recovery" CreateModeRestore CreateMode = "Restore" )
func (*CreateMode) UnmarshalJSON ¶
func (s *CreateMode) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type MetadataSyncConfig ¶
type MetadataSyncConfig struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MetadataSyncConfigProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PauseOperationResponse ¶
type ResumeOperationResponse ¶
type SqlPool ¶
type SqlPool struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SqlPoolResourceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 SqlPoolMetadataSyncConfigsCreateOperationResponse ¶
type SqlPoolMetadataSyncConfigsCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetadataSyncConfig }
type SqlPoolMetadataSyncConfigsGetOperationResponse ¶
type SqlPoolMetadataSyncConfigsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetadataSyncConfig }
type SqlPoolOperationPredicate ¶
func (SqlPoolOperationPredicate) Matches ¶
func (p SqlPoolOperationPredicate) Matches(input SqlPool) bool
type SqlPoolPatchInfo ¶
type SqlPoolPatchInfo struct { Location *string `json:"location,omitempty"` Properties *SqlPoolResourceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type SqlPoolResourceProperties ¶
type SqlPoolResourceProperties struct { Collation *string `json:"collation,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` CreationDate *string `json:"creationDate,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"` SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"` Status *string `json:"status,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
func (*SqlPoolResourceProperties) GetCreationDateAsTime ¶
func (o *SqlPoolResourceProperties) GetCreationDateAsTime() (*time.Time, error)
func (*SqlPoolResourceProperties) GetRestorePointInTimeAsTime ¶
func (o *SqlPoolResourceProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*SqlPoolResourceProperties) GetSourceDatabaseDeletionDateAsTime ¶
func (o *SqlPoolResourceProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
func (*SqlPoolResourceProperties) SetCreationDateAsTime ¶
func (o *SqlPoolResourceProperties) SetCreationDateAsTime(input time.Time)
func (*SqlPoolResourceProperties) SetRestorePointInTimeAsTime ¶
func (o *SqlPoolResourceProperties) SetRestorePointInTimeAsTime(input time.Time)
func (*SqlPoolResourceProperties) SetSourceDatabaseDeletionDateAsTime ¶
func (o *SqlPoolResourceProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
type SqlPoolsClient ¶
type SqlPoolsClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsClientWithBaseURI ¶
func NewSqlPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsClient, error)
func (SqlPoolsClient) Create ¶
func (c SqlPoolsClient) Create(ctx context.Context, id SqlPoolId, input SqlPool) (result CreateOperationResponse, err error)
Create ...
func (SqlPoolsClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (SqlPoolsClient) Delete ¶
func (c SqlPoolsClient) Delete(ctx context.Context, id SqlPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (SqlPoolsClient) DeleteThenPoll ¶
func (c SqlPoolsClient) DeleteThenPoll(ctx context.Context, id SqlPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SqlPoolsClient) Get ¶
func (c SqlPoolsClient) Get(ctx context.Context, id SqlPoolId) (result GetOperationResponse, err error)
Get ...
func (SqlPoolsClient) ListByWorkspace ¶
func (c SqlPoolsClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
func (SqlPoolsClient) ListByWorkspaceComplete ¶
func (c SqlPoolsClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
ListByWorkspaceComplete retrieves all the results into a single object
func (SqlPoolsClient) ListByWorkspaceCompleteMatchingPredicate ¶
func (c SqlPoolsClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate SqlPoolOperationPredicate) (result ListByWorkspaceCompleteResult, err error)
ListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SqlPoolsClient) Pause ¶
func (c SqlPoolsClient) Pause(ctx context.Context, id SqlPoolId) (result PauseOperationResponse, err error)
Pause ...
func (SqlPoolsClient) PauseThenPoll ¶
func (c SqlPoolsClient) PauseThenPoll(ctx context.Context, id SqlPoolId) error
PauseThenPoll performs Pause then polls until it's completed
func (SqlPoolsClient) Resume ¶
func (c SqlPoolsClient) Resume(ctx context.Context, id SqlPoolId) (result ResumeOperationResponse, err error)
Resume ...
func (SqlPoolsClient) ResumeThenPoll ¶
func (c SqlPoolsClient) ResumeThenPoll(ctx context.Context, id SqlPoolId) error
ResumeThenPoll performs Resume then polls until it's completed
func (SqlPoolsClient) SqlPoolMetadataSyncConfigsCreate ¶
func (c SqlPoolsClient) SqlPoolMetadataSyncConfigsCreate(ctx context.Context, id SqlPoolId, input MetadataSyncConfig) (result SqlPoolMetadataSyncConfigsCreateOperationResponse, err error)
SqlPoolMetadataSyncConfigsCreate ...
func (SqlPoolsClient) SqlPoolMetadataSyncConfigsGet ¶
func (c SqlPoolsClient) SqlPoolMetadataSyncConfigsGet(ctx context.Context, id SqlPoolId) (result SqlPoolMetadataSyncConfigsGetOperationResponse, err error)
SqlPoolMetadataSyncConfigsGet ...
func (SqlPoolsClient) Update ¶
func (c SqlPoolsClient) Update(ctx context.Context, id SqlPoolId, input SqlPoolPatchInfo) (result UpdateOperationResponse, err error)
Update ...
func (SqlPoolsClient) UpdateThenPoll ¶
func (c SqlPoolsClient) UpdateThenPoll(ctx context.Context, id SqlPoolId, input SqlPoolPatchInfo) error
UpdateThenPoll performs Update then polls until it's completed
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypeGRS StorageAccountType = "GRS" StorageAccountTypeLRS StorageAccountType = "LRS" )
func (*StorageAccountType) UnmarshalJSON ¶
func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
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
Source Files ¶
- client.go
- constants.go
- id_sqlpool.go
- id_workspace.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyworkspace.go
- method_pause.go
- method_resume.go
- method_sqlpoolmetadatasyncconfigscreate.go
- method_sqlpoolmetadatasyncconfigsget.go
- method_update.go
- model_metadatasyncconfig.go
- model_metadatasyncconfigproperties.go
- model_sku.go
- model_sqlpool.go
- model_sqlpoolpatchinfo.go
- model_sqlpoolresourceproperties.go
- predicates.go
- version.go