Interface VirtualMachine.DefinitionStages.WithPublicIPAddress

    • Method Detail

      • withNewPrimaryPublicIPAddress

        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.

        The internal name for the public IP address will be derived from the DNS label.

        Parameters:
        leafDnsLabel - a leaf domain label
        Returns:
        the next stage of the definition