IWithPrimaryNetworkInterface.WithNewPrimaryNetworkInterface 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.
Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup WithNewPrimaryNetworkInterface (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface> creatable);
abstract member WithNewPrimaryNetworkInterface : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithProximityPlacementGroup
Public Function WithNewPrimaryNetworkInterface (creatable As ICreatable(Of INetworkInterface)) As IWithProximityPlacementGroup
Parameters
- creatable
- ICreatable<INetworkInterface>
A creatable definition for a new network interface.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET