VnetInfo Class

Virtual Network information contract.

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

Inheritance
VnetInfo

Constructor

VnetInfo(*, vnet_resource_id: Optional[str] = None, cert_blob: Optional[str] = None, dns_servers: Optional[str] = None, is_swift: Optional[bool] = None, **kwargs)

Parameters

vnet_resource_id
str
Required

The Virtual Network's resource ID.

cert_blob
str
Required

A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.

dns_servers
str
Required

DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.

is_swift
bool
Required

Flag that is used to denote if this is VNET injection.

Variables

cert_thumbprint
str

The client certificate thumbprint.

routes
list[VnetRoute]

The routes that this Virtual Network connection uses.

resync_required
bool

<code>true</code> if a resync is required; otherwise, <code>false</code>.