HasSubnet Interface
public interface HasSubnet
An interface representing a model's ability to reference a subnet by its name and network's ID.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | networkId() |
String | subnetName() |
Method Details
networkId
public String networkId()
Returns:
the resource ID of the virtual network whose subnet is associated with this resource
subnetName
public String subnetName()
Returns:
the name of the subnet associated with this resource
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java