SubnetOverrideFragment Class
Property overrides on a subnet of a virtual network.
- Inheritance
-
msrest.serialization.ModelSubnetOverrideFragment
Constructor
SubnetOverrideFragment(*, resource_id: str | None = None, lab_subnet_name: str | None = None, use_in_vm_creation_permission: str | UsagePermissionType | None = None, use_public_ip_address_permission: str | UsagePermissionType | None = None, shared_public_ip_address_configuration: SubnetSharedPublicIpAddressConfigurationFragment | None = None, virtual_network_pool_name: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
resource_id
Required
|
The resource ID of the subnet. |
lab_subnet_name
Required
|
The name given to the subnet within the lab. |
use_in_vm_creation_permission
Required
|
Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny). Possible values include: "Default", "Deny", "Allow". |
use_public_ip_address_permission
Required
|
Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny). Possible values include: "Default", "Deny", "Allow". |
shared_public_ip_address_configuration
Required
|
Properties that virtual machines on this subnet will share. |
virtual_network_pool_name
Required
|
The virtual network pool associated with this subnet. |
Keyword-Only Parameters
Name | Description |
---|---|
resource_id
Required
|
|
lab_subnet_name
Required
|
|
use_in_vm_creation_permission
Required
|
|
use_public_ip_address_permission
Required
|
|
shared_public_ip_address_configuration
Required
|
|
virtual_network_pool_name
Required
|
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python