Documentation ¶
Index ¶
- func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterConfigurations
- type ConfigurationId
- type ConfigurationsClient
- func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
- func (c ConfigurationsClient) List(ctx context.Context, id commonids.HDInsightClusterId) (result ListOperationResponse, err error)
- func (c ConfigurationsClient) Update(ctx context.Context, id ConfigurationId, input map[string]string) (result UpdateOperationResponse, err error)
- func (c ConfigurationsClient) UpdateThenPoll(ctx context.Context, id ConfigurationId, input map[string]string) error
- type GetOperationResponse
- type ListOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfigurationID ¶
ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID
Types ¶
type ClusterConfigurations ¶
type ConfigurationId ¶
type ConfigurationId struct { SubscriptionId string ResourceGroupName string ClusterName string ConfigurationName string }
ConfigurationId is a struct representing the Resource ID for a Configuration
func NewConfigurationID ¶
func NewConfigurationID(subscriptionId string, resourceGroupName string, clusterName 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) FromParseResult ¶
func (id *ConfigurationId) FromParseResult(input resourceids.ParseResult) error
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 ConfigurationsClient ¶
type ConfigurationsClient struct {
Client *resourcemanager.Client
}
func NewConfigurationsClientWithBaseURI ¶
func NewConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ConfigurationsClient, error)
func (ConfigurationsClient) Get ¶
func (c ConfigurationsClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
Get ...
func (ConfigurationsClient) List ¶
func (c ConfigurationsClient) List(ctx context.Context, id commonids.HDInsightClusterId) (result ListOperationResponse, err error)
List ...
func (ConfigurationsClient) Update ¶
func (c ConfigurationsClient) Update(ctx context.Context, id ConfigurationId, input map[string]string) (result UpdateOperationResponse, err error)
Update ...
func (ConfigurationsClient) UpdateThenPoll ¶
func (c ConfigurationsClient) UpdateThenPoll(ctx context.Context, id ConfigurationId, input map[string]string) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClusterConfigurations }