Documentation ¶
Index ¶
- func PossibleValuesForCatalogCollationType() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForDatabaseStatus() []string
- func PossibleValuesForManagementOperationState() []string
- func PossibleValuesForSampleName() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateElasticPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CatalogCollationType
- type CreateMode
- type CreateOrUpdateOperationResponse
- type Database
- type DatabaseId
- type DatabaseOperation
- type DatabaseOperationOperationPredicate
- type DatabaseOperationPredicate
- type DatabaseOperationProperties
- func (o *DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
- func (o *DatabaseOperationProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
- func (o *DatabaseOperationProperties) SetStartTimeAsTime(input time.Time)
- type DatabaseOperationsCancelOperationResponse
- type DatabaseOperationsListByDatabaseCompleteResult
- type DatabaseOperationsListByDatabaseOperationResponse
- type DatabaseProperties
- func (o *DatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
- func (o *DatabaseProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
- func (o *DatabaseProperties) SetCreationDateAsTime(input time.Time)
- func (o *DatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
- func (o *DatabaseProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
- type DatabaseStatus
- type DatabaseUpdate
- type DatabasesClient
- func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input Database) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input Database) error
- func (c DatabasesClient) DatabaseOperationsCancel(ctx context.Context, id OperationId) (result DatabaseOperationsCancelOperationResponse, err error)
- func (c DatabasesClient) DatabaseOperationsListByDatabase(ctx context.Context, id DatabaseId) (result DatabaseOperationsListByDatabaseOperationResponse, err error)
- func (c DatabasesClient) DatabaseOperationsListByDatabaseComplete(ctx context.Context, id DatabaseId) (DatabaseOperationsListByDatabaseCompleteResult, error)
- func (c DatabasesClient) DatabaseOperationsListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result DatabaseOperationsListByDatabaseCompleteResult, err error)
- func (c DatabasesClient) Delete(ctx context.Context, id DatabaseId) (result DeleteOperationResponse, err error)
- func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id DatabaseId) error
- func (c DatabasesClient) Export(ctx context.Context, id DatabaseId, input ImportExportDatabaseDefinition) (result ExportOperationResponse, err error)
- func (c DatabasesClient) ExportThenPoll(ctx context.Context, id DatabaseId, input ImportExportDatabaseDefinition) error
- func (c DatabasesClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
- func (c DatabasesClient) ListByElasticPool(ctx context.Context, id ElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
- func (c DatabasesClient) ListByElasticPoolComplete(ctx context.Context, id ElasticPoolId) (ListByElasticPoolCompleteResult, error)
- func (c DatabasesClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id ElasticPoolId, predicate DatabaseOperationPredicate) (result ListByElasticPoolCompleteResult, err error)
- func (c DatabasesClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
- func (c DatabasesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c DatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate DatabaseOperationPredicate) (result ListByServerCompleteResult, err error)
- func (c DatabasesClient) Pause(ctx context.Context, id DatabaseId) (result PauseOperationResponse, err error)
- func (c DatabasesClient) PauseThenPoll(ctx context.Context, id DatabaseId) error
- func (c DatabasesClient) Rename(ctx context.Context, id DatabaseId, input ResourceMoveDefinition) (result RenameOperationResponse, err error)
- func (c DatabasesClient) Resume(ctx context.Context, id DatabaseId) (result ResumeOperationResponse, err error)
- func (c DatabasesClient) ResumeThenPoll(ctx context.Context, id DatabaseId) error
- func (c DatabasesClient) Update(ctx context.Context, id DatabaseId, input DatabaseUpdate) (result UpdateOperationResponse, err error)
- func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id DatabaseId, input DatabaseUpdate) error
- type DeleteOperationResponse
- type ElasticPoolId
- type ExportOperationResponse
- type GetOperationResponse
- type ImportExportDatabaseDefinition
- type ImportExportOperationResult
- type ImportExportOperationResultProperties
- type ListByElasticPoolCompleteResult
- type ListByElasticPoolOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ManagementOperationState
- type OperationId
- type PauseOperationResponse
- type RenameOperationResponse
- type ResourceMoveDefinition
- type ResumeOperationResponse
- type SampleName
- type ServerId
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCatalogCollationType ¶
func PossibleValuesForCatalogCollationType() []string
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForDatabaseStatus ¶
func PossibleValuesForDatabaseStatus() []string
func PossibleValuesForManagementOperationState ¶
func PossibleValuesForManagementOperationState() []string
func PossibleValuesForSampleName ¶
func PossibleValuesForSampleName() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
func ValidateElasticPoolID ¶
ValidateElasticPoolID checks that 'input' can be parsed as a Elastic Pool ID
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type CatalogCollationType ¶
type CatalogCollationType string
const ( CatalogCollationTypeDATABASEDEFAULT CatalogCollationType = "DATABASE_DEFAULT" CatalogCollationTypeSQLLatinOneGeneralCPOneCIAS CatalogCollationType = "SQL_Latin1_General_CP1_CI_AS" )
func (*CatalogCollationType) UnmarshalJSON ¶
func (s *CatalogCollationType) UnmarshalJSON(bytes []byte) error
type CreateMode ¶
type CreateMode string
const ( CreateModeCopy CreateMode = "Copy" CreateModeDefault CreateMode = "Default" CreateModeOnlineSecondary CreateMode = "OnlineSecondary" CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" CreateModeRecovery CreateMode = "Recovery" CreateModeRestore CreateMode = "Restore" CreateModeRestoreExternalBackup CreateMode = "RestoreExternalBackup" CreateModeRestoreExternalBackupSecondary CreateMode = "RestoreExternalBackupSecondary" CreateModeRestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" CreateModeSecondary CreateMode = "Secondary" )
func (*CreateMode) UnmarshalJSON ¶
func (s *CreateMode) UnmarshalJSON(bytes []byte) error
type Database ¶
type Database struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DatabaseProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type DatabaseOperation ¶
type DatabaseOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseOperationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseOperationOperationPredicate ¶
func (DatabaseOperationOperationPredicate) Matches ¶
func (p DatabaseOperationOperationPredicate) Matches(input DatabaseOperation) bool
type DatabaseOperationPredicate ¶
type DatabaseOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (DatabaseOperationPredicate) Matches ¶
func (p DatabaseOperationPredicate) Matches(input Database) bool
type DatabaseOperationProperties ¶
type DatabaseOperationProperties struct { DatabaseName *string `json:"databaseName,omitempty"` Description *string `json:"description,omitempty"` ErrorCode *int64 `json:"errorCode,omitempty"` ErrorDescription *string `json:"errorDescription,omitempty"` ErrorSeverity *int64 `json:"errorSeverity,omitempty"` EstimatedCompletionTime *string `json:"estimatedCompletionTime,omitempty"` IsCancellable *bool `json:"isCancellable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` Operation *string `json:"operation,omitempty"` OperationFriendlyName *string `json:"operationFriendlyName,omitempty"` PercentComplete *int64 `json:"percentComplete,omitempty"` ServerName *string `json:"serverName,omitempty"` StartTime *string `json:"startTime,omitempty"` State *ManagementOperationState `json:"state,omitempty"` }
func (*DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime ¶
func (o *DatabaseOperationProperties) GetEstimatedCompletionTimeAsTime() (*time.Time, error)
func (*DatabaseOperationProperties) GetStartTimeAsTime ¶
func (o *DatabaseOperationProperties) GetStartTimeAsTime() (*time.Time, error)
func (*DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime ¶
func (o *DatabaseOperationProperties) SetEstimatedCompletionTimeAsTime(input time.Time)
func (*DatabaseOperationProperties) SetStartTimeAsTime ¶
func (o *DatabaseOperationProperties) SetStartTimeAsTime(input time.Time)
type DatabaseOperationsListByDatabaseCompleteResult ¶
type DatabaseOperationsListByDatabaseCompleteResult struct {
Items []DatabaseOperation
}
type DatabaseOperationsListByDatabaseOperationResponse ¶
type DatabaseOperationsListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseOperation }
type DatabaseProperties ¶
type DatabaseProperties struct { CatalogCollation *CatalogCollationType `json:"catalogCollation,omitempty"` Collation *string `json:"collation,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` CreationDate *string `json:"creationDate,omitempty"` CurrentServiceObjectiveName *string `json:"currentServiceObjectiveName,omitempty"` DatabaseId *string `json:"databaseId,omitempty"` DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"` ElasticPoolId *string `json:"elasticPoolId,omitempty"` FailoverGroupId *string `json:"failoverGroupId,omitempty"` LongTermRetentionBackupResourceId *string `json:"longTermRetentionBackupResourceId,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"` RecoveryServicesRecoveryPointId *string `json:"recoveryServicesRecoveryPointId,omitempty"` RestorableDroppedDatabaseId *string `json:"restorableDroppedDatabaseId,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` SampleName *SampleName `json:"sampleName,omitempty"` SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"` SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"` Status *DatabaseStatus `json:"status,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*DatabaseProperties) GetCreationDateAsTime ¶
func (o *DatabaseProperties) GetCreationDateAsTime() (*time.Time, error)
func (*DatabaseProperties) GetRestorePointInTimeAsTime ¶
func (o *DatabaseProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*DatabaseProperties) GetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseProperties) GetSourceDatabaseDeletionDateAsTime() (*time.Time, error)
func (*DatabaseProperties) SetCreationDateAsTime ¶
func (o *DatabaseProperties) SetCreationDateAsTime(input time.Time)
func (*DatabaseProperties) SetRestorePointInTimeAsTime ¶
func (o *DatabaseProperties) SetRestorePointInTimeAsTime(input time.Time)
func (*DatabaseProperties) SetSourceDatabaseDeletionDateAsTime ¶
func (o *DatabaseProperties) SetSourceDatabaseDeletionDateAsTime(input time.Time)
type DatabaseStatus ¶
type DatabaseStatus string
const ( DatabaseStatusAutoClosed DatabaseStatus = "AutoClosed" DatabaseStatusCopying DatabaseStatus = "Copying" DatabaseStatusCreating DatabaseStatus = "Creating" DatabaseStatusEmergencyMode DatabaseStatus = "EmergencyMode" DatabaseStatusInaccessible DatabaseStatus = "Inaccessible" DatabaseStatusOffline DatabaseStatus = "Offline" DatabaseStatusOfflineSecondary DatabaseStatus = "OfflineSecondary" DatabaseStatusOnline DatabaseStatus = "Online" DatabaseStatusPaused DatabaseStatus = "Paused" DatabaseStatusPausing DatabaseStatus = "Pausing" DatabaseStatusRecovering DatabaseStatus = "Recovering" DatabaseStatusRecoveryPending DatabaseStatus = "RecoveryPending" DatabaseStatusRestoring DatabaseStatus = "Restoring" DatabaseStatusResuming DatabaseStatus = "Resuming" DatabaseStatusScaling DatabaseStatus = "Scaling" DatabaseStatusShutdown DatabaseStatus = "Shutdown" DatabaseStatusStandby DatabaseStatus = "Standby" DatabaseStatusSuspect DatabaseStatus = "Suspect" )
func (*DatabaseStatus) UnmarshalJSON ¶
func (s *DatabaseStatus) UnmarshalJSON(bytes []byte) error
type DatabaseUpdate ¶
type DatabaseUpdate struct { Properties *DatabaseProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DatabasesClient ¶
type DatabasesClient struct {
Client *resourcemanager.Client
}
func NewDatabasesClientWithBaseURI ¶
func NewDatabasesClientWithBaseURI(api environments.Api) (*DatabasesClient, error)
func (DatabasesClient) CreateOrUpdate ¶
func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input Database) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabasesClient) CreateOrUpdateThenPoll ¶
func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input Database) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DatabasesClient) DatabaseOperationsCancel ¶
func (c DatabasesClient) DatabaseOperationsCancel(ctx context.Context, id OperationId) (result DatabaseOperationsCancelOperationResponse, err error)
DatabaseOperationsCancel ...
func (DatabasesClient) DatabaseOperationsListByDatabase ¶
func (c DatabasesClient) DatabaseOperationsListByDatabase(ctx context.Context, id DatabaseId) (result DatabaseOperationsListByDatabaseOperationResponse, err error)
DatabaseOperationsListByDatabase ...
func (DatabasesClient) DatabaseOperationsListByDatabaseComplete ¶
func (c DatabasesClient) DatabaseOperationsListByDatabaseComplete(ctx context.Context, id DatabaseId) (DatabaseOperationsListByDatabaseCompleteResult, error)
DatabaseOperationsListByDatabaseComplete retrieves all the results into a single object
func (DatabasesClient) DatabaseOperationsListByDatabaseCompleteMatchingPredicate ¶
func (c DatabasesClient) DatabaseOperationsListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, predicate DatabaseOperationOperationPredicate) (result DatabaseOperationsListByDatabaseCompleteResult, err error)
DatabaseOperationsListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) Delete ¶
func (c DatabasesClient) Delete(ctx context.Context, id DatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (DatabasesClient) DeleteThenPoll ¶
func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id DatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DatabasesClient) Export ¶
func (c DatabasesClient) Export(ctx context.Context, id DatabaseId, input ImportExportDatabaseDefinition) (result ExportOperationResponse, err error)
Export ...
func (DatabasesClient) ExportThenPoll ¶
func (c DatabasesClient) ExportThenPoll(ctx context.Context, id DatabaseId, input ImportExportDatabaseDefinition) error
ExportThenPoll performs Export then polls until it's completed
func (DatabasesClient) Get ¶
func (c DatabasesClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
Get ...
func (DatabasesClient) ListByElasticPool ¶
func (c DatabasesClient) ListByElasticPool(ctx context.Context, id ElasticPoolId) (result ListByElasticPoolOperationResponse, err error)
ListByElasticPool ...
func (DatabasesClient) ListByElasticPoolComplete ¶
func (c DatabasesClient) ListByElasticPoolComplete(ctx context.Context, id ElasticPoolId) (ListByElasticPoolCompleteResult, error)
ListByElasticPoolComplete retrieves all the results into a single object
func (DatabasesClient) ListByElasticPoolCompleteMatchingPredicate ¶
func (c DatabasesClient) ListByElasticPoolCompleteMatchingPredicate(ctx context.Context, id ElasticPoolId, predicate DatabaseOperationPredicate) (result ListByElasticPoolCompleteResult, err error)
ListByElasticPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) ListByServer ¶
func (c DatabasesClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (DatabasesClient) ListByServerComplete ¶
func (c DatabasesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (DatabasesClient) ListByServerCompleteMatchingPredicate ¶
func (c DatabasesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate DatabaseOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatabasesClient) Pause ¶
func (c DatabasesClient) Pause(ctx context.Context, id DatabaseId) (result PauseOperationResponse, err error)
Pause ...
func (DatabasesClient) PauseThenPoll ¶
func (c DatabasesClient) PauseThenPoll(ctx context.Context, id DatabaseId) error
PauseThenPoll performs Pause then polls until it's completed
func (DatabasesClient) Rename ¶
func (c DatabasesClient) Rename(ctx context.Context, id DatabaseId, input ResourceMoveDefinition) (result RenameOperationResponse, err error)
Rename ...
func (DatabasesClient) Resume ¶
func (c DatabasesClient) Resume(ctx context.Context, id DatabaseId) (result ResumeOperationResponse, err error)
Resume ...
func (DatabasesClient) ResumeThenPoll ¶
func (c DatabasesClient) ResumeThenPoll(ctx context.Context, id DatabaseId) error
ResumeThenPoll performs Resume then polls until it's completed
func (DatabasesClient) Update ¶
func (c DatabasesClient) Update(ctx context.Context, id DatabaseId, input DatabaseUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DatabasesClient) UpdateThenPoll ¶
func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id DatabaseId, input DatabaseUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type ElasticPoolId ¶
type ElasticPoolId struct { SubscriptionId string ResourceGroupName string ServerName string ElasticPoolName string }
ElasticPoolId is a struct representing the Resource ID for a Elastic Pool
func NewElasticPoolID ¶
func NewElasticPoolID(subscriptionId string, resourceGroupName string, serverName string, elasticPoolName string) ElasticPoolId
NewElasticPoolID returns a new ElasticPoolId struct
func ParseElasticPoolID ¶
func ParseElasticPoolID(input string) (*ElasticPoolId, error)
ParseElasticPoolID parses 'input' into a ElasticPoolId
func ParseElasticPoolIDInsensitively ¶
func ParseElasticPoolIDInsensitively(input string) (*ElasticPoolId, error)
ParseElasticPoolIDInsensitively parses 'input' case-insensitively into a ElasticPoolId note: this method should only be used for API response data and not user input
func (ElasticPoolId) ID ¶
func (id ElasticPoolId) ID() string
ID returns the formatted Elastic Pool ID
func (ElasticPoolId) Segments ¶
func (id ElasticPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Elastic Pool ID
func (ElasticPoolId) String ¶
func (id ElasticPoolId) String() string
String returns a human-readable description of this Elastic Pool ID
type ExportOperationResponse ¶
type GetOperationResponse ¶
type ImportExportDatabaseDefinition ¶
type ImportExportDatabaseDefinition struct { AdministratorLogin string `json:"administratorLogin"` AdministratorLoginPassword string `json:"administratorLoginPassword"` AuthenticationType *string `json:"authenticationType,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` Edition *string `json:"edition,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` StorageKey string `json:"storageKey"` StorageKeyType string `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
type ImportExportOperationResult ¶
type ImportExportOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImportExportOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ImportExportOperationResultProperties ¶
type ImportExportOperationResultProperties struct { BlobUri *string `json:"blobUri,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` QueuedTime *string `json:"queuedTime,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestType *string `json:"requestType,omitempty"` ServerName *string `json:"serverName,omitempty"` Status *string `json:"status,omitempty"` }
type ListByElasticPoolCompleteResult ¶
type ListByElasticPoolCompleteResult struct {
Items []Database
}
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []Database
}
type ManagementOperationState ¶
type ManagementOperationState string
const ( ManagementOperationStateCancelInProgress ManagementOperationState = "CancelInProgress" ManagementOperationStateCancelled ManagementOperationState = "Cancelled" ManagementOperationStateFailed ManagementOperationState = "Failed" ManagementOperationStateInProgress ManagementOperationState = "InProgress" ManagementOperationStatePending ManagementOperationState = "Pending" ManagementOperationStateSucceeded ManagementOperationState = "Succeeded" )
func (*ManagementOperationState) UnmarshalJSON ¶
func (s *ManagementOperationState) UnmarshalJSON(bytes []byte) error
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, operationId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type PauseOperationResponse ¶
type RenameOperationResponse ¶
type ResourceMoveDefinition ¶
type ResourceMoveDefinition struct {
Id string `json:"id"`
}
type ResumeOperationResponse ¶
type SampleName ¶
type SampleName string
const ( SampleNameAdventureWorksLT SampleName = "AdventureWorksLT" SampleNameWideWorldImportersFull SampleName = "WideWorldImportersFull" SampleNameWideWorldImportersStd SampleName = "WideWorldImportersStd" )
func (*SampleName) UnmarshalJSON ¶
func (s *SampleName) UnmarshalJSON(bytes []byte) error
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
Source Files ¶
- client.go
- constants.go
- id_database.go
- id_elasticpool.go
- id_operation.go
- id_server.go
- method_createorupdate.go
- method_databaseoperationscancel.go
- method_databaseoperationslistbydatabase.go
- method_delete.go
- method_export.go
- method_get.go
- method_listbyelasticpool.go
- method_listbyserver.go
- method_pause.go
- method_rename.go
- method_resume.go
- method_update.go
- model_database.go
- model_databaseoperation.go
- model_databaseoperationproperties.go
- model_databaseproperties.go
- model_databaseupdate.go
- model_importexportdatabasedefinition.go
- model_importexportoperationresult.go
- model_importexportoperationresultproperties.go
- model_resourcemovedefinition.go
- model_sku.go
- predicates.go
- version.go