DiagnosticsClient Interface
public interface DiagnosticsClient
An instance of this class provides access to all the operations defined in DiagnosticsClient.
Method Summary
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
get
public abstract DiagnosticResourceInner get(String scope, String diagnosticsResourceName)
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
Parameters:
Returns:
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:
Returns: