共用方式為


SubnetOverride interface

Property overrides on a subnet of a virtual network.

Properties

labSubnetName

The name given to the subnet within the lab.

resourceId

The resource ID of the subnet.

sharedPublicIpAddressConfiguration

Properties that virtual machines on this subnet will share.

useInVmCreationPermission

Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).

usePublicIpAddressPermission

Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).

virtualNetworkPoolName

The virtual network pool associated with this subnet.

Property Details

labSubnetName

The name given to the subnet within the lab.

labSubnetName?: string

Property Value

string

resourceId

The resource ID of the subnet.

resourceId?: string

Property Value

string

sharedPublicIpAddressConfiguration

Properties that virtual machines on this subnet will share.

sharedPublicIpAddressConfiguration?: SubnetSharedPublicIpAddressConfiguration

Property Value

useInVmCreationPermission

Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).

useInVmCreationPermission?: string

Property Value

string

usePublicIpAddressPermission

Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).

usePublicIpAddressPermission?: string

Property Value

string

virtualNetworkPoolName

The virtual network pool associated with this subnet.

virtualNetworkPoolName?: string

Property Value

string