public final class SubnetOverride extends Object
Constructor and Description |
---|
SubnetOverride() |
Modifier and Type | Method and Description |
---|---|
String |
labSubnetName()
Get the labSubnetName property: The name given to the subnet within the lab.
|
String |
resourceId()
Get the resourceId property: The resource ID of the subnet.
|
SubnetSharedPublicIpAddressConfiguration |
sharedPublicIpAddressConfiguration()
Get the sharedPublicIpAddressConfiguration property: Properties that virtual machines on this subnet will share.
|
UsagePermissionType |
useInVmCreationPermission()
Get the useInVmCreationPermission property: Indicates whether this subnet can be used during virtual machine
creation (i.e.
|
UsagePermissionType |
usePublicIpAddressPermission()
Get the usePublicIpAddressPermission property: Indicates whether public IP addresses can be assigned to virtual
machines on this subnet (i.e.
|
void |
validate()
Validates the instance.
|
String |
virtualNetworkPoolName()
Get the virtualNetworkPoolName property: The virtual network pool associated with this subnet.
|
SubnetOverride |
withLabSubnetName(String labSubnetName)
Set the labSubnetName property: The name given to the subnet within the lab.
|
SubnetOverride |
withResourceId(String resourceId)
Set the resourceId property: The resource ID of the subnet.
|
SubnetOverride |
withSharedPublicIpAddressConfiguration(SubnetSharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
Set the sharedPublicIpAddressConfiguration property: Properties that virtual machines on this subnet will share.
|
SubnetOverride |
withUseInVmCreationPermission(UsagePermissionType useInVmCreationPermission)
Set the useInVmCreationPermission property: Indicates whether this subnet can be used during virtual machine
creation (i.e.
|
SubnetOverride |
withUsePublicIpAddressPermission(UsagePermissionType usePublicIpAddressPermission)
Set the usePublicIpAddressPermission property: Indicates whether public IP addresses can be assigned to virtual
machines on this subnet (i.e.
|
SubnetOverride |
withVirtualNetworkPoolName(String virtualNetworkPoolName)
Set the virtualNetworkPoolName property: The virtual network pool associated with this subnet.
|
public String resourceId()
public SubnetOverride withResourceId(String resourceId)
resourceId
- the resourceId value to set.public String labSubnetName()
public SubnetOverride withLabSubnetName(String labSubnetName)
labSubnetName
- the labSubnetName value to set.public UsagePermissionType useInVmCreationPermission()
public SubnetOverride withUseInVmCreationPermission(UsagePermissionType useInVmCreationPermission)
useInVmCreationPermission
- the useInVmCreationPermission value to set.public UsagePermissionType usePublicIpAddressPermission()
public SubnetOverride withUsePublicIpAddressPermission(UsagePermissionType usePublicIpAddressPermission)
usePublicIpAddressPermission
- the usePublicIpAddressPermission value to set.public SubnetSharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()
public SubnetOverride withSharedPublicIpAddressConfiguration(SubnetSharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
sharedPublicIpAddressConfiguration
- the sharedPublicIpAddressConfiguration value to set.public String virtualNetworkPoolName()
public SubnetOverride withVirtualNetworkPoolName(String virtualNetworkPoolName)
virtualNetworkPoolName
- the virtualNetworkPoolName value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.