@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api NetworkManagementClient
@base https://management.azure.com
@version 2019-07-01
@auth OAuth2
@endpoints 5
@toc subscriptions(5)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}
@desc Deletes the specified Bastion Host.
@required {resourceGroupName: any # The name of the resource group., bastionHostName: any # The name of the Bastion Host.}
@returns(200) Delete successful.
@returns(202) Accepted and the operation will complete asynchronously.
@returns(204) Request successful. Resource with the specified name does not exist.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}
@desc Gets the specified Bastion Host.
@required {resourceGroupName: any # The name of the resource group., bastionHostName: any # The name of the Bastion Host.}
@returns(200) Request successful. The operation returns an BastionHost resource.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}
@desc Creates or updates the specified Bastion Host.
@required {resourceGroupName: any # The name of the resource group., bastionHostName: any # The name of the Bastion Host., parameters: any # Parameters supplied to the create or update Bastion Host operation.}
@returns(200) Update successful. The operation returns the resulting Bastion Host resource.
@returns(201) Create successful. The operation returns the resulting Bastion Host resource.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts
@desc Lists all Bastion Hosts in a subscription.
@returns(200) Success. The operation returns a list of Bastion Host resources.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts
@desc Lists all Bastion Hosts in a resource group.
@required {resourceGroupName: any # The name of the resource group.}
@returns(200) Success. The operation returns a list of BastionHost resources.

@end
