HealthReportsOperations interface

Interface representing a HealthReports operations.

Properties

get

Get health report of resource

list

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})'

Property Details

get

Get health report of resource

get: (resourceId: string, healthReportName: string, options?: HealthReportsGetOptionalParams) => Promise<HealthReport>

Property Value

(resourceId: string, healthReportName: string, options?: HealthReportsGetOptionalParams) => Promise<HealthReport>

list

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})'

list: (scope: string, options?: HealthReportsListOptionalParams) => PagedAsyncIterableIterator<HealthReport, HealthReport[], PageSettings>

Property Value

(scope: string, options?: HealthReportsListOptionalParams) => PagedAsyncIterableIterator<HealthReport, HealthReport[], PageSettings>