| Modifier and Type | Interface and Description |
|---|---|
static interface |
VirtualMachine.DefinitionManaged
The entirety of the managed disk based virtual machine definition.
|
static interface |
VirtualMachine.DefinitionManagedOrUnmanaged
The entirety of the virtual machine definition.
|
static interface |
VirtualMachine.DefinitionShared
The virtual machine scale set stages shared between managed and unmanaged based
virtual machine definitions.
|
static interface |
VirtualMachine.DefinitionUnmanaged
The entirety of the unmanaged disk based virtual machine definition.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface.withExistingPrimaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine as its primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPublicIPAddress.withExistingPrimaryPublicIPAddress(com.microsoft.azure.management.network.PublicIPAddress publicIPAddress)
Associates an existing public IP address with the VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface.withNewPrimaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine as its primary network interface,
based on the provided definition.
|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPublicIPAddress.withNewPrimaryPublicIPAddress(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.PublicIPAddress> creatable)
Creates a new public IP address to associate with the VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPublicIPAddress.withNewPrimaryPublicIPAddress(String leafDnsLabel)
Creates a new public IP address in the same region and resource group as the resource, with the specified DNS label
and associates it with the VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
VirtualMachine.DefinitionStages.WithPublicIPAddress.withoutPrimaryPublicIPAddress()
Specifies that the VM should not have a public IP address.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/