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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Grouping of definition stages involving associating an existing subnet with a resource.
    static interface 
    Grouping of definition stages applicable as part of a parent resource update, involving associating a subnet with a resource.
    static interface 
    Grouping of update stages involving associating an existing subnet with a resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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