Skip to main content

bastion_hosts

Overview

Namebastion_hosts
TypeResource
Idazure.network.bastion_hosts

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
propertiesobjectProperties of the Bastion Host.
skuobjectThe sku of this Bastion Host.
tagsobjectResource tags.
typestringResource type.
zonesarrayA list of availability zones denoting where the resource needs to come from.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbastionHostName, resourceGroupName, subscriptionIdGets the specified Bastion Host.
listSELECTsubscriptionIdLists all Bastion Hosts in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all Bastion Hosts in a resource group.
create_or_updateINSERTbastionHostName, resourceGroupName, subscriptionIdCreates or updates the specified Bastion Host.
deleteDELETEbastionHostName, resourceGroupName, subscriptionIdDeletes the specified Bastion Host.
_listEXECsubscriptionIdLists all Bastion Hosts in a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists all Bastion Hosts in a resource group.
bastion_hostsEXECbastionHostName, resourceGroupName, subscriptionIdReturns the list of currently active sessions on the Bastion.