共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryRunAsAccount Method

Definition

Initializes a new instance of SiteRecoveryRunAsAccount.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRunAsAccount SiteRecoveryRunAsAccount (string accountId = default, string accountName = default);
static member SiteRecoveryRunAsAccount : string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRunAsAccount
Public Shared Function SiteRecoveryRunAsAccount (Optional accountId As String = Nothing, Optional accountName As String = Nothing) As SiteRecoveryRunAsAccount

Parameters

accountId
String

The CS RunAs account Id.

accountName
String

The CS RunAs account name.

Returns

A new SiteRecoveryRunAsAccount instance for mocking.

Applies to