Bare Metal Instances

Restart a Bare Metal Instance.

The operation to restart an Azure Bare Metal Instance

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}/restart

Path parameters

azureBareMetalInstanceNamestring required

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

Parameters

../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter — unresolved $ref

Request body

forceState'active' | 'inactive'

Whether to force restart by shutting all processes.

Response

OK

namestring

Unique Operation Status Identifier.

status'Requesting' | 'Executing' | 'Succeeded' | 'Failed'

Status of the operation.

startTimestring

Start Time when the operation was initially executed.