Documentation ¶
Index ¶
- func PossibleValuesForCitusVersion() []string
- func PossibleValuesForPostgreSQLVersion() []string
- func PossibleValuesForServerEdition() []string
- func PossibleValuesForServerHaState() []string
- func PossibleValuesForServerRole() []string
- func PossibleValuesForServerState() []string
- func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CitusVersion
- type GetOperationResponse
- type ListByServerGroupOperationResponse
- type PostgreSQLVersion
- type ServerEdition
- type ServerGroupServer
- type ServerGroupServerListResult
- type ServerGroupServerProperties
- type ServerGroupsv2Id
- type ServerHaState
- type ServerId
- type ServerRole
- type ServerState
- type ServersClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCitusVersion ¶
func PossibleValuesForCitusVersion() []string
func PossibleValuesForPostgreSQLVersion ¶
func PossibleValuesForPostgreSQLVersion() []string
func PossibleValuesForServerEdition ¶
func PossibleValuesForServerEdition() []string
func PossibleValuesForServerHaState ¶
func PossibleValuesForServerHaState() []string
func PossibleValuesForServerRole ¶
func PossibleValuesForServerRole() []string
func PossibleValuesForServerState ¶
func PossibleValuesForServerState() []string
func ValidateServerGroupsv2ID ¶
ValidateServerGroupsv2ID checks that 'input' can be parsed as a Server Groupsv 2 ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type CitusVersion ¶
type CitusVersion string
const ( CitusVersionEightPointThree CitusVersion = "8.3" CitusVersionNinePointFive CitusVersion = "9.5" CitusVersionNinePointFour CitusVersion = "9.4" CitusVersionNinePointOne CitusVersion = "9.1" CitusVersionNinePointThree CitusVersion = "9.3" CitusVersionNinePointTwo CitusVersion = "9.2" CitusVersionNinePointZero CitusVersion = "9.0" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ServerGroupServer }
type ListByServerGroupOperationResponse ¶
type ListByServerGroupOperationResponse struct { HttpResponse *http.Response Model *ServerGroupServerListResult }
type PostgreSQLVersion ¶
type PostgreSQLVersion string
const ( PostgreSQLVersionOneOne PostgreSQLVersion = "11" PostgreSQLVersionOneTwo PostgreSQLVersion = "12" )
type ServerEdition ¶
type ServerEdition string
const ( ServerEditionGeneralPurpose ServerEdition = "GeneralPurpose" ServerEditionMemoryOptimized ServerEdition = "MemoryOptimized" )
type ServerGroupServer ¶
type ServerGroupServer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerGroupServerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ServerGroupServerListResult ¶
type ServerGroupServerListResult struct {
Value *[]ServerGroupServer `json:"value,omitempty"`
}
type ServerGroupServerProperties ¶
type ServerGroupServerProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AvailabilityZone *string `json:"availabilityZone,omitempty"` CitusVersion *CitusVersion `json:"citusVersion,omitempty"` EnableHa *bool `json:"enableHa,omitempty"` EnablePublicIP *bool `json:"enablePublicIp,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` HaState *ServerHaState `json:"haState,omitempty"` PostgresqlVersion *PostgreSQLVersion `json:"postgresqlVersion,omitempty"` Role *ServerRole `json:"role,omitempty"` ServerEdition *ServerEdition `json:"serverEdition,omitempty"` StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"` State *ServerState `json:"state,omitempty"` StorageQuotaInMb *int64 `json:"storageQuotaInMb,omitempty"` VCores *int64 `json:"vCores,omitempty"` }
type ServerGroupsv2Id ¶
type ServerGroupsv2Id struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string }
ServerGroupsv2Id is a struct representing the Resource ID for a Server Groupsv 2
func NewServerGroupsv2ID ¶
func NewServerGroupsv2ID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string) ServerGroupsv2Id
NewServerGroupsv2ID returns a new ServerGroupsv2Id struct
func ParseServerGroupsv2ID ¶
func ParseServerGroupsv2ID(input string) (*ServerGroupsv2Id, error)
ParseServerGroupsv2ID parses 'input' into a ServerGroupsv2Id
func ParseServerGroupsv2IDInsensitively ¶
func ParseServerGroupsv2IDInsensitively(input string) (*ServerGroupsv2Id, error)
ParseServerGroupsv2IDInsensitively parses 'input' case-insensitively into a ServerGroupsv2Id note: this method should only be used for API response data and not user input
func (ServerGroupsv2Id) ID ¶
func (id ServerGroupsv2Id) ID() string
ID returns the formatted Server Groupsv 2 ID
func (ServerGroupsv2Id) Segments ¶
func (id ServerGroupsv2Id) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server Groupsv 2 ID
func (ServerGroupsv2Id) String ¶
func (id ServerGroupsv2Id) String() string
String returns a human-readable description of this Server Groupsv 2 ID
type ServerHaState ¶
type ServerHaState string
const ( ServerHaStateCreatingStandby ServerHaState = "CreatingStandby" ServerHaStateFailingOver ServerHaState = "FailingOver" ServerHaStateHealthy ServerHaState = "Healthy" ServerHaStateNotEnabled ServerHaState = "NotEnabled" ServerHaStateNotSync ServerHaState = "NotSync" ServerHaStateRemovingStandby ServerHaState = "RemovingStandby" ServerHaStateReplicatingData ServerHaState = "ReplicatingData" )
type ServerId ¶
type ServerId struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string ServerName string }
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
func NewServerID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string, serverName string) ServerId
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
type ServerRole ¶
type ServerRole string
const ( ServerRoleCoordinator ServerRole = "Coordinator" ServerRoleWorker ServerRole = "Worker" )
type ServerState ¶
type ServerState string
const ( ServerStateDisabled ServerState = "Disabled" ServerStateDropping ServerState = "Dropping" ServerStateProvisioning ServerState = "Provisioning" ServerStateReady ServerState = "Ready" ServerStateStarting ServerState = "Starting" ServerStateStopped ServerState = "Stopped" ServerStateStopping ServerState = "Stopping" ServerStateUpdating ServerState = "Updating" )
type ServersClient ¶
func NewServersClientWithBaseURI ¶
func NewServersClientWithBaseURI(endpoint string) ServersClient
func (ServersClient) Get ¶
func (c ServersClient) Get(ctx context.Context, id ServerId) (result GetOperationResponse, err error)
Get ...
func (ServersClient) ListByServerGroup ¶
func (c ServersClient) ListByServerGroup(ctx context.Context, id ServerGroupsv2Id) (result ListByServerGroupOperationResponse, err error)
ListByServerGroup ...