Subnet Class
Subnet information.
Constructor
Subnet(*, resource_id: str | None = None, lab_subnet_name: str | None = None, allow_public_ip: str | _models.UsagePermissionType | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
resource_id
|
The resource ID of the subnet. Default value: None
|
|
lab_subnet_name
|
The name of the subnet as seen in the lab. Default value: None
|
|
allow_public_ip
|
The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). Known values are: "Default", "Deny", and "Allow". Default value: None
|
Variables
| Name | Description |
|---|---|
|
resource_id
|
The resource ID of the subnet. |
|
lab_subnet_name
|
The name of the subnet as seen in the lab. |
|
allow_public_ip
|
The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). Known values are: "Default", "Deny", and "Allow". |