Share via


ArmRecoveryServicesSiteRecoveryModelFactory.VaultHealthProperties Method

Definition

Initializes a new instance of VaultHealthProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VaultHealthProperties VaultHealthProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> vaultErrors = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary protectedItemsHealth = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary fabricsHealth = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary containersHealth = default);
static member VaultHealthProperties : seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ResourceHealthSummary -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VaultHealthProperties
Public Shared Function VaultHealthProperties (Optional vaultErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional protectedItemsHealth As ResourceHealthSummary = Nothing, Optional fabricsHealth As ResourceHealthSummary = Nothing, Optional containersHealth As ResourceHealthSummary = Nothing) As VaultHealthProperties

Parameters

vaultErrors
IEnumerable<SiteRecoveryHealthError>

The list of errors on the vault.

protectedItemsHealth
ResourceHealthSummary

The list of the health detail of the protected items in the vault.

fabricsHealth
ResourceHealthSummary

The list of the health detail of the fabrics in the vault.

containersHealth
ResourceHealthSummary

The list of the health detail of the containers in the vault.

Returns

A new VaultHealthProperties instance for mocking.

Applies to