VirtualMachine.DefinitionStages.WithLocation Interface

public static interface VirtualMachine.DefinitionStages.WithLocation

The stage of the VirtualMachine definition allowing to specify location.

Method Summary

Modifier and Type Method and Description
abstract WithResourceGroup withRegion(Region location)

Specifies the region for the resource.

abstract WithResourceGroup withRegion(String location)

Specifies the region for the resource.

Method Details

withRegion

public abstract VirtualMachine.DefinitionStages.WithResourceGroup withRegion(Region location)

Specifies the region for the resource.

Parameters:

location - The geo-location where the resource lives.

Returns:

the next definition stage.

withRegion

public abstract VirtualMachine.DefinitionStages.WithResourceGroup withRegion(String location)

Specifies the region for the resource.

Parameters:

location - The geo-location where the resource lives.

Returns:

the next definition stage.

Applies to