Documentation ¶
Index ¶
- func PossibleValuesForOperationMode() []string
- func PossibleValuesForStorageKeyType() []string
- 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 commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type DatabaseExtensionsProperties
- type ExtensionId
- type GetOperationResponse
- type ImportExportExtensionsOperationResult
- type ImportExportExtensionsOperationResultOperationPredicate
- type ImportExportExtensionsOperationResultProperties
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type NetworkIsolationSettings
- type OperationMode
- type PrivateEndpointConnectionRequestStatus
- type StorageKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationMode ¶
func PossibleValuesForOperationMode() []string
func PossibleValuesForStorageKeyType ¶
func PossibleValuesForStorageKeyType() []string
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(sdkApi sdkEnv.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 commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseExtensionsClient) ListByDatabaseComplete ¶
func (c DatabaseExtensionsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseExtensionsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate ImportExportExtensionsOperationResultOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DatabaseExtensionsProperties ¶
type DatabaseExtensionsProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` AuthenticationType *string `json:"authenticationType,omitempty"` DatabaseEdition *string `json:"databaseEdition,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` OperationMode OperationMode `json:"operationMode"` ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` StorageKey string `json:"storageKey"` StorageKeyType StorageKeyType `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ExtensionId) FromParseResult(input resourceids.ParseResult) error
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 { BlobUri *string `json:"blobUri,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnectionRequestStatus `json:"privateEndpointConnections,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 ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []ImportExportExtensionsOperationResult }
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ImportExportExtensionsOperationResult }
type OperationMode ¶
type OperationMode string
const ( OperationModeExport OperationMode = "Export" OperationModeImport OperationMode = "Import" 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_extension.go
- method_createorupdate.go
- method_get.go
- method_listbydatabase.go
- model_databaseextensions.go
- model_databaseextensionsproperties.go
- model_importexportextensionsoperationresult.go
- model_importexportextensionsoperationresultproperties.go
- model_networkisolationsettings.go
- model_privateendpointconnectionrequeststatus.go
- predicates.go
- version.go