Diagnostics interface

Interface representing a Diagnostics.

Methods

beginCreate(string, string, DiagnosticsCreateOptionalParams)

Diagnostics tells you precisely the root cause of the issue and how to address it. You can get diagnostics once you discover and identify the relevant solution for your Azure issue.

You can create diagnostics using the ‘solutionId’ from Solution Discovery API response and ‘additionalParameters’

Note: ‘requiredParameterSets’ from Solutions Discovery API response must be passed via ‘additionalParameters’ as an input to Diagnostics API

beginCreateAndWait(string, string, DiagnosticsCreateOptionalParams)

Diagnostics tells you precisely the root cause of the issue and how to address it. You can get diagnostics once you discover and identify the relevant solution for your Azure issue.

You can create diagnostics using the ‘solutionId’ from Solution Discovery API response and ‘additionalParameters’

Note: ‘requiredParameterSets’ from Solutions Discovery API response must be passed via ‘additionalParameters’ as an input to Diagnostics API

checkNameAvailability(string, DiagnosticsCheckNameAvailabilityOptionalParams)

This API is used to check the uniqueness of a resource name used for a diagnostic check.

get(string, string, DiagnosticsGetOptionalParams)

Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.

Method Details

beginCreate(string, string, DiagnosticsCreateOptionalParams)

Diagnostics tells you precisely the root cause of the issue and how to address it. You can get diagnostics once you discover and identify the relevant solution for your Azure issue.

You can create diagnostics using the ‘solutionId’ from Solution Discovery API response and ‘additionalParameters’

Note: ‘requiredParameterSets’ from Solutions Discovery API response must be passed via ‘additionalParameters’ as an input to Diagnostics API

function beginCreate(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams): Promise<SimplePollerLike<OperationState<DiagnosticResource>, DiagnosticResource>>

Parameters

scope

string

This is an extension resource provider and only resource level extension is supported at the moment.

diagnosticsResourceName

string

Unique resource name for insight resources

options
DiagnosticsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DiagnosticResource>, DiagnosticResource>>

beginCreateAndWait(string, string, DiagnosticsCreateOptionalParams)

Diagnostics tells you precisely the root cause of the issue and how to address it. You can get diagnostics once you discover and identify the relevant solution for your Azure issue.

You can create diagnostics using the ‘solutionId’ from Solution Discovery API response and ‘additionalParameters’

Note: ‘requiredParameterSets’ from Solutions Discovery API response must be passed via ‘additionalParameters’ as an input to Diagnostics API

function beginCreateAndWait(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams): Promise<DiagnosticResource>

Parameters

scope

string

This is an extension resource provider and only resource level extension is supported at the moment.

diagnosticsResourceName

string

Unique resource name for insight resources

options
DiagnosticsCreateOptionalParams

The options parameters.

Returns

checkNameAvailability(string, DiagnosticsCheckNameAvailabilityOptionalParams)

This API is used to check the uniqueness of a resource name used for a diagnostic check.

function checkNameAvailability(scope: string, options?: DiagnosticsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>

Parameters

scope

string

This is an extension resource provider and only resource level extension is supported at the moment.

options
DiagnosticsCheckNameAvailabilityOptionalParams

The options parameters.

Returns

get(string, string, DiagnosticsGetOptionalParams)

Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.

function get(scope: string, diagnosticsResourceName: string, options?: DiagnosticsGetOptionalParams): Promise<DiagnosticResource>

Parameters

scope

string

This is an extension resource provider and only resource level extension is supported at the moment.

diagnosticsResourceName

string

Unique resource name for insight resources

options
DiagnosticsGetOptionalParams

The options parameters.

Returns