monitoring

package
v53.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package monitoring implements the Azure ARM Monitoring service API version 2019-11-01-preview.

Index

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

type BaseClient struct {
	autorest.Client
	Endpoint string
}

BaseClient is the base client for Monitoring.

func New

func New(endpoint string) BaseClient

New creates an instance of the BaseClient client.

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 NewClient

func NewClient(endpoint string) Client

NewClient creates an instance of the Client client.

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

func (client Client) GetSQLJobQueryStringSender(req *http.Request) (*http.Response, error)

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.

func (Client) GetSparkJobListSender

func (client Client) GetSparkJobListSender(req *http.Request) (*http.Response, error)

GetSparkJobListSender sends the GetSparkJobList request. The method will close the http.Response Body if it receives an error.

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 ...

type SparkJobListViewResponse

type SparkJobListViewResponse struct {
	autorest.Response `json:"-"`
	NJobs             *int32      `json:"nJobs,omitempty"`
	SparkJobs         *[]SparkJob `json:"sparkJobs,omitempty"`
}

SparkJobListViewResponse ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL