VnetConfiguration Class

Defines the Virtual network configuration for a container used by the Webservice.

To specify VnetConfiguration values, you will typically use the deploy_configuration method of the AciWebservice class.

Initialize encryption properties.

Inheritance
builtins.object
VnetConfiguration

Constructor

VnetConfiguration(vnet_name, subnet_name)

Parameters

vnet_name
str
Required

Virtual network name.

subnet_name
str
Required

Subnet name within virtual network.

Variables

vnet_name
str

Virtual network name.

subnet_name
str

Subnet name within virtual network.

Methods

deserialize

Convert a JSON object into a VnetConfiguration object.

serialize

Convert this VnetConfiguration object into a JSON serialized dictionary.

deserialize

Convert a JSON object into a VnetConfiguration object.

static deserialize(payload_obj)

Parameters

payload_obj
dict
Required

A JSON object to convert to a VnetConfiguration object.

Returns

The VnetConfiguration representation of the provided JSON object.

Return type

serialize

Convert this VnetConfiguration object into a JSON serialized dictionary.

serialize()

Returns

The JSON representation of this VnetConfiguration object.

Return type