Interface HasSubnet
public interface HasSubnet
An interface representing a model's ability to reference a subnet by its name and network's ID.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of definition stages involving associating an existing subnet with a resource.static interfaceGrouping of definition stages applicable as part of a parent resource update, involving associating a subnet with a resource.static interfaceGrouping of update stages involving associating an existing subnet with a resource. -
Method Summary
Modifier and TypeMethodDescriptionGets the resource ID of the virtual network whose subnet is associated with this resource.Gets the name of the subnet associated with this resource.
-
Method Details
-
networkId
String networkId()Gets the resource ID of the virtual network whose subnet is associated with this resource.- Returns:
- the resource ID of the virtual network whose subnet is associated with this resource
-
subnetName
String subnetName()Gets the name of the subnet associated with this resource.- Returns:
- the name of the subnet associated with this resource
-