public static interface VirtualMachine.DefinitionStages.WithPublicIpAddress
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithOS |
withExistingPrimaryPublicIpAddress(com.microsoft.azure.management.network.PublicIpAddress publicIpAddress)
Associates an existing public IP address with the virtual machine's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
withNewPrimaryPublicIpAddress(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.PublicIpAddress> creatable)
Create a new public IP address to associate with virtual machine primary network interface, based on the
provided definition.
|
VirtualMachine.DefinitionStages.WithOS |
withNewPrimaryPublicIpAddress(String leafDnsLabel)
Creates a new public IP address in the same region and group as the resource, with the specified DNS label
and associate it with the virtual machine's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
withoutPrimaryPublicIpAddress()
Specifies that no public IP needs to be associated with virtual machine.
|
VirtualMachine.DefinitionStages.WithOS withNewPrimaryPublicIpAddress(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.PublicIpAddress> creatable)
creatable - a creatable definition for a new public IPVirtualMachine.DefinitionStages.WithOS withNewPrimaryPublicIpAddress(String leafDnsLabel)
the internal name for the public IP address will be derived from the DNS label.
leafDnsLabel - the leaf domain labelVirtualMachine.DefinitionStages.WithOS withExistingPrimaryPublicIpAddress(com.microsoft.azure.management.network.PublicIpAddress publicIpAddress)
publicIpAddress - an existing public IP addressVirtualMachine.DefinitionStages.WithOS withoutPrimaryPublicIpAddress()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/