Documentation ¶
Index ¶
- func PossibleValuesForOperationMode() []string
- func PossibleValuesForStorageKeyType() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DatabaseExtensions
- type DatabaseExtensionsClient
- func (c DatabaseExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input DatabaseExtensions) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabaseExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input DatabaseExtensions) error
- func (c DatabaseExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
- func (c DatabaseExtensionsClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type DatabaseExtensionsProperties
- type DatabaseId
- type ExtensionId
- type GetOperationResponse
- type ImportExportExtensionsOperationResult
- type ImportExportExtensionsOperationResultOperationPredicate
- type ImportExportExtensionsOperationResultProperties
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type OperationMode
- type StorageKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationMode ¶
func PossibleValuesForOperationMode() []string
func PossibleValuesForStorageKeyType ¶
func PossibleValuesForStorageKeyType() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
func ValidateExtensionID ¶
ValidateExtensionID checks that 'input' can be parsed as a Extension ID
Types ¶
type DatabaseExtensions ¶
type DatabaseExtensions struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseExtensionsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseExtensionsClient ¶
type DatabaseExtensionsClient struct {
Client *resourcemanager.Client
}
func NewDatabaseExtensionsClientWithBaseURI ¶
func NewDatabaseExtensionsClientWithBaseURI(api environments.Api) (*DatabaseExtensionsClient, error)
func (DatabaseExtensionsClient) CreateOrUpdate ¶
func (c DatabaseExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input DatabaseExtensions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabaseExtensionsClient) CreateOrUpdateThenPoll ¶
func (c DatabaseExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input DatabaseExtensions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DatabaseExtensionsClient) Get ¶
func (c DatabaseExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
Get ...
func (DatabaseExtensionsClient) ListByDatabase ¶
func (c DatabaseExtensionsClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseExtensionsClient) ListByDatabaseComplete ¶
func (c DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, predicate ImportExportExtensionsOperationResultOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DatabaseExtensionsProperties ¶
type DatabaseExtensionsProperties struct { OperationMode OperationMode `json:"operationMode"` StorageKey string `json:"storageKey"` StorageKeyType StorageKeyType `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
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 ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, extensionName string) ExtensionId
NewExtensionID returns a new ExtensionId struct
func ParseExtensionID ¶
func ParseExtensionID(input string) (*ExtensionId, error)
ParseExtensionID parses 'input' into a ExtensionId
func ParseExtensionIDInsensitively ¶
func ParseExtensionIDInsensitively(input string) (*ExtensionId, error)
ParseExtensionIDInsensitively parses 'input' case-insensitively into a ExtensionId note: this method should only be used for API response data and not user input
func (ExtensionId) Segments ¶
func (id ExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Extension ID
func (ExtensionId) String ¶
func (id ExtensionId) String() string
String returns a human-readable description of this Extension ID
type GetOperationResponse ¶
type ImportExportExtensionsOperationResult ¶
type ImportExportExtensionsOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImportExportExtensionsOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ImportExportExtensionsOperationResultOperationPredicate ¶
type ImportExportExtensionsOperationResultOperationPredicate struct { Id *string Name *string Type *string }
func (ImportExportExtensionsOperationResultOperationPredicate) Matches ¶
func (p ImportExportExtensionsOperationResultOperationPredicate) Matches(input ImportExportExtensionsOperationResult) bool
type ImportExportExtensionsOperationResultProperties ¶
type ImportExportExtensionsOperationResultProperties struct { DatabaseName *string `json:"databaseName,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestType *string `json:"requestType,omitempty"` ServerName *string `json:"serverName,omitempty"` Status *string `json:"status,omitempty"` }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []ImportExportExtensionsOperationResult
}
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ImportExportExtensionsOperationResult }
type OperationMode ¶
type OperationMode string
const (
OperationModePolybaseImport OperationMode = "PolybaseImport"
)
func (*OperationMode) UnmarshalJSON ¶
func (s *OperationMode) UnmarshalJSON(bytes []byte) error
type StorageKeyType ¶
type StorageKeyType string
const ( StorageKeyTypeStorageAccessKey StorageKeyType = "StorageAccessKey" )
func (*StorageKeyType) UnmarshalJSON ¶
func (s *StorageKeyType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_database.go
- id_extension.go
- method_createorupdate.go
- method_get.go
- method_listbydatabase.go
- model_databaseextensions.go
- model_databaseextensionsproperties.go
- model_importexportextensionsoperationresult.go
- model_importexportextensionsoperationresultproperties.go
- predicates.go
- version.go