/// <summary> /// Bulk creates multiple subnets. /// </summary> /// <param name="networkingService">The networking service.</param> /// <param name="subnets">The subnet definitions.</param> /// <returns> /// The created subnets. /// </returns> public static IEnumerable <Subnet> CreateSubnets(this NetworkingService networkingService, IEnumerable <SubnetCreateDefinition> subnets) { return(networkingService.CreateSubnetsAsync(subnets).ForceSynchronous()); }