Interface HasSubnet.UpdateStages.WithSubnet<ReturnT>

  • Type Parameters:
    ReturnT - the next stage of the update
    Enclosing interface:
    HasSubnet.UpdateStages

    public static interface HasSubnet.UpdateStages.WithSubnet<ReturnT>
    The stage of an update allowing to associate a subnet with a resource.
    • Method Detail

      • withExistingSubnet

        ReturnT withExistingSubnet​(String parentNetworkResourceId,
                                   String subnetName)
        Assigns the specified subnet to this resource.
        Parameters:
        parentNetworkResourceId - the resource ID of the virtual network the subnet is part of
        subnetName - the name of the subnet
        Returns:
        the next stage of the definition