HealthReports interface
Interface representing a HealthReports.
Methods
get(string, string, Health |
Get health report of resource |
list(string, Health |
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})' |
Method Details
get(string, string, HealthReportsGetOptionalParams)
Get health report of resource
function get(resourceId: string, healthReportName: string, options?: HealthReportsGetOptionalParams): Promise<HealthReport>
Parameters
- resourceId
-
string
The identifier of the resource.
- healthReportName
-
string
The health report Key - Unique key for the health report type
- options
- HealthReportsGetOptionalParams
The options parameters.
Returns
Promise<HealthReport>
list(string, HealthReportsListOptionalParams)
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})'
function list(scope: string, options?: HealthReportsListOptionalParams): PagedAsyncIterableIterator<HealthReport, HealthReport[], PageSettings>
Parameters
- scope
-
string
The scope at which the operation is performed.
- options
- HealthReportsListOptionalParams
The options parameters.
Returns
Azure SDK for JavaScript