Diagnostics Interface
public interface Diagnostics
Resource collection API of Diagnostics.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Check |
checkNameAvailability(String scope)
This API is used to check the uniqueness of a resource name used for a diagnostic check. |
|
abstract
Response<Check |
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 Blank |
define(String name)
Begins definition for a new Diagnostic |
|
abstract
Diagnostic |
get(String scope, String diagnosticsResourceName)
Get the diagnostics using the 'diagnostics |
|
abstract
Diagnostic |
getById(String id)
Get the diagnostics using the 'diagnostics |
|
abstract
Response<Diagnostic |
getByIdWithResponse(String id, Context context)
Get the diagnostics using the 'diagnostics |
|
abstract
Response<Diagnostic |
getWithResponse(String scope, String diagnosticsResourceName, Context context)
Get the diagnostics using the 'diagnostics |
Method Details
checkNameAvailability
public abstract CheckNameAvailabilityResponse 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<CheckNameAvailabilityResponse> 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:
define
public abstract DiagnosticResource.DefinitionStages.Blank define(String name)
Begins definition for a new DiagnosticResource resource.
Parameters:
Returns:
get
public abstract DiagnosticResource get(String scope, String diagnosticsResourceName)
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
Parameters:
Returns:
getById
public abstract DiagnosticResource getById(String id)
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<DiagnosticResource> getByIdWithResponse(String id, Context context)
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
Parameters:
Returns:
getWithResponse
public abstract Response<DiagnosticResource> getWithResponse(String scope, String diagnosticsResourceName, Context context)
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
Parameters:
Returns: