ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryVmEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SiteRecoveryVmEndpoint.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEndpoint SiteRecoveryVmEndpoint(string endpointName = default, int? privatePort = default, int? publicPort = default, string protocol = default);
static member SiteRecoveryVmEndpoint : string * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEndpoint
Public Shared Function SiteRecoveryVmEndpoint (Optional endpointName As String = Nothing, Optional privatePort As Nullable(Of Integer) = Nothing, Optional publicPort As Nullable(Of Integer) = Nothing, Optional protocol As String = Nothing) As SiteRecoveryVmEndpoint
Parameters
- endpointName
- String
- protocol
- String
Returns
A new SiteRecoveryVmEndpoint instance for mocking.