Skip to content

Commit d1f32e6

Browse files
authored
add accelerate network for update (#1318)
* add accelerate network for update * update return type and javadoc * update javadoc due to update limitation * udpate javadoc * fix typo
1 parent 32ec1ed commit d1f32e6

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,25 @@ interface WithIPConfiguration {
515515
}
516516

517517
/**
518-
* The stage of the network interface definition allowing to disable accelerated networking.
518+
* The stage of the network interface definition allowing to specify accelerated networking.
519519
*/
520520
interface WithAcceleratedNetworking {
521+
/**
522+
* Enables accelerated networking.
523+
* <p>
524+
* Note that additional steps need to be taken in the virtual machine itself for the virtual machine associated with this network interface to be able to
525+
* take advantage of accelerated networking. This feature might not be available in some regions, virtual machine sizes, or operating system versions.
526+
* It cannot be enabled if it has already been attached to a running virtual machine.
527+
* @return the next stage of the update
528+
*/
529+
Update withAcceleratedNetworking();
530+
521531
/**
522532
* Disables accelerated networking.
523533
* @return the next stage of the update
524534
*/
525-
Update withoutAcceleratedNetworking(); }
535+
Update withoutAcceleratedNetworking();
536+
}
526537

527538
/**
528539
* The stage of the network interface update allowing to associate it with a load balancer.

0 commit comments

Comments
 (0)