HealthReportsClient Interface

public interface HealthReportsClient

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

Method Summary

Modifier and Type Method and Description
abstract HealthReportInner get(String resourceId, String healthReportName)

Get health report of resource.

abstract Response<HealthReportInner> getWithResponse(String resourceId, String healthReportName, Context context)

Get health report of resource.

abstract PagedIterable<HealthReportInner> list(String scope)

Get a list of all health reports inside a scope.

abstract PagedIterable<HealthReportInner> list(String scope, Context context)

Get a list of all health reports inside a scope.

Method Details

get

public abstract HealthReportInner get(String resourceId, String healthReportName)

Get health report of resource.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
healthReportName - The health report key.

Returns:

health report of resource.

getWithResponse

public abstract Response<HealthReportInner> getWithResponse(String resourceId, String healthReportName, Context context)

Get health report of resource.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
healthReportName - The health report key.
context - The context to associate with this operation.

Returns:

health report of resource along with Response<T>.

list

public abstract PagedIterable<HealthReportInner> 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:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

a list of all health reports inside a scope as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<HealthReportInner> 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:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

a list of all health reports inside a scope as paginated response with PagedIterable<T>.

Applies to