SubnetOverride Class

Property overrides on a subnet of a virtual network.

Constructor

SubnetOverride(*, resource_id: str | None = None, lab_subnet_name: str | None = None, use_in_vm_creation_permission: str | _models.UsagePermissionType | None = None, use_public_ip_address_permission: str | _models.UsagePermissionType | None = None, shared_public_ip_address_configuration: _models.SubnetSharedPublicIpAddressConfiguration | None = None, virtual_network_pool_name: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resource_id
str

The resource ID of the subnet.

Default value: None
lab_subnet_name
str

The name given to the subnet within the lab.

Default value: None
use_in_vm_creation_permission

Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). Known values are: "Default", "Deny", and "Allow".

Default value: None
use_public_ip_address_permission

Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny). Known values are: "Default", "Deny", and "Allow".

Default value: None
shared_public_ip_address_configuration

Properties that virtual machines on this subnet will share.

Default value: None
virtual_network_pool_name
str

The virtual network pool associated with this subnet.

Default value: None

Variables

Name Description
resource_id
str

The resource ID of the subnet.

lab_subnet_name
str

The name given to the subnet within the lab.

use_in_vm_creation_permission

Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). Known values are: "Default", "Deny", and "Allow".

use_public_ip_address_permission

Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny). Known values are: "Default", "Deny", and "Allow".

shared_public_ip_address_configuration

Properties that virtual machines on this subnet will share.

virtual_network_pool_name
str

The virtual network pool associated with this subnet.