Compartilhar via


BastionHostIPConfiguration Class

IP configuration of an Bastion Host.

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

Inheritance
azure.mgmt.network.models._models_py3.SubResource
BastionHostIPConfiguration

Constructor

BastionHostIPConfiguration(*, id: str | None = None, name: str | None = None, subnet: _models.SubResource | None = None, public_ip_address: _models.SubResource | None = None, private_ip_allocation_method: str | _models.IPAllocationMethod | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

name
str

Name of the resource that is unique within a resource group. This name can be used to access the resource.

subnet

Reference of the subnet resource.

public_ip_address

Reference of the PublicIP resource. Null for private only bastion.

private_ip_allocation_method

Private IP allocation method. Known values are: "Static" and "Dynamic".

Variables

Name Description
id
str

Resource ID.

name
str

Name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
str

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

type
str

Ip configuration type.

subnet

Reference of the subnet resource.

public_ip_address

Reference of the PublicIP resource. Null for private only bastion.

provisioning_state

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

private_ip_allocation_method

Private IP allocation method. Known values are: "Static" and "Dynamic".