VnetConfiguration class

Definition

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.

VnetConfiguration(vnet_name, subnet_name)
Inheritance
builtins.object
VnetConfiguration

Variables

vnet_name
str
Virtual network name.
subnet_name
str
Subnet name within virtual network.

Methods

deserialize(payload_obj)

Convert a JSON object into a VnetConfiguration object.

serialize()

Convert this VnetConfiguration object into a JSON serialized dictionary.

deserialize(payload_obj)

Convert a JSON object into a VnetConfiguration object.

deserialize(payload_obj)

Parameters

payload_obj
dict

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