Documentation ¶
Index ¶
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type AzureMonitorRequest
- type AzureMonitorResponse
- type AzureMonitorSelectedConfigurations
- type AzureMonitorTableConfiguration
- type ClusterMonitoringRequest
- type ClusterMonitoringResponse
- type CreateOperationResponse
- type DeleteOperationResponse
- type DisableAzureMonitorOperationResponse
- type DisableMonitoringOperationResponse
- type EnableAzureMonitorOperationResponse
- type EnableMonitoringOperationResponse
- type Extension
- type ExtensionId
- type ExtensionsClient
- func (c ExtensionsClient) Create(ctx context.Context, id ExtensionId, input Extension) (result CreateOperationResponse, err error)
- func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
- func (c ExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
- func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
- func (c ExtensionsClient) DisableAzureMonitor(ctx context.Context, id commonids.HDInsightClusterId) (result DisableAzureMonitorOperationResponse, err error)
- func (c ExtensionsClient) DisableAzureMonitorThenPoll(ctx context.Context, id commonids.HDInsightClusterId) error
- func (c ExtensionsClient) DisableMonitoring(ctx context.Context, id commonids.HDInsightClusterId) (result DisableMonitoringOperationResponse, err error)
- func (c ExtensionsClient) DisableMonitoringThenPoll(ctx context.Context, id commonids.HDInsightClusterId) error
- func (c ExtensionsClient) EnableAzureMonitor(ctx context.Context, id commonids.HDInsightClusterId, ...) (result EnableAzureMonitorOperationResponse, err error)
- func (c ExtensionsClient) EnableAzureMonitorThenPoll(ctx context.Context, id commonids.HDInsightClusterId, ...) error
- func (c ExtensionsClient) EnableMonitoring(ctx context.Context, id commonids.HDInsightClusterId, ...) (result EnableMonitoringOperationResponse, err error)
- func (c ExtensionsClient) EnableMonitoringThenPoll(ctx context.Context, id commonids.HDInsightClusterId, ...) error
- func (c ExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
- func (c ExtensionsClient) GetAzureMonitorStatus(ctx context.Context, id commonids.HDInsightClusterId) (result GetAzureMonitorStatusOperationResponse, err error)
- func (c ExtensionsClient) GetMonitoringStatus(ctx context.Context, id commonids.HDInsightClusterId) (result GetMonitoringStatusOperationResponse, err error)
- type GetAzureMonitorStatusOperationResponse
- type GetMonitoringStatusOperationResponse
- type GetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateExtensionID ¶
ValidateExtensionID checks that 'input' can be parsed as a Extension ID
Types ¶
type AzureMonitorRequest ¶
type AzureMonitorRequest struct { PrimaryKey *string `json:"primaryKey,omitempty"` SelectedConfigurations *AzureMonitorSelectedConfigurations `json:"selectedConfigurations,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` }
type AzureMonitorResponse ¶
type AzureMonitorResponse struct { ClusterMonitoringEnabled *bool `json:"clusterMonitoringEnabled,omitempty"` SelectedConfigurations *AzureMonitorSelectedConfigurations `json:"selectedConfigurations,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` }
type AzureMonitorSelectedConfigurations ¶
type AzureMonitorSelectedConfigurations struct { ConfigurationVersion *string `json:"configurationVersion,omitempty"` GlobalConfigurations *map[string]string `json:"globalConfigurations,omitempty"` TableList *[]AzureMonitorTableConfiguration `json:"tableList,omitempty"` }
type AzureMonitorTableConfiguration ¶
type AzureMonitorTableConfiguration struct {
Name *string `json:"name,omitempty"`
}
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string ClusterName string ExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, clusterName string, extensionName string) ExtensionId
NewExtensionID returns a new ExtensionId struct
func ParseExtensionID ¶
func ParseExtensionID(input string) (*ExtensionId, error)
ParseExtensionID parses 'input' into a ExtensionId
func ParseExtensionIDInsensitively ¶
func ParseExtensionIDInsensitively(input string) (*ExtensionId, error)
ParseExtensionIDInsensitively parses 'input' case-insensitively into a ExtensionId note: this method should only be used for API response data and not user input
func (*ExtensionId) FromParseResult ¶
func (id *ExtensionId) FromParseResult(input resourceids.ParseResult) error
func (ExtensionId) Segments ¶
func (id ExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Extension ID
func (ExtensionId) String ¶
func (id ExtensionId) String() string
String returns a human-readable description of this Extension ID
type ExtensionsClient ¶
type ExtensionsClient struct {
Client *resourcemanager.Client
}
func NewExtensionsClientWithBaseURI ¶
func NewExtensionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExtensionsClient, error)
func (ExtensionsClient) Create ¶
func (c ExtensionsClient) Create(ctx context.Context, id ExtensionId, input Extension) (result CreateOperationResponse, err error)
Create ...
func (ExtensionsClient) CreateThenPoll ¶
func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
CreateThenPoll performs Create then polls until it's completed
func (ExtensionsClient) Delete ¶
func (c ExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
Delete ...
func (ExtensionsClient) DeleteThenPoll ¶
func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExtensionsClient) DisableAzureMonitor ¶
func (c ExtensionsClient) DisableAzureMonitor(ctx context.Context, id commonids.HDInsightClusterId) (result DisableAzureMonitorOperationResponse, err error)
DisableAzureMonitor ...
func (ExtensionsClient) DisableAzureMonitorThenPoll ¶
func (c ExtensionsClient) DisableAzureMonitorThenPoll(ctx context.Context, id commonids.HDInsightClusterId) error
DisableAzureMonitorThenPoll performs DisableAzureMonitor then polls until it's completed
func (ExtensionsClient) DisableMonitoring ¶
func (c ExtensionsClient) DisableMonitoring(ctx context.Context, id commonids.HDInsightClusterId) (result DisableMonitoringOperationResponse, err error)
DisableMonitoring ...
func (ExtensionsClient) DisableMonitoringThenPoll ¶
func (c ExtensionsClient) DisableMonitoringThenPoll(ctx context.Context, id commonids.HDInsightClusterId) error
DisableMonitoringThenPoll performs DisableMonitoring then polls until it's completed
func (ExtensionsClient) EnableAzureMonitor ¶
func (c ExtensionsClient) EnableAzureMonitor(ctx context.Context, id commonids.HDInsightClusterId, input AzureMonitorRequest) (result EnableAzureMonitorOperationResponse, err error)
EnableAzureMonitor ...
func (ExtensionsClient) EnableAzureMonitorThenPoll ¶
func (c ExtensionsClient) EnableAzureMonitorThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input AzureMonitorRequest) error
EnableAzureMonitorThenPoll performs EnableAzureMonitor then polls until it's completed
func (ExtensionsClient) EnableMonitoring ¶
func (c ExtensionsClient) EnableMonitoring(ctx context.Context, id commonids.HDInsightClusterId, input ClusterMonitoringRequest) (result EnableMonitoringOperationResponse, err error)
EnableMonitoring ...
func (ExtensionsClient) EnableMonitoringThenPoll ¶
func (c ExtensionsClient) EnableMonitoringThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input ClusterMonitoringRequest) error
EnableMonitoringThenPoll performs EnableMonitoring then polls until it's completed
func (ExtensionsClient) Get ¶
func (c ExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
Get ...
func (ExtensionsClient) GetAzureMonitorStatus ¶
func (c ExtensionsClient) GetAzureMonitorStatus(ctx context.Context, id commonids.HDInsightClusterId) (result GetAzureMonitorStatusOperationResponse, err error)
GetAzureMonitorStatus ...
func (ExtensionsClient) GetMonitoringStatus ¶
func (c ExtensionsClient) GetMonitoringStatus(ctx context.Context, id commonids.HDInsightClusterId) (result GetMonitoringStatusOperationResponse, err error)
GetMonitoringStatus ...
type GetAzureMonitorStatusOperationResponse ¶
type GetAzureMonitorStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AzureMonitorResponse }
type GetMonitoringStatusOperationResponse ¶
type GetMonitoringStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClusterMonitoringResponse }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClusterMonitoringResponse }
Source Files ¶
- client.go
- id_extension.go
- method_create.go
- method_delete.go
- method_disableazuremonitor.go
- method_disablemonitoring.go
- method_enableazuremonitor.go
- method_enablemonitoring.go
- method_get.go
- method_getazuremonitorstatus.go
- method_getmonitoringstatus.go
- model_azuremonitorrequest.go
- model_azuremonitorresponse.go
- model_azuremonitorselectedconfigurations.go
- model_azuremonitortableconfiguration.go
- model_clustermonitoringrequest.go
- model_clustermonitoringresponse.go
- model_extension.go
- version.go