@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api HybridComputeManagementClient
@base https://management.azure.com
@version 2019-12-12
@auth OAuth2
@endpoints 13
@toc subscriptions(12), providers(1)

@group subscriptions
@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}
@desc The operation to create or update a hybrid machine resource identity in Azure.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the hybrid machine., parameters: any # Parameters supplied to the Create hybrid machine operation.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}
@desc The operation to update a hybrid machine.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the hybrid machine., parameters: any # Parameters supplied to the Update hybrid machine operation.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}
@desc The operation to remove a hybrid machine identity in Azure.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the hybrid machine.}
@returns(200) OK
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}
@desc Retrieves information about the model view or the instance view of a hybrid machine.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the hybrid machine.}
@optional {$expand: any # The expand expression to apply on the operation.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect
@desc The operation to reconnect a hybrid machine resource to its identity in Azure.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the hybrid machine., parameters: any # Parameters supplied to the Reconnect hybrid machine operation.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines
@desc Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines
@desc Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}
@desc The operation to create or update the extension.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the machine where the extension should be created or updated., extensionName: any # The name of the machine extension., extensionParameters: any # Parameters supplied to the Create Machine Extension operation.}
@returns(200) OK
@returns(202) Accepted

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}
@desc The operation to create or update the extension.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the machine where the extension should be created or updated., extensionName: any # The name of the machine extension., extensionParameters: any # Parameters supplied to the Create Machine Extension operation.}
@returns(200) OK
@returns(202) Accepted

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}
@desc The operation to delete the extension.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the machine where the extension should be deleted., extensionName: any # The name of the machine extension.}
@returns(200) OK
@returns(202) Accepted
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}
@desc The operation to get the extension.
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the machine containing the extension., extensionName: any # The name of the machine extension.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions
@desc The operation to get all extensions of a non-Azure machine
@required {resourceGroupName: any # The name of the resource group., name: any # The name of the machine containing the extension.}
@optional {$expand: any # The expand expression to apply on the operation.}
@returns(200) OK

@endgroup

@group providers
@endpoint GET /providers/Microsoft.HybridCompute/operations
@desc Gets a list of hybrid compute operations.
@returns(200) OK

@endgroup

@end
