import "github.com/Azure/azure-sdk-for-go/services/preview/synapse/2019-11-01-preview/monitoring"
Package monitoring implements the Azure ARM Monitoring service API version 2019-11-01-preview.
client.go models.go monitoring.go version.go
UserAgent returns the UserAgent string to use when sending http.Requests.
Version returns the semantic version (see http://semver.org) of the client.
BaseClient is the base client for Monitoring.
func New(endpoint string) BaseClient
New creates an instance of the BaseClient client.
func NewWithoutDefaults(endpoint string) BaseClient
NewWithoutDefaults creates an instance of the BaseClient client.
type Client struct { BaseClient }
Client is the client for the Monitoring methods of the Monitoring service.
NewClient creates an instance of the Client client.
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 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 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.
GetSQLJobQueryStringSender sends the GetSQLJobQueryString request. The method will close the http.Response Body if it receives an error.
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 Client) GetSparkJobListPreparer(ctx context.Context, APIVersion string, xMsClientRequestID string) (*http.Request, error)
GetSparkJobListPreparer prepares the GetSparkJobList request.
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.
GetSparkJobListSender sends the GetSparkJobList request. The method will close the http.Response Body if it receives an error.
type SQLQueryStringDataModel struct { autorest.Response `json:"-"` Query *string `json:"query,omitempty"` }
SQLQueryStringDataModel ...
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 struct { autorest.Response `json:"-"` NJobs *int32 `json:"nJobs,omitempty"` SparkJobs *[]SparkJob `json:"sparkJobs,omitempty"` }
SparkJobListViewResponse ...
Path | Synopsis |
---|---|
monitoringapi |
Package monitoring imports 7 packages (graph) and is imported by 1 packages. Updated 2021-01-23. Refresh now. Tools for package owners.