AzureBareMetalInstances interface

Interface representing a AzureBareMetalInstances.

Methods

beginRestart(string, string, AzureBareMetalInstancesRestartOptionalParams)

The operation to restart an Azure Bare Metal Instance

beginRestartAndWait(string, string, AzureBareMetalInstancesRestartOptionalParams)

The operation to restart an Azure Bare Metal Instance

beginShutdown(string, string, AzureBareMetalInstancesShutdownOptionalParams)

The operation to shutdown an Azure Bare Metal Instance

beginShutdownAndWait(string, string, AzureBareMetalInstancesShutdownOptionalParams)

The operation to shutdown an Azure Bare Metal Instance

beginStart(string, string, AzureBareMetalInstancesStartOptionalParams)

The operation to start an Azure Bare Metal instance

beginStartAndWait(string, string, AzureBareMetalInstancesStartOptionalParams)

The operation to start an Azure Bare Metal instance

get(string, string, AzureBareMetalInstancesGetOptionalParams)

Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.

listByResourceGroup(string, AzureBareMetalInstancesListByResourceGroupOptionalParams)

Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The operations returns various properties of each Azure Bare Metal Instance.

listBySubscription(AzureBareMetalInstancesListBySubscriptionOptionalParams)

Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns various properties of each Azure Bare Metal Instance.

update(string, string, Tags, AzureBareMetalInstancesUpdateOptionalParams)

Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource group, and instance name.

Method Details

beginRestart(string, string, AzureBareMetalInstancesRestartOptionalParams)

The operation to restart an Azure Bare Metal Instance

function beginRestart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesRestartOptionalParams

The options parameters.

Returns

beginRestartAndWait(string, string, AzureBareMetalInstancesRestartOptionalParams)

The operation to restart an Azure Bare Metal Instance

function beginRestartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<OperationStatus>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesRestartOptionalParams

The options parameters.

Returns

Promise<OperationStatus>

beginShutdown(string, string, AzureBareMetalInstancesShutdownOptionalParams)

The operation to shutdown an Azure Bare Metal Instance

function beginShutdown(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesShutdownOptionalParams

The options parameters.

Returns

beginShutdownAndWait(string, string, AzureBareMetalInstancesShutdownOptionalParams)

The operation to shutdown an Azure Bare Metal Instance

function beginShutdownAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<OperationStatus>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesShutdownOptionalParams

The options parameters.

Returns

Promise<OperationStatus>

beginStart(string, string, AzureBareMetalInstancesStartOptionalParams)

The operation to start an Azure Bare Metal instance

function beginStart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatus>, OperationStatus>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesStartOptionalParams

The options parameters.

Returns

beginStartAndWait(string, string, AzureBareMetalInstancesStartOptionalParams)

The operation to start an Azure Bare Metal instance

function beginStartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<OperationStatus>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesStartOptionalParams

The options parameters.

Returns

Promise<OperationStatus>

get(string, string, AzureBareMetalInstancesGetOptionalParams)

Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.

function get(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesGetOptionalParams): Promise<AzureBareMetalInstance>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

options
AzureBareMetalInstancesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, AzureBareMetalInstancesListByResourceGroupOptionalParams)

Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The operations returns various properties of each Azure Bare Metal Instance.

function listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance, AzureBareMetalInstance[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(AzureBareMetalInstancesListBySubscriptionOptionalParams)

Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns various properties of each Azure Bare Metal Instance.

function listBySubscription(options?: AzureBareMetalInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance, AzureBareMetalInstance[], PageSettings>

Parameters

Returns

update(string, string, Tags, AzureBareMetalInstancesUpdateOptionalParams)

Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource group, and instance name.

function update(resourceGroupName: string, azureBareMetalInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalInstancesUpdateOptionalParams): Promise<AzureBareMetalInstance>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

azureBareMetalInstanceName

string

Name of the Azure Bare Metal Instance, also known as the ResourceName.

tagsParameter
Tags

Request body that only contains the new Tags field

options
AzureBareMetalInstancesUpdateOptionalParams

The options parameters.

Returns