Dela via


PSRecoveryServicesClient.NewAzureRmSiteRecoveryvCenter Method

Definition

Adds the vCenter to Fabric and discovery its VMs.

public Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation NewAzureRmSiteRecoveryvCenter (string fabricName, string vCenterName, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.AddVCenterRequest input);
member this.NewAzureRmSiteRecoveryvCenter : string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.AddVCenterRequest -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation
Public Function NewAzureRmSiteRecoveryvCenter (fabricName As String, vCenterName As String, input As AddVCenterRequest) As PSSiteRecoveryLongRunningOperation

Parameters

fabricName
String

Fabric ID.

vCenterName
String

vCenter Name.

input
AddVCenterRequest

Add vCenter input.

Returns

Job operation response

Applies to