Documentation ¶
Overview ¶
Package monitoring implements the Azure ARM Monitoring service API version 2019-11-01-preview.
Index ¶
- func UserAgent() string
- func Version() string
- type BaseClient
- type Client
- func (client Client) GetSQLJobQueryString(ctx context.Context, APIVersion string, xMsClientRequestID string, ...) (result SQLQueryStringDataModel, err error)
- func (client Client) GetSQLJobQueryStringPreparer(ctx context.Context, APIVersion string, xMsClientRequestID string, ...) (*http.Request, error)
- func (client Client) GetSQLJobQueryStringResponder(resp *http.Response) (result SQLQueryStringDataModel, err error)
- func (client Client) GetSQLJobQueryStringSender(req *http.Request) (*http.Response, error)
- func (client Client) GetSparkJobList(ctx context.Context, APIVersion string, xMsClientRequestID string) (result SparkJobListViewResponse, err error)
- func (client Client) GetSparkJobListPreparer(ctx context.Context, APIVersion string, xMsClientRequestID string) (*http.Request, error)
- func (client Client) GetSparkJobListResponder(resp *http.Response) (result SparkJobListViewResponse, err error)
- func (client Client) GetSparkJobListSender(req *http.Request) (*http.Response, error)
- type SQLQueryStringDataModel
- type SparkJob
- type SparkJobListViewResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient ¶
BaseClient is the base client for Monitoring.
func NewWithoutDefaults ¶
func NewWithoutDefaults(endpoint string) BaseClient
NewWithoutDefaults creates an instance of the BaseClient client.
type Client ¶
type Client struct {
BaseClient
}
Client is the client for the Monitoring methods of the Monitoring service.
func (Client) GetSQLJobQueryString ¶
func (client Client) GetSQLJobQueryString(ctx context.Context, APIVersion string, xMsClientRequestID string, filter string, orderby string, skip string) (result SQLQueryStringDataModel, err error)
GetSQLJobQueryString get SQL OD/DW Query for the workspace. Parameters: xMsClientRequestID - can provide a guid, which is helpful for debugging and to provide better customer support
func (Client) GetSQLJobQueryStringPreparer ¶
func (client Client) GetSQLJobQueryStringPreparer(ctx context.Context, APIVersion string, xMsClientRequestID string, filter string, orderby string, skip string) (*http.Request, error)
GetSQLJobQueryStringPreparer prepares the GetSQLJobQueryString request.
func (Client) GetSQLJobQueryStringResponder ¶
func (client Client) GetSQLJobQueryStringResponder(resp *http.Response) (result SQLQueryStringDataModel, err error)
GetSQLJobQueryStringResponder handles the response to the GetSQLJobQueryString request. The method always closes the http.Response Body.
func (Client) GetSQLJobQueryStringSender ¶
GetSQLJobQueryStringSender sends the GetSQLJobQueryString request. The method will close the http.Response Body if it receives an error.
func (Client) GetSparkJobList ¶
func (client Client) GetSparkJobList(ctx context.Context, APIVersion string, xMsClientRequestID string) (result SparkJobListViewResponse, err error)
GetSparkJobList get list of spark applications for the workspace. Parameters: xMsClientRequestID - can provide a guid, which is helpful for debugging and to provide better customer support
func (Client) GetSparkJobListPreparer ¶
func (client Client) GetSparkJobListPreparer(ctx context.Context, APIVersion string, xMsClientRequestID string) (*http.Request, error)
GetSparkJobListPreparer prepares the GetSparkJobList request.
func (Client) GetSparkJobListResponder ¶
func (client Client) GetSparkJobListResponder(resp *http.Response) (result SparkJobListViewResponse, err error)
GetSparkJobListResponder handles the response to the GetSparkJobList request. The method always closes the http.Response Body.
type SQLQueryStringDataModel ¶
type SQLQueryStringDataModel struct { autorest.Response `json:"-"` Query *string `json:"query,omitempty"` }
SQLQueryStringDataModel ...
type SparkJob ¶
type SparkJob struct { State *string `json:"state,omitempty"` Name *string `json:"name,omitempty"` Submitter *string `json:"submitter,omitempty"` Compute *string `json:"compute,omitempty"` SparkApplicationID *string `json:"sparkApplicationId,omitempty"` LivyID *string `json:"livyId,omitempty"` Timing *[]string `json:"timing,omitempty"` SparkJobDefinition *string `json:"sparkJobDefinition,omitempty"` Pipeline *[]SparkJob `json:"pipeline,omitempty"` JobType *string `json:"jobType,omitempty"` SubmitTime *date.Time `json:"submitTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` QueuedDuration *string `json:"queuedDuration,omitempty"` RunningDuration *string `json:"runningDuration,omitempty"` TotalDuration *string `json:"totalDuration,omitempty"` }
SparkJob ...