Documentation ¶
Index ¶
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type AzureMonitorRequest
- type AzureMonitorResponse
- type AzureMonitorSelectedConfigurations
- type AzureMonitorTableConfiguration
- type ClusterId
- 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 ClusterId) (result DisableAzureMonitorOperationResponse, err error)
- func (c ExtensionsClient) DisableAzureMonitorThenPoll(ctx context.Context, id ClusterId) error
- func (c ExtensionsClient) DisableMonitoring(ctx context.Context, id ClusterId) (result DisableMonitoringOperationResponse, err error)
- func (c ExtensionsClient) DisableMonitoringThenPoll(ctx context.Context, id ClusterId) error
- func (c ExtensionsClient) EnableAzureMonitor(ctx context.Context, id ClusterId, input AzureMonitorRequest) (result EnableAzureMonitorOperationResponse, err error)
- func (c ExtensionsClient) EnableAzureMonitorThenPoll(ctx context.Context, id ClusterId, input AzureMonitorRequest) error
- func (c ExtensionsClient) EnableMonitoring(ctx context.Context, id ClusterId, input ClusterMonitoringRequest) (result EnableMonitoringOperationResponse, err error)
- func (c ExtensionsClient) EnableMonitoringThenPoll(ctx context.Context, id ClusterId, input ClusterMonitoringRequest) error
- func (c ExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
- func (c ExtensionsClient) GetAzureMonitorStatus(ctx context.Context, id ClusterId) (result GetAzureMonitorStatusOperationResponse, err error)
- func (c ExtensionsClient) GetMonitoringStatus(ctx context.Context, id ClusterId) (result GetMonitoringStatusOperationResponse, err error)
- type GetAzureMonitorStatusOperationResponse
- type GetMonitoringStatusOperationResponse
- type GetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
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 ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
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) 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 ClusterId) (result DisableAzureMonitorOperationResponse, err error)
DisableAzureMonitor ...
func (ExtensionsClient) DisableAzureMonitorThenPoll ¶
func (c ExtensionsClient) DisableAzureMonitorThenPoll(ctx context.Context, id ClusterId) error
DisableAzureMonitorThenPoll performs DisableAzureMonitor then polls until it's completed
func (ExtensionsClient) DisableMonitoring ¶
func (c ExtensionsClient) DisableMonitoring(ctx context.Context, id ClusterId) (result DisableMonitoringOperationResponse, err error)
DisableMonitoring ...
func (ExtensionsClient) DisableMonitoringThenPoll ¶
func (c ExtensionsClient) DisableMonitoringThenPoll(ctx context.Context, id ClusterId) error
DisableMonitoringThenPoll performs DisableMonitoring then polls until it's completed
func (ExtensionsClient) EnableAzureMonitor ¶
func (c ExtensionsClient) EnableAzureMonitor(ctx context.Context, id ClusterId, input AzureMonitorRequest) (result EnableAzureMonitorOperationResponse, err error)
EnableAzureMonitor ...
func (ExtensionsClient) EnableAzureMonitorThenPoll ¶
func (c ExtensionsClient) EnableAzureMonitorThenPoll(ctx context.Context, id ClusterId, input AzureMonitorRequest) error
EnableAzureMonitorThenPoll performs EnableAzureMonitor then polls until it's completed
func (ExtensionsClient) EnableMonitoring ¶
func (c ExtensionsClient) EnableMonitoring(ctx context.Context, id ClusterId, input ClusterMonitoringRequest) (result EnableMonitoringOperationResponse, err error)
EnableMonitoring ...
func (ExtensionsClient) EnableMonitoringThenPoll ¶
func (c ExtensionsClient) EnableMonitoringThenPoll(ctx context.Context, id ClusterId, 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 ClusterId) (result GetAzureMonitorStatusOperationResponse, err error)
GetAzureMonitorStatus ...
func (ExtensionsClient) GetMonitoringStatus ¶
func (c ExtensionsClient) GetMonitoringStatus(ctx context.Context, id ClusterId) (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_cluster.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