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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET