Documentation ¶
Index ¶
- func PossibleValuesForAlwaysEncryptedEnclaveType() []string
- func PossibleValuesForAvailabilityZoneType() []string
- func PossibleValuesForElasticPoolLicenseType() []string
- func PossibleValuesForElasticPoolState() []string
- type AlwaysEncryptedEnclaveType
- type AvailabilityZoneType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ElasticPool
- type ElasticPoolLicenseType
- type ElasticPoolOperationPredicate
- type ElasticPoolPerDatabaseSettings
- type ElasticPoolProperties
- type ElasticPoolState
- type ElasticPoolUpdate
- type ElasticPoolUpdateProperties
- type ElasticPoolsClient
- func (c ElasticPoolsClient) CreateOrUpdate(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPool) (result CreateOrUpdateOperationResponse, err error)
- func (c ElasticPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPool) error
- func (c ElasticPoolsClient) Delete(ctx context.Context, id commonids.SqlElasticPoolId) (result DeleteOperationResponse, err error)
- func (c ElasticPoolsClient) DeleteThenPoll(ctx context.Context, id commonids.SqlElasticPoolId) error
- func (c ElasticPoolsClient) Failover(ctx context.Context, id commonids.SqlElasticPoolId) (result FailoverOperationResponse, err error)
- func (c ElasticPoolsClient) FailoverThenPoll(ctx context.Context, id commonids.SqlElasticPoolId) error
- func (c ElasticPoolsClient) Get(ctx context.Context, id commonids.SqlElasticPoolId) (result GetOperationResponse, err error)
- func (c ElasticPoolsClient) ListByServer(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerOperationResponse, err error)
- func (c ElasticPoolsClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId, ...) (ListByServerCompleteResult, error)
- func (c ElasticPoolsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
- func (c ElasticPoolsClient) Update(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPoolUpdate) (result UpdateOperationResponse, err error)
- func (c ElasticPoolsClient) UpdateThenPoll(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPoolUpdate) error
- type FailoverOperationResponse
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationOptions
- type ListByServerOperationResponse
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlwaysEncryptedEnclaveType ¶
func PossibleValuesForAlwaysEncryptedEnclaveType() []string
func PossibleValuesForAvailabilityZoneType ¶
func PossibleValuesForAvailabilityZoneType() []string
func PossibleValuesForElasticPoolLicenseType ¶
func PossibleValuesForElasticPoolLicenseType() []string
func PossibleValuesForElasticPoolState ¶
func PossibleValuesForElasticPoolState() []string
Types ¶
type AlwaysEncryptedEnclaveType ¶
type AlwaysEncryptedEnclaveType string
const ( AlwaysEncryptedEnclaveTypeDefault AlwaysEncryptedEnclaveType = "Default" AlwaysEncryptedEnclaveTypeVBS AlwaysEncryptedEnclaveType = "VBS" )
func (*AlwaysEncryptedEnclaveType) UnmarshalJSON ¶
func (s *AlwaysEncryptedEnclaveType) UnmarshalJSON(bytes []byte) error
type AvailabilityZoneType ¶
type AvailabilityZoneType string
const ( AvailabilityZoneTypeNoPreference AvailabilityZoneType = "NoPreference" AvailabilityZoneTypeOne AvailabilityZoneType = "1" AvailabilityZoneTypeThree AvailabilityZoneType = "3" AvailabilityZoneTypeTwo AvailabilityZoneType = "2" )
func (*AvailabilityZoneType) UnmarshalJSON ¶
func (s *AvailabilityZoneType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type ElasticPool ¶
type ElasticPool struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ElasticPoolProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ElasticPoolLicenseType ¶
type ElasticPoolLicenseType string
const ( ElasticPoolLicenseTypeBasePrice ElasticPoolLicenseType = "BasePrice" ElasticPoolLicenseTypeLicenseIncluded ElasticPoolLicenseType = "LicenseIncluded" )
func (*ElasticPoolLicenseType) UnmarshalJSON ¶
func (s *ElasticPoolLicenseType) UnmarshalJSON(bytes []byte) error
type ElasticPoolOperationPredicate ¶
type ElasticPoolOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (ElasticPoolOperationPredicate) Matches ¶
func (p ElasticPoolOperationPredicate) Matches(input ElasticPool) bool
type ElasticPoolProperties ¶
type ElasticPoolProperties struct { AutoPauseDelay *int64 `json:"autoPauseDelay,omitempty"` AvailabilityZone *AvailabilityZoneType `json:"availabilityZone,omitempty"` CreationDate *string `json:"creationDate,omitempty"` HighAvailabilityReplicaCount *int64 `json:"highAvailabilityReplicaCount,omitempty"` LicenseType *ElasticPoolLicenseType `json:"licenseType,omitempty"` MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` MinCapacity *float64 `json:"minCapacity,omitempty"` PerDatabaseSettings *ElasticPoolPerDatabaseSettings `json:"perDatabaseSettings,omitempty"` PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"` State *ElasticPoolState `json:"state,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*ElasticPoolProperties) GetCreationDateAsTime ¶
func (o *ElasticPoolProperties) GetCreationDateAsTime() (*time.Time, error)
func (*ElasticPoolProperties) SetCreationDateAsTime ¶
func (o *ElasticPoolProperties) SetCreationDateAsTime(input time.Time)
type ElasticPoolState ¶
type ElasticPoolState string
const ( ElasticPoolStateCreating ElasticPoolState = "Creating" ElasticPoolStateDisabled ElasticPoolState = "Disabled" ElasticPoolStateReady ElasticPoolState = "Ready" )
func (*ElasticPoolState) UnmarshalJSON ¶
func (s *ElasticPoolState) UnmarshalJSON(bytes []byte) error
type ElasticPoolUpdate ¶
type ElasticPoolUpdate struct { Properties *ElasticPoolUpdateProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ElasticPoolUpdateProperties ¶
type ElasticPoolUpdateProperties struct { AutoPauseDelay *int64 `json:"autoPauseDelay,omitempty"` AvailabilityZone *AvailabilityZoneType `json:"availabilityZone,omitempty"` HighAvailabilityReplicaCount *int64 `json:"highAvailabilityReplicaCount,omitempty"` LicenseType *ElasticPoolLicenseType `json:"licenseType,omitempty"` MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"` MinCapacity *float64 `json:"minCapacity,omitempty"` PerDatabaseSettings *ElasticPoolPerDatabaseSettings `json:"perDatabaseSettings,omitempty"` PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type ElasticPoolsClient ¶
type ElasticPoolsClient struct {
Client *resourcemanager.Client
}
func NewElasticPoolsClientWithBaseURI ¶
func NewElasticPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*ElasticPoolsClient, error)
func (ElasticPoolsClient) CreateOrUpdate ¶
func (c ElasticPoolsClient) CreateOrUpdate(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ElasticPoolsClient) CreateOrUpdateThenPoll ¶
func (c ElasticPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPool) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ElasticPoolsClient) Delete ¶
func (c ElasticPoolsClient) Delete(ctx context.Context, id commonids.SqlElasticPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (ElasticPoolsClient) DeleteThenPoll ¶
func (c ElasticPoolsClient) DeleteThenPoll(ctx context.Context, id commonids.SqlElasticPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ElasticPoolsClient) Failover ¶
func (c ElasticPoolsClient) Failover(ctx context.Context, id commonids.SqlElasticPoolId) (result FailoverOperationResponse, err error)
Failover ...
func (ElasticPoolsClient) FailoverThenPoll ¶
func (c ElasticPoolsClient) FailoverThenPoll(ctx context.Context, id commonids.SqlElasticPoolId) error
FailoverThenPoll performs Failover then polls until it's completed
func (ElasticPoolsClient) Get ¶
func (c ElasticPoolsClient) Get(ctx context.Context, id commonids.SqlElasticPoolId) (result GetOperationResponse, err error)
Get ...
func (ElasticPoolsClient) ListByServer ¶
func (c ElasticPoolsClient) ListByServer(ctx context.Context, id commonids.SqlServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
ListByServer ...
func (ElasticPoolsClient) ListByServerComplete ¶
func (c ElasticPoolsClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (ElasticPoolsClient) ListByServerCompleteMatchingPredicate ¶
func (c ElasticPoolsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, options ListByServerOperationOptions, predicate ElasticPoolOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ElasticPoolsClient) Update ¶
func (c ElasticPoolsClient) Update(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPoolUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ElasticPoolsClient) UpdateThenPoll ¶
func (c ElasticPoolsClient) UpdateThenPoll(ctx context.Context, id commonids.SqlElasticPoolId, input ElasticPoolUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ElasticPool }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []ElasticPool }
type ListByServerOperationOptions ¶
type ListByServerOperationOptions struct {
Skip *int64
}
func DefaultListByServerOperationOptions ¶
func DefaultListByServerOperationOptions() ListByServerOperationOptions
func (ListByServerOperationOptions) ToHeaders ¶
func (o ListByServerOperationOptions) ToHeaders() *client.Headers
func (ListByServerOperationOptions) ToOData ¶
func (o ListByServerOperationOptions) ToOData() *odata.Query
func (ListByServerOperationOptions) ToQuery ¶
func (o ListByServerOperationOptions) ToQuery() *client.QueryParams
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticPool }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_failover.go
- method_get.go
- method_listbyserver.go
- method_update.go
- model_elasticpool.go
- model_elasticpoolperdatabasesettings.go
- model_elasticpoolproperties.go
- model_elasticpoolupdate.go
- model_elasticpoolupdateproperties.go
- model_sku.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.