Documentation ¶
Index ¶
- func PossibleValuesForAlwaysEncryptedEnclaveType() []string
- func PossibleValuesForAvailabilityZoneType() []string
- func PossibleValuesForElasticPoolLicenseType() []string
- func PossibleValuesForElasticPoolState() []string
- func ValidateElasticPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type AlwaysEncryptedEnclaveType
- type AvailabilityZoneType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ElasticPool
- type ElasticPoolId
- type ElasticPoolLicenseType
- type ElasticPoolOperationPredicate
- type ElasticPoolPerDatabaseSettings
- type ElasticPoolProperties
- type ElasticPoolState
- type ElasticPoolUpdate
- type ElasticPoolUpdateProperties
- type ElasticPoolsClient
- func (c ElasticPoolsClient) CreateOrUpdate(ctx context.Context, id ElasticPoolId, input ElasticPool) (result CreateOrUpdateOperationResponse, err error)
- func (c ElasticPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id ElasticPoolId, input ElasticPool) error
- func (c ElasticPoolsClient) Delete(ctx context.Context, id ElasticPoolId) (result DeleteOperationResponse, err error)
- func (c ElasticPoolsClient) DeleteThenPoll(ctx context.Context, id ElasticPoolId) error
- func (c ElasticPoolsClient) Failover(ctx context.Context, id ElasticPoolId) (result FailoverOperationResponse, err error)
- func (c ElasticPoolsClient) FailoverThenPoll(ctx context.Context, id ElasticPoolId) error
- func (c ElasticPoolsClient) Get(ctx context.Context, id ElasticPoolId) (result GetOperationResponse, err error)
- func (c ElasticPoolsClient) ListByServer(ctx context.Context, id ServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
- func (c ElasticPoolsClient) ListByServerComplete(ctx context.Context, id ServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
- func (c ElasticPoolsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, options ListByServerOperationOptions, ...) (result ListByServerCompleteResult, err error)
- func (c ElasticPoolsClient) Update(ctx context.Context, id ElasticPoolId, input ElasticPoolUpdate) (result UpdateOperationResponse, err error)
- func (c ElasticPoolsClient) UpdateThenPoll(ctx context.Context, id ElasticPoolId, input ElasticPoolUpdate) error
- type FailoverOperationResponse
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationOptions
- type ListByServerOperationResponse
- type ServerId
- 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
func ValidateElasticPoolID ¶
ValidateElasticPoolID checks that 'input' can be parsed as a Elastic Pool ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
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 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 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 { 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 { 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 ElasticPoolId, input ElasticPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ElasticPoolsClient) CreateOrUpdateThenPoll ¶
func (c ElasticPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id ElasticPoolId, input ElasticPool) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ElasticPoolsClient) Delete ¶
func (c ElasticPoolsClient) Delete(ctx context.Context, id ElasticPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (ElasticPoolsClient) DeleteThenPoll ¶
func (c ElasticPoolsClient) DeleteThenPoll(ctx context.Context, id ElasticPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ElasticPoolsClient) Failover ¶
func (c ElasticPoolsClient) Failover(ctx context.Context, id ElasticPoolId) (result FailoverOperationResponse, err error)
Failover ...
func (ElasticPoolsClient) FailoverThenPoll ¶
func (c ElasticPoolsClient) FailoverThenPoll(ctx context.Context, id ElasticPoolId) error
FailoverThenPoll performs Failover then polls until it's completed
func (ElasticPoolsClient) Get ¶
func (c ElasticPoolsClient) Get(ctx context.Context, id ElasticPoolId) (result GetOperationResponse, err error)
Get ...
func (ElasticPoolsClient) ListByServer ¶
func (c ElasticPoolsClient) ListByServer(ctx context.Context, id ServerId, options ListByServerOperationOptions) (result ListByServerOperationResponse, err error)
ListByServer ...
func (ElasticPoolsClient) ListByServerComplete ¶
func (c ElasticPoolsClient) ListByServerComplete(ctx context.Context, id ServerId, options ListByServerOperationOptions) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (ElasticPoolsClient) ListByServerCompleteMatchingPredicate ¶
func (c ElasticPoolsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, 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 ElasticPoolId, input ElasticPoolUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ElasticPoolsClient) UpdateThenPoll ¶
func (c ElasticPoolsClient) UpdateThenPoll(ctx context.Context, id ElasticPoolId, 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 {
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 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_elasticpool.go
- id_server.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