HealthReports Interface
public interface HealthReports
Resource collection API of HealthReports.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Health |
get(String resourceId, String healthReportName)
Get health report of resource. |
|
abstract
Response<Health |
getWithResponse(String resourceId, String healthReportName, Context context)
Get health report of resource. |
|
abstract
Paged |
list(String scope)
Get a list of all health reports inside a scope. |
|
abstract
Paged |
list(String scope, Context context)
Get a list of all health reports inside a scope. |
Method Details
get
public abstract HealthReport get(String resourceId, String healthReportName)
Get health report of resource.
Parameters:
Returns:
getWithResponse
public abstract Response<HealthReport> getWithResponse(String resourceId, String healthReportName, Context context)
Get health report of resource.
Parameters:
Returns:
list
public abstract PagedIterable<HealthReport> list(String scope)
Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
Parameters:
Returns:
list
public abstract PagedIterable<HealthReport> list(String scope, Context context)
Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
Parameters:
Returns: