Documentation ¶
Index ¶
- func PossibleValuesForCheckNameAvailabilityResourceType() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityResourceType
- type Cluster
- type ClusterForUpdate
- type ClusterOperationPredicate
- type ClusterProperties
- type ClusterPropertiesForUpdate
- type ClustersClient
- func (c ClustersClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c ClustersClient) Create(ctx context.Context, id ServerGroupsv2Id, input Cluster) (result CreateOperationResponse, err error)
- func (c ClustersClient) CreateThenPoll(ctx context.Context, id ServerGroupsv2Id, input Cluster) error
- func (c ClustersClient) Delete(ctx context.Context, id ServerGroupsv2Id) (result DeleteOperationResponse, err error)
- func (c ClustersClient) DeleteThenPoll(ctx context.Context, id ServerGroupsv2Id) error
- func (c ClustersClient) Get(ctx context.Context, id ServerGroupsv2Id) (result GetOperationResponse, err error)
- func (c ClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c ClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c ClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c ClustersClient) Update(ctx context.Context, id ServerGroupsv2Id, input ClusterForUpdate) (result UpdateOperationResponse, err error)
- func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ServerGroupsv2Id, input ClusterForUpdate) error
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MaintenanceWindow
- type NameAvailability
- type NameAvailabilityRequest
- type PrivateEndpointConnectionSimpleProperties
- type PrivateEndpointProperty
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ServerGroupsv2Id
- type ServerNameItem
- type SimplePrivateEndpointConnection
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCheckNameAvailabilityResourceType ¶
func PossibleValuesForCheckNameAvailabilityResourceType() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func ValidateServerGroupsv2ID ¶
ValidateServerGroupsv2ID checks that 'input' can be parsed as a Server Groupsv 2 ID
Types ¶
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *NameAvailability }
type CheckNameAvailabilityResourceType ¶
type CheckNameAvailabilityResourceType string
const (
CheckNameAvailabilityResourceTypeMicrosoftPointDBforPostgreSQLServerGroupsvTwo CheckNameAvailabilityResourceType = "Microsoft.DBforPostgreSQL/serverGroupsv2"
)
type Cluster ¶
type Cluster struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ClusterForUpdate ¶
type ClusterForUpdate struct { Properties *ClusterPropertiesForUpdate `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ClusterOperationPredicate ¶
func (ClusterOperationPredicate) Matches ¶
func (p ClusterOperationPredicate) Matches(input Cluster) bool
type ClusterProperties ¶
type ClusterProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` CitusVersion *string `json:"citusVersion,omitempty"` CoordinatorEnablePublicIPAccess *bool `json:"coordinatorEnablePublicIpAccess,omitempty"` CoordinatorServerEdition *string `json:"coordinatorServerEdition,omitempty"` CoordinatorStorageQuotaInMb *int64 `json:"coordinatorStorageQuotaInMb,omitempty"` CoordinatorVCores *int64 `json:"coordinatorVCores,omitempty"` EarliestRestoreTime *string `json:"earliestRestoreTime,omitempty"` EnableHa *bool `json:"enableHa,omitempty"` EnableShardsOnCoordinator *bool `json:"enableShardsOnCoordinator,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` NodeCount *int64 `json:"nodeCount,omitempty"` NodeEnablePublicIPAccess *bool `json:"nodeEnablePublicIpAccess,omitempty"` NodeServerEdition *string `json:"nodeServerEdition,omitempty"` NodeStorageQuotaInMb *int64 `json:"nodeStorageQuotaInMb,omitempty"` NodeVCores *int64 `json:"nodeVCores,omitempty"` PointInTimeUTC *string `json:"pointInTimeUTC,omitempty"` PostgresqlVersion *string `json:"postgresqlVersion,omitempty"` PreferredPrimaryZone *string `json:"preferredPrimaryZone,omitempty"` PrivateEndpointConnections *[]SimplePrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ReadReplicas *[]string `json:"readReplicas,omitempty"` ServerNames *[]ServerNameItem `json:"serverNames,omitempty"` SourceLocation *string `json:"sourceLocation,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` State *string `json:"state,omitempty"` }
func (*ClusterProperties) GetEarliestRestoreTimeAsTime ¶
func (o *ClusterProperties) GetEarliestRestoreTimeAsTime() (*time.Time, error)
func (*ClusterProperties) GetPointInTimeUTCAsTime ¶
func (o *ClusterProperties) GetPointInTimeUTCAsTime() (*time.Time, error)
func (*ClusterProperties) SetEarliestRestoreTimeAsTime ¶
func (o *ClusterProperties) SetEarliestRestoreTimeAsTime(input time.Time)
func (*ClusterProperties) SetPointInTimeUTCAsTime ¶
func (o *ClusterProperties) SetPointInTimeUTCAsTime(input time.Time)
type ClusterPropertiesForUpdate ¶
type ClusterPropertiesForUpdate struct { AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` CitusVersion *string `json:"citusVersion,omitempty"` CoordinatorEnablePublicIPAccess *bool `json:"coordinatorEnablePublicIpAccess,omitempty"` CoordinatorServerEdition *string `json:"coordinatorServerEdition,omitempty"` CoordinatorStorageQuotaInMb *int64 `json:"coordinatorStorageQuotaInMb,omitempty"` CoordinatorVCores *int64 `json:"coordinatorVCores,omitempty"` EnableHa *bool `json:"enableHa,omitempty"` EnableShardsOnCoordinator *bool `json:"enableShardsOnCoordinator,omitempty"` MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` NodeCount *int64 `json:"nodeCount,omitempty"` NodeEnablePublicIPAccess *bool `json:"nodeEnablePublicIpAccess,omitempty"` NodeServerEdition *string `json:"nodeServerEdition,omitempty"` NodeStorageQuotaInMb *int64 `json:"nodeStorageQuotaInMb,omitempty"` NodeVCores *int64 `json:"nodeVCores,omitempty"` PostgresqlVersion *string `json:"postgresqlVersion,omitempty"` PreferredPrimaryZone *string `json:"preferredPrimaryZone,omitempty"` }
type ClustersClient ¶
func NewClustersClientWithBaseURI ¶
func NewClustersClientWithBaseURI(endpoint string) ClustersClient
func (ClustersClient) CheckNameAvailability ¶
func (c ClustersClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input NameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (ClustersClient) Create ¶ added in v0.20230317.1154451
func (c ClustersClient) Create(ctx context.Context, id ServerGroupsv2Id, input Cluster) (result CreateOperationResponse, err error)
Create ...
func (ClustersClient) CreateThenPoll ¶ added in v0.20230317.1154451
func (c ClustersClient) CreateThenPoll(ctx context.Context, id ServerGroupsv2Id, input Cluster) error
CreateThenPoll performs Create then polls until it's completed
func (ClustersClient) Delete ¶
func (c ClustersClient) Delete(ctx context.Context, id ServerGroupsv2Id) (result DeleteOperationResponse, err error)
Delete ...
func (ClustersClient) DeleteThenPoll ¶
func (c ClustersClient) DeleteThenPoll(ctx context.Context, id ServerGroupsv2Id) error
DeleteThenPoll performs Delete then polls until it's completed
func (ClustersClient) Get ¶
func (c ClustersClient) Get(ctx context.Context, id ServerGroupsv2Id) (result GetOperationResponse, err error)
Get ...
func (ClustersClient) List ¶
func (c ClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (ClustersClient) ListByResourceGroup ¶
func (c ClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ClustersClient) ListByResourceGroupComplete ¶
func (c ClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ClustersClient) ListComplete ¶
func (c ClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ClustersClient) ListCompleteMatchingPredicate ¶
func (c ClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ClustersClient) Update ¶
func (c ClustersClient) Update(ctx context.Context, id ServerGroupsv2Id, input ClusterForUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ClustersClient) UpdateThenPoll ¶
func (c ClustersClient) UpdateThenPoll(ctx context.Context, id ServerGroupsv2Id, input ClusterForUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type CreateOperationResponse ¶ added in v0.20230317.1154451
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Cluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Cluster
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Cluster // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type MaintenanceWindow ¶
type NameAvailability ¶
type NameAvailabilityRequest ¶
type NameAvailabilityRequest struct { Name string `json:"name"` Type CheckNameAvailabilityResourceType `json:"type"` }
type PrivateEndpointConnectionSimpleProperties ¶
type PrivateEndpointConnectionSimpleProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
type PrivateEndpointProperty ¶
type PrivateEndpointProperty struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,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 ServerNameItem ¶
type SimplePrivateEndpointConnection ¶
type SimplePrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionSimpleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_servergroupsv2.go
- method_checknameavailability_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_cluster.go
- model_clusterforupdate.go
- model_clusterproperties.go
- model_clusterpropertiesforupdate.go
- model_maintenancewindow.go
- model_nameavailability.go
- model_nameavailabilityrequest.go
- model_privateendpointconnectionsimpleproperties.go
- model_privateendpointproperty.go
- model_privatelinkserviceconnectionstate.go
- model_servernameitem.go
- model_simpleprivateendpointconnection.go
- predicates.go
- version.go