VirtualMachineInstances interface

Interface representing a VirtualMachineInstances.

Methods

beginCreateOrUpdate(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)

The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.

beginCreateOrUpdateAndWait(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)

The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.

beginDelete(string, VirtualMachineInstancesDeleteOptionalParams)

The operation to delete a virtual machine instance.

beginDeleteAndWait(string, VirtualMachineInstancesDeleteOptionalParams)

The operation to delete a virtual machine instance.

beginRestart(string, VirtualMachineInstancesRestartOptionalParams)

The operation to restart a virtual machine instance.

beginRestartAndWait(string, VirtualMachineInstancesRestartOptionalParams)

The operation to restart a virtual machine instance.

beginStart(string, VirtualMachineInstancesStartOptionalParams)

The operation to start a virtual machine instance.

beginStartAndWait(string, VirtualMachineInstancesStartOptionalParams)

The operation to start a virtual machine instance.

beginStop(string, VirtualMachineInstancesStopOptionalParams)

The operation to power off (stop) a virtual machine instance.

beginStopAndWait(string, VirtualMachineInstancesStopOptionalParams)

The operation to power off (stop) a virtual machine instance.

beginUpdate(string, VirtualMachineInstancesUpdateOptionalParams)

The operation to update a virtual machine instance.

beginUpdateAndWait(string, VirtualMachineInstancesUpdateOptionalParams)

The operation to update a virtual machine instance.

get(string, VirtualMachineInstancesGetOptionalParams)

Retrieves information about a virtual machine instance.

list(string, VirtualMachineInstancesListOptionalParams)

Lists all of the virtual machine instances within the specified parent resource.

Method Details

beginCreateOrUpdate(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)

The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.

function beginCreateOrUpdate(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>

beginCreateOrUpdateAndWait(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)

The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.

function beginCreateOrUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<VirtualMachineInstance>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, VirtualMachineInstancesDeleteOptionalParams)

The operation to delete a virtual machine instance.

function beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteHeaders>, VirtualMachineInstancesDeleteHeaders>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, VirtualMachineInstancesDeleteOptionalParams)

The operation to delete a virtual machine instance.

function beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<VirtualMachineInstancesDeleteHeaders>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesDeleteOptionalParams

The options parameters.

Returns

beginRestart(string, VirtualMachineInstancesRestartOptionalParams)

The operation to restart a virtual machine instance.

function beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestartHeaders>, VirtualMachineInstancesRestartHeaders>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesRestartOptionalParams

The options parameters.

Returns

beginRestartAndWait(string, VirtualMachineInstancesRestartOptionalParams)

The operation to restart a virtual machine instance.

function beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<VirtualMachineInstancesRestartHeaders>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesRestartOptionalParams

The options parameters.

Returns

beginStart(string, VirtualMachineInstancesStartOptionalParams)

The operation to start a virtual machine instance.

function beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStartHeaders>, VirtualMachineInstancesStartHeaders>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesStartOptionalParams

The options parameters.

Returns

beginStartAndWait(string, VirtualMachineInstancesStartOptionalParams)

The operation to start a virtual machine instance.

function beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<VirtualMachineInstancesStartHeaders>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesStartOptionalParams

The options parameters.

Returns

beginStop(string, VirtualMachineInstancesStopOptionalParams)

The operation to power off (stop) a virtual machine instance.

function beginStop(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStopHeaders>, VirtualMachineInstancesStopHeaders>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesStopOptionalParams

The options parameters.

Returns

beginStopAndWait(string, VirtualMachineInstancesStopOptionalParams)

The operation to power off (stop) a virtual machine instance.

function beginStopAndWait(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<VirtualMachineInstancesStopHeaders>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesStopOptionalParams

The options parameters.

Returns

beginUpdate(string, VirtualMachineInstancesUpdateOptionalParams)

The operation to update a virtual machine instance.

function beginUpdate(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>

beginUpdateAndWait(string, VirtualMachineInstancesUpdateOptionalParams)

The operation to update a virtual machine instance.

function beginUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<VirtualMachineInstance>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesUpdateOptionalParams

The options parameters.

Returns

get(string, VirtualMachineInstancesGetOptionalParams)

Retrieves information about a virtual machine instance.

function get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise<VirtualMachineInstance>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesGetOptionalParams

The options parameters.

Returns

list(string, VirtualMachineInstancesListOptionalParams)

Lists all of the virtual machine instances within the specified parent resource.

function list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineInstance, VirtualMachineInstance[], PageSettings>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VirtualMachineInstancesListOptionalParams

The options parameters.

Returns