public static interface VirtualMachine.DefinitionStages.WithPublicIPAddress
Modifier and Type | Method and Description |
---|---|
VirtualMachine.DefinitionStages.WithProximityPlacementGroup |
withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithProximityPlacementGroup |
withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)
Creates a new public IP address to associate with the VM's primary network interface.
|
VirtualMachine.DefinitionStages.WithProximityPlacementGroup |
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.WithProximityPlacementGroup |
withoutPrimaryPublicIPAddress()
Specifies that the VM should not have a public IP address.
|
VirtualMachine.DefinitionStages.WithProximityPlacementGroup withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)
creatable
- a creatable definition for a new public IPVirtualMachine.DefinitionStages.WithProximityPlacementGroup withNewPrimaryPublicIPAddress(String leafDnsLabel)
The internal name for the public IP address will be derived from the DNS label.
leafDnsLabel
- a leaf domain labelVirtualMachine.DefinitionStages.WithProximityPlacementGroup withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
publicIPAddress
- an existing public IP addressVirtualMachine.DefinitionStages.WithProximityPlacementGroup withoutPrimaryPublicIPAddress()
Copyright © 2019. All rights reserved.