Documentation ¶
Index ¶
- func PossibleValuesForConfigurationDataType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForServerRole() []string
- func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCoordinatorConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNodeConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerGroupsv2ID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type Configuration
- type ConfigurationDataType
- type ConfigurationId
- type ConfigurationOperationPredicate
- type ConfigurationProperties
- type ConfigurationsClient
- func (c ConfigurationsClient) CreateOrUpdateCoordinator(ctx context.Context, id CoordinatorConfigurationId, input ServerConfiguration) (result CreateOrUpdateCoordinatorOperationResponse, err error)
- func (c ConfigurationsClient) CreateOrUpdateCoordinatorThenPoll(ctx context.Context, id CoordinatorConfigurationId, input ServerConfiguration) error
- func (c ConfigurationsClient) CreateOrUpdateNode(ctx context.Context, id NodeConfigurationId, input ServerConfiguration) (result CreateOrUpdateNodeOperationResponse, err error)
- func (c ConfigurationsClient) CreateOrUpdateNodeThenPoll(ctx context.Context, id NodeConfigurationId, input ServerConfiguration) error
- func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
- func (c ConfigurationsClient) GetCoordinator(ctx context.Context, id CoordinatorConfigurationId) (result GetCoordinatorOperationResponse, err error)
- func (c ConfigurationsClient) GetNode(ctx context.Context, id NodeConfigurationId) (result GetNodeOperationResponse, err error)
- func (c ConfigurationsClient) ListByCluster(ctx context.Context, id ServerGroupsv2Id) (resp ListByClusterOperationResponse, err error)
- func (c ConfigurationsClient) ListByClusterComplete(ctx context.Context, id ServerGroupsv2Id) (ListByClusterCompleteResult, error)
- func (c ConfigurationsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ServerGroupsv2Id, ...) (resp ListByClusterCompleteResult, err error)
- func (c ConfigurationsClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
- func (c ConfigurationsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c ConfigurationsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, ...) (resp ListByServerCompleteResult, err error)
- type CoordinatorConfigurationId
- func NewCoordinatorConfigurationID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string, ...) CoordinatorConfigurationId
- func ParseCoordinatorConfigurationID(input string) (*CoordinatorConfigurationId, error)
- func ParseCoordinatorConfigurationIDInsensitively(input string) (*CoordinatorConfigurationId, error)
- type CreateOrUpdateCoordinatorOperationResponse
- type CreateOrUpdateNodeOperationResponse
- type GetCoordinatorOperationResponse
- type GetNodeOperationResponse
- type GetOperationResponse
- type ListByClusterCompleteResult
- type ListByClusterOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type NodeConfigurationId
- type ProvisioningState
- type ServerConfiguration
- type ServerConfigurationOperationPredicate
- type ServerConfigurationProperties
- type ServerGroupsv2Id
- type ServerId
- type ServerRole
- type ServerRoleGroupConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConfigurationDataType ¶
func PossibleValuesForConfigurationDataType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForServerRole ¶
func PossibleValuesForServerRole() []string
func ValidateConfigurationID ¶
ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID
func ValidateCoordinatorConfigurationID ¶
func ValidateCoordinatorConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateCoordinatorConfigurationID checks that 'input' can be parsed as a Coordinator Configuration ID
func ValidateNodeConfigurationID ¶
ValidateNodeConfigurationID checks that 'input' can be parsed as a Node Configuration ID
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 Configuration ¶
type Configuration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ConfigurationDataType ¶
type ConfigurationDataType string
const ( ConfigurationDataTypeBoolean ConfigurationDataType = "Boolean" ConfigurationDataTypeEnumeration ConfigurationDataType = "Enumeration" ConfigurationDataTypeInteger ConfigurationDataType = "Integer" ConfigurationDataTypeNumeric ConfigurationDataType = "Numeric" )
type ConfigurationId ¶
type ConfigurationId struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string ConfigurationName string }
ConfigurationId is a struct representing the Resource ID for a Configuration
func NewConfigurationID ¶
func NewConfigurationID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string, configurationName string) ConfigurationId
NewConfigurationID returns a new ConfigurationId struct
func ParseConfigurationID ¶
func ParseConfigurationID(input string) (*ConfigurationId, error)
ParseConfigurationID parses 'input' into a ConfigurationId
func ParseConfigurationIDInsensitively ¶
func ParseConfigurationIDInsensitively(input string) (*ConfigurationId, error)
ParseConfigurationIDInsensitively parses 'input' case-insensitively into a ConfigurationId note: this method should only be used for API response data and not user input
func (ConfigurationId) ID ¶
func (id ConfigurationId) ID() string
ID returns the formatted Configuration ID
func (ConfigurationId) Segments ¶
func (id ConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration ID
func (ConfigurationId) String ¶
func (id ConfigurationId) String() string
String returns a human-readable description of this Configuration ID
type ConfigurationOperationPredicate ¶
func (ConfigurationOperationPredicate) Matches ¶
func (p ConfigurationOperationPredicate) Matches(input Configuration) bool
type ConfigurationProperties ¶
type ConfigurationProperties struct { AllowedValues *string `json:"allowedValues,omitempty"` DataType *ConfigurationDataType `json:"dataType,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RequiresRestart *bool `json:"requiresRestart,omitempty"` ServerRoleGroupConfigurations []ServerRoleGroupConfiguration `json:"serverRoleGroupConfigurations"` }
type ConfigurationsClient ¶
type ConfigurationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewConfigurationsClientWithBaseURI ¶
func NewConfigurationsClientWithBaseURI(endpoint string) ConfigurationsClient
func (ConfigurationsClient) CreateOrUpdateCoordinator ¶
func (c ConfigurationsClient) CreateOrUpdateCoordinator(ctx context.Context, id CoordinatorConfigurationId, input ServerConfiguration) (result CreateOrUpdateCoordinatorOperationResponse, err error)
CreateOrUpdateCoordinator ...
func (ConfigurationsClient) CreateOrUpdateCoordinatorThenPoll ¶
func (c ConfigurationsClient) CreateOrUpdateCoordinatorThenPoll(ctx context.Context, id CoordinatorConfigurationId, input ServerConfiguration) error
CreateOrUpdateCoordinatorThenPoll performs CreateOrUpdateCoordinator then polls until it's completed
func (ConfigurationsClient) CreateOrUpdateNode ¶
func (c ConfigurationsClient) CreateOrUpdateNode(ctx context.Context, id NodeConfigurationId, input ServerConfiguration) (result CreateOrUpdateNodeOperationResponse, err error)
CreateOrUpdateNode ...
func (ConfigurationsClient) CreateOrUpdateNodeThenPoll ¶
func (c ConfigurationsClient) CreateOrUpdateNodeThenPoll(ctx context.Context, id NodeConfigurationId, input ServerConfiguration) error
CreateOrUpdateNodeThenPoll performs CreateOrUpdateNode then polls until it's completed
func (ConfigurationsClient) Get ¶
func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
Get ...
func (ConfigurationsClient) GetCoordinator ¶
func (c ConfigurationsClient) GetCoordinator(ctx context.Context, id CoordinatorConfigurationId) (result GetCoordinatorOperationResponse, err error)
GetCoordinator ...
func (ConfigurationsClient) GetNode ¶
func (c ConfigurationsClient) GetNode(ctx context.Context, id NodeConfigurationId) (result GetNodeOperationResponse, err error)
GetNode ...
func (ConfigurationsClient) ListByCluster ¶
func (c ConfigurationsClient) ListByCluster(ctx context.Context, id ServerGroupsv2Id) (resp ListByClusterOperationResponse, err error)
ListByCluster ...
func (ConfigurationsClient) ListByClusterComplete ¶
func (c ConfigurationsClient) ListByClusterComplete(ctx context.Context, id ServerGroupsv2Id) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all of the results into a single object
func (ConfigurationsClient) ListByClusterCompleteMatchingPredicate ¶
func (c ConfigurationsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ServerGroupsv2Id, predicate ConfigurationOperationPredicate) (resp ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConfigurationsClient) ListByServer ¶
func (c ConfigurationsClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (ConfigurationsClient) ListByServerComplete ¶
func (c ConfigurationsClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (ConfigurationsClient) ListByServerCompleteMatchingPredicate ¶
func (c ConfigurationsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerConfigurationOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CoordinatorConfigurationId ¶
type CoordinatorConfigurationId struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string CoordinatorConfigurationName string }
CoordinatorConfigurationId is a struct representing the Resource ID for a Coordinator Configuration
func NewCoordinatorConfigurationID ¶
func NewCoordinatorConfigurationID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string, coordinatorConfigurationName string) CoordinatorConfigurationId
NewCoordinatorConfigurationID returns a new CoordinatorConfigurationId struct
func ParseCoordinatorConfigurationID ¶
func ParseCoordinatorConfigurationID(input string) (*CoordinatorConfigurationId, error)
ParseCoordinatorConfigurationID parses 'input' into a CoordinatorConfigurationId
func ParseCoordinatorConfigurationIDInsensitively ¶
func ParseCoordinatorConfigurationIDInsensitively(input string) (*CoordinatorConfigurationId, error)
ParseCoordinatorConfigurationIDInsensitively parses 'input' case-insensitively into a CoordinatorConfigurationId note: this method should only be used for API response data and not user input
func (CoordinatorConfigurationId) ID ¶
func (id CoordinatorConfigurationId) ID() string
ID returns the formatted Coordinator Configuration ID
func (CoordinatorConfigurationId) Segments ¶
func (id CoordinatorConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Coordinator Configuration ID
func (CoordinatorConfigurationId) String ¶
func (id CoordinatorConfigurationId) String() string
String returns a human-readable description of this Coordinator Configuration ID
type CreateOrUpdateCoordinatorOperationResponse ¶
type CreateOrUpdateCoordinatorOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateOrUpdateNodeOperationResponse ¶
type CreateOrUpdateNodeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetCoordinatorOperationResponse ¶
type GetCoordinatorOperationResponse struct { HttpResponse *http.Response Model *ServerConfiguration }
type GetNodeOperationResponse ¶
type GetNodeOperationResponse struct { HttpResponse *http.Response Model *ServerConfiguration }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Configuration }
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct {
Items []Configuration
}
type ListByClusterOperationResponse ¶
type ListByClusterOperationResponse struct { HttpResponse *http.Response Model *[]Configuration // contains filtered or unexported fields }
func (ListByClusterOperationResponse) HasMore ¶
func (r ListByClusterOperationResponse) HasMore() bool
func (ListByClusterOperationResponse) LoadMore ¶
func (r ListByClusterOperationResponse) LoadMore(ctx context.Context) (resp ListByClusterOperationResponse, err error)
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []ServerConfiguration
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]ServerConfiguration // contains filtered or unexported fields }
func (ListByServerOperationResponse) HasMore ¶
func (r ListByServerOperationResponse) HasMore() bool
func (ListByServerOperationResponse) LoadMore ¶
func (r ListByServerOperationResponse) LoadMore(ctx context.Context) (resp ListByServerOperationResponse, err error)
type NodeConfigurationId ¶
type NodeConfigurationId struct { SubscriptionId string ResourceGroupName string ServerGroupsv2Name string NodeConfigurationName string }
NodeConfigurationId is a struct representing the Resource ID for a Node Configuration
func NewNodeConfigurationID ¶
func NewNodeConfigurationID(subscriptionId string, resourceGroupName string, serverGroupsv2Name string, nodeConfigurationName string) NodeConfigurationId
NewNodeConfigurationID returns a new NodeConfigurationId struct
func ParseNodeConfigurationID ¶
func ParseNodeConfigurationID(input string) (*NodeConfigurationId, error)
ParseNodeConfigurationID parses 'input' into a NodeConfigurationId
func ParseNodeConfigurationIDInsensitively ¶
func ParseNodeConfigurationIDInsensitively(input string) (*NodeConfigurationId, error)
ParseNodeConfigurationIDInsensitively parses 'input' case-insensitively into a NodeConfigurationId note: this method should only be used for API response data and not user input
func (NodeConfigurationId) ID ¶
func (id NodeConfigurationId) ID() string
ID returns the formatted Node Configuration ID
func (NodeConfigurationId) Segments ¶
func (id NodeConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Node Configuration ID
func (NodeConfigurationId) String ¶
func (id NodeConfigurationId) String() string
String returns a human-readable description of this Node Configuration ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type ServerConfiguration ¶
type ServerConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ServerConfigurationOperationPredicate ¶
func (ServerConfigurationOperationPredicate) Matches ¶
func (p ServerConfigurationOperationPredicate) Matches(input ServerConfiguration) bool
type ServerConfigurationProperties ¶
type ServerConfigurationProperties struct { AllowedValues *string `json:"allowedValues,omitempty"` DataType *ConfigurationDataType `json:"dataType,omitempty"` DefaultValue *string `json:"defaultValue,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RequiresRestart *bool `json:"requiresRestart,omitempty"` Source *string `json:"source,omitempty"` Value string `json:"value"` }
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 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 ServerRoleGroupConfiguration ¶
type ServerRoleGroupConfiguration struct { DefaultValue *string `json:"defaultValue,omitempty"` Role ServerRole `json:"role"` Source *string `json:"source,omitempty"` Value string `json:"value"` }
Source Files ¶
- client.go
- constants.go
- id_configuration.go
- id_coordinatorconfiguration.go
- id_nodeconfiguration.go
- id_server.go
- id_servergroupsv2.go
- method_createorupdatecoordinator_autorest.go
- method_createorupdatenode_autorest.go
- method_get_autorest.go
- method_getcoordinator_autorest.go
- method_getnode_autorest.go
- method_listbycluster_autorest.go
- method_listbyserver_autorest.go
- model_configuration.go
- model_configurationproperties.go
- model_serverconfiguration.go
- model_serverconfigurationproperties.go
- model_serverrolegroupconfiguration.go
- predicates.go
- version.go