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 VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
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 |
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 |
withoutPrimaryPublicIPAddress()
Specifies that the VM should not have a public IP address.
|
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 - a 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.
*/