DiagnosticsClient Interface

public interface DiagnosticsClient

An instance of this class provides access to all the operations defined in DiagnosticsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DiagnosticResourceInner>,DiagnosticResourceInner> beginCreate(String scope, String diagnosticsResourceName)

Diagnostics tells you precisely the root cause of the issue and how to address it.

abstract SyncPoller<PollResult<DiagnosticResourceInner>,DiagnosticResourceInner> beginCreate(String scope, String diagnosticsResourceName, DiagnosticResourceInner diagnosticResourceRequest, Context context)

Diagnostics tells you precisely the root cause of the issue and how to address it.

abstract CheckNameAvailabilityResponseInner checkNameAvailability(String scope)

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

abstract Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(String scope, CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context)

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

abstract DiagnosticResourceInner create(String scope, String diagnosticsResourceName)

Diagnostics tells you precisely the root cause of the issue and how to address it.

abstract DiagnosticResourceInner create(String scope, String diagnosticsResourceName, DiagnosticResourceInner diagnosticResourceRequest, Context context)

Diagnostics tells you precisely the root cause of the issue and how to address it.

abstract DiagnosticResourceInner get(String scope, String diagnosticsResourceName)

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

abstract Response<DiagnosticResourceInner> getWithResponse(String scope, String diagnosticsResourceName, Context context)

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

Method Details

beginCreate

public abstract SyncPoller<PollResult<DiagnosticResourceInner>,DiagnosticResourceInner> beginCreate(String scope, String diagnosticsResourceName)

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.

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.

Returns:

the SyncPoller<T,U> for polling of diagnostic resource.

beginCreate

public abstract SyncPoller<PollResult<DiagnosticResourceInner>,DiagnosticResourceInner> beginCreate(String scope, String diagnosticsResourceName, DiagnosticResourceInner diagnosticResourceRequest, Context context)

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.

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.
diagnosticResourceRequest - The required request body for this insightResource invocation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of diagnostic resource.

checkNameAvailability

public abstract CheckNameAvailabilityResponseInner checkNameAvailability(String scope)

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

Parameters:

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

Returns:

response for whether the requested resource name is available or not.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(String scope, CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context)

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

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
checkNameAvailabilityRequest - The required parameters for availability check.
context - The context to associate with this operation.

Returns:

response for whether the requested resource name is available or not along with Response<T>.

create

public abstract DiagnosticResourceInner create(String scope, String diagnosticsResourceName)

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.

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.

Returns:

diagnostic resource.

create

public abstract DiagnosticResourceInner create(String scope, String diagnosticsResourceName, DiagnosticResourceInner diagnosticResourceRequest, Context context)

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.

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.
diagnosticResourceRequest - The required request body for this insightResource invocation.
context - The context to associate with this operation.

Returns:

diagnostic resource.

get

public abstract DiagnosticResourceInner get(String scope, String diagnosticsResourceName)

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

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.

Returns:

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

getWithResponse

public abstract Response<DiagnosticResourceInner> getWithResponse(String scope, String diagnosticsResourceName, Context context)

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

Parameters:

scope - This is an extension resource provider and only resource level extension is supported at the moment.
diagnosticsResourceName - Unique resource name for insight resources.
context - The context to associate with this operation.

Returns:

the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic along with Response<T>.

Applies to