Documentation ¶
Index ¶
- Constants
- type AddAvailabilityProfileCommandInput
- type AddLoadBalancingStrategyCommandInput
- type DeleteAvailabilityProfileCommandInput
- type DeleteLoadBalancingStrategyCommandInput
- type GetAvailabilityProfileCommandInput
- type GetAvailabilityProfileDescriptorCommandInput
- type GetAvailabilityProfilesCommandInput
- type GetLoadBalancingStrategiesCommandInput
- type GetLoadBalancingStrategyCommandInput
- type GetLoadBalancingStrategyDescriptorCommandInput
- type HighAvailabilityAPI
- type HighAvailabilityService
- func (s *HighAvailabilityService) AddAvailabilityProfileCommand(input *AddAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
- func (s *HighAvailabilityService) AddLoadBalancingStrategyCommand(input *AddLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
- func (s *HighAvailabilityService) DeleteAvailabilityProfileCommand(input *DeleteAvailabilityProfileCommandInput) (resp *http.Response, err error)
- func (s *HighAvailabilityService) DeleteLoadBalancingStrategyCommand(input *DeleteLoadBalancingStrategyCommandInput) (resp *http.Response, err error)
- func (s *HighAvailabilityService) GetAvailabilityProfileCommand(input *GetAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetAvailabilityProfileDescriptorCommand(input *GetAvailabilityProfileDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetAvailabilityProfileDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetAvailabilityProfilesCommand(input *GetAvailabilityProfilesCommandInput) (output *models.AvailabilityProfilesView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetLoadBalancingStrategiesCommand(input *GetLoadBalancingStrategiesCommandInput) (output *models.LoadBalancingStrategiesView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetLoadBalancingStrategyCommand(input *GetLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetLoadBalancingStrategyDescriptorCommand(input *GetLoadBalancingStrategyDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
- func (s *HighAvailabilityService) GetLoadBalancingStrategyDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *HighAvailabilityService) UpdateAvailabilityProfileCommand(input *UpdateAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
- func (s *HighAvailabilityService) UpdateLoadBalancingStrategyCommand(input *UpdateLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
- type UpdateAvailabilityProfileCommandInput
- type UpdateLoadBalancingStrategyCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "HighAvailability"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAvailabilityProfileCommandInput ¶
type AddAvailabilityProfileCommandInput struct {
Body models.AvailabilityProfileView
}
AddAvailabilityProfileCommandInput - Inputs for AddAvailabilityProfileCommand
type AddLoadBalancingStrategyCommandInput ¶
type AddLoadBalancingStrategyCommandInput struct {
Body models.LoadBalancingStrategyView
}
AddLoadBalancingStrategyCommandInput - Inputs for AddLoadBalancingStrategyCommand
type DeleteAvailabilityProfileCommandInput ¶
type DeleteAvailabilityProfileCommandInput struct {
Id string
}
DeleteAvailabilityProfileCommandInput - Inputs for DeleteAvailabilityProfileCommand
type DeleteLoadBalancingStrategyCommandInput ¶
type DeleteLoadBalancingStrategyCommandInput struct {
Id string
}
DeleteLoadBalancingStrategyCommandInput - Inputs for DeleteLoadBalancingStrategyCommand
type GetAvailabilityProfileCommandInput ¶
type GetAvailabilityProfileCommandInput struct {
Id string
}
GetAvailabilityProfileCommandInput - Inputs for GetAvailabilityProfileCommand
type GetAvailabilityProfileDescriptorCommandInput ¶
type GetAvailabilityProfileDescriptorCommandInput struct {
AvailabilityProfileType string
}
GetAvailabilityProfileDescriptorCommandInput - Inputs for GetAvailabilityProfileDescriptorCommand
type GetAvailabilityProfilesCommandInput ¶
type GetAvailabilityProfilesCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetAvailabilityProfilesCommandInput - Inputs for GetAvailabilityProfilesCommand
type GetLoadBalancingStrategiesCommandInput ¶
type GetLoadBalancingStrategiesCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetLoadBalancingStrategiesCommandInput - Inputs for GetLoadBalancingStrategiesCommand
type GetLoadBalancingStrategyCommandInput ¶
type GetLoadBalancingStrategyCommandInput struct {
Id string
}
GetLoadBalancingStrategyCommandInput - Inputs for GetLoadBalancingStrategyCommand
type GetLoadBalancingStrategyDescriptorCommandInput ¶
type GetLoadBalancingStrategyDescriptorCommandInput struct {
LoadBalancingStrategyType string
}
GetLoadBalancingStrategyDescriptorCommandInput - Inputs for GetLoadBalancingStrategyDescriptorCommand
type HighAvailabilityAPI ¶
type HighAvailabilityAPI interface { GetAvailabilityProfilesCommand(input *GetAvailabilityProfilesCommandInput) (output *models.AvailabilityProfilesView, resp *http.Response, err error) AddAvailabilityProfileCommand(input *AddAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error) GetAvailabilityProfileDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) GetAvailabilityProfileDescriptorCommand(input *GetAvailabilityProfileDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error) DeleteAvailabilityProfileCommand(input *DeleteAvailabilityProfileCommandInput) (resp *http.Response, err error) GetAvailabilityProfileCommand(input *GetAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error) UpdateAvailabilityProfileCommand(input *UpdateAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error) GetLoadBalancingStrategiesCommand(input *GetLoadBalancingStrategiesCommandInput) (output *models.LoadBalancingStrategiesView, resp *http.Response, err error) AddLoadBalancingStrategyCommand(input *AddLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error) GetLoadBalancingStrategyDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) GetLoadBalancingStrategyDescriptorCommand(input *GetLoadBalancingStrategyDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error) DeleteLoadBalancingStrategyCommand(input *DeleteLoadBalancingStrategyCommandInput) (resp *http.Response, err error) GetLoadBalancingStrategyCommand(input *GetLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error) UpdateLoadBalancingStrategyCommand(input *UpdateLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error) }
type HighAvailabilityService ¶
HighAvailabilityService provides the API operations for making requests to HighAvailability endpoint.
func New ¶
func New(cfg *config.Config) *HighAvailabilityService
New createa a new instance of the HighAvailabilityService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a HighAvailabilityService from the configuration svc := highAvailability.New(cfg)
func (*HighAvailabilityService) AddAvailabilityProfileCommand ¶
func (s *HighAvailabilityService) AddAvailabilityProfileCommand(input *AddAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
AddAvailabilityProfileCommand - Create an Availability Profile RequestType: POST Input: input *AddAvailabilityProfileCommandInput
func (*HighAvailabilityService) AddLoadBalancingStrategyCommand ¶
func (s *HighAvailabilityService) AddLoadBalancingStrategyCommand(input *AddLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
AddLoadBalancingStrategyCommand - Create a Load Balancing Strategy RequestType: POST Input: input *AddLoadBalancingStrategyCommandInput
func (*HighAvailabilityService) DeleteAvailabilityProfileCommand ¶
func (s *HighAvailabilityService) DeleteAvailabilityProfileCommand(input *DeleteAvailabilityProfileCommandInput) (resp *http.Response, err error)
DeleteAvailabilityProfileCommand - Delete an Availability Profile RequestType: DELETE Input: input *DeleteAvailabilityProfileCommandInput
func (*HighAvailabilityService) DeleteLoadBalancingStrategyCommand ¶
func (s *HighAvailabilityService) DeleteLoadBalancingStrategyCommand(input *DeleteLoadBalancingStrategyCommandInput) (resp *http.Response, err error)
DeleteLoadBalancingStrategyCommand - Delete a Load Balancing Strategy RequestType: DELETE Input: input *DeleteLoadBalancingStrategyCommandInput
func (*HighAvailabilityService) GetAvailabilityProfileCommand ¶
func (s *HighAvailabilityService) GetAvailabilityProfileCommand(input *GetAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
GetAvailabilityProfileCommand - Get an Availability Profile RequestType: GET Input: input *GetAvailabilityProfileCommandInput
func (*HighAvailabilityService) GetAvailabilityProfileDescriptorCommand ¶
func (s *HighAvailabilityService) GetAvailabilityProfileDescriptorCommand(input *GetAvailabilityProfileDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
GetAvailabilityProfileDescriptorCommand - Get a descriptor for an Availability Profile RequestType: GET Input: input *GetAvailabilityProfileDescriptorCommandInput
func (*HighAvailabilityService) GetAvailabilityProfileDescriptorsCommand ¶
func (s *HighAvailabilityService) GetAvailabilityProfileDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
GetAvailabilityProfileDescriptorsCommand - Get descriptors for all Availability Profiles RequestType: GET Input:
func (*HighAvailabilityService) GetAvailabilityProfilesCommand ¶
func (s *HighAvailabilityService) GetAvailabilityProfilesCommand(input *GetAvailabilityProfilesCommandInput) (output *models.AvailabilityProfilesView, resp *http.Response, err error)
GetAvailabilityProfilesCommand - Get all Availability Profiles RequestType: GET Input: input *GetAvailabilityProfilesCommandInput
func (*HighAvailabilityService) GetLoadBalancingStrategiesCommand ¶
func (s *HighAvailabilityService) GetLoadBalancingStrategiesCommand(input *GetLoadBalancingStrategiesCommandInput) (output *models.LoadBalancingStrategiesView, resp *http.Response, err error)
GetLoadBalancingStrategiesCommand - Get all Load Balancing Strategies RequestType: GET Input: input *GetLoadBalancingStrategiesCommandInput
func (*HighAvailabilityService) GetLoadBalancingStrategyCommand ¶
func (s *HighAvailabilityService) GetLoadBalancingStrategyCommand(input *GetLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
GetLoadBalancingStrategyCommand - Get a Load Balancing Strategy RequestType: GET Input: input *GetLoadBalancingStrategyCommandInput
func (*HighAvailabilityService) GetLoadBalancingStrategyDescriptorCommand ¶
func (s *HighAvailabilityService) GetLoadBalancingStrategyDescriptorCommand(input *GetLoadBalancingStrategyDescriptorCommandInput) (output *models.DescriptorView, resp *http.Response, err error)
GetLoadBalancingStrategyDescriptorCommand - Get a descriptor for a Load Balancing Strategy RequestType: GET Input: input *GetLoadBalancingStrategyDescriptorCommandInput
func (*HighAvailabilityService) GetLoadBalancingStrategyDescriptorsCommand ¶
func (s *HighAvailabilityService) GetLoadBalancingStrategyDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
GetLoadBalancingStrategyDescriptorsCommand - Get descriptors for all Load Balancing Strategies RequestType: GET Input:
func (*HighAvailabilityService) UpdateAvailabilityProfileCommand ¶
func (s *HighAvailabilityService) UpdateAvailabilityProfileCommand(input *UpdateAvailabilityProfileCommandInput) (output *models.AvailabilityProfileView, resp *http.Response, err error)
UpdateAvailabilityProfileCommand - Update an Availability Profile RequestType: PUT Input: input *UpdateAvailabilityProfileCommandInput
func (*HighAvailabilityService) UpdateLoadBalancingStrategyCommand ¶
func (s *HighAvailabilityService) UpdateLoadBalancingStrategyCommand(input *UpdateLoadBalancingStrategyCommandInput) (output *models.LoadBalancingStrategyView, resp *http.Response, err error)
UpdateLoadBalancingStrategyCommand - Update a Load Balancing Strategy RequestType: PUT Input: input *UpdateLoadBalancingStrategyCommandInput
type UpdateAvailabilityProfileCommandInput ¶
type UpdateAvailabilityProfileCommandInput struct { Body models.AvailabilityProfileView Id string }
UpdateAvailabilityProfileCommandInput - Inputs for UpdateAvailabilityProfileCommand
type UpdateLoadBalancingStrategyCommandInput ¶
type UpdateLoadBalancingStrategyCommandInput struct { Body models.LoadBalancingStrategyView Id string }
UpdateLoadBalancingStrategyCommandInput - Inputs for UpdateLoadBalancingStrategyCommand