Compartilhar via


BastionHost Class

Bastion Host resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network.models._models_py3.Resource
BastionHost

Constructor

BastionHost(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, zones: List[str] | None = None, sku: _models.Sku | None = None, ip_configurations: List[_models.BastionHostIPConfiguration] | None = None, dns_name: str | None = None, virtual_network: _models.SubResource | None = None, network_acls: _models.BastionHostPropertiesFormatNetworkAcls | None = None, scale_units: int | None = None, disable_copy_paste: bool = False, enable_file_copy: bool = False, enable_ip_connect: bool = False, enable_shareable_link: bool = False, enable_tunneling: bool = False, enable_kerberos: bool = False, enable_session_recording: bool = False, enable_private_only_bastion: bool = False, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

zones

A list of availability zones denoting where the resource needs to come from.

sku
Sku

The sku of this Bastion Host.

ip_configurations

IP configuration of the Bastion Host resource.

dns_name
str

FQDN for the endpoint on which bastion host is accessible.

virtual_network

Reference to an existing virtual network required for Developer Bastion Host only.

network_acls
scale_units
int

The scale units for the Bastion Host resource.

disable_copy_paste

Enable/Disable Copy/Paste feature of the Bastion Host resource.

enable_file_copy

Enable/Disable File Copy feature of the Bastion Host resource.

enable_ip_connect

Enable/Disable IP Connect feature of the Bastion Host resource.

enable_shareable_link

Enable/Disable Shareable Link of the Bastion Host resource.

enable_tunneling

Enable/Disable Tunneling feature of the Bastion Host resource.

enable_kerberos

Enable/Disable Kerberos feature of the Bastion Host resource.

enable_session_recording

Enable/Disable Session Recording feature of the Bastion Host resource.

enable_private_only_bastion

Enable/Disable Private Only feature of the Bastion Host resource.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

zones

A list of availability zones denoting where the resource needs to come from.

etag
str

A unique read-only string that changes whenever the resource is updated.

sku
Sku

The sku of this Bastion Host.

ip_configurations

IP configuration of the Bastion Host resource.

dns_name
str

FQDN for the endpoint on which bastion host is accessible.

virtual_network

Reference to an existing virtual network required for Developer Bastion Host only.

network_acls
provisioning_state

The provisioning state of the bastion host resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

scale_units
int

The scale units for the Bastion Host resource.

disable_copy_paste

Enable/Disable Copy/Paste feature of the Bastion Host resource.

enable_file_copy

Enable/Disable File Copy feature of the Bastion Host resource.

enable_ip_connect

Enable/Disable IP Connect feature of the Bastion Host resource.

enable_shareable_link

Enable/Disable Shareable Link of the Bastion Host resource.

enable_tunneling

Enable/Disable Tunneling feature of the Bastion Host resource.

enable_kerberos

Enable/Disable Kerberos feature of the Bastion Host resource.

enable_session_recording

Enable/Disable Session Recording feature of the Bastion Host resource.

enable_private_only_bastion

Enable/Disable Private Only feature of the Bastion Host resource.