VmGcProfileNicConfigOverrideSpec#

class VmGcProfileNicConfigOverrideSpec(dns_config=None, ipv4_config=None, *args, **kwargs)#

Bases: object

Override specification for individual NIC configuration. This overrides the network settings for a specific NIC from the referenced profile.

Parameters:
  • dns_config – (dns_config)

  • ipv4_config (required) – (ipv4_config) Override mechanism for IPv4 configuration. You can either use DHCP, provide a custom IPv4 configuration, or discard the setting from the referenced profile. If DHCP is specified, DhcpEnabled is set to True in the unattend.xml.

property dns_config#
Type:

VmGcProfileDnsConfigOverrideSpec

property ipv4_config#

Override mechanism for IPv4 configuration. You can either use DHCP, provide a custom IPv4 configuration, or discard the setting from the referenced profile. If DHCP is specified, DhcpEnabled is set to True in the unattend.xml.

Type:

VmGcProfileUseDhcpOverrideSpec | VmGcProfileNicIpv4ConfigOverrideSpec

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model