I
InsightNexus

Subnet (Azure SDK for Java Reference Documentation)

Author

Andrew Henderson

Published Feb 17, 2026

Subnet (Azure SDK for Java Reference Documentation)
    • Constructor Detail

      • Subnet

        public Subnet()
    • Method Detail

      • withId

        public Subnet withId(String id)

        Set the id property: Resource ID of Virtual Network Subnet.

        Parameters:
        id - the id value to set.
        Returns:
        the Subnet object itself.
      • validate

        public void validate()

        Validates the instance.

        Throws:
        IllegalArgumentException - thrown if the instance is not valid.

Copyright © 2020 Microsoft Corporation. All rights reserved.