Documentation ¶
Index ¶
- func PossibleValuesForCommit() []string
- func PossibleValuesForFailover() []string
- func PossibleValuesForReadableSecondary() []string
- func PossibleValuesForRole() []string
- func ValidateAvailabilityGroupListenerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSqlVirtualMachineGroupID(input interface{}, key string) (warnings []string, errors []error)
- type AgConfiguration
- type AgReplica
- type AvailabilityGroupListener
- type AvailabilityGroupListenerId
- func NewAvailabilityGroupListenerID(subscriptionId string, resourceGroupName string, ...) AvailabilityGroupListenerId
- func ParseAvailabilityGroupListenerID(input string) (*AvailabilityGroupListenerId, error)
- func ParseAvailabilityGroupListenerIDInsensitively(input string) (*AvailabilityGroupListenerId, error)
- type AvailabilityGroupListenerOperationPredicate
- type AvailabilityGroupListenerProperties
- type AvailabilityGroupListenersClient
- func (c AvailabilityGroupListenersClient) CreateOrUpdate(ctx context.Context, id AvailabilityGroupListenerId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AvailabilityGroupListenersClient) CreateOrUpdateThenPoll(ctx context.Context, id AvailabilityGroupListenerId, ...) error
- func (c AvailabilityGroupListenersClient) Delete(ctx context.Context, id AvailabilityGroupListenerId) (result DeleteOperationResponse, err error)
- func (c AvailabilityGroupListenersClient) DeleteThenPoll(ctx context.Context, id AvailabilityGroupListenerId) error
- func (c AvailabilityGroupListenersClient) Get(ctx context.Context, id AvailabilityGroupListenerId, ...) (result GetOperationResponse, err error)
- func (c AvailabilityGroupListenersClient) ListByGroup(ctx context.Context, id SqlVirtualMachineGroupId) (result ListByGroupOperationResponse, err error)
- func (c AvailabilityGroupListenersClient) ListByGroupComplete(ctx context.Context, id SqlVirtualMachineGroupId) (ListByGroupCompleteResult, error)
- func (c AvailabilityGroupListenersClient) ListByGroupCompleteMatchingPredicate(ctx context.Context, id SqlVirtualMachineGroupId, ...) (result ListByGroupCompleteResult, err error)
- type Commit
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Failover
- type GetOperationOptions
- type GetOperationResponse
- type ListByGroupCompleteResult
- type ListByGroupCustomPager
- type ListByGroupOperationResponse
- type LoadBalancerConfiguration
- type MultiSubnetIPConfiguration
- type PrivateIPAddress
- type ReadableSecondary
- type Role
- type SqlVirtualMachineGroupId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommit ¶
func PossibleValuesForCommit() []string
func PossibleValuesForFailover ¶
func PossibleValuesForFailover() []string
func PossibleValuesForReadableSecondary ¶
func PossibleValuesForReadableSecondary() []string
func PossibleValuesForRole ¶
func PossibleValuesForRole() []string
func ValidateAvailabilityGroupListenerID ¶
func ValidateAvailabilityGroupListenerID(input interface{}, key string) (warnings []string, errors []error)
ValidateAvailabilityGroupListenerID checks that 'input' can be parsed as a Availability Group Listener ID
func ValidateSqlVirtualMachineGroupID ¶
func ValidateSqlVirtualMachineGroupID(input interface{}, key string) (warnings []string, errors []error)
ValidateSqlVirtualMachineGroupID checks that 'input' can be parsed as a Sql Virtual Machine Group ID
Types ¶
type AgConfiguration ¶
type AgConfiguration struct {
Replicas *[]AgReplica `json:"replicas,omitempty"`
}
type AgReplica ¶
type AgReplica struct { Commit *Commit `json:"commit,omitempty"` Failover *Failover `json:"failover,omitempty"` ReadableSecondary *ReadableSecondary `json:"readableSecondary,omitempty"` Role *Role `json:"role,omitempty"` SqlVirtualMachineInstanceId *string `json:"sqlVirtualMachineInstanceId,omitempty"` }
type AvailabilityGroupListener ¶
type AvailabilityGroupListener struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AvailabilityGroupListenerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AvailabilityGroupListenerId ¶
type AvailabilityGroupListenerId struct { SubscriptionId string ResourceGroupName string SqlVirtualMachineGroupName string AvailabilityGroupListenerName string }
AvailabilityGroupListenerId is a struct representing the Resource ID for a Availability Group Listener
func NewAvailabilityGroupListenerID ¶
func NewAvailabilityGroupListenerID(subscriptionId string, resourceGroupName string, sqlVirtualMachineGroupName string, availabilityGroupListenerName string) AvailabilityGroupListenerId
NewAvailabilityGroupListenerID returns a new AvailabilityGroupListenerId struct
func ParseAvailabilityGroupListenerID ¶
func ParseAvailabilityGroupListenerID(input string) (*AvailabilityGroupListenerId, error)
ParseAvailabilityGroupListenerID parses 'input' into a AvailabilityGroupListenerId
func ParseAvailabilityGroupListenerIDInsensitively ¶
func ParseAvailabilityGroupListenerIDInsensitively(input string) (*AvailabilityGroupListenerId, error)
ParseAvailabilityGroupListenerIDInsensitively parses 'input' case-insensitively into a AvailabilityGroupListenerId note: this method should only be used for API response data and not user input
func (*AvailabilityGroupListenerId) FromParseResult ¶
func (id *AvailabilityGroupListenerId) FromParseResult(input resourceids.ParseResult) error
func (AvailabilityGroupListenerId) ID ¶
func (id AvailabilityGroupListenerId) ID() string
ID returns the formatted Availability Group Listener ID
func (AvailabilityGroupListenerId) Segments ¶
func (id AvailabilityGroupListenerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Availability Group Listener ID
func (AvailabilityGroupListenerId) String ¶
func (id AvailabilityGroupListenerId) String() string
String returns a human-readable description of this Availability Group Listener ID
type AvailabilityGroupListenerOperationPredicate ¶
func (AvailabilityGroupListenerOperationPredicate) Matches ¶
func (p AvailabilityGroupListenerOperationPredicate) Matches(input AvailabilityGroupListener) bool
type AvailabilityGroupListenerProperties ¶
type AvailabilityGroupListenerProperties struct { AvailabilityGroupConfiguration *AgConfiguration `json:"availabilityGroupConfiguration,omitempty"` AvailabilityGroupName *string `json:"availabilityGroupName,omitempty"` CreateDefaultAvailabilityGroupIfNotExist *bool `json:"createDefaultAvailabilityGroupIfNotExist,omitempty"` LoadBalancerConfigurations *[]LoadBalancerConfiguration `json:"loadBalancerConfigurations,omitempty"` MultiSubnetIPConfigurations *[]MultiSubnetIPConfiguration `json:"multiSubnetIpConfigurations,omitempty"` Port *int64 `json:"port,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type AvailabilityGroupListenersClient ¶
type AvailabilityGroupListenersClient struct {
Client *resourcemanager.Client
}
func NewAvailabilityGroupListenersClientWithBaseURI ¶
func NewAvailabilityGroupListenersClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailabilityGroupListenersClient, error)
func (AvailabilityGroupListenersClient) CreateOrUpdate ¶
func (c AvailabilityGroupListenersClient) CreateOrUpdate(ctx context.Context, id AvailabilityGroupListenerId, input AvailabilityGroupListener) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AvailabilityGroupListenersClient) CreateOrUpdateThenPoll ¶
func (c AvailabilityGroupListenersClient) CreateOrUpdateThenPoll(ctx context.Context, id AvailabilityGroupListenerId, input AvailabilityGroupListener) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AvailabilityGroupListenersClient) Delete ¶
func (c AvailabilityGroupListenersClient) Delete(ctx context.Context, id AvailabilityGroupListenerId) (result DeleteOperationResponse, err error)
Delete ...
func (AvailabilityGroupListenersClient) DeleteThenPoll ¶
func (c AvailabilityGroupListenersClient) DeleteThenPoll(ctx context.Context, id AvailabilityGroupListenerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AvailabilityGroupListenersClient) Get ¶
func (c AvailabilityGroupListenersClient) Get(ctx context.Context, id AvailabilityGroupListenerId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (AvailabilityGroupListenersClient) ListByGroup ¶
func (c AvailabilityGroupListenersClient) ListByGroup(ctx context.Context, id SqlVirtualMachineGroupId) (result ListByGroupOperationResponse, err error)
ListByGroup ...
func (AvailabilityGroupListenersClient) ListByGroupComplete ¶
func (c AvailabilityGroupListenersClient) ListByGroupComplete(ctx context.Context, id SqlVirtualMachineGroupId) (ListByGroupCompleteResult, error)
ListByGroupComplete retrieves all the results into a single object
func (AvailabilityGroupListenersClient) ListByGroupCompleteMatchingPredicate ¶
func (c AvailabilityGroupListenersClient) ListByGroupCompleteMatchingPredicate(ctx context.Context, id SqlVirtualMachineGroupId, predicate AvailabilityGroupListenerOperationPredicate) (result ListByGroupCompleteResult, err error)
ListByGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailabilityGroupListener }
type ListByGroupCompleteResult ¶
type ListByGroupCompleteResult struct { LatestHttpResponse *http.Response Items []AvailabilityGroupListener }
type ListByGroupCustomPager ¶
func (*ListByGroupCustomPager) NextPageLink ¶
func (p *ListByGroupCustomPager) NextPageLink() *odata.Link
type ListByGroupOperationResponse ¶
type ListByGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailabilityGroupListener }
type LoadBalancerConfiguration ¶
type LoadBalancerConfiguration struct { LoadBalancerResourceId *string `json:"loadBalancerResourceId,omitempty"` PrivateIPAddress *PrivateIPAddress `json:"privateIpAddress,omitempty"` ProbePort *int64 `json:"probePort,omitempty"` PublicIPAddressResourceId *string `json:"publicIpAddressResourceId,omitempty"` SqlVirtualMachineInstances *[]string `json:"sqlVirtualMachineInstances,omitempty"` }
type MultiSubnetIPConfiguration ¶
type MultiSubnetIPConfiguration struct { PrivateIPAddress PrivateIPAddress `json:"privateIpAddress"` SqlVirtualMachineInstance string `json:"sqlVirtualMachineInstance"` }
type PrivateIPAddress ¶
type ReadableSecondary ¶
type ReadableSecondary string
const ( ReadableSecondaryAll ReadableSecondary = "All" ReadableSecondaryNo ReadableSecondary = "No" ReadableSecondaryReadOnly ReadableSecondary = "Read_Only" )
func (*ReadableSecondary) UnmarshalJSON ¶
func (s *ReadableSecondary) UnmarshalJSON(bytes []byte) error
type SqlVirtualMachineGroupId ¶
type SqlVirtualMachineGroupId struct { SubscriptionId string ResourceGroupName string SqlVirtualMachineGroupName string }
SqlVirtualMachineGroupId is a struct representing the Resource ID for a Sql Virtual Machine Group
func NewSqlVirtualMachineGroupID ¶
func NewSqlVirtualMachineGroupID(subscriptionId string, resourceGroupName string, sqlVirtualMachineGroupName string) SqlVirtualMachineGroupId
NewSqlVirtualMachineGroupID returns a new SqlVirtualMachineGroupId struct
func ParseSqlVirtualMachineGroupID ¶
func ParseSqlVirtualMachineGroupID(input string) (*SqlVirtualMachineGroupId, error)
ParseSqlVirtualMachineGroupID parses 'input' into a SqlVirtualMachineGroupId
func ParseSqlVirtualMachineGroupIDInsensitively ¶
func ParseSqlVirtualMachineGroupIDInsensitively(input string) (*SqlVirtualMachineGroupId, error)
ParseSqlVirtualMachineGroupIDInsensitively parses 'input' case-insensitively into a SqlVirtualMachineGroupId note: this method should only be used for API response data and not user input
func (*SqlVirtualMachineGroupId) FromParseResult ¶
func (id *SqlVirtualMachineGroupId) FromParseResult(input resourceids.ParseResult) error
func (SqlVirtualMachineGroupId) ID ¶
func (id SqlVirtualMachineGroupId) ID() string
ID returns the formatted Sql Virtual Machine Group ID
func (SqlVirtualMachineGroupId) Segments ¶
func (id SqlVirtualMachineGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Virtual Machine Group ID
func (SqlVirtualMachineGroupId) String ¶
func (id SqlVirtualMachineGroupId) String() string
String returns a human-readable description of this Sql Virtual Machine Group ID
Source Files ¶
- client.go
- constants.go
- id_availabilitygrouplistener.go
- id_sqlvirtualmachinegroup.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbygroup.go
- model_agconfiguration.go
- model_agreplica.go
- model_availabilitygrouplistener.go
- model_availabilitygrouplistenerproperties.go
- model_loadbalancerconfiguration.go
- model_multisubnetipconfiguration.go
- model_privateipaddress.go
- predicates.go
- version.go