/// <summary> /// Initializes a new instance of the NetworkConfiguration class. /// </summary> /// <param name="subnetId">The ARM resource identifier of the virtual /// network subnet which the compute nodes of the pool will join. This /// is of the form /// /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.</param> /// <param name="endpointConfiguration">The configuration for endpoints /// on compute nodes in the Batch pool.</param> /// <param name="publicIPs">The list of public IPs which the Batch /// service will use when provisioning Compute Nodes.</param> public NetworkConfiguration(string subnetId = default(string), PoolEndpointConfiguration endpointConfiguration = default(PoolEndpointConfiguration), IList <string> publicIPs = default(IList <string>)) { SubnetId = subnetId; EndpointConfiguration = endpointConfiguration; PublicIPs = publicIPs; CustomInit(); }
/// <summary> /// Initializes a new instance of the NetworkConfiguration class. /// </summary> /// <param name="subnetId">The ARM resource identifier of the virtual /// network subnet which the compute nodes of the pool will join. This /// is of the form /// /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.</param> /// <param name="endpointConfiguration">The configuration for endpoints /// on compute nodes in the Batch pool.</param> /// <param name="publicIPAddressConfiguration">The Public IPAddress /// configuration for Compute Nodes in the Batch Pool.</param> public NetworkConfiguration(string subnetId = default(string), PoolEndpointConfiguration endpointConfiguration = default(PoolEndpointConfiguration), PublicIPAddressConfiguration publicIPAddressConfiguration = default(PublicIPAddressConfiguration)) { SubnetId = subnetId; EndpointConfiguration = endpointConfiguration; PublicIPAddressConfiguration = publicIPAddressConfiguration; CustomInit(); }
/// <summary> /// Initializes a new instance of the NetworkConfiguration class. /// </summary> /// <param name="subnetId">The ARM resource identifier of the virtual /// network subnet which the compute nodes of the pool will join. This /// is of the form /// /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.</param> /// <param name="dynamicVNetAssignmentScope">The scope of dynamic vnet /// assignment.</param> /// <param name="endpointConfiguration">The configuration for endpoints /// on compute nodes in the Batch pool.</param> /// <param name="publicIPAddressConfiguration">The Public IPAddress /// configuration for Compute Nodes in the Batch Pool.</param> public NetworkConfiguration(string subnetId = default(string), DynamicVNetAssignmentScope?dynamicVNetAssignmentScope = default(DynamicVNetAssignmentScope?), PoolEndpointConfiguration endpointConfiguration = default(PoolEndpointConfiguration), PublicIPAddressConfiguration publicIPAddressConfiguration = default(PublicIPAddressConfiguration)) { SubnetId = subnetId; DynamicVNetAssignmentScope = dynamicVNetAssignmentScope; EndpointConfiguration = endpointConfiguration; PublicIPAddressConfiguration = publicIPAddressConfiguration; CustomInit(); }