Microsoft Azure

Azure Network: Bastion Host

The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network…

Developer tools#openapi#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

Endpoints 12

BastionHosts

  • GETBastionHosts_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostNameGets the specified Bastion Host.
  • PUTBastionHosts_CreateOrUpdate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostNameCreates or updates the specified Bastion Host.
  • DELETEBastionHosts_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostNameDeletes the specified Bastion Host.
  • PATCHBastionHosts_UpdateTags/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostNameUpdates Tags for BastionHost resource
  • GETBastionHosts_List/subscriptions/:subscriptionId/providers/Microsoft.Network/bastionHostsLists all Bastion Hosts in a subscription.
  • GETBastionHosts_ListByResourceGroup/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHostsLists all Bastion Hosts in a resource group.
  • POSTPutBastionShareableLink/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/createShareableLinksCreates a Bastion Shareable Links for all the VMs specified in the request.
  • POSTDeleteBastionShareableLink/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/deleteShareableLinksDeletes the Bastion Shareable Links for all the VMs specified in the request.
  • POSTDeleteBastionShareableLinkByToken/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/deleteShareableLinksByTokenDeletes the Bastion Shareable Links for all the tokens specified in the request.
  • POSTGetBastionShareableLink/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/getShareableLinksReturn the Bastion Shareable Links for all the VMs specified in the request.
  • POSTGetActiveSessions/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/getActiveSessionsReturns the list of currently active sessions on the Bastion.
  • POSTDisconnectActiveSessions/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName/disconnectActiveSessionsReturns the list of currently active sessions on the Bastion.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
12 operations on 9 pathsPOST 6GET 3PUT 1PATCH 1DELETE 1
Main resources
BastionHosts 12BastionShareableLink 4
Response formats
application/json
Description format
Swagger 2.0, API version 2025-03-01

How to test the Azure Network: Bastion Host in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Network: Bastion Host collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “BastionHosts_Get” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Network/bastionHosts/:bastionHostName), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Network: Bastion Host?

The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network… It is listed under Developer tools and has 12 endpoints.

Who publishes the Azure Network: Bastion Host?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Network: Bastion Host?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Network: Bastion Host?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Network: Bastion Host have?

12 operations on 9 paths (6 POST, 3 GET, 1 PUT, 1 PATCH, 1 DELETE). The largest groups are BastionHosts, BastionShareableLink.

Is forking the Azure Network: Bastion Host free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.