共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.ResourceHealthSummary Method

Definition

Initializes a new instance of ResourceHealthSummary.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary ResourceHealthSummary (int? resourceCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorSummary> issues = default, System.Collections.Generic.IReadOnlyDictionary<string,int> categorizedResourceCounts = default);
static member ResourceHealthSummary : Nullable<int> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorSummary> * System.Collections.Generic.IReadOnlyDictionary<string, int> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary
Public Shared Function ResourceHealthSummary (Optional resourceCount As Nullable(Of Integer) = Nothing, Optional issues As IEnumerable(Of HealthErrorSummary) = Nothing, Optional categorizedResourceCounts As IReadOnlyDictionary(Of String, Integer) = Nothing) As ResourceHealthSummary

Parameters

resourceCount
Nullable<Int32>

The count of total resources under the container.

issues
IEnumerable<HealthErrorSummary>

The list of summary of health errors across the resources under the container.

categorizedResourceCounts
IReadOnlyDictionary<String,Int32>

The categorized resource counts.

Returns

A new ResourceHealthSummary instance for mocking.

Applies to