internal PSInboundNatPool(Microsoft.Azure.Batch.InboundNatPool omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
public PSInboundNatPool(string name, Microsoft.Azure.Batch.Common.InboundEndpointProtocol protocol, int backendPort, int frontendPortRangeStart, int frontendPortRangeEnd, System.Collections.Generic.IReadOnlyList <Microsoft.Azure.Batch.NetworkSecurityGroupRule> networkSecurityGroupRules = null) { this.omObject = new Microsoft.Azure.Batch.InboundNatPool(name, protocol, backendPort, frontendPortRangeStart, frontendPortRangeEnd, networkSecurityGroupRules); }
internal PoolEndpointConfiguration(Models.PoolEndpointConfiguration protocolObject) { this.InboundNatPools = InboundNatPool.ConvertFromProtocolCollectionReadOnly(protocolObject.InboundNATPools); }